@devcabs/folio-engine 0.1.0 → 0.1.1

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.
@@ -118,15 +118,15 @@ export declare const NodeCanvasDocumentSchema: z.ZodObject<{
118
118
  sections: z.ZodArray<z.ZodAny, "many">;
119
119
  updatedAt: z.ZodString;
120
120
  }, "strip", z.ZodTypeAny, {
121
- updatedAt: string;
122
121
  nodeId: string;
123
122
  version: number;
124
123
  sections: any[];
125
- }, {
126
124
  updatedAt: string;
125
+ }, {
127
126
  nodeId: string;
128
127
  version: number;
129
128
  sections: any[];
129
+ updatedAt: string;
130
130
  }>;
131
131
  export declare const CachedIndicatorDatasetSchema: z.ZodObject<{
132
132
  chartId: z.ZodString;
@@ -186,42 +186,42 @@ export declare const PublicNodePayloadSchema: z.ZodObject<{
186
186
  sections: z.ZodArray<z.ZodAny, "many">;
187
187
  updatedAt: z.ZodString;
188
188
  }, "strip", z.ZodTypeAny, {
189
- updatedAt: string;
190
189
  nodeId: string;
191
190
  version: number;
192
191
  sections: any[];
193
- }, {
194
192
  updatedAt: string;
193
+ }, {
195
194
  nodeId: string;
196
195
  version: number;
197
196
  sections: any[];
197
+ updatedAt: string;
198
198
  }>;
199
199
  chartDatasets: z.ZodRecord<z.ZodString, z.ZodAny>;
200
200
  sourceMetadata: z.ZodRecord<z.ZodString, z.ZodAny>;
201
201
  }, "strip", z.ZodTypeAny, {
202
+ nodeId: string;
203
+ version: number;
204
+ updatedAt: string;
205
+ snapshotId: string;
202
206
  canvas: {
203
- updatedAt: string;
204
207
  nodeId: string;
205
208
  version: number;
206
209
  sections: any[];
210
+ updatedAt: string;
207
211
  };
208
- updatedAt: string;
209
- nodeId: string;
210
- version: number;
211
- snapshotId: string;
212
212
  chartDatasets: Record<string, any>;
213
213
  sourceMetadata: Record<string, any>;
214
214
  }, {
215
+ nodeId: string;
216
+ version: number;
217
+ updatedAt: string;
218
+ snapshotId: string;
215
219
  canvas: {
216
- updatedAt: string;
217
220
  nodeId: string;
218
221
  version: number;
219
222
  sections: any[];
223
+ updatedAt: string;
220
224
  };
221
- updatedAt: string;
222
- nodeId: string;
223
- version: number;
224
- snapshotId: string;
225
225
  chartDatasets: Record<string, any>;
226
226
  sourceMetadata: Record<string, any>;
227
227
  }>;
package/package.json CHANGED
@@ -1,15 +1,25 @@
1
1
  {
2
2
  "name": "@devcabs/folio-engine",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
- "main": "./dist/folio.umd.cjs",
5
+ "main": "./dist/folio.cjs",
6
6
  "module": "./dist/folio.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/folio.js",
12
- "require": "./dist/folio.umd.cjs"
12
+ "require": "./dist/folio.cjs"
13
+ },
14
+ "./edge": {
15
+ "types": "./dist/edge.d.ts",
16
+ "import": "./dist/edge.js",
17
+ "require": "./dist/edge.cjs"
18
+ },
19
+ "./diagnostics": {
20
+ "types": "./dist/diagnostics.d.ts",
21
+ "import": "./dist/diagnostics.js",
22
+ "require": "./dist/diagnostics.cjs"
13
23
  },
14
24
  "./style.css": "./dist/style.css"
15
25
  },
@@ -47,10 +57,12 @@
47
57
  "build": "npm run test:tokens && tsc --noEmit && vite build",
48
58
  "build:lib": "npm run test:tokens && vite build -c vite.config.lib.ts && tsc -p tsconfig.lib.json",
49
59
  "preview": "vite preview --port 5174",
60
+ "test": "vitest run",
50
61
  "test:purity": "vitest run tests/purity",
51
62
  "test:tokens": "tsx scripts/verify-token-aliases.ts",
52
63
  "lint": "eslint .",
53
- "prepack": "npm run build:lib"
64
+ "prepack": "npm run build:lib",
65
+ "deploy": "tsx scripts/deploy.ts"
54
66
  },
55
67
  "files": [
56
68
  "dist"