Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 1m22s
22 lines
329 B
TypeScript
22 lines
329 B
TypeScript
const data: Record<string, unknown> = {};
|
|
|
|
export function clearDebugData() {
|
|
for (const key in data) {
|
|
delete data[key];
|
|
}
|
|
}
|
|
|
|
export function getDebugData() {
|
|
return { ...data };
|
|
}
|
|
|
|
export const debugNode = {
|
|
id: 'max/plantarium/debug',
|
|
inputs: {
|
|
input: {
|
|
type: '*'
|
|
}
|
|
},
|
|
execute() {}
|
|
} as const;
|