@agent-native/core 0.213.1 → 0.216.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/action.js +54 -1
- package/dist/agent/actions/disconnect-chatgpt-subscription.js +5 -0
- package/dist/agent/actions/get-agentkit-capabilities.js +3 -3
- package/dist/agent/actions/manage-builder-connection.js +5 -0
- package/dist/agent/actions/manage-provider-key-policy.js +5 -0
- package/dist/agent/actions/manage-provider-models.js +5 -0
- package/dist/agent/actions/manage-service-providers.js +5 -0
- package/dist/agent/actions/select-chatgpt-subscription-account.js +5 -0
- package/dist/agent/context-xray/actions/context-evict.js +5 -0
- package/dist/agent/context-xray/actions/context-pin.js +5 -0
- package/dist/agent/context-xray/actions/context-report.js +5 -0
- package/dist/agent/context-xray/actions/context-restore.js +5 -0
- package/dist/agent/execution-fence.d.ts +1 -0
- package/dist/agent/execution-fence.js +5 -0
- package/dist/agent/production-agent.d.ts +35 -2
- package/dist/agent/production-agent.js +629 -32
- package/dist/agent/run-manager.d.ts +2 -0
- package/dist/agent/run-manager.js +397 -115
- package/dist/agent/run-slot-lock.d.ts +2 -0
- package/dist/agent/run-slot-lock.js +6 -0
- package/dist/agent/run-store.d.ts +5 -0
- package/dist/agent/run-store.js +423 -156
- package/dist/agent/thread-data-builder.js +27 -5
- package/dist/agent/types.d.ts +6 -12
- package/dist/agentkit/capabilities.d.ts +1 -1
- package/dist/appearance/actions/get-theme-family.d.ts +8 -0
- package/dist/appearance/actions/get-theme-family.js +38 -0
- package/dist/appearance/actions/set-theme-family.d.ts +7 -0
- package/dist/appearance/actions/set-theme-family.js +33 -0
- package/dist/appearance/theme-family.d.ts +13 -0
- package/dist/appearance/theme-family.js +38 -0
- package/dist/application-state/store.d.ts +5 -0
- package/dist/application-state/store.js +26 -0
- package/dist/chat-threads/schema-migrations.js +17 -0
- package/dist/chat-threads/store.d.ts +21 -1
- package/dist/chat-threads/store.js +223 -41
- package/dist/cli/skills-content/turn-into-app-skill.d.ts +1 -1
- package/dist/cli/skills-content/turn-into-app-skill.js +20 -18
- package/dist/cli/templates-meta.js +14 -0
- package/dist/client/analytics.js +167 -17
- package/dist/client/chat/agentkit-agent-native.js +79 -3
- package/dist/client/chat/agentkit-protocol.js +80 -42
- package/dist/client/chat/runtime.d.ts +5 -1
- package/dist/client/chat/runtime.js +46 -3
- package/dist/client/consent.d.ts +36 -0
- package/dist/client/consent.js +283 -0
- package/dist/client/review/use-review.d.ts +2 -0
- package/dist/client/review/use-review.js +28 -1
- package/dist/client/sharing/useResourceAccessGate.d.ts +3 -2
- package/dist/client/sharing/useResourceAccessGate.js +9 -1
- package/dist/client/theme-family.d.ts +35 -0
- package/dist/client/theme-family.js +223 -0
- package/dist/client/theme.d.ts +1 -1
- package/dist/client/theme.js +5 -2
- package/dist/client/ui/index.d.ts +1 -0
- package/dist/client/ui/index.js +1 -0
- package/dist/client/use-chat-thread-list.d.ts +2 -0
- package/dist/client/use-chat-thread-list.js +12 -2
- package/dist/client/use-chat-threads.d.ts +1 -0
- package/dist/client/use-chat-threads.js +2 -0
- package/dist/connections/catalog.d.ts +5 -5
- package/dist/connections/catalog.js +22 -3
- package/dist/data-widgets/index.d.ts +374 -5
- package/dist/data-widgets/index.js +242 -11
- package/dist/db/migrations.js +4 -1
- package/dist/db/schema-snapshot.generated.js +8 -1
- package/dist/feature-flags/actions/set-feature-flag.js +5 -0
- package/dist/feature-flags/index.d.ts +1 -1
- package/dist/feature-flags/index.js +1 -1
- package/dist/feature-flags/store.d.ts +12 -0
- package/dist/feature-flags/store.js +79 -7
- package/dist/file-upload/actions/manage-file-storage.js +5 -0
- package/dist/file-upload/actions/upload-image.js +5 -0
- package/dist/framework-tools.js +2 -0
- package/dist/history/actions/create-resource-version.js +5 -0
- package/dist/history/actions/restore-resource-version.js +5 -0
- package/dist/ingestion/index.d.ts +1 -1
- package/dist/ingestion/index.js +1 -1
- package/dist/ingestion/pptx.d.ts +11 -0
- package/dist/ingestion/pptx.js +81 -1
- package/dist/integrations/actions/manage-messaging-channel.js +5 -0
- package/dist/jobs/scheduler.js +17 -1
- package/dist/labs/actions/set-lab.js +5 -0
- package/dist/localization/actions/set-localization-preference.js +5 -0
- package/dist/mcp/screen-memory-stdio.d.ts +7 -7
- package/dist/observability/actions/save-observability-instruction-update.js +5 -0
- package/dist/observability/actions/save-observability-review-summary.js +5 -0
- package/dist/provider-api/actions/custom-provider-registration.d.ts +19 -19
- package/dist/provider-api/actions/provider-api.d.ts +10 -10
- package/dist/provider-api/index.js +9 -2
- package/dist/review/actions/consume-review-feedback.js +5 -0
- package/dist/review/actions/create-review-comment.js +5 -0
- package/dist/review/actions/delete-review-comment.js +5 -0
- package/dist/review/actions/react-to-review-comment.js +5 -0
- package/dist/review/actions/reply-review-comment.js +5 -0
- package/dist/review/actions/resolve-review-thread.js +5 -0
- package/dist/review/actions/send-review-thread-to-agent.js +5 -0
- package/dist/review/actions/set-review-status.js +5 -0
- package/dist/review/actions/set-review-thread-muted.js +5 -0
- package/dist/review/actions/set-review-thread-unread.js +5 -0
- package/dist/review/actions/set-review-threads-unread.js +5 -0
- package/dist/review/actions/update-review-comment-anchor.js +5 -0
- package/dist/review/actions/update-review-comment.js +5 -0
- package/dist/review/suggestions/actions.js +60 -21
- package/dist/review/suggestions/store.d.ts +2 -0
- package/dist/review/suggestions/store.js +28 -0
- package/dist/secrets/actions/delete-api-key.js +5 -0
- package/dist/secrets/routes.d.ts +10 -10
- package/dist/server/action-discovery.js +8 -0
- package/dist/server/agent-chat/context-tools.js +105 -2
- package/dist/server/agent-chat-plugin.d.ts +2 -0
- package/dist/server/agent-chat-plugin.js +242 -54
- package/dist/server/agent-engine-default-model-route.d.ts +1 -1
- package/dist/server/agent-engine-ollama-models-route.d.ts +1 -1
- package/dist/server/application-state-maintenance.d.ts +2 -0
- package/dist/server/application-state-maintenance.js +2 -0
- package/dist/server/attribution.d.ts +14 -0
- package/dist/server/attribution.js +62 -2
- package/dist/server/auth.js +7 -0
- package/dist/server/consent-route.d.ts +41 -0
- package/dist/server/consent-route.js +102 -0
- package/dist/server/first-touch-route.d.ts +39 -0
- package/dist/server/first-touch-route.js +115 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +1 -0
- package/dist/server/queued-submission-inbox-drain.d.ts +9 -0
- package/dist/server/queued-submission-inbox-drain.js +12 -0
- package/dist/server/request-origin.d.ts +6 -0
- package/dist/server/request-origin.js +12 -0
- package/dist/settings/org-settings.d.ts +2 -1
- package/dist/settings/org-settings.js +4 -1
- package/dist/settings/store.d.ts +8 -0
- package/dist/settings/store.js +14 -5
- package/dist/shared/consent.d.ts +31 -0
- package/dist/shared/consent.js +145 -0
- package/dist/shared/first-touch-persistence.d.ts +31 -0
- package/dist/shared/first-touch-persistence.js +53 -0
- package/dist/sharing/actions/list-resource-shares.d.ts +1 -1
- package/dist/sharing/actions/set-resource-visibility.js +5 -0
- package/dist/sharing/actions/share-resource.js +5 -0
- package/dist/sharing/actions/unshare-resource.js +5 -0
- package/dist/templates/chat/.agents/skills/actions/references/action-fields.md +1 -1
- package/dist/templates/default/.agents/skills/actions/references/action-fields.md +1 -1
- package/dist/templates/factory/.agents/skills/review-latest-feedback/SKILL.md +36 -80
- package/dist/templates/factory/.agents/skills/review-latest-feedback/references/channel-inventory.md +54 -16
- package/dist/templates/factory/.agents/skills/review-latest-feedback/references/slack-reaction-replies.md +50 -73
- package/dist/templates/headless/.agents/skills/actions/references/action-fields.md +1 -1
- package/dist/templates/workspace-core/.agents/skills/actions/references/action-fields.md +1 -1
- package/dist/templates/workspace-core/.agents/skills/turn-into-app/SKILL.md +20 -18
- package/dist/usage/actions/get-usage-metrics.js +27 -4
- package/dist/usage/actions/manage-usage-alert.js +5 -0
- package/dist/vite/client.js +8 -6
- package/dist/workspace-connections/actions/bulk-update-workspace-user-groups.js +5 -0
- package/dist/workspace-connections/actions/delete-workspace-user-group.js +5 -0
- package/dist/workspace-connections/actions/upsert-workspace-user-group.js +5 -0
- package/docs/content/actions-access-control.mdx +8 -8
- package/docs/content/actions-defining.mdx +9 -8
- package/docs/content/template-design-developers.mdx +9 -9
- package/docs/content/template-design-features.mdx +1 -3
- package/docs/content/turn-into-app.mdx +4 -0
- package/package.json +4 -3
- package/src/templates/chat/.agents/skills/actions/references/action-fields.md +1 -1
- package/src/templates/default/.agents/skills/actions/references/action-fields.md +1 -1
- package/src/templates/factory/.agents/skills/review-latest-feedback/SKILL.md +36 -80
- package/src/templates/factory/.agents/skills/review-latest-feedback/references/channel-inventory.md +54 -16
- package/src/templates/factory/.agents/skills/review-latest-feedback/references/slack-reaction-replies.md +50 -73
- package/src/templates/headless/.agents/skills/actions/references/action-fields.md +1 -1
- package/src/templates/workspace-core/.agents/skills/actions/references/action-fields.md +1 -1
- package/src/templates/workspace-core/.agents/skills/turn-into-app/SKILL.md +20 -18
|
@@ -21,22 +21,69 @@ export interface DataChartSeriesDefinition {
|
|
|
21
21
|
label: string;
|
|
22
22
|
color?: string;
|
|
23
23
|
}
|
|
24
|
+
export type DataWidgetActionIcon = "explore" | "camera" | "notebook";
|
|
25
|
+
export interface DataWidgetAction {
|
|
26
|
+
label: string;
|
|
27
|
+
href: string;
|
|
28
|
+
icon?: DataWidgetActionIcon;
|
|
29
|
+
}
|
|
30
|
+
export interface DataWidgetChartAction extends DataWidgetAction {
|
|
31
|
+
presentation?: "icon";
|
|
32
|
+
}
|
|
24
33
|
export interface DataChartWidget {
|
|
25
34
|
type: "bar" | "line" | "area";
|
|
26
35
|
title?: string;
|
|
36
|
+
layout?: "horizontal" | "vertical";
|
|
37
|
+
xAxisTitle?: string;
|
|
38
|
+
yAxisTitle?: string;
|
|
39
|
+
showValueLabels?: boolean;
|
|
40
|
+
/** Total chart-body height in pixels, including content padding. */
|
|
41
|
+
contentHeight?: number;
|
|
42
|
+
/** Inner chart-body padding in pixels. */
|
|
43
|
+
contentPadding?: number;
|
|
44
|
+
/** Font family token used by chart labels. Defaults to the app's sans font. */
|
|
45
|
+
labelFontFamily?: "sans" | "serif" | "mono";
|
|
46
|
+
/** Chart-label size in pixels. Defaults to 11. */
|
|
47
|
+
labelFontSize?: number;
|
|
48
|
+
axisTitleFontSize?: number;
|
|
49
|
+
axisTitleFontWeight?: 400 | 500;
|
|
50
|
+
valueLabelFontSize?: number;
|
|
51
|
+
valueLabelFontWeight?: 400 | 500;
|
|
52
|
+
valueAxisTickInterval?: number;
|
|
53
|
+
/** Fraction of each horizontal-bar category slot left empty; defaults to the existing spacing. */
|
|
54
|
+
horizontalCategoryGapRatio?: number;
|
|
27
55
|
xKey: string;
|
|
28
56
|
series: DataChartSeriesDefinition[];
|
|
29
57
|
data: Array<Record<string, unknown>>;
|
|
30
58
|
sampled?: boolean;
|
|
59
|
+
truncated?: boolean;
|
|
60
|
+
actions?: DataWidgetChartAction[];
|
|
31
61
|
}
|
|
32
62
|
export interface DataWidgetDisplay {
|
|
33
63
|
title?: string;
|
|
34
64
|
description?: string;
|
|
35
|
-
primaryAction?:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
65
|
+
primaryAction?: DataWidgetAction;
|
|
66
|
+
sources?: DataWidgetDataSource[];
|
|
67
|
+
actions?: DataWidgetDisplayAction[];
|
|
68
|
+
}
|
|
69
|
+
export interface DataWidgetDataSource {
|
|
70
|
+
id?: string;
|
|
71
|
+
label: string;
|
|
72
|
+
href?: string;
|
|
39
73
|
}
|
|
74
|
+
export type DataWidgetDisplayAction = {
|
|
75
|
+
id?: string;
|
|
76
|
+
type: "link";
|
|
77
|
+
label: string;
|
|
78
|
+
href: string;
|
|
79
|
+
icon?: DataWidgetActionIcon;
|
|
80
|
+
presentation?: "icon";
|
|
81
|
+
} | {
|
|
82
|
+
id?: string;
|
|
83
|
+
type: "copy";
|
|
84
|
+
label: string;
|
|
85
|
+
text: string;
|
|
86
|
+
};
|
|
40
87
|
export interface DataWidgetResultMetadata {
|
|
41
88
|
widgetId?: string;
|
|
42
89
|
title?: string;
|
|
@@ -70,6 +117,7 @@ export type DataInsightsWidgetResult<Input extends DataInsightsWidgetResultInput
|
|
|
70
117
|
widget: typeof DATA_INSIGHTS_WIDGET;
|
|
71
118
|
};
|
|
72
119
|
export type DataWidgetResult = DataTableWidgetResult | DataChartWidgetResult | DataInsightsWidgetResult;
|
|
120
|
+
export declare const DATA_WIDGET_MAX_CHART_POINTS = 200;
|
|
73
121
|
export declare function normalizeDataWidgetKind(value: unknown): DataWidgetKind | null;
|
|
74
122
|
export declare function isDataTableWidget(value: unknown): value is DataTableWidget;
|
|
75
123
|
export declare function isDataChartWidget(value: unknown): value is DataChartWidget;
|
|
@@ -87,7 +135,6 @@ export declare function createDataInsightsWidgetResult<const Input extends DataI
|
|
|
87
135
|
export declare function normalizeDataWidgetResult(value: unknown): DataWidgetResult | null;
|
|
88
136
|
export declare function isDataWidgetResult(value: unknown): value is DataWidgetResult;
|
|
89
137
|
export declare const DATA_WIDGET_MAX_ROWS = 50;
|
|
90
|
-
export declare const DATA_WIDGET_MAX_CHART_POINTS = 200;
|
|
91
138
|
export declare function clampDataWidgetRows(result: DataWidgetResult): DataWidgetResult;
|
|
92
139
|
export declare const dataTableWidgetSchema: z.ZodObject<{
|
|
93
140
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -111,6 +158,27 @@ export declare const dataChartWidgetSchema: z.ZodObject<{
|
|
|
111
158
|
line: "line";
|
|
112
159
|
}>;
|
|
113
160
|
title: z.ZodOptional<z.ZodString>;
|
|
161
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
162
|
+
horizontal: "horizontal";
|
|
163
|
+
vertical: "vertical";
|
|
164
|
+
}>>;
|
|
165
|
+
xAxisTitle: z.ZodOptional<z.ZodString>;
|
|
166
|
+
yAxisTitle: z.ZodOptional<z.ZodString>;
|
|
167
|
+
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
contentHeight: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
contentPadding: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
labelFontFamily: z.ZodOptional<z.ZodEnum<{
|
|
171
|
+
mono: "mono";
|
|
172
|
+
sans: "sans";
|
|
173
|
+
serif: "serif";
|
|
174
|
+
}>>;
|
|
175
|
+
labelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
axisTitleFontSize: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
axisTitleFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
178
|
+
valueLabelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
valueLabelFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
180
|
+
valueAxisTickInterval: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
horizontalCategoryGapRatio: z.ZodOptional<z.ZodNumber>;
|
|
114
182
|
xKey: z.ZodString;
|
|
115
183
|
series: z.ZodArray<z.ZodObject<{
|
|
116
184
|
key: z.ZodString;
|
|
@@ -119,6 +187,17 @@ export declare const dataChartWidgetSchema: z.ZodObject<{
|
|
|
119
187
|
}, z.core.$loose>>;
|
|
120
188
|
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
121
189
|
sampled: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
192
|
+
label: z.ZodString;
|
|
193
|
+
href: z.ZodString;
|
|
194
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
195
|
+
camera: "camera";
|
|
196
|
+
explore: "explore";
|
|
197
|
+
notebook: "notebook";
|
|
198
|
+
}>>;
|
|
199
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
200
|
+
}, z.core.$loose>>>;
|
|
122
201
|
}, z.core.$loose>;
|
|
123
202
|
export declare const dataTableWidgetResultSchema: z.ZodObject<{
|
|
124
203
|
widgetId: z.ZodOptional<z.ZodString>;
|
|
@@ -130,7 +209,34 @@ export declare const dataTableWidgetResultSchema: z.ZodObject<{
|
|
|
130
209
|
primaryAction: z.ZodOptional<z.ZodObject<{
|
|
131
210
|
label: z.ZodString;
|
|
132
211
|
href: z.ZodString;
|
|
212
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
camera: "camera";
|
|
214
|
+
explore: "explore";
|
|
215
|
+
notebook: "notebook";
|
|
216
|
+
}>>;
|
|
133
217
|
}, z.core.$loose>>;
|
|
218
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
219
|
+
id: z.ZodOptional<z.ZodString>;
|
|
220
|
+
label: z.ZodString;
|
|
221
|
+
href: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$loose>>>;
|
|
223
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
224
|
+
id: z.ZodOptional<z.ZodString>;
|
|
225
|
+
type: z.ZodLiteral<"link">;
|
|
226
|
+
label: z.ZodString;
|
|
227
|
+
href: z.ZodString;
|
|
228
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
229
|
+
camera: "camera";
|
|
230
|
+
explore: "explore";
|
|
231
|
+
notebook: "notebook";
|
|
232
|
+
}>>;
|
|
233
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
234
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
235
|
+
id: z.ZodOptional<z.ZodString>;
|
|
236
|
+
type: z.ZodLiteral<"copy">;
|
|
237
|
+
label: z.ZodString;
|
|
238
|
+
text: z.ZodString;
|
|
239
|
+
}, z.core.$loose>], "type">>>;
|
|
134
240
|
}, z.core.$loose>>;
|
|
135
241
|
widget: z.ZodLiteral<"data-table">;
|
|
136
242
|
table: z.ZodObject<{
|
|
@@ -159,7 +265,34 @@ export declare const dataChartWidgetResultSchema: z.ZodObject<{
|
|
|
159
265
|
primaryAction: z.ZodOptional<z.ZodObject<{
|
|
160
266
|
label: z.ZodString;
|
|
161
267
|
href: z.ZodString;
|
|
268
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
269
|
+
camera: "camera";
|
|
270
|
+
explore: "explore";
|
|
271
|
+
notebook: "notebook";
|
|
272
|
+
}>>;
|
|
162
273
|
}, z.core.$loose>>;
|
|
274
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
|
+
id: z.ZodOptional<z.ZodString>;
|
|
276
|
+
label: z.ZodString;
|
|
277
|
+
href: z.ZodOptional<z.ZodString>;
|
|
278
|
+
}, z.core.$loose>>>;
|
|
279
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
280
|
+
id: z.ZodOptional<z.ZodString>;
|
|
281
|
+
type: z.ZodLiteral<"link">;
|
|
282
|
+
label: z.ZodString;
|
|
283
|
+
href: z.ZodString;
|
|
284
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
285
|
+
camera: "camera";
|
|
286
|
+
explore: "explore";
|
|
287
|
+
notebook: "notebook";
|
|
288
|
+
}>>;
|
|
289
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
290
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
291
|
+
id: z.ZodOptional<z.ZodString>;
|
|
292
|
+
type: z.ZodLiteral<"copy">;
|
|
293
|
+
label: z.ZodString;
|
|
294
|
+
text: z.ZodString;
|
|
295
|
+
}, z.core.$loose>], "type">>>;
|
|
163
296
|
}, z.core.$loose>>;
|
|
164
297
|
widget: z.ZodLiteral<"data-chart">;
|
|
165
298
|
chartSeries: z.ZodObject<{
|
|
@@ -169,6 +302,27 @@ export declare const dataChartWidgetResultSchema: z.ZodObject<{
|
|
|
169
302
|
line: "line";
|
|
170
303
|
}>;
|
|
171
304
|
title: z.ZodOptional<z.ZodString>;
|
|
305
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
306
|
+
horizontal: "horizontal";
|
|
307
|
+
vertical: "vertical";
|
|
308
|
+
}>>;
|
|
309
|
+
xAxisTitle: z.ZodOptional<z.ZodString>;
|
|
310
|
+
yAxisTitle: z.ZodOptional<z.ZodString>;
|
|
311
|
+
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
312
|
+
contentHeight: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
contentPadding: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
labelFontFamily: z.ZodOptional<z.ZodEnum<{
|
|
315
|
+
mono: "mono";
|
|
316
|
+
sans: "sans";
|
|
317
|
+
serif: "serif";
|
|
318
|
+
}>>;
|
|
319
|
+
labelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
320
|
+
axisTitleFontSize: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
axisTitleFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
322
|
+
valueLabelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
323
|
+
valueLabelFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
324
|
+
valueAxisTickInterval: z.ZodOptional<z.ZodNumber>;
|
|
325
|
+
horizontalCategoryGapRatio: z.ZodOptional<z.ZodNumber>;
|
|
172
326
|
xKey: z.ZodString;
|
|
173
327
|
series: z.ZodArray<z.ZodObject<{
|
|
174
328
|
key: z.ZodString;
|
|
@@ -177,6 +331,17 @@ export declare const dataChartWidgetResultSchema: z.ZodObject<{
|
|
|
177
331
|
}, z.core.$loose>>;
|
|
178
332
|
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
179
333
|
sampled: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
335
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
|
+
label: z.ZodString;
|
|
337
|
+
href: z.ZodString;
|
|
338
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
339
|
+
camera: "camera";
|
|
340
|
+
explore: "explore";
|
|
341
|
+
notebook: "notebook";
|
|
342
|
+
}>>;
|
|
343
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
344
|
+
}, z.core.$loose>>>;
|
|
180
345
|
}, z.core.$loose>;
|
|
181
346
|
}, z.core.$loose>;
|
|
182
347
|
export declare const dataInsightsWidgetResultSchema: z.ZodObject<{
|
|
@@ -189,7 +354,34 @@ export declare const dataInsightsWidgetResultSchema: z.ZodObject<{
|
|
|
189
354
|
primaryAction: z.ZodOptional<z.ZodObject<{
|
|
190
355
|
label: z.ZodString;
|
|
191
356
|
href: z.ZodString;
|
|
357
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
358
|
+
camera: "camera";
|
|
359
|
+
explore: "explore";
|
|
360
|
+
notebook: "notebook";
|
|
361
|
+
}>>;
|
|
192
362
|
}, z.core.$loose>>;
|
|
363
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
364
|
+
id: z.ZodOptional<z.ZodString>;
|
|
365
|
+
label: z.ZodString;
|
|
366
|
+
href: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, z.core.$loose>>>;
|
|
368
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
369
|
+
id: z.ZodOptional<z.ZodString>;
|
|
370
|
+
type: z.ZodLiteral<"link">;
|
|
371
|
+
label: z.ZodString;
|
|
372
|
+
href: z.ZodString;
|
|
373
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
374
|
+
camera: "camera";
|
|
375
|
+
explore: "explore";
|
|
376
|
+
notebook: "notebook";
|
|
377
|
+
}>>;
|
|
378
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
379
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
380
|
+
id: z.ZodOptional<z.ZodString>;
|
|
381
|
+
type: z.ZodLiteral<"copy">;
|
|
382
|
+
label: z.ZodString;
|
|
383
|
+
text: z.ZodString;
|
|
384
|
+
}, z.core.$loose>], "type">>>;
|
|
193
385
|
}, z.core.$loose>>;
|
|
194
386
|
widget: z.ZodLiteral<"data-insights">;
|
|
195
387
|
table: z.ZodOptional<z.ZodObject<{
|
|
@@ -214,6 +406,27 @@ export declare const dataInsightsWidgetResultSchema: z.ZodObject<{
|
|
|
214
406
|
line: "line";
|
|
215
407
|
}>;
|
|
216
408
|
title: z.ZodOptional<z.ZodString>;
|
|
409
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
horizontal: "horizontal";
|
|
411
|
+
vertical: "vertical";
|
|
412
|
+
}>>;
|
|
413
|
+
xAxisTitle: z.ZodOptional<z.ZodString>;
|
|
414
|
+
yAxisTitle: z.ZodOptional<z.ZodString>;
|
|
415
|
+
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
416
|
+
contentHeight: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
contentPadding: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
labelFontFamily: z.ZodOptional<z.ZodEnum<{
|
|
419
|
+
mono: "mono";
|
|
420
|
+
sans: "sans";
|
|
421
|
+
serif: "serif";
|
|
422
|
+
}>>;
|
|
423
|
+
labelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
axisTitleFontSize: z.ZodOptional<z.ZodNumber>;
|
|
425
|
+
axisTitleFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
426
|
+
valueLabelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
valueLabelFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
428
|
+
valueAxisTickInterval: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
horizontalCategoryGapRatio: z.ZodOptional<z.ZodNumber>;
|
|
217
430
|
xKey: z.ZodString;
|
|
218
431
|
series: z.ZodArray<z.ZodObject<{
|
|
219
432
|
key: z.ZodString;
|
|
@@ -222,6 +435,17 @@ export declare const dataInsightsWidgetResultSchema: z.ZodObject<{
|
|
|
222
435
|
}, z.core.$loose>>;
|
|
223
436
|
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
224
437
|
sampled: z.ZodOptional<z.ZodBoolean>;
|
|
438
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
440
|
+
label: z.ZodString;
|
|
441
|
+
href: z.ZodString;
|
|
442
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
443
|
+
camera: "camera";
|
|
444
|
+
explore: "explore";
|
|
445
|
+
notebook: "notebook";
|
|
446
|
+
}>>;
|
|
447
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
448
|
+
}, z.core.$loose>>>;
|
|
225
449
|
}, z.core.$loose>>;
|
|
226
450
|
}, z.core.$loose>;
|
|
227
451
|
export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -234,7 +458,34 @@ export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
234
458
|
primaryAction: z.ZodOptional<z.ZodObject<{
|
|
235
459
|
label: z.ZodString;
|
|
236
460
|
href: z.ZodString;
|
|
461
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
462
|
+
camera: "camera";
|
|
463
|
+
explore: "explore";
|
|
464
|
+
notebook: "notebook";
|
|
465
|
+
}>>;
|
|
237
466
|
}, z.core.$loose>>;
|
|
467
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
468
|
+
id: z.ZodOptional<z.ZodString>;
|
|
469
|
+
label: z.ZodString;
|
|
470
|
+
href: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, z.core.$loose>>>;
|
|
472
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
473
|
+
id: z.ZodOptional<z.ZodString>;
|
|
474
|
+
type: z.ZodLiteral<"link">;
|
|
475
|
+
label: z.ZodString;
|
|
476
|
+
href: z.ZodString;
|
|
477
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
478
|
+
camera: "camera";
|
|
479
|
+
explore: "explore";
|
|
480
|
+
notebook: "notebook";
|
|
481
|
+
}>>;
|
|
482
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
483
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
484
|
+
id: z.ZodOptional<z.ZodString>;
|
|
485
|
+
type: z.ZodLiteral<"copy">;
|
|
486
|
+
label: z.ZodString;
|
|
487
|
+
text: z.ZodString;
|
|
488
|
+
}, z.core.$loose>], "type">>>;
|
|
238
489
|
}, z.core.$loose>>;
|
|
239
490
|
widget: z.ZodLiteral<"data-table">;
|
|
240
491
|
table: z.ZodObject<{
|
|
@@ -262,7 +513,34 @@ export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
262
513
|
primaryAction: z.ZodOptional<z.ZodObject<{
|
|
263
514
|
label: z.ZodString;
|
|
264
515
|
href: z.ZodString;
|
|
516
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
517
|
+
camera: "camera";
|
|
518
|
+
explore: "explore";
|
|
519
|
+
notebook: "notebook";
|
|
520
|
+
}>>;
|
|
265
521
|
}, z.core.$loose>>;
|
|
522
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
523
|
+
id: z.ZodOptional<z.ZodString>;
|
|
524
|
+
label: z.ZodString;
|
|
525
|
+
href: z.ZodOptional<z.ZodString>;
|
|
526
|
+
}, z.core.$loose>>>;
|
|
527
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
528
|
+
id: z.ZodOptional<z.ZodString>;
|
|
529
|
+
type: z.ZodLiteral<"link">;
|
|
530
|
+
label: z.ZodString;
|
|
531
|
+
href: z.ZodString;
|
|
532
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
533
|
+
camera: "camera";
|
|
534
|
+
explore: "explore";
|
|
535
|
+
notebook: "notebook";
|
|
536
|
+
}>>;
|
|
537
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
538
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
539
|
+
id: z.ZodOptional<z.ZodString>;
|
|
540
|
+
type: z.ZodLiteral<"copy">;
|
|
541
|
+
label: z.ZodString;
|
|
542
|
+
text: z.ZodString;
|
|
543
|
+
}, z.core.$loose>], "type">>>;
|
|
266
544
|
}, z.core.$loose>>;
|
|
267
545
|
widget: z.ZodLiteral<"data-chart">;
|
|
268
546
|
chartSeries: z.ZodObject<{
|
|
@@ -272,6 +550,27 @@ export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
272
550
|
line: "line";
|
|
273
551
|
}>;
|
|
274
552
|
title: z.ZodOptional<z.ZodString>;
|
|
553
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
554
|
+
horizontal: "horizontal";
|
|
555
|
+
vertical: "vertical";
|
|
556
|
+
}>>;
|
|
557
|
+
xAxisTitle: z.ZodOptional<z.ZodString>;
|
|
558
|
+
yAxisTitle: z.ZodOptional<z.ZodString>;
|
|
559
|
+
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
560
|
+
contentHeight: z.ZodOptional<z.ZodNumber>;
|
|
561
|
+
contentPadding: z.ZodOptional<z.ZodNumber>;
|
|
562
|
+
labelFontFamily: z.ZodOptional<z.ZodEnum<{
|
|
563
|
+
mono: "mono";
|
|
564
|
+
sans: "sans";
|
|
565
|
+
serif: "serif";
|
|
566
|
+
}>>;
|
|
567
|
+
labelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
568
|
+
axisTitleFontSize: z.ZodOptional<z.ZodNumber>;
|
|
569
|
+
axisTitleFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
570
|
+
valueLabelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
571
|
+
valueLabelFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
572
|
+
valueAxisTickInterval: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
horizontalCategoryGapRatio: z.ZodOptional<z.ZodNumber>;
|
|
275
574
|
xKey: z.ZodString;
|
|
276
575
|
series: z.ZodArray<z.ZodObject<{
|
|
277
576
|
key: z.ZodString;
|
|
@@ -280,6 +579,17 @@ export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
280
579
|
}, z.core.$loose>>;
|
|
281
580
|
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
282
581
|
sampled: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
583
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
584
|
+
label: z.ZodString;
|
|
585
|
+
href: z.ZodString;
|
|
586
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
587
|
+
camera: "camera";
|
|
588
|
+
explore: "explore";
|
|
589
|
+
notebook: "notebook";
|
|
590
|
+
}>>;
|
|
591
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
592
|
+
}, z.core.$loose>>>;
|
|
283
593
|
}, z.core.$loose>;
|
|
284
594
|
}, z.core.$loose>, z.ZodObject<{
|
|
285
595
|
widgetId: z.ZodOptional<z.ZodString>;
|
|
@@ -291,7 +601,34 @@ export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
291
601
|
primaryAction: z.ZodOptional<z.ZodObject<{
|
|
292
602
|
label: z.ZodString;
|
|
293
603
|
href: z.ZodString;
|
|
604
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
605
|
+
camera: "camera";
|
|
606
|
+
explore: "explore";
|
|
607
|
+
notebook: "notebook";
|
|
608
|
+
}>>;
|
|
294
609
|
}, z.core.$loose>>;
|
|
610
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
611
|
+
id: z.ZodOptional<z.ZodString>;
|
|
612
|
+
label: z.ZodString;
|
|
613
|
+
href: z.ZodOptional<z.ZodString>;
|
|
614
|
+
}, z.core.$loose>>>;
|
|
615
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
616
|
+
id: z.ZodOptional<z.ZodString>;
|
|
617
|
+
type: z.ZodLiteral<"link">;
|
|
618
|
+
label: z.ZodString;
|
|
619
|
+
href: z.ZodString;
|
|
620
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
621
|
+
camera: "camera";
|
|
622
|
+
explore: "explore";
|
|
623
|
+
notebook: "notebook";
|
|
624
|
+
}>>;
|
|
625
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
626
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
627
|
+
id: z.ZodOptional<z.ZodString>;
|
|
628
|
+
type: z.ZodLiteral<"copy">;
|
|
629
|
+
label: z.ZodString;
|
|
630
|
+
text: z.ZodString;
|
|
631
|
+
}, z.core.$loose>], "type">>>;
|
|
295
632
|
}, z.core.$loose>>;
|
|
296
633
|
widget: z.ZodLiteral<"data-insights">;
|
|
297
634
|
table: z.ZodOptional<z.ZodObject<{
|
|
@@ -316,6 +653,27 @@ export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
316
653
|
line: "line";
|
|
317
654
|
}>;
|
|
318
655
|
title: z.ZodOptional<z.ZodString>;
|
|
656
|
+
layout: z.ZodOptional<z.ZodEnum<{
|
|
657
|
+
horizontal: "horizontal";
|
|
658
|
+
vertical: "vertical";
|
|
659
|
+
}>>;
|
|
660
|
+
xAxisTitle: z.ZodOptional<z.ZodString>;
|
|
661
|
+
yAxisTitle: z.ZodOptional<z.ZodString>;
|
|
662
|
+
showValueLabels: z.ZodOptional<z.ZodBoolean>;
|
|
663
|
+
contentHeight: z.ZodOptional<z.ZodNumber>;
|
|
664
|
+
contentPadding: z.ZodOptional<z.ZodNumber>;
|
|
665
|
+
labelFontFamily: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
mono: "mono";
|
|
667
|
+
sans: "sans";
|
|
668
|
+
serif: "serif";
|
|
669
|
+
}>>;
|
|
670
|
+
labelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
671
|
+
axisTitleFontSize: z.ZodOptional<z.ZodNumber>;
|
|
672
|
+
axisTitleFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
673
|
+
valueLabelFontSize: z.ZodOptional<z.ZodNumber>;
|
|
674
|
+
valueLabelFontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<400>, z.ZodLiteral<500>]>>;
|
|
675
|
+
valueAxisTickInterval: z.ZodOptional<z.ZodNumber>;
|
|
676
|
+
horizontalCategoryGapRatio: z.ZodOptional<z.ZodNumber>;
|
|
319
677
|
xKey: z.ZodString;
|
|
320
678
|
series: z.ZodArray<z.ZodObject<{
|
|
321
679
|
key: z.ZodString;
|
|
@@ -324,5 +682,16 @@ export declare const dataWidgetResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
324
682
|
}, z.core.$loose>>;
|
|
325
683
|
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
326
684
|
sampled: z.ZodOptional<z.ZodBoolean>;
|
|
685
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
687
|
+
label: z.ZodString;
|
|
688
|
+
href: z.ZodString;
|
|
689
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
690
|
+
camera: "camera";
|
|
691
|
+
explore: "explore";
|
|
692
|
+
notebook: "notebook";
|
|
693
|
+
}>>;
|
|
694
|
+
presentation: z.ZodOptional<z.ZodLiteral<"icon">>;
|
|
695
|
+
}, z.core.$loose>>>;
|
|
327
696
|
}, z.core.$loose>>;
|
|
328
697
|
}, z.core.$loose>]>;
|