@xpert-ai/plugin-live-dashboard 0.6.2 → 0.7.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.
Files changed (283) hide show
  1. package/.xpertai-plugin/plugin.json +1 -1
  2. package/README.md +14 -2
  3. package/assets/explore/PROVENANCE.md +9 -0
  4. package/assets/explore/category-contribution.webp +0 -0
  5. package/assets/explore/ecommerce-operations.webp +0 -0
  6. package/assets/explore/extensions.svg +1 -0
  7. package/assets/explore/generation-prompts.json +107 -0
  8. package/assets/explore/global-assets.webp +0 -0
  9. package/assets/explore/hotel-cancellation.webp +0 -0
  10. package/assets/explore/hotel-operations.webp +0 -0
  11. package/assets/explore/insights.svg +1 -0
  12. package/assets/explore/knowledge.svg +1 -0
  13. package/assets/explore/legal-defense.webp +0 -0
  14. package/assets/explore/order-promotion.webp +0 -0
  15. package/assets/explore/outbound-travel.webp +0 -0
  16. package/assets/explore/schedule.svg +1 -0
  17. package/assets/explore/steam-market.webp +0 -0
  18. package/assets/explore/weather-alerts.webp +0 -0
  19. package/assets/library/catalog/README.md +11 -0
  20. package/assets/library/catalog/analysis-template-conversion-diagnosis.svg +1 -0
  21. package/assets/library/catalog/analysis-template-customer-lifecycle.svg +1 -0
  22. package/assets/library/catalog/analysis-template-growth-attribution.svg +1 -0
  23. package/assets/library/catalog/analysis-template-multi-criteria.svg +1 -0
  24. package/assets/library/catalog/analysis-template-regional-flow.svg +1 -0
  25. package/assets/library/catalog/analysis-template-risk-monitoring.svg +1 -0
  26. package/assets/library/catalog/component-analysis-note.svg +1 -0
  27. package/assets/library/catalog/component-box-plot.svg +1 -0
  28. package/assets/library/catalog/component-bullet.svg +1 -0
  29. package/assets/library/catalog/component-calendar-heatmap.svg +1 -0
  30. package/assets/library/catalog/component-collapsible-panel.svg +1 -0
  31. package/assets/library/catalog/component-combo-chart.svg +1 -0
  32. package/assets/library/catalog/component-content-panel.svg +1 -0
  33. package/assets/library/catalog/component-date-range.svg +1 -0
  34. package/assets/library/catalog/component-detail-table.svg +1 -0
  35. package/assets/library/catalog/component-donut.svg +1 -0
  36. package/assets/library/catalog/component-dumbbell.svg +1 -0
  37. package/assets/library/catalog/component-event-timeline.svg +1 -0
  38. package/assets/library/catalog/component-funnel.svg +1 -0
  39. package/assets/library/catalog/component-histogram.svg +1 -0
  40. package/assets/library/catalog/component-keyword-filter.svg +1 -0
  41. package/assets/library/catalog/component-matrix-heatmap.svg +1 -0
  42. package/assets/library/catalog/component-metric-card.svg +1 -0
  43. package/assets/library/catalog/component-metric-group.svg +1 -0
  44. package/assets/library/catalog/component-multi-series.svg +1 -0
  45. package/assets/library/catalog/component-number-range.svg +1 -0
  46. package/assets/library/catalog/component-option-filter.svg +1 -0
  47. package/assets/library/catalog/component-pareto.svg +1 -0
  48. package/assets/library/catalog/component-percent-stacked.svg +1 -0
  49. package/assets/library/catalog/component-pivot-table.svg +1 -0
  50. package/assets/library/catalog/component-radar.svg +1 -0
  51. package/assets/library/catalog/component-ranking.svg +1 -0
  52. package/assets/library/catalog/component-sankey.svg +1 -0
  53. package/assets/library/catalog/component-scatter-bubble.svg +1 -0
  54. package/assets/library/catalog/component-segmented-filter.svg +1 -0
  55. package/assets/library/catalog/component-small-multiples.svg +1 -0
  56. package/assets/library/catalog/component-sunburst.svg +1 -0
  57. package/assets/library/catalog/component-tabbed-panel.svg +1 -0
  58. package/assets/library/catalog/component-target-progress.svg +1 -0
  59. package/assets/library/catalog/component-toggle-filter.svg +1 -0
  60. package/assets/library/catalog/component-treemap.svg +1 -0
  61. package/assets/library/catalog/component-trend-comparison.svg +1 -0
  62. package/assets/library/catalog/component-waterfall.svg +1 -0
  63. package/assets/library/catalog/provenance.json +524 -0
  64. package/assets/library/catalog/visual-theme-amber-sunset.svg +1 -0
  65. package/assets/library/catalog/visual-theme-art-deco.svg +1 -0
  66. package/assets/library/catalog/visual-theme-bauhaus.svg +1 -0
  67. package/assets/library/catalog/visual-theme-burgundy-night.svg +1 -0
  68. package/assets/library/catalog/visual-theme-cinematic.svg +1 -0
  69. package/assets/library/catalog/visual-theme-clarity-blue.svg +1 -0
  70. package/assets/library/catalog/visual-theme-clay.svg +1 -0
  71. package/assets/library/catalog/visual-theme-cobalt-diagonal.svg +1 -0
  72. package/assets/library/catalog/visual-theme-coral-cream.svg +1 -0
  73. package/assets/library/catalog/visual-theme-crimson-black.svg +1 -0
  74. package/assets/library/catalog/visual-theme-cyberpunk.svg +1 -0
  75. package/assets/library/catalog/visual-theme-dark-olive.svg +1 -0
  76. package/assets/library/catalog/visual-theme-dark-tech.svg +1 -0
  77. package/assets/library/catalog/visual-theme-deep-sea-blue.svg +1 -0
  78. package/assets/library/catalog/visual-theme-deep-sea-mist.svg +1 -0
  79. package/assets/library/catalog/visual-theme-financial-trading.svg +1 -0
  80. package/assets/library/catalog/visual-theme-flat.svg +1 -0
  81. package/assets/library/catalog/visual-theme-frosted-tech.svg +1 -0
  82. package/assets/library/catalog/visual-theme-golden-eye.svg +1 -0
  83. package/assets/library/catalog/visual-theme-hand-drawn.svg +1 -0
  84. package/assets/library/catalog/visual-theme-industrial.svg +1 -0
  85. package/assets/library/catalog/visual-theme-layered-paper.svg +1 -0
  86. package/assets/library/catalog/visual-theme-material.svg +1 -0
  87. package/assets/library/catalog/visual-theme-maximalism.svg +1 -0
  88. package/assets/library/catalog/visual-theme-midnight-emerald.svg +1 -0
  89. package/assets/library/catalog/visual-theme-minimal-modern.svg +1 -0
  90. package/assets/library/catalog/visual-theme-misty-green.svg +1 -0
  91. package/assets/library/catalog/visual-theme-misty-rose.svg +1 -0
  92. package/assets/library/catalog/visual-theme-natural-terrain.svg +1 -0
  93. package/assets/library/catalog/visual-theme-neo-brutalism.svg +1 -0
  94. package/assets/library/catalog/visual-theme-newsprint.svg +1 -0
  95. package/assets/library/catalog/visual-theme-olive-terracotta.svg +1 -0
  96. package/assets/library/catalog/visual-theme-paper-journal.svg +1 -0
  97. package/assets/library/catalog/visual-theme-pastel-matrix.svg +1 -0
  98. package/assets/library/catalog/visual-theme-pixel-dashboard.svg +1 -0
  99. package/assets/library/catalog/visual-theme-premium-business.svg +1 -0
  100. package/assets/library/catalog/visual-theme-redline-brief.svg +1 -0
  101. package/assets/library/catalog/visual-theme-sage.svg +1 -0
  102. package/assets/library/catalog/visual-theme-soft-porcelain.svg +1 -0
  103. package/assets/library/catalog/visual-theme-swiss-grid.svg +1 -0
  104. package/assets/library/catalog/visual-theme-tdesign-enterprise.svg +1 -0
  105. package/assets/library/catalog/visual-theme-terminal-green.svg +1 -0
  106. package/assets/library/catalog/visual-theme-warm-sand.svg +1 -0
  107. package/dist/lib/agent.schema.d.ts +514 -32
  108. package/dist/lib/analysis-scene-chart.d.ts +8 -0
  109. package/dist/lib/analysis-scene-chart.js +61 -0
  110. package/dist/lib/analysis-scene-tool.d.ts +87 -0
  111. package/dist/lib/analysis-scene-tool.js +33 -0
  112. package/dist/lib/analysis-scene-widget.d.ts +6 -0
  113. package/dist/lib/analysis-scene-widget.js +107 -0
  114. package/dist/lib/analysis-scene.schema.d.ts +66 -0
  115. package/dist/lib/analysis-scene.schema.js +20 -0
  116. package/dist/lib/archive.service.d.ts +35 -0
  117. package/dist/lib/artifact-type.provider.d.ts +1 -0
  118. package/dist/lib/artifact-type.provider.js +18 -0
  119. package/dist/lib/bundled-example-source.d.ts +11 -0
  120. package/dist/lib/bundled-example-source.js +60 -0
  121. package/dist/lib/certification.schema.d.ts +4 -0
  122. package/dist/lib/certification.schema.js +14 -0
  123. package/dist/lib/content-capability.js +1 -0
  124. package/dist/lib/content-type.d.ts +2 -0
  125. package/dist/lib/content-type.js +5 -0
  126. package/dist/lib/content.provider.js +5 -3
  127. package/dist/lib/dashboard-archive.d.ts +35 -0
  128. package/dist/lib/dashboard-artifact.d.ts +93 -0
  129. package/dist/lib/dashboard-artifact.js +24 -0
  130. package/dist/lib/dashboard-delivery.d.ts +11 -0
  131. package/dist/lib/dashboard-delivery.js +55 -0
  132. package/dist/lib/dashboard-discovery.schema.d.ts +446 -0
  133. package/dist/lib/dashboard-discovery.schema.js +35 -0
  134. package/dist/lib/dashboard-navigation.d.ts +22 -21
  135. package/dist/lib/dashboard-navigation.js +5 -4
  136. package/dist/lib/dashboard-queries.d.ts +2 -2
  137. package/dist/lib/dashboard-queries.js +2 -2
  138. package/dist/lib/dashboard-receipt.js +1 -1
  139. package/dist/lib/dashboard-view.schema.d.ts +964 -64
  140. package/dist/lib/dashboard.schema.d.ts +738 -23
  141. package/dist/lib/dashboard.schema.js +8 -2
  142. package/dist/lib/dashboard.service.d.ts +155 -2
  143. package/dist/lib/dashboard.service.js +38 -4
  144. package/dist/lib/dataset-artifact.provider.d.ts +13 -0
  145. package/dist/lib/dataset-artifact.provider.js +57 -0
  146. package/dist/lib/dataset.schema.d.ts +195 -0
  147. package/dist/lib/dataset.schema.js +23 -0
  148. package/dist/lib/dataset.service.d.ts +54 -0
  149. package/dist/lib/dataset.service.js +119 -0
  150. package/dist/lib/definition-tools.d.ts +14 -54
  151. package/dist/lib/definition-tools.js +29 -9
  152. package/dist/lib/document-package.d.ts +35 -0
  153. package/dist/lib/editing.d.ts +552 -2
  154. package/dist/lib/evidence/evidence-diff.d.ts +17 -0
  155. package/dist/lib/evidence/evidence-diff.js +30 -0
  156. package/dist/lib/evidence/evidence-transfers.d.ts +14 -0
  157. package/dist/lib/evidence/evidence-transfers.js +41 -0
  158. package/dist/lib/evidence/evidence-view.provider.d.ts +91 -0
  159. package/dist/lib/evidence/evidence-view.provider.js +92 -0
  160. package/dist/lib/evidence/evidence.entity.d.ts +14 -0
  161. package/dist/lib/evidence/evidence.entity.js +62 -0
  162. package/dist/lib/evidence/evidence.provider.d.ts +43 -0
  163. package/dist/lib/evidence/evidence.provider.js +91 -0
  164. package/dist/lib/evidence/evidence.service.d.ts +67 -0
  165. package/dist/lib/evidence/evidence.service.js +218 -0
  166. package/dist/lib/explore-catalog.d.ts +15 -0
  167. package/dist/lib/explore-catalog.js +51 -0
  168. package/dist/lib/explore-catalog.json +131 -0
  169. package/dist/lib/explore.schema.d.ts +69 -0
  170. package/dist/lib/explore.schema.js +9 -0
  171. package/dist/lib/group-sharing.d.ts +17 -0
  172. package/dist/lib/group-sharing.js +39 -0
  173. package/dist/lib/hotel-document.d.ts +3 -0
  174. package/dist/lib/hotel-document.js +26 -0
  175. package/dist/lib/hotel-template.d.ts +246 -0
  176. package/dist/lib/hotel-template.js +77 -0
  177. package/dist/lib/library/access.d.ts +9 -0
  178. package/dist/lib/library/access.js +14 -0
  179. package/dist/lib/library/actions.d.ts +7 -0
  180. package/dist/lib/library/actions.js +55 -0
  181. package/dist/lib/library/archive.d.ts +13 -0
  182. package/dist/lib/library/archive.js +123 -0
  183. package/dist/lib/library/asset-validation.d.ts +4 -0
  184. package/dist/lib/library/asset-validation.js +77 -0
  185. package/dist/lib/library/catalog-blueprints.json +3225 -0
  186. package/dist/lib/library/catalog.service.d.ts +2427 -0
  187. package/dist/lib/library/catalog.service.js +270 -0
  188. package/dist/lib/library/dataset-binding.service.d.ts +65 -0
  189. package/dist/lib/library/dataset-binding.service.js +152 -0
  190. package/dist/lib/library/directory-contract.d.ts +161 -0
  191. package/dist/lib/library/directory-contract.js +19 -0
  192. package/dist/lib/library/directory.service.d.ts +33 -0
  193. package/dist/lib/library/directory.service.js +69 -0
  194. package/dist/lib/library/entities.d.ts +80 -0
  195. package/dist/lib/library/entities.js +280 -0
  196. package/dist/lib/library/execution-contract.d.ts +200 -0
  197. package/dist/lib/library/execution-contract.js +19 -0
  198. package/dist/lib/library/execution-resolution.d.ts +2490 -0
  199. package/dist/lib/library/execution-resolution.js +101 -0
  200. package/dist/lib/library/file-artifact.provider.d.ts +7 -0
  201. package/dist/lib/library/file-artifact.provider.js +35 -0
  202. package/dist/lib/library/files.service.d.ts +20 -0
  203. package/dist/lib/library/files.service.js +112 -0
  204. package/dist/lib/library/origin.schema.d.ts +171 -0
  205. package/dist/lib/library/origin.schema.js +14 -0
  206. package/dist/lib/library/resource-contract.d.ts +2779 -0
  207. package/dist/lib/library/resource-contract.js +167 -0
  208. package/dist/lib/library/resource-json.d.ts +11 -0
  209. package/dist/lib/library/resource-json.js +53 -0
  210. package/dist/lib/library/task-preparation.service.d.ts +14 -0
  211. package/dist/lib/library/task-preparation.service.js +85 -0
  212. package/dist/lib/library/template-compiler.d.ts +19 -0
  213. package/dist/lib/library/template-compiler.js +73 -0
  214. package/dist/lib/library/template-execution.service.d.ts +79 -0
  215. package/dist/lib/library/template-execution.service.js +135 -0
  216. package/dist/lib/library/transfers.service.d.ts +94 -0
  217. package/dist/lib/library/transfers.service.js +193 -0
  218. package/dist/lib/library/zip-container.d.ts +10 -0
  219. package/dist/lib/library/zip-container.js +79 -0
  220. package/dist/lib/library-view.provider.d.ts +88 -0
  221. package/dist/lib/library-view.provider.js +164 -0
  222. package/dist/lib/library.schema.d.ts +347 -0
  223. package/dist/lib/library.schema.js +41 -0
  224. package/dist/lib/middleware.d.ts +8 -2
  225. package/dist/lib/middleware.js +119 -11
  226. package/dist/lib/monitor.js +2 -2
  227. package/dist/lib/plugin.js +21 -1
  228. package/dist/lib/presentation.provider.d.ts +35 -0
  229. package/dist/lib/presentation.provider.js +4 -15
  230. package/dist/lib/projects.schema.d.ts +4 -4
  231. package/dist/lib/query-session.d.ts +1 -1
  232. package/dist/lib/query-session.js +13 -8
  233. package/dist/lib/remote-entry.d.ts +1 -1
  234. package/dist/lib/remote-entry.js +2 -2
  235. package/dist/lib/resource.schema.d.ts +1067 -0
  236. package/dist/lib/resource.schema.js +76 -0
  237. package/dist/lib/runtime-context.d.ts +2 -0
  238. package/dist/lib/runtime-context.js +22 -0
  239. package/dist/lib/sharing.service.d.ts +12 -0
  240. package/dist/lib/sharing.service.js +4 -0
  241. package/dist/lib/source-executions.d.ts +69 -51
  242. package/dist/lib/source-executions.js +2 -1
  243. package/dist/lib/template.schema.d.ts +36 -0
  244. package/dist/lib/template.schema.js +17 -0
  245. package/dist/lib/template.service.d.ts +21 -0
  246. package/dist/lib/template.service.js +56 -0
  247. package/dist/lib/templates.js +5 -5
  248. package/dist/lib/view.provider.d.ts +129 -4
  249. package/dist/lib/view.provider.js +61 -35
  250. package/dist/remote/app.css +1 -1
  251. package/dist/remote/app.js +54 -53
  252. package/dist/remote/build-manifest.json +238 -46
  253. package/dist/sandbox-actions/action.json +1 -1
  254. package/dist/sandbox-actions/bundle/host.js +2 -2
  255. package/docs/content-packages.mdx +43 -0
  256. package/docs/dashboard-starter.mdx +22 -0
  257. package/docs/data-view.mdx +30 -0
  258. package/docs/dataset-generation.mdx +32 -0
  259. package/docs/dataset-storage.mdx +29 -0
  260. package/docs/docs.json +15 -0
  261. package/docs/editing.mdx +6 -0
  262. package/docs/html-mode.md +1 -1
  263. package/docs/index.mdx +8 -0
  264. package/docs/inline-analysis.mdx +62 -0
  265. package/docs/library-browser-verification.mdx +46 -0
  266. package/docs/library-detail-ui.mdx +21 -0
  267. package/docs/library-directory-ui.mdx +24 -0
  268. package/docs/library-execution.mdx +49 -0
  269. package/docs/library-import-ui.mdx +20 -0
  270. package/docs/library-storage.mdx +63 -0
  271. package/docs/proposals/resource-sharing-decoupling.mdx +83 -0
  272. package/docs/standard-theme.mdx +28 -0
  273. package/docs/template-agent-handoff.mdx +37 -0
  274. package/docs/verification.mdx +4 -0
  275. package/package.json +9 -5
  276. package/skills/live-dashboard/SKILL.md +41 -1
  277. package/skills/live-dashboard/examples/README.md +2 -2
  278. package/skills/live-dashboard/examples/production-quality/README.md +2 -2
  279. package/skills/live-dashboard/examples/regional-sales/README.md +3 -3
  280. package/skills/live-dashboard/examples/regional-sales/query.json +49 -1
  281. package/skills/live-dashboard/examples/sales-overview/README.md +2 -2
  282. package/skills/live-dashboard/references/attribution-analysis.md +8 -0
  283. package/skills/live-dashboard/references/pareto-analysis.md +8 -0
