@objectstack/spec 0.1.1 → 0.1.2
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/README.md +73 -1
- package/dist/api/contract.zod.d.ts +1733 -0
- package/dist/api/contract.zod.d.ts.map +1 -0
- package/dist/api/contract.zod.js +138 -0
- package/dist/data/dataset.zod.d.ts +2 -2
- package/dist/data/field.zod.d.ts +1648 -10
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +149 -8
- package/dist/data/mapping.zod.d.ts +215 -2
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/object.zod.d.ts +505 -25
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +32 -5
- package/dist/data/query.zod.d.ts +349 -0
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +77 -1
- package/dist/data/trigger.zod.d.ts +354 -0
- package/dist/data/trigger.zod.d.ts.map +1 -0
- package/dist/data/trigger.zod.js +195 -0
- package/dist/data/validation.zod.d.ts +83 -43
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +51 -5
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/system/api.zod.d.ts +130 -4
- package/dist/system/api.zod.d.ts.map +1 -1
- package/dist/system/api.zod.js +4 -1
- package/dist/system/datasource.zod.d.ts +89 -6
- package/dist/system/datasource.zod.d.ts.map +1 -1
- package/dist/system/datasource.zod.js +33 -5
- package/dist/system/discovery.zod.d.ts +174 -0
- package/dist/system/discovery.zod.d.ts.map +1 -0
- package/dist/system/discovery.zod.js +53 -0
- package/dist/system/driver.zod.d.ts +1525 -0
- package/dist/system/driver.zod.d.ts.map +1 -0
- package/dist/system/driver.zod.js +290 -0
- package/dist/system/license.zod.d.ts +2 -2
- package/dist/system/manifest.zod.d.ts +323 -52
- package/dist/system/manifest.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.js +91 -17
- package/dist/system/plugin.zod.d.ts +3516 -0
- package/dist/system/plugin.zod.d.ts.map +1 -0
- package/dist/system/plugin.zod.js +226 -0
- package/dist/system/territory.zod.d.ts +1 -1
- package/dist/system/webhook.zod.d.ts +3 -3
- package/dist/ui/action.zod.d.ts +19 -12
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.js +7 -1
- package/dist/ui/app.zod.d.ts +109 -3
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +13 -2
- package/dist/ui/dashboard.zod.d.ts +9 -3
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +7 -1
- package/dist/ui/page.zod.d.ts +6 -6
- package/dist/ui/report.zod.d.ts +9 -0
- package/dist/ui/report.zod.d.ts.map +1 -1
- package/dist/ui/report.zod.js +7 -1
- package/dist/ui/theme.zod.d.ts +1221 -0
- package/dist/ui/theme.zod.d.ts.map +1 -0
- package/dist/ui/theme.zod.js +202 -0
- package/dist/ui/widget.zod.d.ts +350 -0
- package/dist/ui/widget.zod.d.ts.map +1 -0
- package/dist/ui/widget.zod.js +66 -0
- package/json-schema/Action.json +8 -2
- package/json-schema/ActionParam.json +8 -2
- package/json-schema/Address.json +40 -0
- package/json-schema/AggregationFunction.json +19 -0
- package/json-schema/AggregationNode.json +42 -0
- package/json-schema/Animation.json +56 -0
- package/json-schema/ApiCapabilities.json +28 -0
- package/json-schema/ApiError.json +27 -0
- package/json-schema/ApiRoutes.json +41 -0
- package/json-schema/App.json +13 -2
- package/json-schema/AsyncValidation.json +70 -0
- package/json-schema/BaseResponse.json +63 -0
- package/json-schema/BorderRadius.json +44 -0
- package/json-schema/Breakpoints.json +36 -0
- package/json-schema/BulkRequest.json +29 -0
- package/json-schema/BulkResponse.json +108 -0
- package/json-schema/ColorPalette.json +83 -0
- package/json-schema/ConditionalValidation.json +793 -0
- package/json-schema/CreateRequest.json +20 -0
- package/json-schema/CrossFieldValidation.json +56 -0
- package/json-schema/CustomValidator.json +57 -0
- package/json-schema/Datasource.json +0 -18
- package/json-schema/DeleteResponse.json +68 -0
- package/json-schema/Discovery.json +114 -0
- package/json-schema/DriverCapabilities.json +39 -0
- package/json-schema/DriverDefinition.json +66 -0
- package/json-schema/DriverInterface.json +58 -0
- package/json-schema/DriverOptions.json +23 -0
- package/json-schema/DriverType.json +1 -18
- package/json-schema/ExportRequest.json +786 -0
- package/json-schema/Field.json +75 -4
- package/json-schema/FieldType.json +8 -2
- package/json-schema/FieldWidgetProps.json +327 -0
- package/json-schema/I18nContext.json +12 -0
- package/json-schema/JoinNode.json +455 -0
- package/json-schema/JoinType.json +15 -0
- package/json-schema/ListRecordResponse.json +103 -0
- package/json-schema/LocationCoordinates.json +36 -0
- package/json-schema/Logger.json +25 -0
- package/json-schema/Manifest.json +243 -18
- package/json-schema/Mapping.json +328 -0
- package/json-schema/ModificationResult.json +46 -0
- package/json-schema/Object.json +103 -6
- package/json-schema/ObjectCapabilities.json +26 -0
- package/json-schema/ObjectQLClient.json +12 -0
- package/json-schema/Plugin.json +20 -0
- package/json-schema/PluginContext.json +91 -0
- package/json-schema/PluginLifecycle.json +11 -0
- package/json-schema/Query.json +328 -0
- package/json-schema/RecordData.json +11 -0
- package/json-schema/Router.json +12 -0
- package/json-schema/Scheduler.json +12 -0
- package/json-schema/ScopedStorage.json +12 -0
- package/json-schema/Shadow.json +44 -0
- package/json-schema/SingleRecordResponse.json +69 -0
- package/json-schema/Spacing.json +64 -0
- package/json-schema/SystemAPI.json +12 -0
- package/json-schema/Theme.json +543 -0
- package/json-schema/ThemeMode.json +14 -0
- package/json-schema/Trigger.json +73 -0
- package/json-schema/TriggerAction.json +14 -0
- package/json-schema/TriggerContext.json +61 -0
- package/json-schema/TriggerTiming.json +13 -0
- package/json-schema/Typography.json +142 -0
- package/json-schema/UpdateRequest.json +20 -0
- package/json-schema/ValidationRule.json +583 -0
- package/json-schema/WindowFunction.json +24 -0
- package/json-schema/WindowFunctionNode.json +104 -0
- package/json-schema/WindowSpec.json +65 -0
- package/json-schema/ZIndex.json +44 -0
- package/package.json +8 -3
|
@@ -73,10 +73,10 @@ export declare const DashboardWidgetSchema: z.ZodObject<{
|
|
|
73
73
|
filter?: any;
|
|
74
74
|
options?: any;
|
|
75
75
|
type?: "text" | "metric" | "bar" | "line" | "pie" | "donut" | "funnel" | "table" | undefined;
|
|
76
|
+
aggregate?: "min" | "max" | "count" | "sum" | "avg" | undefined;
|
|
76
77
|
title?: string | undefined;
|
|
77
78
|
categoryField?: string | undefined;
|
|
78
79
|
valueField?: string | undefined;
|
|
79
|
-
aggregate?: "min" | "max" | "count" | "sum" | "avg" | undefined;
|
|
80
80
|
}>;
|
|
81
81
|
/**
|
|
82
82
|
* Dashboard Schema
|
|
@@ -156,10 +156,10 @@ export declare const DashboardSchema: z.ZodObject<{
|
|
|
156
156
|
filter?: any;
|
|
157
157
|
options?: any;
|
|
158
158
|
type?: "text" | "metric" | "bar" | "line" | "pie" | "donut" | "funnel" | "table" | undefined;
|
|
159
|
+
aggregate?: "min" | "max" | "count" | "sum" | "avg" | undefined;
|
|
159
160
|
title?: string | undefined;
|
|
160
161
|
categoryField?: string | undefined;
|
|
161
162
|
valueField?: string | undefined;
|
|
162
|
-
aggregate?: "min" | "max" | "count" | "sum" | "avg" | undefined;
|
|
163
163
|
}>, "many">;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
165
|
label: string;
|
|
@@ -195,13 +195,19 @@ export declare const DashboardSchema: z.ZodObject<{
|
|
|
195
195
|
filter?: any;
|
|
196
196
|
options?: any;
|
|
197
197
|
type?: "text" | "metric" | "bar" | "line" | "pie" | "donut" | "funnel" | "table" | undefined;
|
|
198
|
+
aggregate?: "min" | "max" | "count" | "sum" | "avg" | undefined;
|
|
198
199
|
title?: string | undefined;
|
|
199
200
|
categoryField?: string | undefined;
|
|
200
201
|
valueField?: string | undefined;
|
|
201
|
-
aggregate?: "min" | "max" | "count" | "sum" | "avg" | undefined;
|
|
202
202
|
}[];
|
|
203
203
|
description?: string | undefined;
|
|
204
204
|
}>;
|
|
205
205
|
export type Dashboard = z.infer<typeof DashboardSchema>;
|
|
206
206
|
export type DashboardWidget = z.infer<typeof DashboardWidgetSchema>;
|
|
207
|
+
/**
|
|
208
|
+
* Dashboard Factory Helper
|
|
209
|
+
*/
|
|
210
|
+
export declare const Dashboard: {
|
|
211
|
+
readonly create: (config: z.input<typeof DashboardSchema>) => Dashboard;
|
|
212
|
+
};
|
|
207
213
|
//# sourceMappingURL=dashboard.zod.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.zod.d.ts","sourceRoot":"","sources":["../../src/ui/dashboard.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,SAAS,iFASpB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;IAChC,mBAAmB;;IAGnB,yBAAyB;;IAGzB,yBAAyB;;IAGzB,kCAAkC;;IAGlC,yCAAyC;;IAGzC,2BAA2B;;IAG3B,0BAA0B;;IAG1B;;;;;;OAMG;;;;;;;;;;;;;;;;;IAQH,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErD,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe;IAC1B,mBAAmB;;IAGnB,oBAAoB;;IAGpB,kBAAkB;;IAGlB,4BAA4B;;QArD5B,mBAAmB;;QAGnB,yBAAyB;;QAGzB,yBAAyB;;QAGzB,kCAAkC;;QAGlC,yCAAyC;;QAGzC,2BAA2B;;QAG3B,0BAA0B;;QAG1B;;;;;;WAMG;;;;;;;;;;;;;;;;;QAQH,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBrD,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"dashboard.zod.d.ts","sourceRoot":"","sources":["../../src/ui/dashboard.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,SAAS,iFASpB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;IAChC,mBAAmB;;IAGnB,yBAAyB;;IAGzB,yBAAyB;;IAGzB,kCAAkC;;IAGlC,yCAAyC;;IAGzC,2BAA2B;;IAG3B,0BAA0B;;IAG1B;;;;;;OAMG;;;;;;;;;;;;;;;;;IAQH,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErD,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe;IAC1B,mBAAmB;;IAGnB,oBAAoB;;IAGpB,kBAAkB;;IAGlB,4BAA4B;;QArD5B,mBAAmB;;QAGnB,yBAAyB;;QAGzB,yBAAyB;;QAGzB,kCAAkC;;QAGlC,yCAAyC;;QAGzC,2BAA2B;;QAG3B,0BAA0B;;QAG1B;;;;;;WAMG;;;;;;;;;;;;;;;;;QAQH,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBrD,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,SAAS;8BACH,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,KAAG,SAAS;CACpD,CAAC"}
|
package/dist/ui/dashboard.zod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DashboardSchema = exports.DashboardWidgetSchema = exports.ChartType = void 0;
|
|
3
|
+
exports.Dashboard = exports.DashboardSchema = exports.DashboardWidgetSchema = exports.ChartType = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
/**
|
|
6
6
|
* Chart Type Enum
|
|
@@ -64,3 +64,9 @@ exports.DashboardSchema = zod_1.z.object({
|
|
|
64
64
|
/** Collection of widgets */
|
|
65
65
|
widgets: zod_1.z.array(exports.DashboardWidgetSchema).describe('Widgets to display'),
|
|
66
66
|
});
|
|
67
|
+
/**
|
|
68
|
+
* Dashboard Factory Helper
|
|
69
|
+
*/
|
|
70
|
+
exports.Dashboard = {
|
|
71
|
+
create: (config) => exports.DashboardSchema.parse(config),
|
|
72
|
+
};
|
package/dist/ui/page.zod.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare const PageRegionSchema: z.ZodObject<{
|
|
|
37
37
|
id?: string | undefined;
|
|
38
38
|
visibility?: string | undefined;
|
|
39
39
|
}[];
|
|
40
|
-
width?: "
|
|
40
|
+
width?: "full" | "small" | "medium" | "large" | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
name: string;
|
|
43
43
|
components: {
|
|
@@ -47,7 +47,7 @@ export declare const PageRegionSchema: z.ZodObject<{
|
|
|
47
47
|
id?: string | undefined;
|
|
48
48
|
visibility?: string | undefined;
|
|
49
49
|
}[];
|
|
50
|
-
width?: "
|
|
50
|
+
width?: "full" | "small" | "medium" | "large" | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
/**
|
|
53
53
|
* Page Component Schema
|
|
@@ -125,7 +125,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
125
125
|
id?: string | undefined;
|
|
126
126
|
visibility?: string | undefined;
|
|
127
127
|
}[];
|
|
128
|
-
width?: "
|
|
128
|
+
width?: "full" | "small" | "medium" | "large" | undefined;
|
|
129
129
|
}, {
|
|
130
130
|
name: string;
|
|
131
131
|
components: {
|
|
@@ -135,7 +135,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
135
135
|
id?: string | undefined;
|
|
136
136
|
visibility?: string | undefined;
|
|
137
137
|
}[];
|
|
138
|
-
width?: "
|
|
138
|
+
width?: "full" | "small" | "medium" | "large" | undefined;
|
|
139
139
|
}>, "many">;
|
|
140
140
|
/** Activation */
|
|
141
141
|
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -155,7 +155,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
155
155
|
id?: string | undefined;
|
|
156
156
|
visibility?: string | undefined;
|
|
157
157
|
}[];
|
|
158
|
-
width?: "
|
|
158
|
+
width?: "full" | "small" | "medium" | "large" | undefined;
|
|
159
159
|
}[];
|
|
160
160
|
object?: string | undefined;
|
|
161
161
|
description?: string | undefined;
|
|
@@ -172,7 +172,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
172
172
|
id?: string | undefined;
|
|
173
173
|
visibility?: string | undefined;
|
|
174
174
|
}[];
|
|
175
|
-
width?: "
|
|
175
|
+
width?: "full" | "small" | "medium" | "large" | undefined;
|
|
176
176
|
}[];
|
|
177
177
|
object?: string | undefined;
|
|
178
178
|
type?: "record" | "home" | "app" | "utility" | undefined;
|
package/dist/ui/report.zod.d.ts
CHANGED
|
@@ -221,4 +221,13 @@ export declare const ReportSchema: z.ZodObject<{
|
|
|
221
221
|
} | undefined;
|
|
222
222
|
}>;
|
|
223
223
|
export type Report = z.infer<typeof ReportSchema>;
|
|
224
|
+
export type ReportColumn = z.infer<typeof ReportColumnSchema>;
|
|
225
|
+
export type ReportGrouping = z.infer<typeof ReportGroupingSchema>;
|
|
226
|
+
export type ReportChart = z.infer<typeof ReportChartSchema>;
|
|
227
|
+
/**
|
|
228
|
+
* Report Factory Helper
|
|
229
|
+
*/
|
|
230
|
+
export declare const Report: {
|
|
231
|
+
readonly create: (config: z.input<typeof ReportSchema>) => Report;
|
|
232
|
+
};
|
|
224
233
|
//# sourceMappingURL=report.zod.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.zod.d.ts","sourceRoot":"","sources":["../../src/ui/report.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,UAAU,uDAKrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB,eAAe;;;;IAKf,kBAAkB;;IAGlB,2BAA2B;;;;;;;;;;;;;;;IAK3B,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIpC,gBAAgB;;;;;;;;;;;;;;;;;;IAShB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"report.zod.d.ts","sourceRoot":"","sources":["../../src/ui/report.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,UAAU,uDAKrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAM5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB,eAAe;;;;IAKf,kBAAkB;;IAGlB,2BAA2B;;;;;;;;;;;;;;;IAK3B,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIpC,gBAAgB;;;;;;;;;;;;;;;;;;IAShB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAClD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,MAAM;8BACA,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,KAAG,MAAM;CAC9C,CAAC"}
|
package/dist/ui/report.zod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReportSchema = exports.ReportChartSchema = exports.ReportGroupingSchema = exports.ReportColumnSchema = exports.ReportType = void 0;
|
|
3
|
+
exports.Report = exports.ReportSchema = exports.ReportChartSchema = exports.ReportGroupingSchema = exports.ReportColumnSchema = exports.ReportType = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
/**
|
|
6
6
|
* Report Type Enum
|
|
@@ -66,3 +66,9 @@ exports.ReportSchema = zod_1.z.object({
|
|
|
66
66
|
/** Visualization */
|
|
67
67
|
chart: exports.ReportChartSchema.optional().describe('Embedded chart configuration'),
|
|
68
68
|
});
|
|
69
|
+
/**
|
|
70
|
+
* Report Factory Helper
|
|
71
|
+
*/
|
|
72
|
+
exports.Report = {
|
|
73
|
+
create: (config) => exports.ReportSchema.parse(config),
|
|
74
|
+
};
|