@magnet-cms/plugin-playground 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/index.cjs +1023 -0
- package/dist/backend/index.d.cts +10 -0
- package/dist/backend/index.d.ts +10 -0
- package/dist/backend/index.js +1 -0
- package/dist/chunk-WY4YMBWZ.js +1044 -0
- package/dist/frontend/bundle.iife.js +2163 -0
- package/dist/frontend/bundle.iife.js.map +1 -0
- package/dist/index.cjs +1135 -0
- package/dist/index.d.cts +36 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +76 -0
- package/package.json +81 -0
- package/src/frontend/index.ts +110 -0
- package/src/frontend/pages/Playground/Editor/AddFieldDialog.tsx +187 -0
- package/src/frontend/pages/Playground/Editor/CodePreview.tsx +59 -0
- package/src/frontend/pages/Playground/Editor/FieldCard.tsx +161 -0
- package/src/frontend/pages/Playground/Editor/FieldList.tsx +121 -0
- package/src/frontend/pages/Playground/Editor/FieldSettingsPanel.tsx +652 -0
- package/src/frontend/pages/Playground/Editor/RelationConfigModal.tsx +292 -0
- package/src/frontend/pages/Playground/Editor/SchemaList.tsx +76 -0
- package/src/frontend/pages/Playground/Editor/SchemaOptionsDialog.tsx +109 -0
- package/src/frontend/pages/Playground/Editor/index.tsx +322 -0
- package/src/frontend/pages/Playground/constants/field-types.ts +384 -0
- package/src/frontend/pages/Playground/hooks/useSchemaBuilder.ts +280 -0
- package/src/frontend/pages/Playground/index.tsx +19 -0
- package/src/frontend/pages/Playground/types/builder.types.ts +191 -0
- package/src/frontend/pages/Playground/utils/code-generator.ts +319 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NestJS module for the Playground plugin backend (`playground` registry id).
|
|
3
|
+
*
|
|
4
|
+
* Exposes `/playground/*` API routes for schema management.
|
|
5
|
+
* `PlaygroundPlugin` is registered separately via `MagnetModule.forRoot()`.
|
|
6
|
+
*/
|
|
7
|
+
declare class PlaygroundModule {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { PlaygroundModule };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NestJS module for the Playground plugin backend (`playground` registry id).
|
|
3
|
+
*
|
|
4
|
+
* Exposes `/playground/*` API routes for schema management.
|
|
5
|
+
* `PlaygroundPlugin` is registered separately via `MagnetModule.forRoot()`.
|
|
6
|
+
*/
|
|
7
|
+
declare class PlaygroundModule {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { PlaygroundModule };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PlaygroundModule } from '../chunk-WY4YMBWZ.js';
|