@@ -0,0 +1,2779 @@
1
+ import { z } from 'zod/v3';
2
+ /** @beta Portable library contracts may change incompatibly until the resource format stabilizes. */
3
+ export declare const LIBRARY_NAMESPACE = "live_dashboard";
4
+ export declare const libraryTable: (key: string) => string;
5
+ export declare const LIBRARY_FILE_TYPE = "live-dashboard-library-file";
6
+ export declare const limits: {
7
+ readonly documentBytes: 8000000;
8
+ readonly archiveBytes: 32000000;
9
+ readonly expandedBytes: 32000000;
10
+ readonly assetBytes: 16000000;
11
+ readonly resources: 100;
12
+ readonly assets: 200;
13
+ readonly compressionRatio: 500;
14
+ };
15
+ export declare const keySchema: z.ZodEffects<z.ZodString, string, string>;
16
+ export declare const digestSchema: z.ZodString;
17
+ export declare const versionSchema: z.ZodString;
18
+ export declare const kindSchema: z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>;
19
+ export declare const licenseSchema: z.ZodObject<{
20
+ identifier: z.ZodString;
21
+ attribution: z.ZodString;
22
+ }, "strict", z.ZodTypeAny, {
23
+ identifier: string;
24
+ attribution: string;
25
+ }, {
26
+ identifier: string;
27
+ attribution: string;
28
+ }>;
29
+ export declare const referenceSchema: z.ZodObject<{
30
+ logicalId: z.ZodString;
31
+ version: z.ZodString;
32
+ sha256: z.ZodString;
33
+ }, "strict", z.ZodTypeAny, {
34
+ version: string;
35
+ logicalId: string;
36
+ sha256: string;
37
+ }, {
38
+ version: string;
39
+ logicalId: string;
40
+ sha256: string;
41
+ }>;
42
+ export declare const dependencySchema: z.ZodObject<{
43
+ logicalId: z.ZodString;
44
+ version: z.ZodString;
45
+ sha256: z.ZodString;
46
+ } & {
47
+ alias: z.ZodEffects<z.ZodString, string, string>;
48
+ kind: z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>;
49
+ }, "strict", z.ZodTypeAny, {
50
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
51
+ version: string;
52
+ logicalId: string;
53
+ sha256: string;
54
+ alias: string;
55
+ }, {
56
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
57
+ version: string;
58
+ logicalId: string;
59
+ sha256: string;
60
+ alias: string;
61
+ }>;
62
+ export declare const assetSchema: z.ZodObject<{
63
+ id: z.ZodEffects<z.ZodString, string, string>;
64
+ sha256: z.ZodString;
65
+ size: z.ZodNumber;
66
+ mimeType: z.ZodEnum<["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/json", "text/csv", "text/html", "text/plain"]>;
67
+ fileName: z.ZodEffects<z.ZodString, string, string>;
68
+ purpose: z.ZodEnum<["cover", "preview", "data", "document", "supporting"]>;
69
+ license: z.ZodObject<{
70
+ identifier: z.ZodString;
71
+ attribution: z.ZodString;
72
+ }, "strict", z.ZodTypeAny, {
73
+ identifier: string;
74
+ attribution: string;
75
+ }, {
76
+ identifier: string;
77
+ attribution: string;
78
+ }>;
79
+ }, "strict", z.ZodTypeAny, {
80
+ id: string;
81
+ sha256: string;
82
+ size: number;
83
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
84
+ fileName: string;
85
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
86
+ license: {
87
+ identifier: string;
88
+ attribution: string;
89
+ };
90
+ }, {
91
+ id: string;
92
+ sha256: string;
93
+ size: number;
94
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
95
+ fileName: string;
96
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
97
+ license: {
98
+ identifier: string;
99
+ attribution: string;
100
+ };
101
+ }>;
102
+ export declare const resourceV2Schema: z.ZodEffects<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
103
+ locale: z.ZodString;
104
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
105
+ title: z.ZodString;
106
+ description: z.ZodString;
107
+ }, "strict", z.ZodTypeAny, {
108
+ title: string;
109
+ description: string;
110
+ }, {
111
+ title: string;
112
+ description: string;
113
+ }>>>;
114
+ categories: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
115
+ tags: z.ZodArray<z.ZodString, "many">;
116
+ license: z.ZodObject<{
117
+ identifier: z.ZodString;
118
+ attribution: z.ZodString;
119
+ }, "strict", z.ZodTypeAny, {
120
+ identifier: string;
121
+ attribution: string;
122
+ }, {
123
+ identifier: string;
124
+ attribution: string;
125
+ }>;
126
+ provenance: z.ZodObject<{
127
+ kind: z.ZodEnum<["synthetic", "user-provided", "open-data"]>;
128
+ description: z.ZodString;
129
+ }, "strict", z.ZodTypeAny, {
130
+ description: string;
131
+ kind: "synthetic" | "user-provided" | "open-data";
132
+ }, {
133
+ description: string;
134
+ kind: "synthetic" | "user-provided" | "open-data";
135
+ }>;
136
+ presentation: z.ZodOptional<z.ZodObject<{
137
+ coverAssetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
138
+ previewAssetIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
139
+ appearance: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
140
+ }, "strict", z.ZodTypeAny, {
141
+ coverAssetId?: string | undefined;
142
+ previewAssetIds?: string[] | undefined;
143
+ appearance?: "light" | "dark" | undefined;
144
+ }, {
145
+ coverAssetId?: string | undefined;
146
+ previewAssetIds?: string[] | undefined;
147
+ appearance?: "light" | "dark" | undefined;
148
+ }>>;
149
+ dependencies: z.ZodArray<z.ZodObject<{
150
+ logicalId: z.ZodString;
151
+ version: z.ZodString;
152
+ sha256: z.ZodString;
153
+ } & {
154
+ alias: z.ZodEffects<z.ZodString, string, string>;
155
+ kind: z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>;
156
+ }, "strict", z.ZodTypeAny, {
157
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
158
+ version: string;
159
+ logicalId: string;
160
+ sha256: string;
161
+ alias: string;
162
+ }, {
163
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
164
+ version: string;
165
+ logicalId: string;
166
+ sha256: string;
167
+ alias: string;
168
+ }>, "many">;
169
+ assets: z.ZodArray<z.ZodObject<{
170
+ id: z.ZodEffects<z.ZodString, string, string>;
171
+ sha256: z.ZodString;
172
+ size: z.ZodNumber;
173
+ mimeType: z.ZodEnum<["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/json", "text/csv", "text/html", "text/plain"]>;
174
+ fileName: z.ZodEffects<z.ZodString, string, string>;
175
+ purpose: z.ZodEnum<["cover", "preview", "data", "document", "supporting"]>;
176
+ license: z.ZodObject<{
177
+ identifier: z.ZodString;
178
+ attribution: z.ZodString;
179
+ }, "strict", z.ZodTypeAny, {
180
+ identifier: string;
181
+ attribution: string;
182
+ }, {
183
+ identifier: string;
184
+ attribution: string;
185
+ }>;
186
+ }, "strict", z.ZodTypeAny, {
187
+ id: string;
188
+ sha256: string;
189
+ size: number;
190
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
191
+ fileName: string;
192
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
193
+ license: {
194
+ identifier: string;
195
+ attribution: string;
196
+ };
197
+ }, {
198
+ id: string;
199
+ sha256: string;
200
+ size: number;
201
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
202
+ fileName: string;
203
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
204
+ license: {
205
+ identifier: string;
206
+ attribution: string;
207
+ };
208
+ }>, "many">;
209
+ title: z.ZodString;
210
+ description: z.ZodString;
211
+ schema: z.ZodLiteral<"xpert.library.resource">;
212
+ formatVersion: z.ZodLiteral<2>;
213
+ logicalId: z.ZodString;
214
+ version: z.ZodString;
215
+ catalogKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
216
+ } & {
217
+ kind: z.ZodLiteral<"example-task">;
218
+ content: z.ZodObject<{
219
+ prompt: z.ZodString;
220
+ dataRequirement: z.ZodOptional<z.ZodObject<{
221
+ mode: z.ZodEnum<["demo", "web", "external"]>;
222
+ tools: z.ZodArray<z.ZodString, "many">;
223
+ }, "strict", z.ZodTypeAny, {
224
+ mode: "demo" | "web" | "external";
225
+ tools: string[];
226
+ }, {
227
+ mode: "demo" | "web" | "external";
228
+ tools: string[];
229
+ }>>;
230
+ execution: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
231
+ mode: z.ZodLiteral<"template">;
232
+ templateAlias: z.ZodEffects<z.ZodString, string, string>;
233
+ }, "strict", z.ZodTypeAny, {
234
+ mode: "template";
235
+ templateAlias: string;
236
+ }, {
237
+ mode: "template";
238
+ templateAlias: string;
239
+ }>, z.ZodObject<{
240
+ mode: z.ZodLiteral<"agent">;
241
+ }, "strict", z.ZodTypeAny, {
242
+ mode: "agent";
243
+ }, {
244
+ mode: "agent";
245
+ }>]>;
246
+ dataAliases: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
247
+ themeAlias: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
248
+ inputBindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
249
+ slot: z.ZodEffects<z.ZodString, string, string>;
250
+ dataAlias: z.ZodEffects<z.ZodString, string, string>;
251
+ mapping: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>>;
252
+ }, "strict", z.ZodTypeAny, {
253
+ slot: string;
254
+ mapping: Record<string, string>;
255
+ dataAlias: string;
256
+ }, {
257
+ slot: string;
258
+ mapping: Record<string, string>;
259
+ dataAlias: string;
260
+ }>, "many">>;
261
+ requirements: z.ZodObject<{
262
+ skills: z.ZodArray<z.ZodObject<{
263
+ name: z.ZodString;
264
+ required: z.ZodBoolean;
265
+ }, "strict", z.ZodTypeAny, {
266
+ name: string;
267
+ required: boolean;
268
+ }, {
269
+ name: string;
270
+ required: boolean;
271
+ }>, "many">;
272
+ plugins: z.ZodArray<z.ZodObject<{
273
+ name: z.ZodString;
274
+ versionRange: z.ZodString;
275
+ }, "strict", z.ZodTypeAny, {
276
+ name: string;
277
+ versionRange: string;
278
+ }, {
279
+ name: string;
280
+ versionRange: string;
281
+ }>, "many">;
282
+ capabilities: z.ZodArray<z.ZodString, "many">;
283
+ }, "strict", z.ZodTypeAny, {
284
+ skills: {
285
+ name: string;
286
+ required: boolean;
287
+ }[];
288
+ plugins: {
289
+ name: string;
290
+ versionRange: string;
291
+ }[];
292
+ capabilities: string[];
293
+ }, {
294
+ skills: {
295
+ name: string;
296
+ required: boolean;
297
+ }[];
298
+ plugins: {
299
+ name: string;
300
+ versionRange: string;
301
+ }[];
302
+ capabilities: string[];
303
+ }>;
304
+ }, "strict", z.ZodTypeAny, {
305
+ prompt: string;
306
+ execution: {
307
+ mode: "template";
308
+ templateAlias: string;
309
+ } | {
310
+ mode: "agent";
311
+ };
312
+ dataAliases: string[];
313
+ requirements: {
314
+ skills: {
315
+ name: string;
316
+ required: boolean;
317
+ }[];
318
+ plugins: {
319
+ name: string;
320
+ versionRange: string;
321
+ }[];
322
+ capabilities: string[];
323
+ };
324
+ dataRequirement?: {
325
+ mode: "demo" | "web" | "external";
326
+ tools: string[];
327
+ } | undefined;
328
+ themeAlias?: string | undefined;
329
+ inputBindings?: {
330
+ slot: string;
331
+ mapping: Record<string, string>;
332
+ dataAlias: string;
333
+ }[] | undefined;
334
+ }, {
335
+ prompt: string;
336
+ execution: {
337
+ mode: "template";
338
+ templateAlias: string;
339
+ } | {
340
+ mode: "agent";
341
+ };
342
+ dataAliases: string[];
343
+ requirements: {
344
+ skills: {
345
+ name: string;
346
+ required: boolean;
347
+ }[];
348
+ plugins: {
349
+ name: string;
350
+ versionRange: string;
351
+ }[];
352
+ capabilities: string[];
353
+ };
354
+ dataRequirement?: {
355
+ mode: "demo" | "web" | "external";
356
+ tools: string[];
357
+ } | undefined;
358
+ themeAlias?: string | undefined;
359
+ inputBindings?: {
360
+ slot: string;
361
+ mapping: Record<string, string>;
362
+ dataAlias: string;
363
+ }[] | undefined;
364
+ }>;
365
+ }, "strict", z.ZodTypeAny, {
366
+ title: string;
367
+ description: string;
368
+ kind: "example-task";
369
+ schema: "xpert.library.resource";
370
+ version: string;
371
+ logicalId: string;
372
+ dependencies: {
373
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
374
+ version: string;
375
+ logicalId: string;
376
+ sha256: string;
377
+ alias: string;
378
+ }[];
379
+ license: {
380
+ identifier: string;
381
+ attribution: string;
382
+ };
383
+ formatVersion: 2;
384
+ locale: string;
385
+ categories: string[];
386
+ tags: string[];
387
+ provenance: {
388
+ description: string;
389
+ kind: "synthetic" | "user-provided" | "open-data";
390
+ };
391
+ assets: {
392
+ id: string;
393
+ sha256: string;
394
+ size: number;
395
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
396
+ fileName: string;
397
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
398
+ license: {
399
+ identifier: string;
400
+ attribution: string;
401
+ };
402
+ }[];
403
+ content: {
404
+ prompt: string;
405
+ execution: {
406
+ mode: "template";
407
+ templateAlias: string;
408
+ } | {
409
+ mode: "agent";
410
+ };
411
+ dataAliases: string[];
412
+ requirements: {
413
+ skills: {
414
+ name: string;
415
+ required: boolean;
416
+ }[];
417
+ plugins: {
418
+ name: string;
419
+ versionRange: string;
420
+ }[];
421
+ capabilities: string[];
422
+ };
423
+ dataRequirement?: {
424
+ mode: "demo" | "web" | "external";
425
+ tools: string[];
426
+ } | undefined;
427
+ themeAlias?: string | undefined;
428
+ inputBindings?: {
429
+ slot: string;
430
+ mapping: Record<string, string>;
431
+ dataAlias: string;
432
+ }[] | undefined;
433
+ };
434
+ presentation?: {
435
+ coverAssetId?: string | undefined;
436
+ previewAssetIds?: string[] | undefined;
437
+ appearance?: "light" | "dark" | undefined;
438
+ } | undefined;
439
+ catalogKey?: string | undefined;
440
+ translations?: Record<string, {
441
+ title: string;
442
+ description: string;
443
+ }> | undefined;
444
+ }, {
445
+ title: string;
446
+ description: string;
447
+ kind: "example-task";
448
+ schema: "xpert.library.resource";
449
+ version: string;
450
+ logicalId: string;
451
+ dependencies: {
452
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
453
+ version: string;
454
+ logicalId: string;
455
+ sha256: string;
456
+ alias: string;
457
+ }[];
458
+ license: {
459
+ identifier: string;
460
+ attribution: string;
461
+ };
462
+ formatVersion: 2;
463
+ locale: string;
464
+ categories: string[];
465
+ tags: string[];
466
+ provenance: {
467
+ description: string;
468
+ kind: "synthetic" | "user-provided" | "open-data";
469
+ };
470
+ assets: {
471
+ id: string;
472
+ sha256: string;
473
+ size: number;
474
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
475
+ fileName: string;
476
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
477
+ license: {
478
+ identifier: string;
479
+ attribution: string;
480
+ };
481
+ }[];
482
+ content: {
483
+ prompt: string;
484
+ execution: {
485
+ mode: "template";
486
+ templateAlias: string;
487
+ } | {
488
+ mode: "agent";
489
+ };
490
+ dataAliases: string[];
491
+ requirements: {
492
+ skills: {
493
+ name: string;
494
+ required: boolean;
495
+ }[];
496
+ plugins: {
497
+ name: string;
498
+ versionRange: string;
499
+ }[];
500
+ capabilities: string[];
501
+ };
502
+ dataRequirement?: {
503
+ mode: "demo" | "web" | "external";
504
+ tools: string[];
505
+ } | undefined;
506
+ themeAlias?: string | undefined;
507
+ inputBindings?: {
508
+ slot: string;
509
+ mapping: Record<string, string>;
510
+ dataAlias: string;
511
+ }[] | undefined;
512
+ };
513
+ presentation?: {
514
+ coverAssetId?: string | undefined;
515
+ previewAssetIds?: string[] | undefined;
516
+ appearance?: "light" | "dark" | undefined;
517
+ } | undefined;
518
+ catalogKey?: string | undefined;
519
+ translations?: Record<string, {
520
+ title: string;
521
+ description: string;
522
+ }> | undefined;
523
+ }>, z.ZodObject<{
524
+ locale: z.ZodString;
525
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
526
+ title: z.ZodString;
527
+ description: z.ZodString;
528
+ }, "strict", z.ZodTypeAny, {
529
+ title: string;
530
+ description: string;
531
+ }, {
532
+ title: string;
533
+ description: string;
534
+ }>>>;
535
+ categories: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
536
+ tags: z.ZodArray<z.ZodString, "many">;
537
+ license: z.ZodObject<{
538
+ identifier: z.ZodString;
539
+ attribution: z.ZodString;
540
+ }, "strict", z.ZodTypeAny, {
541
+ identifier: string;
542
+ attribution: string;
543
+ }, {
544
+ identifier: string;
545
+ attribution: string;
546
+ }>;
547
+ provenance: z.ZodObject<{
548
+ kind: z.ZodEnum<["synthetic", "user-provided", "open-data"]>;
549
+ description: z.ZodString;
550
+ }, "strict", z.ZodTypeAny, {
551
+ description: string;
552
+ kind: "synthetic" | "user-provided" | "open-data";
553
+ }, {
554
+ description: string;
555
+ kind: "synthetic" | "user-provided" | "open-data";
556
+ }>;
557
+ presentation: z.ZodOptional<z.ZodObject<{
558
+ coverAssetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
559
+ previewAssetIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
560
+ appearance: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
561
+ }, "strict", z.ZodTypeAny, {
562
+ coverAssetId?: string | undefined;
563
+ previewAssetIds?: string[] | undefined;
564
+ appearance?: "light" | "dark" | undefined;
565
+ }, {
566
+ coverAssetId?: string | undefined;
567
+ previewAssetIds?: string[] | undefined;
568
+ appearance?: "light" | "dark" | undefined;
569
+ }>>;
570
+ dependencies: z.ZodArray<z.ZodObject<{
571
+ logicalId: z.ZodString;
572
+ version: z.ZodString;
573
+ sha256: z.ZodString;
574
+ } & {
575
+ alias: z.ZodEffects<z.ZodString, string, string>;
576
+ kind: z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>;
577
+ }, "strict", z.ZodTypeAny, {
578
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
579
+ version: string;
580
+ logicalId: string;
581
+ sha256: string;
582
+ alias: string;
583
+ }, {
584
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
585
+ version: string;
586
+ logicalId: string;
587
+ sha256: string;
588
+ alias: string;
589
+ }>, "many">;
590
+ assets: z.ZodArray<z.ZodObject<{
591
+ id: z.ZodEffects<z.ZodString, string, string>;
592
+ sha256: z.ZodString;
593
+ size: z.ZodNumber;
594
+ mimeType: z.ZodEnum<["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/json", "text/csv", "text/html", "text/plain"]>;
595
+ fileName: z.ZodEffects<z.ZodString, string, string>;
596
+ purpose: z.ZodEnum<["cover", "preview", "data", "document", "supporting"]>;
597
+ license: z.ZodObject<{
598
+ identifier: z.ZodString;
599
+ attribution: z.ZodString;
600
+ }, "strict", z.ZodTypeAny, {
601
+ identifier: string;
602
+ attribution: string;
603
+ }, {
604
+ identifier: string;
605
+ attribution: string;
606
+ }>;
607
+ }, "strict", z.ZodTypeAny, {
608
+ id: string;
609
+ sha256: string;
610
+ size: number;
611
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
612
+ fileName: string;
613
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
614
+ license: {
615
+ identifier: string;
616
+ attribution: string;
617
+ };
618
+ }, {
619
+ id: string;
620
+ sha256: string;
621
+ size: number;
622
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
623
+ fileName: string;
624
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
625
+ license: {
626
+ identifier: string;
627
+ attribution: string;
628
+ };
629
+ }>, "many">;
630
+ title: z.ZodString;
631
+ description: z.ZodString;
632
+ schema: z.ZodLiteral<"xpert.library.resource">;
633
+ formatVersion: z.ZodLiteral<2>;
634
+ logicalId: z.ZodString;
635
+ version: z.ZodString;
636
+ catalogKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
637
+ } & {
638
+ kind: z.ZodLiteral<"analysis-template">;
639
+ content: z.ZodObject<{
640
+ inputSlots: z.ZodArray<z.ZodObject<{
641
+ key: z.ZodEffects<z.ZodString, string, string>;
642
+ fields: z.ZodArray<z.ZodObject<{
643
+ role: z.ZodEffects<z.ZodString, string, string>;
644
+ label: z.ZodString;
645
+ logicalType: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp"]>;
646
+ required: z.ZodBoolean;
647
+ nullable: z.ZodBoolean;
648
+ }, "strict", z.ZodTypeAny, {
649
+ label: string;
650
+ required: boolean;
651
+ role: string;
652
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
653
+ nullable: boolean;
654
+ }, {
655
+ label: string;
656
+ required: boolean;
657
+ role: string;
658
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
659
+ nullable: boolean;
660
+ }>, "many">;
661
+ grain: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
662
+ }, "strict", z.ZodTypeAny, {
663
+ fields: {
664
+ label: string;
665
+ required: boolean;
666
+ role: string;
667
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
668
+ nullable: boolean;
669
+ }[];
670
+ key: string;
671
+ grain: string[];
672
+ }, {
673
+ fields: {
674
+ label: string;
675
+ required: boolean;
676
+ role: string;
677
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
678
+ nullable: boolean;
679
+ }[];
680
+ key: string;
681
+ grain: string[];
682
+ }>, "many">;
683
+ parameters: z.ZodArray<z.ZodObject<{
684
+ key: z.ZodEffects<z.ZodString, string, string>;
685
+ label: z.ZodString;
686
+ type: z.ZodEnum<["string", "number", "boolean", "date"]>;
687
+ defaultValue: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
688
+ allowedValues: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">>;
689
+ }, "strict", z.ZodTypeAny, {
690
+ type: "string" | "number" | "boolean" | "date";
691
+ defaultValue: string | number | boolean | null;
692
+ label: string;
693
+ key: string;
694
+ allowedValues?: (string | number | boolean | null)[] | undefined;
695
+ }, {
696
+ type: "string" | "number" | "boolean" | "date";
697
+ defaultValue: string | number | boolean | null;
698
+ label: string;
699
+ key: string;
700
+ allowedValues?: (string | number | boolean | null)[] | undefined;
701
+ }>, "many">;
702
+ metrics: z.ZodArray<z.ZodObject<{
703
+ key: z.ZodEffects<z.ZodString, string, string>;
704
+ label: z.ZodString;
705
+ unit: z.ZodString;
706
+ definition: z.ZodString;
707
+ }, "strict", z.ZodTypeAny, {
708
+ label: string;
709
+ key: string;
710
+ unit: string;
711
+ definition: string;
712
+ }, {
713
+ label: string;
714
+ key: string;
715
+ unit: string;
716
+ definition: string;
717
+ }>, "many">;
718
+ presentation: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
719
+ type: z.ZodLiteral<"standard">;
720
+ charts: z.ZodArray<z.ZodObject<{
721
+ id: z.ZodEffects<z.ZodString, string, string>;
722
+ title: z.ZodString;
723
+ type: z.ZodEnum<["bar", "line", "area", "pie", "scatter"]>;
724
+ slot: z.ZodEffects<z.ZodString, string, string>;
725
+ x: z.ZodEffects<z.ZodString, string, string>;
726
+ y: z.ZodEffects<z.ZodString, string, string>;
727
+ color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
728
+ }, "strict", z.ZodTypeAny, {
729
+ type: "bar" | "line" | "area" | "pie" | "scatter";
730
+ title: string;
731
+ id: string;
732
+ slot: string;
733
+ x: string;
734
+ y: string;
735
+ color?: string | undefined;
736
+ }, {
737
+ type: "bar" | "line" | "area" | "pie" | "scatter";
738
+ title: string;
739
+ id: string;
740
+ slot: string;
741
+ x: string;
742
+ y: string;
743
+ color?: string | undefined;
744
+ }>, "many">;
745
+ tables: z.ZodArray<z.ZodObject<{
746
+ id: z.ZodEffects<z.ZodString, string, string>;
747
+ title: z.ZodString;
748
+ slot: z.ZodEffects<z.ZodString, string, string>;
749
+ fields: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
750
+ }, "strict", z.ZodTypeAny, {
751
+ title: string;
752
+ id: string;
753
+ slot: string;
754
+ fields: string[];
755
+ }, {
756
+ title: string;
757
+ id: string;
758
+ slot: string;
759
+ fields: string[];
760
+ }>, "many">;
761
+ }, "strict", z.ZodTypeAny, {
762
+ type: "standard";
763
+ charts: {
764
+ type: "bar" | "line" | "area" | "pie" | "scatter";
765
+ title: string;
766
+ id: string;
767
+ slot: string;
768
+ x: string;
769
+ y: string;
770
+ color?: string | undefined;
771
+ }[];
772
+ tables: {
773
+ title: string;
774
+ id: string;
775
+ slot: string;
776
+ fields: string[];
777
+ }[];
778
+ }, {
779
+ type: "standard";
780
+ charts: {
781
+ type: "bar" | "line" | "area" | "pie" | "scatter";
782
+ title: string;
783
+ id: string;
784
+ slot: string;
785
+ x: string;
786
+ y: string;
787
+ color?: string | undefined;
788
+ }[];
789
+ tables: {
790
+ title: string;
791
+ id: string;
792
+ slot: string;
793
+ fields: string[];
794
+ }[];
795
+ }>, z.ZodObject<{
796
+ type: z.ZodLiteral<"html">;
797
+ documentAssetId: z.ZodEffects<z.ZodString, string, string>;
798
+ }, "strict", z.ZodTypeAny, {
799
+ type: "html";
800
+ documentAssetId: string;
801
+ }, {
802
+ type: "html";
803
+ documentAssetId: string;
804
+ }>]>;
805
+ requirements: z.ZodObject<{
806
+ skills: z.ZodArray<z.ZodObject<{
807
+ name: z.ZodString;
808
+ required: z.ZodBoolean;
809
+ }, "strict", z.ZodTypeAny, {
810
+ name: string;
811
+ required: boolean;
812
+ }, {
813
+ name: string;
814
+ required: boolean;
815
+ }>, "many">;
816
+ plugins: z.ZodArray<z.ZodObject<{
817
+ name: z.ZodString;
818
+ versionRange: z.ZodString;
819
+ }, "strict", z.ZodTypeAny, {
820
+ name: string;
821
+ versionRange: string;
822
+ }, {
823
+ name: string;
824
+ versionRange: string;
825
+ }>, "many">;
826
+ capabilities: z.ZodArray<z.ZodString, "many">;
827
+ }, "strict", z.ZodTypeAny, {
828
+ skills: {
829
+ name: string;
830
+ required: boolean;
831
+ }[];
832
+ plugins: {
833
+ name: string;
834
+ versionRange: string;
835
+ }[];
836
+ capabilities: string[];
837
+ }, {
838
+ skills: {
839
+ name: string;
840
+ required: boolean;
841
+ }[];
842
+ plugins: {
843
+ name: string;
844
+ versionRange: string;
845
+ }[];
846
+ capabilities: string[];
847
+ }>;
848
+ }, "strict", z.ZodTypeAny, {
849
+ parameters: {
850
+ type: "string" | "number" | "boolean" | "date";
851
+ defaultValue: string | number | boolean | null;
852
+ label: string;
853
+ key: string;
854
+ allowedValues?: (string | number | boolean | null)[] | undefined;
855
+ }[];
856
+ presentation: {
857
+ type: "standard";
858
+ charts: {
859
+ type: "bar" | "line" | "area" | "pie" | "scatter";
860
+ title: string;
861
+ id: string;
862
+ slot: string;
863
+ x: string;
864
+ y: string;
865
+ color?: string | undefined;
866
+ }[];
867
+ tables: {
868
+ title: string;
869
+ id: string;
870
+ slot: string;
871
+ fields: string[];
872
+ }[];
873
+ } | {
874
+ type: "html";
875
+ documentAssetId: string;
876
+ };
877
+ requirements: {
878
+ skills: {
879
+ name: string;
880
+ required: boolean;
881
+ }[];
882
+ plugins: {
883
+ name: string;
884
+ versionRange: string;
885
+ }[];
886
+ capabilities: string[];
887
+ };
888
+ inputSlots: {
889
+ fields: {
890
+ label: string;
891
+ required: boolean;
892
+ role: string;
893
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
894
+ nullable: boolean;
895
+ }[];
896
+ key: string;
897
+ grain: string[];
898
+ }[];
899
+ metrics: {
900
+ label: string;
901
+ key: string;
902
+ unit: string;
903
+ definition: string;
904
+ }[];
905
+ }, {
906
+ parameters: {
907
+ type: "string" | "number" | "boolean" | "date";
908
+ defaultValue: string | number | boolean | null;
909
+ label: string;
910
+ key: string;
911
+ allowedValues?: (string | number | boolean | null)[] | undefined;
912
+ }[];
913
+ presentation: {
914
+ type: "standard";
915
+ charts: {
916
+ type: "bar" | "line" | "area" | "pie" | "scatter";
917
+ title: string;
918
+ id: string;
919
+ slot: string;
920
+ x: string;
921
+ y: string;
922
+ color?: string | undefined;
923
+ }[];
924
+ tables: {
925
+ title: string;
926
+ id: string;
927
+ slot: string;
928
+ fields: string[];
929
+ }[];
930
+ } | {
931
+ type: "html";
932
+ documentAssetId: string;
933
+ };
934
+ requirements: {
935
+ skills: {
936
+ name: string;
937
+ required: boolean;
938
+ }[];
939
+ plugins: {
940
+ name: string;
941
+ versionRange: string;
942
+ }[];
943
+ capabilities: string[];
944
+ };
945
+ inputSlots: {
946
+ fields: {
947
+ label: string;
948
+ required: boolean;
949
+ role: string;
950
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
951
+ nullable: boolean;
952
+ }[];
953
+ key: string;
954
+ grain: string[];
955
+ }[];
956
+ metrics: {
957
+ label: string;
958
+ key: string;
959
+ unit: string;
960
+ definition: string;
961
+ }[];
962
+ }>;
963
+ }, "strict", z.ZodTypeAny, {
964
+ title: string;
965
+ description: string;
966
+ kind: "analysis-template";
967
+ schema: "xpert.library.resource";
968
+ version: string;
969
+ logicalId: string;
970
+ dependencies: {
971
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
972
+ version: string;
973
+ logicalId: string;
974
+ sha256: string;
975
+ alias: string;
976
+ }[];
977
+ license: {
978
+ identifier: string;
979
+ attribution: string;
980
+ };
981
+ formatVersion: 2;
982
+ locale: string;
983
+ categories: string[];
984
+ tags: string[];
985
+ provenance: {
986
+ description: string;
987
+ kind: "synthetic" | "user-provided" | "open-data";
988
+ };
989
+ assets: {
990
+ id: string;
991
+ sha256: string;
992
+ size: number;
993
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
994
+ fileName: string;
995
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
996
+ license: {
997
+ identifier: string;
998
+ attribution: string;
999
+ };
1000
+ }[];
1001
+ content: {
1002
+ parameters: {
1003
+ type: "string" | "number" | "boolean" | "date";
1004
+ defaultValue: string | number | boolean | null;
1005
+ label: string;
1006
+ key: string;
1007
+ allowedValues?: (string | number | boolean | null)[] | undefined;
1008
+ }[];
1009
+ presentation: {
1010
+ type: "standard";
1011
+ charts: {
1012
+ type: "bar" | "line" | "area" | "pie" | "scatter";
1013
+ title: string;
1014
+ id: string;
1015
+ slot: string;
1016
+ x: string;
1017
+ y: string;
1018
+ color?: string | undefined;
1019
+ }[];
1020
+ tables: {
1021
+ title: string;
1022
+ id: string;
1023
+ slot: string;
1024
+ fields: string[];
1025
+ }[];
1026
+ } | {
1027
+ type: "html";
1028
+ documentAssetId: string;
1029
+ };
1030
+ requirements: {
1031
+ skills: {
1032
+ name: string;
1033
+ required: boolean;
1034
+ }[];
1035
+ plugins: {
1036
+ name: string;
1037
+ versionRange: string;
1038
+ }[];
1039
+ capabilities: string[];
1040
+ };
1041
+ inputSlots: {
1042
+ fields: {
1043
+ label: string;
1044
+ required: boolean;
1045
+ role: string;
1046
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1047
+ nullable: boolean;
1048
+ }[];
1049
+ key: string;
1050
+ grain: string[];
1051
+ }[];
1052
+ metrics: {
1053
+ label: string;
1054
+ key: string;
1055
+ unit: string;
1056
+ definition: string;
1057
+ }[];
1058
+ };
1059
+ presentation?: {
1060
+ coverAssetId?: string | undefined;
1061
+ previewAssetIds?: string[] | undefined;
1062
+ appearance?: "light" | "dark" | undefined;
1063
+ } | undefined;
1064
+ catalogKey?: string | undefined;
1065
+ translations?: Record<string, {
1066
+ title: string;
1067
+ description: string;
1068
+ }> | undefined;
1069
+ }, {
1070
+ title: string;
1071
+ description: string;
1072
+ kind: "analysis-template";
1073
+ schema: "xpert.library.resource";
1074
+ version: string;
1075
+ logicalId: string;
1076
+ dependencies: {
1077
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1078
+ version: string;
1079
+ logicalId: string;
1080
+ sha256: string;
1081
+ alias: string;
1082
+ }[];
1083
+ license: {
1084
+ identifier: string;
1085
+ attribution: string;
1086
+ };
1087
+ formatVersion: 2;
1088
+ locale: string;
1089
+ categories: string[];
1090
+ tags: string[];
1091
+ provenance: {
1092
+ description: string;
1093
+ kind: "synthetic" | "user-provided" | "open-data";
1094
+ };
1095
+ assets: {
1096
+ id: string;
1097
+ sha256: string;
1098
+ size: number;
1099
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1100
+ fileName: string;
1101
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1102
+ license: {
1103
+ identifier: string;
1104
+ attribution: string;
1105
+ };
1106
+ }[];
1107
+ content: {
1108
+ parameters: {
1109
+ type: "string" | "number" | "boolean" | "date";
1110
+ defaultValue: string | number | boolean | null;
1111
+ label: string;
1112
+ key: string;
1113
+ allowedValues?: (string | number | boolean | null)[] | undefined;
1114
+ }[];
1115
+ presentation: {
1116
+ type: "standard";
1117
+ charts: {
1118
+ type: "bar" | "line" | "area" | "pie" | "scatter";
1119
+ title: string;
1120
+ id: string;
1121
+ slot: string;
1122
+ x: string;
1123
+ y: string;
1124
+ color?: string | undefined;
1125
+ }[];
1126
+ tables: {
1127
+ title: string;
1128
+ id: string;
1129
+ slot: string;
1130
+ fields: string[];
1131
+ }[];
1132
+ } | {
1133
+ type: "html";
1134
+ documentAssetId: string;
1135
+ };
1136
+ requirements: {
1137
+ skills: {
1138
+ name: string;
1139
+ required: boolean;
1140
+ }[];
1141
+ plugins: {
1142
+ name: string;
1143
+ versionRange: string;
1144
+ }[];
1145
+ capabilities: string[];
1146
+ };
1147
+ inputSlots: {
1148
+ fields: {
1149
+ label: string;
1150
+ required: boolean;
1151
+ role: string;
1152
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1153
+ nullable: boolean;
1154
+ }[];
1155
+ key: string;
1156
+ grain: string[];
1157
+ }[];
1158
+ metrics: {
1159
+ label: string;
1160
+ key: string;
1161
+ unit: string;
1162
+ definition: string;
1163
+ }[];
1164
+ };
1165
+ presentation?: {
1166
+ coverAssetId?: string | undefined;
1167
+ previewAssetIds?: string[] | undefined;
1168
+ appearance?: "light" | "dark" | undefined;
1169
+ } | undefined;
1170
+ catalogKey?: string | undefined;
1171
+ translations?: Record<string, {
1172
+ title: string;
1173
+ description: string;
1174
+ }> | undefined;
1175
+ }>, z.ZodObject<{
1176
+ locale: z.ZodString;
1177
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1178
+ title: z.ZodString;
1179
+ description: z.ZodString;
1180
+ }, "strict", z.ZodTypeAny, {
1181
+ title: string;
1182
+ description: string;
1183
+ }, {
1184
+ title: string;
1185
+ description: string;
1186
+ }>>>;
1187
+ categories: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1188
+ tags: z.ZodArray<z.ZodString, "many">;
1189
+ license: z.ZodObject<{
1190
+ identifier: z.ZodString;
1191
+ attribution: z.ZodString;
1192
+ }, "strict", z.ZodTypeAny, {
1193
+ identifier: string;
1194
+ attribution: string;
1195
+ }, {
1196
+ identifier: string;
1197
+ attribution: string;
1198
+ }>;
1199
+ provenance: z.ZodObject<{
1200
+ kind: z.ZodEnum<["synthetic", "user-provided", "open-data"]>;
1201
+ description: z.ZodString;
1202
+ }, "strict", z.ZodTypeAny, {
1203
+ description: string;
1204
+ kind: "synthetic" | "user-provided" | "open-data";
1205
+ }, {
1206
+ description: string;
1207
+ kind: "synthetic" | "user-provided" | "open-data";
1208
+ }>;
1209
+ presentation: z.ZodOptional<z.ZodObject<{
1210
+ coverAssetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1211
+ previewAssetIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1212
+ appearance: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
1213
+ }, "strict", z.ZodTypeAny, {
1214
+ coverAssetId?: string | undefined;
1215
+ previewAssetIds?: string[] | undefined;
1216
+ appearance?: "light" | "dark" | undefined;
1217
+ }, {
1218
+ coverAssetId?: string | undefined;
1219
+ previewAssetIds?: string[] | undefined;
1220
+ appearance?: "light" | "dark" | undefined;
1221
+ }>>;
1222
+ dependencies: z.ZodArray<z.ZodObject<{
1223
+ logicalId: z.ZodString;
1224
+ version: z.ZodString;
1225
+ sha256: z.ZodString;
1226
+ } & {
1227
+ alias: z.ZodEffects<z.ZodString, string, string>;
1228
+ kind: z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>;
1229
+ }, "strict", z.ZodTypeAny, {
1230
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1231
+ version: string;
1232
+ logicalId: string;
1233
+ sha256: string;
1234
+ alias: string;
1235
+ }, {
1236
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1237
+ version: string;
1238
+ logicalId: string;
1239
+ sha256: string;
1240
+ alias: string;
1241
+ }>, "many">;
1242
+ assets: z.ZodArray<z.ZodObject<{
1243
+ id: z.ZodEffects<z.ZodString, string, string>;
1244
+ sha256: z.ZodString;
1245
+ size: z.ZodNumber;
1246
+ mimeType: z.ZodEnum<["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/json", "text/csv", "text/html", "text/plain"]>;
1247
+ fileName: z.ZodEffects<z.ZodString, string, string>;
1248
+ purpose: z.ZodEnum<["cover", "preview", "data", "document", "supporting"]>;
1249
+ license: z.ZodObject<{
1250
+ identifier: z.ZodString;
1251
+ attribution: z.ZodString;
1252
+ }, "strict", z.ZodTypeAny, {
1253
+ identifier: string;
1254
+ attribution: string;
1255
+ }, {
1256
+ identifier: string;
1257
+ attribution: string;
1258
+ }>;
1259
+ }, "strict", z.ZodTypeAny, {
1260
+ id: string;
1261
+ sha256: string;
1262
+ size: number;
1263
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1264
+ fileName: string;
1265
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1266
+ license: {
1267
+ identifier: string;
1268
+ attribution: string;
1269
+ };
1270
+ }, {
1271
+ id: string;
1272
+ sha256: string;
1273
+ size: number;
1274
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1275
+ fileName: string;
1276
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1277
+ license: {
1278
+ identifier: string;
1279
+ attribution: string;
1280
+ };
1281
+ }>, "many">;
1282
+ title: z.ZodString;
1283
+ description: z.ZodString;
1284
+ schema: z.ZodLiteral<"xpert.library.resource">;
1285
+ formatVersion: z.ZodLiteral<2>;
1286
+ logicalId: z.ZodString;
1287
+ version: z.ZodString;
1288
+ catalogKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1289
+ } & {
1290
+ kind: z.ZodLiteral<"visual-theme">;
1291
+ content: z.ZodObject<{
1292
+ renderer: z.ZodLiteral<"live-dashboard.standard">;
1293
+ theme: z.ZodEnum<["system", "slate", "contrast"]>;
1294
+ }, "strict", z.ZodTypeAny, {
1295
+ theme: "system" | "slate" | "contrast";
1296
+ renderer: "live-dashboard.standard";
1297
+ }, {
1298
+ theme: "system" | "slate" | "contrast";
1299
+ renderer: "live-dashboard.standard";
1300
+ }>;
1301
+ }, "strict", z.ZodTypeAny, {
1302
+ title: string;
1303
+ description: string;
1304
+ kind: "visual-theme";
1305
+ schema: "xpert.library.resource";
1306
+ version: string;
1307
+ logicalId: string;
1308
+ dependencies: {
1309
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1310
+ version: string;
1311
+ logicalId: string;
1312
+ sha256: string;
1313
+ alias: string;
1314
+ }[];
1315
+ license: {
1316
+ identifier: string;
1317
+ attribution: string;
1318
+ };
1319
+ formatVersion: 2;
1320
+ locale: string;
1321
+ categories: string[];
1322
+ tags: string[];
1323
+ provenance: {
1324
+ description: string;
1325
+ kind: "synthetic" | "user-provided" | "open-data";
1326
+ };
1327
+ assets: {
1328
+ id: string;
1329
+ sha256: string;
1330
+ size: number;
1331
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1332
+ fileName: string;
1333
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1334
+ license: {
1335
+ identifier: string;
1336
+ attribution: string;
1337
+ };
1338
+ }[];
1339
+ content: {
1340
+ theme: "system" | "slate" | "contrast";
1341
+ renderer: "live-dashboard.standard";
1342
+ };
1343
+ presentation?: {
1344
+ coverAssetId?: string | undefined;
1345
+ previewAssetIds?: string[] | undefined;
1346
+ appearance?: "light" | "dark" | undefined;
1347
+ } | undefined;
1348
+ catalogKey?: string | undefined;
1349
+ translations?: Record<string, {
1350
+ title: string;
1351
+ description: string;
1352
+ }> | undefined;
1353
+ }, {
1354
+ title: string;
1355
+ description: string;
1356
+ kind: "visual-theme";
1357
+ schema: "xpert.library.resource";
1358
+ version: string;
1359
+ logicalId: string;
1360
+ dependencies: {
1361
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1362
+ version: string;
1363
+ logicalId: string;
1364
+ sha256: string;
1365
+ alias: string;
1366
+ }[];
1367
+ license: {
1368
+ identifier: string;
1369
+ attribution: string;
1370
+ };
1371
+ formatVersion: 2;
1372
+ locale: string;
1373
+ categories: string[];
1374
+ tags: string[];
1375
+ provenance: {
1376
+ description: string;
1377
+ kind: "synthetic" | "user-provided" | "open-data";
1378
+ };
1379
+ assets: {
1380
+ id: string;
1381
+ sha256: string;
1382
+ size: number;
1383
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1384
+ fileName: string;
1385
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1386
+ license: {
1387
+ identifier: string;
1388
+ attribution: string;
1389
+ };
1390
+ }[];
1391
+ content: {
1392
+ theme: "system" | "slate" | "contrast";
1393
+ renderer: "live-dashboard.standard";
1394
+ };
1395
+ presentation?: {
1396
+ coverAssetId?: string | undefined;
1397
+ previewAssetIds?: string[] | undefined;
1398
+ appearance?: "light" | "dark" | undefined;
1399
+ } | undefined;
1400
+ catalogKey?: string | undefined;
1401
+ translations?: Record<string, {
1402
+ title: string;
1403
+ description: string;
1404
+ }> | undefined;
1405
+ }>, z.ZodObject<{
1406
+ locale: z.ZodString;
1407
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1408
+ title: z.ZodString;
1409
+ description: z.ZodString;
1410
+ }, "strict", z.ZodTypeAny, {
1411
+ title: string;
1412
+ description: string;
1413
+ }, {
1414
+ title: string;
1415
+ description: string;
1416
+ }>>>;
1417
+ categories: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1418
+ tags: z.ZodArray<z.ZodString, "many">;
1419
+ license: z.ZodObject<{
1420
+ identifier: z.ZodString;
1421
+ attribution: z.ZodString;
1422
+ }, "strict", z.ZodTypeAny, {
1423
+ identifier: string;
1424
+ attribution: string;
1425
+ }, {
1426
+ identifier: string;
1427
+ attribution: string;
1428
+ }>;
1429
+ provenance: z.ZodObject<{
1430
+ kind: z.ZodEnum<["synthetic", "user-provided", "open-data"]>;
1431
+ description: z.ZodString;
1432
+ }, "strict", z.ZodTypeAny, {
1433
+ description: string;
1434
+ kind: "synthetic" | "user-provided" | "open-data";
1435
+ }, {
1436
+ description: string;
1437
+ kind: "synthetic" | "user-provided" | "open-data";
1438
+ }>;
1439
+ presentation: z.ZodOptional<z.ZodObject<{
1440
+ coverAssetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1441
+ previewAssetIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1442
+ appearance: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
1443
+ }, "strict", z.ZodTypeAny, {
1444
+ coverAssetId?: string | undefined;
1445
+ previewAssetIds?: string[] | undefined;
1446
+ appearance?: "light" | "dark" | undefined;
1447
+ }, {
1448
+ coverAssetId?: string | undefined;
1449
+ previewAssetIds?: string[] | undefined;
1450
+ appearance?: "light" | "dark" | undefined;
1451
+ }>>;
1452
+ dependencies: z.ZodArray<z.ZodObject<{
1453
+ logicalId: z.ZodString;
1454
+ version: z.ZodString;
1455
+ sha256: z.ZodString;
1456
+ } & {
1457
+ alias: z.ZodEffects<z.ZodString, string, string>;
1458
+ kind: z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>;
1459
+ }, "strict", z.ZodTypeAny, {
1460
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1461
+ version: string;
1462
+ logicalId: string;
1463
+ sha256: string;
1464
+ alias: string;
1465
+ }, {
1466
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1467
+ version: string;
1468
+ logicalId: string;
1469
+ sha256: string;
1470
+ alias: string;
1471
+ }>, "many">;
1472
+ assets: z.ZodArray<z.ZodObject<{
1473
+ id: z.ZodEffects<z.ZodString, string, string>;
1474
+ sha256: z.ZodString;
1475
+ size: z.ZodNumber;
1476
+ mimeType: z.ZodEnum<["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/json", "text/csv", "text/html", "text/plain"]>;
1477
+ fileName: z.ZodEffects<z.ZodString, string, string>;
1478
+ purpose: z.ZodEnum<["cover", "preview", "data", "document", "supporting"]>;
1479
+ license: z.ZodObject<{
1480
+ identifier: z.ZodString;
1481
+ attribution: z.ZodString;
1482
+ }, "strict", z.ZodTypeAny, {
1483
+ identifier: string;
1484
+ attribution: string;
1485
+ }, {
1486
+ identifier: string;
1487
+ attribution: string;
1488
+ }>;
1489
+ }, "strict", z.ZodTypeAny, {
1490
+ id: string;
1491
+ sha256: string;
1492
+ size: number;
1493
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1494
+ fileName: string;
1495
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1496
+ license: {
1497
+ identifier: string;
1498
+ attribution: string;
1499
+ };
1500
+ }, {
1501
+ id: string;
1502
+ sha256: string;
1503
+ size: number;
1504
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1505
+ fileName: string;
1506
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1507
+ license: {
1508
+ identifier: string;
1509
+ attribution: string;
1510
+ };
1511
+ }>, "many">;
1512
+ title: z.ZodString;
1513
+ description: z.ZodString;
1514
+ schema: z.ZodLiteral<"xpert.library.resource">;
1515
+ formatVersion: z.ZodLiteral<2>;
1516
+ logicalId: z.ZodString;
1517
+ version: z.ZodString;
1518
+ catalogKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1519
+ } & {
1520
+ kind: z.ZodLiteral<"component">;
1521
+ content: z.ZodObject<{
1522
+ renderer: z.ZodEnum<["bar", "line", "area", "pie", "scatter", "details"]>;
1523
+ rendererVersion: z.ZodLiteral<1>;
1524
+ title: z.ZodString;
1525
+ fields: z.ZodArray<z.ZodObject<{
1526
+ role: z.ZodEffects<z.ZodString, string, string>;
1527
+ label: z.ZodString;
1528
+ logicalType: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp"]>;
1529
+ required: z.ZodBoolean;
1530
+ nullable: z.ZodBoolean;
1531
+ }, "strict", z.ZodTypeAny, {
1532
+ label: string;
1533
+ required: boolean;
1534
+ role: string;
1535
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1536
+ nullable: boolean;
1537
+ }, {
1538
+ label: string;
1539
+ required: boolean;
1540
+ role: string;
1541
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1542
+ nullable: boolean;
1543
+ }>, "many">;
1544
+ }, "strict", z.ZodTypeAny, {
1545
+ title: string;
1546
+ fields: {
1547
+ label: string;
1548
+ required: boolean;
1549
+ role: string;
1550
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1551
+ nullable: boolean;
1552
+ }[];
1553
+ renderer: "bar" | "line" | "area" | "pie" | "scatter" | "details";
1554
+ rendererVersion: 1;
1555
+ }, {
1556
+ title: string;
1557
+ fields: {
1558
+ label: string;
1559
+ required: boolean;
1560
+ role: string;
1561
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1562
+ nullable: boolean;
1563
+ }[];
1564
+ renderer: "bar" | "line" | "area" | "pie" | "scatter" | "details";
1565
+ rendererVersion: 1;
1566
+ }>;
1567
+ }, "strict", z.ZodTypeAny, {
1568
+ title: string;
1569
+ description: string;
1570
+ kind: "component";
1571
+ schema: "xpert.library.resource";
1572
+ version: string;
1573
+ logicalId: string;
1574
+ dependencies: {
1575
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1576
+ version: string;
1577
+ logicalId: string;
1578
+ sha256: string;
1579
+ alias: string;
1580
+ }[];
1581
+ license: {
1582
+ identifier: string;
1583
+ attribution: string;
1584
+ };
1585
+ formatVersion: 2;
1586
+ locale: string;
1587
+ categories: string[];
1588
+ tags: string[];
1589
+ provenance: {
1590
+ description: string;
1591
+ kind: "synthetic" | "user-provided" | "open-data";
1592
+ };
1593
+ assets: {
1594
+ id: string;
1595
+ sha256: string;
1596
+ size: number;
1597
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1598
+ fileName: string;
1599
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1600
+ license: {
1601
+ identifier: string;
1602
+ attribution: string;
1603
+ };
1604
+ }[];
1605
+ content: {
1606
+ title: string;
1607
+ fields: {
1608
+ label: string;
1609
+ required: boolean;
1610
+ role: string;
1611
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1612
+ nullable: boolean;
1613
+ }[];
1614
+ renderer: "bar" | "line" | "area" | "pie" | "scatter" | "details";
1615
+ rendererVersion: 1;
1616
+ };
1617
+ presentation?: {
1618
+ coverAssetId?: string | undefined;
1619
+ previewAssetIds?: string[] | undefined;
1620
+ appearance?: "light" | "dark" | undefined;
1621
+ } | undefined;
1622
+ catalogKey?: string | undefined;
1623
+ translations?: Record<string, {
1624
+ title: string;
1625
+ description: string;
1626
+ }> | undefined;
1627
+ }, {
1628
+ title: string;
1629
+ description: string;
1630
+ kind: "component";
1631
+ schema: "xpert.library.resource";
1632
+ version: string;
1633
+ logicalId: string;
1634
+ dependencies: {
1635
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1636
+ version: string;
1637
+ logicalId: string;
1638
+ sha256: string;
1639
+ alias: string;
1640
+ }[];
1641
+ license: {
1642
+ identifier: string;
1643
+ attribution: string;
1644
+ };
1645
+ formatVersion: 2;
1646
+ locale: string;
1647
+ categories: string[];
1648
+ tags: string[];
1649
+ provenance: {
1650
+ description: string;
1651
+ kind: "synthetic" | "user-provided" | "open-data";
1652
+ };
1653
+ assets: {
1654
+ id: string;
1655
+ sha256: string;
1656
+ size: number;
1657
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1658
+ fileName: string;
1659
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1660
+ license: {
1661
+ identifier: string;
1662
+ attribution: string;
1663
+ };
1664
+ }[];
1665
+ content: {
1666
+ title: string;
1667
+ fields: {
1668
+ label: string;
1669
+ required: boolean;
1670
+ role: string;
1671
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1672
+ nullable: boolean;
1673
+ }[];
1674
+ renderer: "bar" | "line" | "area" | "pie" | "scatter" | "details";
1675
+ rendererVersion: 1;
1676
+ };
1677
+ presentation?: {
1678
+ coverAssetId?: string | undefined;
1679
+ previewAssetIds?: string[] | undefined;
1680
+ appearance?: "light" | "dark" | undefined;
1681
+ } | undefined;
1682
+ catalogKey?: string | undefined;
1683
+ translations?: Record<string, {
1684
+ title: string;
1685
+ description: string;
1686
+ }> | undefined;
1687
+ }>, z.ZodObject<{
1688
+ locale: z.ZodString;
1689
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1690
+ title: z.ZodString;
1691
+ description: z.ZodString;
1692
+ }, "strict", z.ZodTypeAny, {
1693
+ title: string;
1694
+ description: string;
1695
+ }, {
1696
+ title: string;
1697
+ description: string;
1698
+ }>>>;
1699
+ categories: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
1700
+ tags: z.ZodArray<z.ZodString, "many">;
1701
+ license: z.ZodObject<{
1702
+ identifier: z.ZodString;
1703
+ attribution: z.ZodString;
1704
+ }, "strict", z.ZodTypeAny, {
1705
+ identifier: string;
1706
+ attribution: string;
1707
+ }, {
1708
+ identifier: string;
1709
+ attribution: string;
1710
+ }>;
1711
+ provenance: z.ZodObject<{
1712
+ kind: z.ZodEnum<["synthetic", "user-provided", "open-data"]>;
1713
+ description: z.ZodString;
1714
+ }, "strict", z.ZodTypeAny, {
1715
+ description: string;
1716
+ kind: "synthetic" | "user-provided" | "open-data";
1717
+ }, {
1718
+ description: string;
1719
+ kind: "synthetic" | "user-provided" | "open-data";
1720
+ }>;
1721
+ presentation: z.ZodOptional<z.ZodObject<{
1722
+ coverAssetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1723
+ previewAssetIds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1724
+ appearance: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
1725
+ }, "strict", z.ZodTypeAny, {
1726
+ coverAssetId?: string | undefined;
1727
+ previewAssetIds?: string[] | undefined;
1728
+ appearance?: "light" | "dark" | undefined;
1729
+ }, {
1730
+ coverAssetId?: string | undefined;
1731
+ previewAssetIds?: string[] | undefined;
1732
+ appearance?: "light" | "dark" | undefined;
1733
+ }>>;
1734
+ dependencies: z.ZodArray<z.ZodObject<{
1735
+ logicalId: z.ZodString;
1736
+ version: z.ZodString;
1737
+ sha256: z.ZodString;
1738
+ } & {
1739
+ alias: z.ZodEffects<z.ZodString, string, string>;
1740
+ kind: z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>;
1741
+ }, "strict", z.ZodTypeAny, {
1742
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1743
+ version: string;
1744
+ logicalId: string;
1745
+ sha256: string;
1746
+ alias: string;
1747
+ }, {
1748
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1749
+ version: string;
1750
+ logicalId: string;
1751
+ sha256: string;
1752
+ alias: string;
1753
+ }>, "many">;
1754
+ assets: z.ZodArray<z.ZodObject<{
1755
+ id: z.ZodEffects<z.ZodString, string, string>;
1756
+ sha256: z.ZodString;
1757
+ size: z.ZodNumber;
1758
+ mimeType: z.ZodEnum<["image/png", "image/jpeg", "image/webp", "image/svg+xml", "application/json", "text/csv", "text/html", "text/plain"]>;
1759
+ fileName: z.ZodEffects<z.ZodString, string, string>;
1760
+ purpose: z.ZodEnum<["cover", "preview", "data", "document", "supporting"]>;
1761
+ license: z.ZodObject<{
1762
+ identifier: z.ZodString;
1763
+ attribution: z.ZodString;
1764
+ }, "strict", z.ZodTypeAny, {
1765
+ identifier: string;
1766
+ attribution: string;
1767
+ }, {
1768
+ identifier: string;
1769
+ attribution: string;
1770
+ }>;
1771
+ }, "strict", z.ZodTypeAny, {
1772
+ id: string;
1773
+ sha256: string;
1774
+ size: number;
1775
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1776
+ fileName: string;
1777
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1778
+ license: {
1779
+ identifier: string;
1780
+ attribution: string;
1781
+ };
1782
+ }, {
1783
+ id: string;
1784
+ sha256: string;
1785
+ size: number;
1786
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1787
+ fileName: string;
1788
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1789
+ license: {
1790
+ identifier: string;
1791
+ attribution: string;
1792
+ };
1793
+ }>, "many">;
1794
+ title: z.ZodString;
1795
+ description: z.ZodString;
1796
+ schema: z.ZodLiteral<"xpert.library.resource">;
1797
+ formatVersion: z.ZodLiteral<2>;
1798
+ logicalId: z.ZodString;
1799
+ version: z.ZodString;
1800
+ catalogKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1801
+ } & {
1802
+ kind: z.ZodLiteral<"public-dataset">;
1803
+ content: z.ZodObject<{
1804
+ dataAssetId: z.ZodEffects<z.ZodString, string, string>;
1805
+ format: z.ZodEnum<["csv", "json"]>;
1806
+ readerOptions: z.ZodObject<{
1807
+ encoding: z.ZodLiteral<"utf-8">;
1808
+ delimiter: z.ZodOptional<z.ZodEnum<[",", ";", "\t"]>>;
1809
+ rowsPath: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1810
+ }, "strict", z.ZodTypeAny, {
1811
+ encoding: "utf-8";
1812
+ delimiter?: "," | ";" | "\t" | undefined;
1813
+ rowsPath?: string[] | undefined;
1814
+ }, {
1815
+ encoding: "utf-8";
1816
+ delimiter?: "," | ";" | "\t" | undefined;
1817
+ rowsPath?: string[] | undefined;
1818
+ }>;
1819
+ columns: z.ZodArray<z.ZodObject<{
1820
+ key: z.ZodEffects<z.ZodString, string, string>;
1821
+ label: z.ZodString;
1822
+ logicalType: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp"]>;
1823
+ nullable: z.ZodBoolean;
1824
+ role: z.ZodOptional<z.ZodEnum<["dimension", "measure", "time", "identifier"]>>;
1825
+ }, "strict", z.ZodTypeAny, {
1826
+ label: string;
1827
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1828
+ nullable: boolean;
1829
+ key: string;
1830
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
1831
+ }, {
1832
+ label: string;
1833
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1834
+ nullable: boolean;
1835
+ key: string;
1836
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
1837
+ }>, "many">;
1838
+ statistics: z.ZodObject<{
1839
+ rowCount: z.ZodNullable<z.ZodNumber>;
1840
+ }, "strict", z.ZodTypeAny, {
1841
+ rowCount: number | null;
1842
+ }, {
1843
+ rowCount: number | null;
1844
+ }>;
1845
+ }, "strict", z.ZodTypeAny, {
1846
+ dataAssetId: string;
1847
+ format: "csv" | "json";
1848
+ readerOptions: {
1849
+ encoding: "utf-8";
1850
+ delimiter?: "," | ";" | "\t" | undefined;
1851
+ rowsPath?: string[] | undefined;
1852
+ };
1853
+ columns: {
1854
+ label: string;
1855
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1856
+ nullable: boolean;
1857
+ key: string;
1858
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
1859
+ }[];
1860
+ statistics: {
1861
+ rowCount: number | null;
1862
+ };
1863
+ }, {
1864
+ dataAssetId: string;
1865
+ format: "csv" | "json";
1866
+ readerOptions: {
1867
+ encoding: "utf-8";
1868
+ delimiter?: "," | ";" | "\t" | undefined;
1869
+ rowsPath?: string[] | undefined;
1870
+ };
1871
+ columns: {
1872
+ label: string;
1873
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1874
+ nullable: boolean;
1875
+ key: string;
1876
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
1877
+ }[];
1878
+ statistics: {
1879
+ rowCount: number | null;
1880
+ };
1881
+ }>;
1882
+ }, "strict", z.ZodTypeAny, {
1883
+ title: string;
1884
+ description: string;
1885
+ kind: "public-dataset";
1886
+ schema: "xpert.library.resource";
1887
+ version: string;
1888
+ logicalId: string;
1889
+ dependencies: {
1890
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1891
+ version: string;
1892
+ logicalId: string;
1893
+ sha256: string;
1894
+ alias: string;
1895
+ }[];
1896
+ license: {
1897
+ identifier: string;
1898
+ attribution: string;
1899
+ };
1900
+ formatVersion: 2;
1901
+ locale: string;
1902
+ categories: string[];
1903
+ tags: string[];
1904
+ provenance: {
1905
+ description: string;
1906
+ kind: "synthetic" | "user-provided" | "open-data";
1907
+ };
1908
+ assets: {
1909
+ id: string;
1910
+ sha256: string;
1911
+ size: number;
1912
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1913
+ fileName: string;
1914
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1915
+ license: {
1916
+ identifier: string;
1917
+ attribution: string;
1918
+ };
1919
+ }[];
1920
+ content: {
1921
+ dataAssetId: string;
1922
+ format: "csv" | "json";
1923
+ readerOptions: {
1924
+ encoding: "utf-8";
1925
+ delimiter?: "," | ";" | "\t" | undefined;
1926
+ rowsPath?: string[] | undefined;
1927
+ };
1928
+ columns: {
1929
+ label: string;
1930
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1931
+ nullable: boolean;
1932
+ key: string;
1933
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
1934
+ }[];
1935
+ statistics: {
1936
+ rowCount: number | null;
1937
+ };
1938
+ };
1939
+ presentation?: {
1940
+ coverAssetId?: string | undefined;
1941
+ previewAssetIds?: string[] | undefined;
1942
+ appearance?: "light" | "dark" | undefined;
1943
+ } | undefined;
1944
+ catalogKey?: string | undefined;
1945
+ translations?: Record<string, {
1946
+ title: string;
1947
+ description: string;
1948
+ }> | undefined;
1949
+ }, {
1950
+ title: string;
1951
+ description: string;
1952
+ kind: "public-dataset";
1953
+ schema: "xpert.library.resource";
1954
+ version: string;
1955
+ logicalId: string;
1956
+ dependencies: {
1957
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
1958
+ version: string;
1959
+ logicalId: string;
1960
+ sha256: string;
1961
+ alias: string;
1962
+ }[];
1963
+ license: {
1964
+ identifier: string;
1965
+ attribution: string;
1966
+ };
1967
+ formatVersion: 2;
1968
+ locale: string;
1969
+ categories: string[];
1970
+ tags: string[];
1971
+ provenance: {
1972
+ description: string;
1973
+ kind: "synthetic" | "user-provided" | "open-data";
1974
+ };
1975
+ assets: {
1976
+ id: string;
1977
+ sha256: string;
1978
+ size: number;
1979
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
1980
+ fileName: string;
1981
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
1982
+ license: {
1983
+ identifier: string;
1984
+ attribution: string;
1985
+ };
1986
+ }[];
1987
+ content: {
1988
+ dataAssetId: string;
1989
+ format: "csv" | "json";
1990
+ readerOptions: {
1991
+ encoding: "utf-8";
1992
+ delimiter?: "," | ";" | "\t" | undefined;
1993
+ rowsPath?: string[] | undefined;
1994
+ };
1995
+ columns: {
1996
+ label: string;
1997
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
1998
+ nullable: boolean;
1999
+ key: string;
2000
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
2001
+ }[];
2002
+ statistics: {
2003
+ rowCount: number | null;
2004
+ };
2005
+ };
2006
+ presentation?: {
2007
+ coverAssetId?: string | undefined;
2008
+ previewAssetIds?: string[] | undefined;
2009
+ appearance?: "light" | "dark" | undefined;
2010
+ } | undefined;
2011
+ catalogKey?: string | undefined;
2012
+ translations?: Record<string, {
2013
+ title: string;
2014
+ description: string;
2015
+ }> | undefined;
2016
+ }>]>, {
2017
+ title: string;
2018
+ description: string;
2019
+ kind: "example-task";
2020
+ schema: "xpert.library.resource";
2021
+ version: string;
2022
+ logicalId: string;
2023
+ dependencies: {
2024
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2025
+ version: string;
2026
+ logicalId: string;
2027
+ sha256: string;
2028
+ alias: string;
2029
+ }[];
2030
+ license: {
2031
+ identifier: string;
2032
+ attribution: string;
2033
+ };
2034
+ formatVersion: 2;
2035
+ locale: string;
2036
+ categories: string[];
2037
+ tags: string[];
2038
+ provenance: {
2039
+ description: string;
2040
+ kind: "synthetic" | "user-provided" | "open-data";
2041
+ };
2042
+ assets: {
2043
+ id: string;
2044
+ sha256: string;
2045
+ size: number;
2046
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2047
+ fileName: string;
2048
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2049
+ license: {
2050
+ identifier: string;
2051
+ attribution: string;
2052
+ };
2053
+ }[];
2054
+ content: {
2055
+ prompt: string;
2056
+ execution: {
2057
+ mode: "template";
2058
+ templateAlias: string;
2059
+ } | {
2060
+ mode: "agent";
2061
+ };
2062
+ dataAliases: string[];
2063
+ requirements: {
2064
+ skills: {
2065
+ name: string;
2066
+ required: boolean;
2067
+ }[];
2068
+ plugins: {
2069
+ name: string;
2070
+ versionRange: string;
2071
+ }[];
2072
+ capabilities: string[];
2073
+ };
2074
+ dataRequirement?: {
2075
+ mode: "demo" | "web" | "external";
2076
+ tools: string[];
2077
+ } | undefined;
2078
+ themeAlias?: string | undefined;
2079
+ inputBindings?: {
2080
+ slot: string;
2081
+ mapping: Record<string, string>;
2082
+ dataAlias: string;
2083
+ }[] | undefined;
2084
+ };
2085
+ presentation?: {
2086
+ coverAssetId?: string | undefined;
2087
+ previewAssetIds?: string[] | undefined;
2088
+ appearance?: "light" | "dark" | undefined;
2089
+ } | undefined;
2090
+ catalogKey?: string | undefined;
2091
+ translations?: Record<string, {
2092
+ title: string;
2093
+ description: string;
2094
+ }> | undefined;
2095
+ } | {
2096
+ title: string;
2097
+ description: string;
2098
+ kind: "analysis-template";
2099
+ schema: "xpert.library.resource";
2100
+ version: string;
2101
+ logicalId: string;
2102
+ dependencies: {
2103
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2104
+ version: string;
2105
+ logicalId: string;
2106
+ sha256: string;
2107
+ alias: string;
2108
+ }[];
2109
+ license: {
2110
+ identifier: string;
2111
+ attribution: string;
2112
+ };
2113
+ formatVersion: 2;
2114
+ locale: string;
2115
+ categories: string[];
2116
+ tags: string[];
2117
+ provenance: {
2118
+ description: string;
2119
+ kind: "synthetic" | "user-provided" | "open-data";
2120
+ };
2121
+ assets: {
2122
+ id: string;
2123
+ sha256: string;
2124
+ size: number;
2125
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2126
+ fileName: string;
2127
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2128
+ license: {
2129
+ identifier: string;
2130
+ attribution: string;
2131
+ };
2132
+ }[];
2133
+ content: {
2134
+ parameters: {
2135
+ type: "string" | "number" | "boolean" | "date";
2136
+ defaultValue: string | number | boolean | null;
2137
+ label: string;
2138
+ key: string;
2139
+ allowedValues?: (string | number | boolean | null)[] | undefined;
2140
+ }[];
2141
+ presentation: {
2142
+ type: "standard";
2143
+ charts: {
2144
+ type: "bar" | "line" | "area" | "pie" | "scatter";
2145
+ title: string;
2146
+ id: string;
2147
+ slot: string;
2148
+ x: string;
2149
+ y: string;
2150
+ color?: string | undefined;
2151
+ }[];
2152
+ tables: {
2153
+ title: string;
2154
+ id: string;
2155
+ slot: string;
2156
+ fields: string[];
2157
+ }[];
2158
+ } | {
2159
+ type: "html";
2160
+ documentAssetId: string;
2161
+ };
2162
+ requirements: {
2163
+ skills: {
2164
+ name: string;
2165
+ required: boolean;
2166
+ }[];
2167
+ plugins: {
2168
+ name: string;
2169
+ versionRange: string;
2170
+ }[];
2171
+ capabilities: string[];
2172
+ };
2173
+ inputSlots: {
2174
+ fields: {
2175
+ label: string;
2176
+ required: boolean;
2177
+ role: string;
2178
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
2179
+ nullable: boolean;
2180
+ }[];
2181
+ key: string;
2182
+ grain: string[];
2183
+ }[];
2184
+ metrics: {
2185
+ label: string;
2186
+ key: string;
2187
+ unit: string;
2188
+ definition: string;
2189
+ }[];
2190
+ };
2191
+ presentation?: {
2192
+ coverAssetId?: string | undefined;
2193
+ previewAssetIds?: string[] | undefined;
2194
+ appearance?: "light" | "dark" | undefined;
2195
+ } | undefined;
2196
+ catalogKey?: string | undefined;
2197
+ translations?: Record<string, {
2198
+ title: string;
2199
+ description: string;
2200
+ }> | undefined;
2201
+ } | {
2202
+ title: string;
2203
+ description: string;
2204
+ kind: "visual-theme";
2205
+ schema: "xpert.library.resource";
2206
+ version: string;
2207
+ logicalId: string;
2208
+ dependencies: {
2209
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2210
+ version: string;
2211
+ logicalId: string;
2212
+ sha256: string;
2213
+ alias: string;
2214
+ }[];
2215
+ license: {
2216
+ identifier: string;
2217
+ attribution: string;
2218
+ };
2219
+ formatVersion: 2;
2220
+ locale: string;
2221
+ categories: string[];
2222
+ tags: string[];
2223
+ provenance: {
2224
+ description: string;
2225
+ kind: "synthetic" | "user-provided" | "open-data";
2226
+ };
2227
+ assets: {
2228
+ id: string;
2229
+ sha256: string;
2230
+ size: number;
2231
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2232
+ fileName: string;
2233
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2234
+ license: {
2235
+ identifier: string;
2236
+ attribution: string;
2237
+ };
2238
+ }[];
2239
+ content: {
2240
+ theme: "system" | "slate" | "contrast";
2241
+ renderer: "live-dashboard.standard";
2242
+ };
2243
+ presentation?: {
2244
+ coverAssetId?: string | undefined;
2245
+ previewAssetIds?: string[] | undefined;
2246
+ appearance?: "light" | "dark" | undefined;
2247
+ } | undefined;
2248
+ catalogKey?: string | undefined;
2249
+ translations?: Record<string, {
2250
+ title: string;
2251
+ description: string;
2252
+ }> | undefined;
2253
+ } | {
2254
+ title: string;
2255
+ description: string;
2256
+ kind: "component";
2257
+ schema: "xpert.library.resource";
2258
+ version: string;
2259
+ logicalId: string;
2260
+ dependencies: {
2261
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2262
+ version: string;
2263
+ logicalId: string;
2264
+ sha256: string;
2265
+ alias: string;
2266
+ }[];
2267
+ license: {
2268
+ identifier: string;
2269
+ attribution: string;
2270
+ };
2271
+ formatVersion: 2;
2272
+ locale: string;
2273
+ categories: string[];
2274
+ tags: string[];
2275
+ provenance: {
2276
+ description: string;
2277
+ kind: "synthetic" | "user-provided" | "open-data";
2278
+ };
2279
+ assets: {
2280
+ id: string;
2281
+ sha256: string;
2282
+ size: number;
2283
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2284
+ fileName: string;
2285
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2286
+ license: {
2287
+ identifier: string;
2288
+ attribution: string;
2289
+ };
2290
+ }[];
2291
+ content: {
2292
+ title: string;
2293
+ fields: {
2294
+ label: string;
2295
+ required: boolean;
2296
+ role: string;
2297
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
2298
+ nullable: boolean;
2299
+ }[];
2300
+ renderer: "bar" | "line" | "area" | "pie" | "scatter" | "details";
2301
+ rendererVersion: 1;
2302
+ };
2303
+ presentation?: {
2304
+ coverAssetId?: string | undefined;
2305
+ previewAssetIds?: string[] | undefined;
2306
+ appearance?: "light" | "dark" | undefined;
2307
+ } | undefined;
2308
+ catalogKey?: string | undefined;
2309
+ translations?: Record<string, {
2310
+ title: string;
2311
+ description: string;
2312
+ }> | undefined;
2313
+ } | {
2314
+ title: string;
2315
+ description: string;
2316
+ kind: "public-dataset";
2317
+ schema: "xpert.library.resource";
2318
+ version: string;
2319
+ logicalId: string;
2320
+ dependencies: {
2321
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2322
+ version: string;
2323
+ logicalId: string;
2324
+ sha256: string;
2325
+ alias: string;
2326
+ }[];
2327
+ license: {
2328
+ identifier: string;
2329
+ attribution: string;
2330
+ };
2331
+ formatVersion: 2;
2332
+ locale: string;
2333
+ categories: string[];
2334
+ tags: string[];
2335
+ provenance: {
2336
+ description: string;
2337
+ kind: "synthetic" | "user-provided" | "open-data";
2338
+ };
2339
+ assets: {
2340
+ id: string;
2341
+ sha256: string;
2342
+ size: number;
2343
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2344
+ fileName: string;
2345
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2346
+ license: {
2347
+ identifier: string;
2348
+ attribution: string;
2349
+ };
2350
+ }[];
2351
+ content: {
2352
+ dataAssetId: string;
2353
+ format: "csv" | "json";
2354
+ readerOptions: {
2355
+ encoding: "utf-8";
2356
+ delimiter?: "," | ";" | "\t" | undefined;
2357
+ rowsPath?: string[] | undefined;
2358
+ };
2359
+ columns: {
2360
+ label: string;
2361
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
2362
+ nullable: boolean;
2363
+ key: string;
2364
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
2365
+ }[];
2366
+ statistics: {
2367
+ rowCount: number | null;
2368
+ };
2369
+ };
2370
+ presentation?: {
2371
+ coverAssetId?: string | undefined;
2372
+ previewAssetIds?: string[] | undefined;
2373
+ appearance?: "light" | "dark" | undefined;
2374
+ } | undefined;
2375
+ catalogKey?: string | undefined;
2376
+ translations?: Record<string, {
2377
+ title: string;
2378
+ description: string;
2379
+ }> | undefined;
2380
+ }, {
2381
+ title: string;
2382
+ description: string;
2383
+ kind: "example-task";
2384
+ schema: "xpert.library.resource";
2385
+ version: string;
2386
+ logicalId: string;
2387
+ dependencies: {
2388
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2389
+ version: string;
2390
+ logicalId: string;
2391
+ sha256: string;
2392
+ alias: string;
2393
+ }[];
2394
+ license: {
2395
+ identifier: string;
2396
+ attribution: string;
2397
+ };
2398
+ formatVersion: 2;
2399
+ locale: string;
2400
+ categories: string[];
2401
+ tags: string[];
2402
+ provenance: {
2403
+ description: string;
2404
+ kind: "synthetic" | "user-provided" | "open-data";
2405
+ };
2406
+ assets: {
2407
+ id: string;
2408
+ sha256: string;
2409
+ size: number;
2410
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2411
+ fileName: string;
2412
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2413
+ license: {
2414
+ identifier: string;
2415
+ attribution: string;
2416
+ };
2417
+ }[];
2418
+ content: {
2419
+ prompt: string;
2420
+ execution: {
2421
+ mode: "template";
2422
+ templateAlias: string;
2423
+ } | {
2424
+ mode: "agent";
2425
+ };
2426
+ dataAliases: string[];
2427
+ requirements: {
2428
+ skills: {
2429
+ name: string;
2430
+ required: boolean;
2431
+ }[];
2432
+ plugins: {
2433
+ name: string;
2434
+ versionRange: string;
2435
+ }[];
2436
+ capabilities: string[];
2437
+ };
2438
+ dataRequirement?: {
2439
+ mode: "demo" | "web" | "external";
2440
+ tools: string[];
2441
+ } | undefined;
2442
+ themeAlias?: string | undefined;
2443
+ inputBindings?: {
2444
+ slot: string;
2445
+ mapping: Record<string, string>;
2446
+ dataAlias: string;
2447
+ }[] | undefined;
2448
+ };
2449
+ presentation?: {
2450
+ coverAssetId?: string | undefined;
2451
+ previewAssetIds?: string[] | undefined;
2452
+ appearance?: "light" | "dark" | undefined;
2453
+ } | undefined;
2454
+ catalogKey?: string | undefined;
2455
+ translations?: Record<string, {
2456
+ title: string;
2457
+ description: string;
2458
+ }> | undefined;
2459
+ } | {
2460
+ title: string;
2461
+ description: string;
2462
+ kind: "analysis-template";
2463
+ schema: "xpert.library.resource";
2464
+ version: string;
2465
+ logicalId: string;
2466
+ dependencies: {
2467
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2468
+ version: string;
2469
+ logicalId: string;
2470
+ sha256: string;
2471
+ alias: string;
2472
+ }[];
2473
+ license: {
2474
+ identifier: string;
2475
+ attribution: string;
2476
+ };
2477
+ formatVersion: 2;
2478
+ locale: string;
2479
+ categories: string[];
2480
+ tags: string[];
2481
+ provenance: {
2482
+ description: string;
2483
+ kind: "synthetic" | "user-provided" | "open-data";
2484
+ };
2485
+ assets: {
2486
+ id: string;
2487
+ sha256: string;
2488
+ size: number;
2489
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2490
+ fileName: string;
2491
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2492
+ license: {
2493
+ identifier: string;
2494
+ attribution: string;
2495
+ };
2496
+ }[];
2497
+ content: {
2498
+ parameters: {
2499
+ type: "string" | "number" | "boolean" | "date";
2500
+ defaultValue: string | number | boolean | null;
2501
+ label: string;
2502
+ key: string;
2503
+ allowedValues?: (string | number | boolean | null)[] | undefined;
2504
+ }[];
2505
+ presentation: {
2506
+ type: "standard";
2507
+ charts: {
2508
+ type: "bar" | "line" | "area" | "pie" | "scatter";
2509
+ title: string;
2510
+ id: string;
2511
+ slot: string;
2512
+ x: string;
2513
+ y: string;
2514
+ color?: string | undefined;
2515
+ }[];
2516
+ tables: {
2517
+ title: string;
2518
+ id: string;
2519
+ slot: string;
2520
+ fields: string[];
2521
+ }[];
2522
+ } | {
2523
+ type: "html";
2524
+ documentAssetId: string;
2525
+ };
2526
+ requirements: {
2527
+ skills: {
2528
+ name: string;
2529
+ required: boolean;
2530
+ }[];
2531
+ plugins: {
2532
+ name: string;
2533
+ versionRange: string;
2534
+ }[];
2535
+ capabilities: string[];
2536
+ };
2537
+ inputSlots: {
2538
+ fields: {
2539
+ label: string;
2540
+ required: boolean;
2541
+ role: string;
2542
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
2543
+ nullable: boolean;
2544
+ }[];
2545
+ key: string;
2546
+ grain: string[];
2547
+ }[];
2548
+ metrics: {
2549
+ label: string;
2550
+ key: string;
2551
+ unit: string;
2552
+ definition: string;
2553
+ }[];
2554
+ };
2555
+ presentation?: {
2556
+ coverAssetId?: string | undefined;
2557
+ previewAssetIds?: string[] | undefined;
2558
+ appearance?: "light" | "dark" | undefined;
2559
+ } | undefined;
2560
+ catalogKey?: string | undefined;
2561
+ translations?: Record<string, {
2562
+ title: string;
2563
+ description: string;
2564
+ }> | undefined;
2565
+ } | {
2566
+ title: string;
2567
+ description: string;
2568
+ kind: "visual-theme";
2569
+ schema: "xpert.library.resource";
2570
+ version: string;
2571
+ logicalId: string;
2572
+ dependencies: {
2573
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2574
+ version: string;
2575
+ logicalId: string;
2576
+ sha256: string;
2577
+ alias: string;
2578
+ }[];
2579
+ license: {
2580
+ identifier: string;
2581
+ attribution: string;
2582
+ };
2583
+ formatVersion: 2;
2584
+ locale: string;
2585
+ categories: string[];
2586
+ tags: string[];
2587
+ provenance: {
2588
+ description: string;
2589
+ kind: "synthetic" | "user-provided" | "open-data";
2590
+ };
2591
+ assets: {
2592
+ id: string;
2593
+ sha256: string;
2594
+ size: number;
2595
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2596
+ fileName: string;
2597
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2598
+ license: {
2599
+ identifier: string;
2600
+ attribution: string;
2601
+ };
2602
+ }[];
2603
+ content: {
2604
+ theme: "system" | "slate" | "contrast";
2605
+ renderer: "live-dashboard.standard";
2606
+ };
2607
+ presentation?: {
2608
+ coverAssetId?: string | undefined;
2609
+ previewAssetIds?: string[] | undefined;
2610
+ appearance?: "light" | "dark" | undefined;
2611
+ } | undefined;
2612
+ catalogKey?: string | undefined;
2613
+ translations?: Record<string, {
2614
+ title: string;
2615
+ description: string;
2616
+ }> | undefined;
2617
+ } | {
2618
+ title: string;
2619
+ description: string;
2620
+ kind: "component";
2621
+ schema: "xpert.library.resource";
2622
+ version: string;
2623
+ logicalId: string;
2624
+ dependencies: {
2625
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2626
+ version: string;
2627
+ logicalId: string;
2628
+ sha256: string;
2629
+ alias: string;
2630
+ }[];
2631
+ license: {
2632
+ identifier: string;
2633
+ attribution: string;
2634
+ };
2635
+ formatVersion: 2;
2636
+ locale: string;
2637
+ categories: string[];
2638
+ tags: string[];
2639
+ provenance: {
2640
+ description: string;
2641
+ kind: "synthetic" | "user-provided" | "open-data";
2642
+ };
2643
+ assets: {
2644
+ id: string;
2645
+ sha256: string;
2646
+ size: number;
2647
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2648
+ fileName: string;
2649
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2650
+ license: {
2651
+ identifier: string;
2652
+ attribution: string;
2653
+ };
2654
+ }[];
2655
+ content: {
2656
+ title: string;
2657
+ fields: {
2658
+ label: string;
2659
+ required: boolean;
2660
+ role: string;
2661
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
2662
+ nullable: boolean;
2663
+ }[];
2664
+ renderer: "bar" | "line" | "area" | "pie" | "scatter" | "details";
2665
+ rendererVersion: 1;
2666
+ };
2667
+ presentation?: {
2668
+ coverAssetId?: string | undefined;
2669
+ previewAssetIds?: string[] | undefined;
2670
+ appearance?: "light" | "dark" | undefined;
2671
+ } | undefined;
2672
+ catalogKey?: string | undefined;
2673
+ translations?: Record<string, {
2674
+ title: string;
2675
+ description: string;
2676
+ }> | undefined;
2677
+ } | {
2678
+ title: string;
2679
+ description: string;
2680
+ kind: "public-dataset";
2681
+ schema: "xpert.library.resource";
2682
+ version: string;
2683
+ logicalId: string;
2684
+ dependencies: {
2685
+ kind: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset";
2686
+ version: string;
2687
+ logicalId: string;
2688
+ sha256: string;
2689
+ alias: string;
2690
+ }[];
2691
+ license: {
2692
+ identifier: string;
2693
+ attribution: string;
2694
+ };
2695
+ formatVersion: 2;
2696
+ locale: string;
2697
+ categories: string[];
2698
+ tags: string[];
2699
+ provenance: {
2700
+ description: string;
2701
+ kind: "synthetic" | "user-provided" | "open-data";
2702
+ };
2703
+ assets: {
2704
+ id: string;
2705
+ sha256: string;
2706
+ size: number;
2707
+ mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/json" | "text/csv" | "text/html" | "text/plain";
2708
+ fileName: string;
2709
+ purpose: "cover" | "preview" | "data" | "document" | "supporting";
2710
+ license: {
2711
+ identifier: string;
2712
+ attribution: string;
2713
+ };
2714
+ }[];
2715
+ content: {
2716
+ dataAssetId: string;
2717
+ format: "csv" | "json";
2718
+ readerOptions: {
2719
+ encoding: "utf-8";
2720
+ delimiter?: "," | ";" | "\t" | undefined;
2721
+ rowsPath?: string[] | undefined;
2722
+ };
2723
+ columns: {
2724
+ label: string;
2725
+ logicalType: "string" | "boolean" | "date" | "int64" | "float64" | "decimal" | "timestamp";
2726
+ nullable: boolean;
2727
+ key: string;
2728
+ role?: "identifier" | "dimension" | "measure" | "time" | undefined;
2729
+ }[];
2730
+ statistics: {
2731
+ rowCount: number | null;
2732
+ };
2733
+ };
2734
+ presentation?: {
2735
+ coverAssetId?: string | undefined;
2736
+ previewAssetIds?: string[] | undefined;
2737
+ appearance?: "light" | "dark" | undefined;
2738
+ } | undefined;
2739
+ catalogKey?: string | undefined;
2740
+ translations?: Record<string, {
2741
+ title: string;
2742
+ description: string;
2743
+ }> | undefined;
2744
+ }>;
2745
+ export type ResourceDocumentV2 = z.infer<typeof resourceV2Schema>;
2746
+ export type AssetDescriptor = z.infer<typeof assetSchema>;
2747
+ export type ResourceReference = z.infer<typeof referenceSchema>;
2748
+ export declare const identity: (r: {
2749
+ logicalId: string;
2750
+ version: string;
2751
+ }) => string;
2752
+ export declare const catalogV2Query: z.ZodObject<{
2753
+ page: z.ZodDefault<z.ZodNumber>;
2754
+ pageSize: z.ZodDefault<z.ZodNumber>;
2755
+ kind: z.ZodOptional<z.ZodEnum<["example-task", "analysis-template", "visual-theme", "component", "public-dataset"]>>;
2756
+ category: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2757
+ search: z.ZodDefault<z.ZodString>;
2758
+ audience: z.ZodDefault<z.ZodEnum<["mine", "public"]>>;
2759
+ appearance: z.ZodDefault<z.ZodEnum<["all", "light", "dark"]>>;
2760
+ locale: z.ZodDefault<z.ZodEnum<["en", "zh-Hans", "zh-Hant"]>>;
2761
+ }, "strict", z.ZodTypeAny, {
2762
+ locale: "en" | "zh-Hans" | "zh-Hant";
2763
+ appearance: "light" | "dark" | "all";
2764
+ page: number;
2765
+ pageSize: number;
2766
+ search: string;
2767
+ audience: "mine" | "public";
2768
+ kind?: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset" | undefined;
2769
+ category?: string | undefined;
2770
+ }, {
2771
+ kind?: "example-task" | "analysis-template" | "visual-theme" | "component" | "public-dataset" | undefined;
2772
+ locale?: "en" | "zh-Hans" | "zh-Hant" | undefined;
2773
+ appearance?: "light" | "dark" | "all" | undefined;
2774
+ page?: number | undefined;
2775
+ pageSize?: number | undefined;
2776
+ category?: string | undefined;
2777
+ search?: string | undefined;
2778
+ audience?: "mine" | "public" | undefined;
2779
+ }>;