|
1 | | -import { ObjectStackManifest } from '@objectstack/spec/system'; |
| 1 | +import { defineStack } from '@objectstack/spec'; |
2 | 2 |
|
3 | | -const BiPlugin: ObjectStackManifest = { |
4 | | - id: 'com.objectstack.bi', |
5 | | - name: 'Business Intelligence Plugin', |
6 | | - version: '1.0.0', |
7 | | - type: 'plugin', |
8 | | - description: 'Provides BI capabilities, dataset definitions, and chart rendering.', |
9 | | - |
10 | | - // 1. Configuration (Settings) |
11 | | - configuration: { |
| 3 | +export default defineStack({ |
| 4 | + manifest: { |
| 5 | + id: 'com.objectstack.bi', |
| 6 | + name: 'Business Intelligence Plugin', |
| 7 | + version: '1.0.0', |
| 8 | + type: 'plugin', |
| 9 | + description: 'Provides BI capabilities, dataset definitions, and chart rendering.', |
| 10 | + |
| 11 | + // 1. Configuration (Settings) |
| 12 | + configuration: { |
12 | 13 | title: 'BI Plugin Configuration', |
13 | 14 | properties: { |
14 | 15 | enableCache: { |
@@ -53,13 +54,12 @@ const BiPlugin: ObjectStackManifest = { |
53 | 54 | ] |
54 | 55 | }, |
55 | 56 |
|
56 | | - // 3. Lifecycle Entry Point |
57 | | - // in a real scenario, this would be a path or module name |
58 | | - extensions: { |
59 | | - runtime: { |
60 | | - entry: './src/index.ts' |
| 57 | + // 3. Lifecycle Entry Point |
| 58 | + // in a real scenario, this would be a path or module name |
| 59 | + extensions: { |
| 60 | + runtime: { |
| 61 | + entry: './src/index.ts' |
| 62 | + } |
61 | 63 | } |
62 | 64 | } |
63 | | -}; |
64 | | - |
65 | | -export default BiPlugin; |
| 65 | +}); |
0 commit comments