@cargo-ai/api 1.0.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 (95) hide show
  1. package/build/src/api/ai/index.d.ts +78 -0
  2. package/build/src/api/ai/index.d.ts.map +1 -0
  3. package/build/src/api/ai/index.js +530 -0
  4. package/build/src/api/billing/index.d.ts +25 -0
  5. package/build/src/api/billing/index.d.ts.map +1 -0
  6. package/build/src/api/billing/index.js +155 -0
  7. package/build/src/api/connection/index.d.ts +28 -0
  8. package/build/src/api/connection/index.d.ts.map +1 -0
  9. package/build/src/api/connection/index.js +172 -0
  10. package/build/src/api/expression/index.d.ts +26 -0
  11. package/build/src/api/expression/index.d.ts.map +1 -0
  12. package/build/src/api/expression/index.js +115 -0
  13. package/build/src/api/index.d.ts +72 -0
  14. package/build/src/api/index.d.ts.map +1 -0
  15. package/build/src/api/index.js +51 -0
  16. package/build/src/api/orchestration/index.d.ts +66 -0
  17. package/build/src/api/orchestration/index.d.ts.map +1 -0
  18. package/build/src/api/orchestration/index.js +625 -0
  19. package/build/src/api/revenueOrganization/index.d.ts +37 -0
  20. package/build/src/api/revenueOrganization/index.d.ts.map +1 -0
  21. package/build/src/api/revenueOrganization/index.js +241 -0
  22. package/build/src/api/segmentation/index.d.ts +28 -0
  23. package/build/src/api/segmentation/index.d.ts.map +1 -0
  24. package/build/src/api/segmentation/index.js +188 -0
  25. package/build/src/api/storage/index.d.ts +45 -0
  26. package/build/src/api/storage/index.d.ts.map +1 -0
  27. package/build/src/api/storage/index.js +402 -0
  28. package/build/src/api/systemOfRecordIntegration/index.d.ts +29 -0
  29. package/build/src/api/systemOfRecordIntegration/index.d.ts.map +1 -0
  30. package/build/src/api/systemOfRecordIntegration/index.js +151 -0
  31. package/build/src/api/userManagement/index.d.ts +14 -0
  32. package/build/src/api/userManagement/index.d.ts.map +1 -0
  33. package/build/src/api/userManagement/index.js +33 -0
  34. package/build/src/api/workspaceManagement/index.d.ts +43 -0
  35. package/build/src/api/workspaceManagement/index.d.ts.map +1 -0
  36. package/build/src/api/workspaceManagement/index.js +283 -0
  37. package/build/src/client.d.ts +5 -0
  38. package/build/src/client.d.ts.map +1 -0
  39. package/build/src/client.js +24 -0
  40. package/build/src/fetcher/client.d.ts +7 -0
  41. package/build/src/fetcher/client.d.ts.map +1 -0
  42. package/build/src/fetcher/client.js +9 -0
  43. package/build/src/fetcher/error.d.ts +101 -0
  44. package/build/src/fetcher/error.d.ts.map +1 -0
  45. package/build/src/fetcher/error.js +184 -0
  46. package/build/src/fetcher/fetcher.d.ts +12 -0
  47. package/build/src/fetcher/fetcher.d.ts.map +1 -0
  48. package/build/src/fetcher/fetcher.js +1 -0
  49. package/build/src/fetcher/index.d.ts +34 -0
  50. package/build/src/fetcher/index.d.ts.map +1 -0
  51. package/build/src/fetcher/index.js +78 -0
  52. package/build/src/index.d.ts +5 -0
  53. package/build/src/index.d.ts.map +1 -0
  54. package/build/src/index.js +3 -0
  55. package/build/src/store/ai.d.ts +481 -0
  56. package/build/src/store/ai.d.ts.map +1 -0
  57. package/build/src/store/ai.js +112 -0
  58. package/build/src/store/billing.d.ts +140 -0
  59. package/build/src/store/billing.d.ts.map +1 -0
  60. package/build/src/store/billing.js +62 -0
  61. package/build/src/store/connection.d.ts +183 -0
  62. package/build/src/store/connection.d.ts.map +1 -0
  63. package/build/src/store/connection.js +88 -0
  64. package/build/src/store/expression.d.ts +112 -0
  65. package/build/src/store/expression.d.ts.map +1 -0
  66. package/build/src/store/expression.js +27 -0
  67. package/build/src/store/index.d.ts +14 -0
  68. package/build/src/store/index.d.ts.map +1 -0
  69. package/build/src/store/index.js +25 -0
  70. package/build/src/store/orchestration.d.ts +942 -0
  71. package/build/src/store/orchestration.d.ts.map +1 -0
  72. package/build/src/store/orchestration.js +217 -0
  73. package/build/src/store/revenueOrganization.d.ts +201 -0
  74. package/build/src/store/revenueOrganization.d.ts.map +1 -0
  75. package/build/src/store/revenueOrganization.js +68 -0
  76. package/build/src/store/segmentation.d.ts +566 -0
  77. package/build/src/store/segmentation.d.ts.map +1 -0
  78. package/build/src/store/segmentation.js +103 -0
  79. package/build/src/store/storage.d.ts +1096 -0
  80. package/build/src/store/storage.d.ts.map +1 -0
  81. package/build/src/store/storage.js +174 -0
  82. package/build/src/store/systemOfRecordIntegration.d.ts +122 -0
  83. package/build/src/store/systemOfRecordIntegration.d.ts.map +1 -0
  84. package/build/src/store/systemOfRecordIntegration.js +53 -0
  85. package/build/src/store/userManagement.d.ts +34 -0
  86. package/build/src/store/userManagement.d.ts.map +1 -0
  87. package/build/src/store/userManagement.js +22 -0
  88. package/build/src/store/workspaceManagement.d.ts +215 -0
  89. package/build/src/store/workspaceManagement.d.ts.map +1 -0
  90. package/build/src/store/workspaceManagement.js +103 -0
  91. package/build/src/types.d.ts +6 -0
  92. package/build/src/types.d.ts.map +1 -0
  93. package/build/src/types.js +1 -0
  94. package/build/tsconfig.tsbuildinfo +1 -0
  95. package/package.json +45 -0
@@ -0,0 +1,1096 @@
1
+ import type { StorageTypes } from "cargo-domain-types";
2
+ import { z } from "zod/v4";
3
+ import type { StateCreator } from "zustand";
4
+ import type { BackendToFrontend, DateToString } from "../types.js";
5
+ export declare namespace Storage {
6
+ type Column = BackendToFrontend<StorageTypes.Column>;
7
+ type ColumnType = BackendToFrontend<StorageTypes.ColumnType>;
8
+ type Run = BackendToFrontend<StorageTypes.Run>;
9
+ type RunStatus = BackendToFrontend<StorageTypes.RunStatus>;
10
+ type Dataset = BackendToFrontend<StorageTypes.Dataset>;
11
+ type Model = BackendToFrontend<StorageTypes.Model>;
12
+ type ModelOriginalColumn = BackendToFrontend<StorageTypes.ModelOriginalColumn>;
13
+ type ModelComputedColumn = BackendToFrontend<StorageTypes.ModelComputedColumn>;
14
+ type ModelCustomColumn = BackendToFrontend<StorageTypes.ModelCustomColumn>;
15
+ type ModelMetricColumn = BackendToFrontend<StorageTypes.ModelMetricColumn>;
16
+ type ModelLookupColumn = BackendToFrontend<StorageTypes.ModelLookupColumn>;
17
+ type ModelAdditionalColumn = BackendToFrontend<StorageTypes.ModelAdditionalColumn>;
18
+ type ModelColumn = BackendToFrontend<StorageTypes.ModelColumn>;
19
+ type ModelScheduleCron = BackendToFrontend<StorageTypes.ModelScheduleCron>;
20
+ type ModelScheduleDbt = BackendToFrontend<StorageTypes.ModelScheduleDbt>;
21
+ type ModelSchedule = BackendToFrontend<StorageTypes.ModelSchedule>;
22
+ type ModelUnification = BackendToFrontend<StorageTypes.ModelUnification>;
23
+ type ModelUnificationColumn = BackendToFrontend<StorageTypes.ModelUnificationColumn>;
24
+ type ModelUnificationReference = BackendToFrontend<StorageTypes.ModelUnificationReference>;
25
+ type ModelUnificationReshaper = BackendToFrontend<StorageTypes.ModelUnificationReshaper>;
26
+ type ModelUnificationType = BackendToFrontend<StorageTypes.ModelUnificationType>;
27
+ type Relationship = BackendToFrontend<StorageTypes.Relationship>;
28
+ type RelationshipRelation = BackendToFrontend<StorageTypes.RelationshipRelation>;
29
+ type AggregationFunction = BackendToFrontend<StorageTypes.AggregationFunction>;
30
+ namespace Api {
31
+ type CreateColumnPayload = DateToString<{
32
+ modelUuid: string;
33
+ column: ModelAdditionalColumn;
34
+ }>;
35
+ const zodCreateColumnErrorReason: z.ZodEnum<{
36
+ modelNotFound: "modelNotFound";
37
+ datasetNotFound: "datasetNotFound";
38
+ duplicateSlug: "duplicateSlug";
39
+ aiExpressionNotAllowed: "aiExpressionNotAllowed";
40
+ invalidRelationship: "invalidRelationship";
41
+ }>;
42
+ type UpdateColumnPayload = DateToString<{
43
+ modelUuid: string;
44
+ column: ModelColumn;
45
+ }>;
46
+ const zodUpdateColumnErrorReason: z.ZodEnum<{
47
+ modelNotFound: "modelNotFound";
48
+ datasetNotFound: "datasetNotFound";
49
+ aiExpressionNotAllowed: "aiExpressionNotAllowed";
50
+ invalidRelationship: "invalidRelationship";
51
+ columnNotFound: "columnNotFound";
52
+ }>;
53
+ type RemoveColumnPayload = DateToString<{
54
+ modelUuid: string;
55
+ columnSlug: string;
56
+ }>;
57
+ const zodRemoveColumnErrorReason: z.ZodEnum<{
58
+ modelNotFound: "modelNotFound";
59
+ datasetNotFound: "datasetNotFound";
60
+ columnNotFound: "columnNotFound";
61
+ }>;
62
+ type ReorderColumnPayload = DateToString<{
63
+ modelUuid: string;
64
+ columnSlug: string;
65
+ toIndex: number;
66
+ }>;
67
+ const zodReorderColumnErrorReason: z.ZodEnum<{
68
+ modelNotFound: "modelNotFound";
69
+ columnNotFound: "columnNotFound";
70
+ invalidIndex: "invalidIndex";
71
+ }>;
72
+ type CreateDatasetPayload = DateToString<{
73
+ slug: string;
74
+ connectorUuid: string;
75
+ }>;
76
+ type CreateDatasetResult = {
77
+ dataset: Dataset;
78
+ };
79
+ const zodCreateDatasetErrorReason: z.ZodEnum<{
80
+ duplicateSlug: "duplicateSlug";
81
+ connectorNotFound: "connectorNotFound";
82
+ integrationNotFound: "integrationNotFound";
83
+ }>;
84
+ type AllDatasetResult = {
85
+ datasets: Dataset[];
86
+ };
87
+ type GetDatasetResult = {
88
+ dataset: Dataset;
89
+ };
90
+ type AllModelResult = {
91
+ models: Model[];
92
+ };
93
+ type CreateModelPayload = DateToString<{
94
+ slug: string;
95
+ name: string;
96
+ datasetUuid: string;
97
+ extractorSlug: string;
98
+ config: Record<string, any>;
99
+ schedule?: Omit<ModelScheduleCron, "temporalScheduleWorkflowId"> | ModelScheduleDbt;
100
+ }>;
101
+ type CreateModelResult = {
102
+ model: Model;
103
+ };
104
+ const zodCreateModelErrorReason: z.ZodEnum<{
105
+ datasetNotFound: "datasetNotFound";
106
+ duplicateSlug: "duplicateSlug";
107
+ connectorNotFound: "connectorNotFound";
108
+ integrationNotFound: "integrationNotFound";
109
+ datasetNotCompatible: "datasetNotCompatible";
110
+ integrationNotCompatible: "integrationNotCompatible";
111
+ invalidConfig: "invalidConfig";
112
+ failedToSchedule: "failedToSchedule";
113
+ }>;
114
+ type UpdateModelPayload = DateToString<{
115
+ uuid: string;
116
+ name?: string;
117
+ extractorSlug?: string;
118
+ position?: {
119
+ x: number;
120
+ y: number;
121
+ };
122
+ config?: Record<string, any>;
123
+ unification?: ModelUnification | null;
124
+ schedule?: Omit<ModelScheduleCron, "temporalScheduleWorkflowId"> | ModelScheduleDbt | null;
125
+ }>;
126
+ type UpdateModelResult = {
127
+ model: Model;
128
+ };
129
+ const zodUpdateModelErrorReason: z.ZodEnum<{
130
+ modelNotFound: "modelNotFound";
131
+ datasetNotFound: "datasetNotFound";
132
+ connectorNotFound: "connectorNotFound";
133
+ integrationNotFound: "integrationNotFound";
134
+ datasetNotCompatible: "datasetNotCompatible";
135
+ invalidConfig: "invalidConfig";
136
+ failedToSchedule: "failedToSchedule";
137
+ }>;
138
+ type SyncModelResult = {
139
+ model: Model;
140
+ };
141
+ const zodSyncModelErrorReason: z.ZodEnum<{
142
+ modelNotFound: "modelNotFound";
143
+ datasetNotFound: "datasetNotFound";
144
+ connectorNotFound: "connectorNotFound";
145
+ integrationNotFound: "integrationNotFound";
146
+ alreadySyncing: "alreadySyncing";
147
+ failedToSyncFromClient: "failedToSyncFromClient";
148
+ }>;
149
+ const zodRemoveModelErrorReason: z.ZodEnum<{
150
+ modelNotFound: "modelNotFound";
151
+ datasetNotFound: "datasetNotFound";
152
+ connectorNotFound: "connectorNotFound";
153
+ integrationNotFound: "integrationNotFound";
154
+ datasetNotCompatible: "datasetNotCompatible";
155
+ invalidConfig: "invalidConfig";
156
+ hasSegments: "hasSegments";
157
+ hasWorkflows: "hasWorkflows";
158
+ }>;
159
+ type ModelExistsBySlugPayload = DateToString<{
160
+ slug: string;
161
+ datasetUuid: string;
162
+ }>;
163
+ type ModelExistsBySlugResult = {
164
+ exists: boolean;
165
+ };
166
+ type ModelColumnExistsBySlugPayload = DateToString<{
167
+ modelUuid: string;
168
+ columnSlug: string;
169
+ }>;
170
+ type ModelColumnExistsBySlugResult = {
171
+ exists: boolean;
172
+ };
173
+ type AllRelationshipsResult = {
174
+ relationships: Relationship[];
175
+ };
176
+ type SetRelationshipsPayload = DateToString<{
177
+ datasetUuid: string;
178
+ relationships: Array<Omit<Relationship, "uuid" | "fromDatasetUuid" | "toDatasetUuid" | "workspaceUuid"> & {
179
+ uuid?: string;
180
+ }>;
181
+ }>;
182
+ type SetRelationshipsResult = {
183
+ relationships: Relationship[];
184
+ };
185
+ const zodSetRelationshipsErrorReason: z.ZodEnum<{
186
+ datasetNotFound: "datasetNotFound";
187
+ datasetNotCompatible: "datasetNotCompatible";
188
+ invalidRelationships: "invalidRelationships";
189
+ }>;
190
+ type CreateRunPayload = DateToString<{
191
+ modelUuid: string;
192
+ mode?: "reset" | "force";
193
+ }>;
194
+ type CreateRunResult = {
195
+ run: Run;
196
+ };
197
+ const zodCreateRunErrorReason: z.ZodEnum<{
198
+ modelNotFound: "modelNotFound";
199
+ datasetNotFound: "datasetNotFound";
200
+ connectorNotFound: "connectorNotFound";
201
+ integrationNotFound: "integrationNotFound";
202
+ modelNotCompatible: "modelNotCompatible";
203
+ alreadyRunning: "alreadyRunning";
204
+ modelIsPaused: "modelIsPaused";
205
+ upToDate: "upToDate";
206
+ notEnoughCredits: "notEnoughCredits";
207
+ }>;
208
+ type ListRunsPayload = DateToString<{
209
+ modelUuid?: string;
210
+ statuses?: RunStatus[];
211
+ limit?: number;
212
+ offset?: number;
213
+ }>;
214
+ type ListRunsResult = {
215
+ runs: Run[];
216
+ };
217
+ const zodCancelRunErrorReason: z.ZodEnum<{
218
+ runNotFound: "runNotFound";
219
+ runAlreadyFinished: "runAlreadyFinished";
220
+ }>;
221
+ type PreviewModelPayload = DateToString<{
222
+ datasetUuid: string;
223
+ slug: string;
224
+ config: Record<string, any>;
225
+ }>;
226
+ type PreviewModelResult = {
227
+ records: Record<string, any>[];
228
+ columns: Column[];
229
+ count?: number;
230
+ };
231
+ const zodPreviewModelErrorReason: z.ZodEnum<{
232
+ datasetNotFound: "datasetNotFound";
233
+ connectorNotFound: "connectorNotFound";
234
+ integrationNotFound: "integrationNotFound";
235
+ datasetNotCompatible: "datasetNotCompatible";
236
+ integrationNotCompatible: "integrationNotCompatible";
237
+ invalidConfig: "invalidConfig";
238
+ }>;
239
+ type PreviewCountModelPayload = DateToString<{
240
+ datasetUuid: string;
241
+ slug: string;
242
+ config: Record<string, any>;
243
+ }>;
244
+ type PreviewCountModelResult = {
245
+ count: number;
246
+ };
247
+ const zodPreviewCountModelErrorReason: z.ZodEnum<{
248
+ datasetNotFound: "datasetNotFound";
249
+ connectorNotFound: "connectorNotFound";
250
+ integrationNotFound: "integrationNotFound";
251
+ datasetNotCompatible: "datasetNotCompatible";
252
+ integrationNotCompatible: "integrationNotCompatible";
253
+ invalidConfig: "invalidConfig";
254
+ }>;
255
+ type ModelColumnAutocompletePayload = DateToString<{
256
+ modelUuid: string;
257
+ column: ModelColumn;
258
+ }>;
259
+ type ModelColumnAutocompleteResult = {
260
+ results: Array<{
261
+ value: string;
262
+ label: string;
263
+ }>;
264
+ };
265
+ const zodModelColumnAutocompleteErrorReason: z.ZodEnum<{
266
+ modelNotFound: "modelNotFound";
267
+ datasetNotFound: "datasetNotFound";
268
+ }>;
269
+ type ListRecordsPayload = DateToString<{
270
+ modelUuid: string;
271
+ }>;
272
+ type ListRecordsResult = {
273
+ records: Record<string, any>[];
274
+ };
275
+ const zodListRecordsErrorReason: z.ZodEnum<{
276
+ modelNotFound: "modelNotFound";
277
+ datasetNotFound: "datasetNotFound";
278
+ connectorNotFound: "connectorNotFound";
279
+ integrationNotFound: "integrationNotFound";
280
+ datasetNotCompatible: "datasetNotCompatible";
281
+ integrationNotCompatible: "integrationNotCompatible";
282
+ invalidConfig: "invalidConfig";
283
+ incompatibleWithFetching: "incompatibleWithFetching";
284
+ incompatibleWithQuery: "incompatibleWithQuery";
285
+ incompatibleWithRecordAction: "incompatibleWithRecordAction";
286
+ }>;
287
+ }
288
+ const datasetKeys: {
289
+ all: (workspaceUuid: string) => readonly ["datasets", string];
290
+ };
291
+ const modelKeys: {
292
+ all: (workspaceUuid: string) => readonly ["models", string];
293
+ preview: (workspaceUuid: string, payload: Api.PreviewModelPayload) => readonly ["models", string, "preview", {
294
+ datasetUuid: string;
295
+ slug: string;
296
+ config: {
297
+ [x: string]: any;
298
+ };
299
+ }];
300
+ sync: (workspaceUuid: string, uuid: string) => readonly ["models", string, "sync", string];
301
+ };
302
+ const relationshipsKeys: {
303
+ all: (workspaceUuid: string) => readonly ["relationships", string];
304
+ };
305
+ const runKeys: {
306
+ all: (workspaceUuid: string) => readonly ["runs", string];
307
+ list: (workspaceUuid: string, payload: Api.ListRunsPayload) => readonly ["runs", string, "list", {
308
+ modelUuid?: string | undefined;
309
+ statuses?: RunStatus[] | undefined;
310
+ limit?: number | undefined;
311
+ offset?: number | undefined;
312
+ }];
313
+ };
314
+ const recordKeys: {
315
+ all: (workspaceUuid: string) => readonly ["runs", string];
316
+ list: (workspaceUuid: string, payload: Api.ListRecordsPayload) => readonly ["runs", string, "list", {
317
+ modelUuid: string;
318
+ }];
319
+ };
320
+ const columnKeys: {
321
+ existsBySlug: (workspaceUuid: string, payload: Api.ModelColumnExistsBySlugPayload) => readonly ["columnExistsBySlug", string, {
322
+ modelUuid: string;
323
+ columnSlug: string;
324
+ }];
325
+ autocomplete: (workspaceUuid: string, payload: Api.ModelColumnAutocompletePayload) => readonly ["autocomplete", string, {
326
+ modelUuid: string;
327
+ column: {
328
+ slug: string;
329
+ type: StorageTypes.ColumnType;
330
+ properties?: string[] | undefined;
331
+ label: string;
332
+ description?: string | undefined;
333
+ kind: "original";
334
+ originalSlug: string;
335
+ } | {
336
+ slug: string;
337
+ type: StorageTypes.ColumnType;
338
+ properties?: string[] | undefined;
339
+ label: string;
340
+ description?: string | undefined;
341
+ kind: "computed";
342
+ expression: {
343
+ expression: string;
344
+ instructTo: import("cargo-domain-types").ExpressionTypes.ExpressionInstructTo;
345
+ kind: import("cargo-domain-types").ExpressionTypes.ExpressionKind;
346
+ fromRecipe: false;
347
+ } | {
348
+ expression: string;
349
+ instructTo: import("cargo-domain-types").ExpressionTypes.ExpressionInstructTo;
350
+ kind: import("cargo-domain-types").ExpressionTypes.ExpressionKind;
351
+ fromRecipe: true;
352
+ recipe: {
353
+ uuid: string;
354
+ version: number;
355
+ variables: {
356
+ [x: string]: any;
357
+ };
358
+ };
359
+ };
360
+ columnsUsed?: string[] | undefined;
361
+ } | {
362
+ slug: string;
363
+ type: StorageTypes.ColumnType;
364
+ properties?: string[] | undefined;
365
+ label: string;
366
+ description?: string | undefined;
367
+ kind: "custom";
368
+ } | {
369
+ slug: string;
370
+ type: StorageTypes.ColumnType;
371
+ properties?: string[] | undefined;
372
+ label: string;
373
+ description?: string | undefined;
374
+ kind: "metric";
375
+ relationshipUuid: string;
376
+ aggregation: {
377
+ function: StorageTypes.AggregationFunction;
378
+ columnSlug: string;
379
+ };
380
+ filter?: {
381
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
382
+ groups: {
383
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
384
+ conditions: ({
385
+ kind: "string";
386
+ relatedModelUuid?: string | undefined;
387
+ columnSlug: string;
388
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain";
389
+ values: string | string[];
390
+ } | {
391
+ kind: "string";
392
+ relatedModelUuid?: string | undefined;
393
+ columnSlug: string;
394
+ operator: "isNull" | "isNotNull" | "isEmpty" | "isNotEmpty";
395
+ } | {
396
+ kind: "number";
397
+ relatedModelUuid?: string | undefined;
398
+ columnSlug: string;
399
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
400
+ value: number;
401
+ } | {
402
+ kind: "number";
403
+ relatedModelUuid?: string | undefined;
404
+ columnSlug: string;
405
+ operator: "between";
406
+ firstValue: number;
407
+ lastValue: number;
408
+ } | {
409
+ kind: "number";
410
+ relatedModelUuid?: string | undefined;
411
+ columnSlug: string;
412
+ operator: "isNull" | "isNotNull";
413
+ } | {
414
+ kind: "objectProperty";
415
+ relatedModelUuid?: string | undefined;
416
+ columnSlug: string;
417
+ propertyName: string;
418
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
419
+ value: string;
420
+ } | {
421
+ kind: "objectProperty";
422
+ relatedModelUuid?: string | undefined;
423
+ columnSlug: string;
424
+ propertyName: string;
425
+ operator: "isNull" | "isNotNull";
426
+ } | {
427
+ kind: "objectProperty";
428
+ relatedModelUuid?: string | undefined;
429
+ columnSlug: string;
430
+ propertyName: string;
431
+ operator: "between";
432
+ value: string;
433
+ otherValue: string;
434
+ } | {
435
+ kind: "object";
436
+ relatedModelUuid?: string | undefined;
437
+ columnSlug: string;
438
+ operator: "isNull";
439
+ } | {
440
+ kind: "object";
441
+ relatedModelUuid?: string | undefined;
442
+ columnSlug: string;
443
+ operator: "isNotNull";
444
+ } | {
445
+ kind: "object";
446
+ relatedModelUuid?: string | undefined;
447
+ columnSlug: string;
448
+ operator: "matchConditions";
449
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
450
+ propertyConditions: ({
451
+ kind: "objectProperty";
452
+ relatedModelUuid?: string | undefined;
453
+ columnSlug: string;
454
+ propertyName: string;
455
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
456
+ value: string;
457
+ } | {
458
+ kind: "objectProperty";
459
+ relatedModelUuid?: string | undefined;
460
+ columnSlug: string;
461
+ propertyName: string;
462
+ operator: "isNull" | "isNotNull";
463
+ } | {
464
+ kind: "objectProperty";
465
+ relatedModelUuid?: string | undefined;
466
+ columnSlug: string;
467
+ propertyName: string;
468
+ operator: "between";
469
+ value: string;
470
+ otherValue: string;
471
+ })[];
472
+ } | {
473
+ kind: "array";
474
+ relatedModelUuid?: string | undefined;
475
+ columnSlug: string;
476
+ operator: "isNull";
477
+ } | {
478
+ kind: "array";
479
+ relatedModelUuid?: string | undefined;
480
+ columnSlug: string;
481
+ operator: "isNotNull";
482
+ } | {
483
+ kind: "array";
484
+ relatedModelUuid?: string | undefined;
485
+ columnSlug: string;
486
+ operator: "matchConditions";
487
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
488
+ propertyConditions: ({
489
+ kind: "objectProperty";
490
+ relatedModelUuid?: string | undefined;
491
+ columnSlug: string;
492
+ propertyName: string;
493
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
494
+ value: string;
495
+ } | {
496
+ kind: "objectProperty";
497
+ relatedModelUuid?: string | undefined;
498
+ columnSlug: string;
499
+ propertyName: string;
500
+ operator: "isNull" | "isNotNull";
501
+ } | {
502
+ kind: "objectProperty";
503
+ relatedModelUuid?: string | undefined;
504
+ columnSlug: string;
505
+ propertyName: string;
506
+ operator: "between";
507
+ value: string;
508
+ otherValue: string;
509
+ })[];
510
+ } | {
511
+ kind: "any";
512
+ relatedModelUuid?: string | undefined;
513
+ columnSlug: string;
514
+ operator: "isNull" | "isNotNull";
515
+ } | {
516
+ kind: "date";
517
+ relatedModelUuid?: string | undefined;
518
+ columnSlug: string;
519
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
520
+ value: string;
521
+ } | {
522
+ kind: "date";
523
+ relatedModelUuid?: string | undefined;
524
+ columnSlug: string;
525
+ operator: "between";
526
+ firstValue: string;
527
+ lastValue: string;
528
+ } | {
529
+ kind: "date";
530
+ relatedModelUuid?: string | undefined;
531
+ columnSlug: string;
532
+ operator: "isNull" | "isNotNull";
533
+ } | {
534
+ relatedModelUuid?: string | undefined;
535
+ kind: "boolean";
536
+ columnSlug: string;
537
+ operator: "isNull" | "isNotNull" | "isTrue" | "isFalse";
538
+ } | {
539
+ kind: "sql";
540
+ name: string;
541
+ clause: string;
542
+ } | {
543
+ kind: "vector";
544
+ relatedModelUuid?: string | undefined;
545
+ columnSlug: string;
546
+ operator: "isNull" | "isNotNull";
547
+ } | {
548
+ kind: "occurrence";
549
+ relatedModelUuid: string;
550
+ frequency: {
551
+ operator: "not";
552
+ } | {
553
+ operator: "moreThan" | "lessThan" | "exactly";
554
+ value: number;
555
+ };
556
+ period: {
557
+ operator: "moreThan" | "lessThan" | "exactly";
558
+ value: number;
559
+ unit: "day";
560
+ };
561
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
562
+ conditions: ({
563
+ kind: "string";
564
+ relatedModelUuid?: string | undefined;
565
+ columnSlug: string;
566
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain";
567
+ values: string | string[];
568
+ } | {
569
+ kind: "string";
570
+ relatedModelUuid?: string | undefined;
571
+ columnSlug: string;
572
+ operator: "isNull" | "isNotNull" | "isEmpty" | "isNotEmpty";
573
+ } | {
574
+ kind: "number";
575
+ relatedModelUuid?: string | undefined;
576
+ columnSlug: string;
577
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
578
+ value: number;
579
+ } | {
580
+ kind: "number";
581
+ relatedModelUuid?: string | undefined;
582
+ columnSlug: string;
583
+ operator: "between";
584
+ firstValue: number;
585
+ lastValue: number;
586
+ } | {
587
+ kind: "number";
588
+ relatedModelUuid?: string | undefined;
589
+ columnSlug: string;
590
+ operator: "isNull" | "isNotNull";
591
+ } | {
592
+ kind: "object";
593
+ relatedModelUuid?: string | undefined;
594
+ columnSlug: string;
595
+ operator: "isNull";
596
+ } | {
597
+ kind: "object";
598
+ relatedModelUuid?: string | undefined;
599
+ columnSlug: string;
600
+ operator: "isNotNull";
601
+ } | {
602
+ kind: "object";
603
+ relatedModelUuid?: string | undefined;
604
+ columnSlug: string;
605
+ operator: "matchConditions";
606
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
607
+ propertyConditions: ({
608
+ kind: "objectProperty";
609
+ relatedModelUuid?: string | undefined;
610
+ columnSlug: string;
611
+ propertyName: string;
612
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
613
+ value: string;
614
+ } | {
615
+ kind: "objectProperty";
616
+ relatedModelUuid?: string | undefined;
617
+ columnSlug: string;
618
+ propertyName: string;
619
+ operator: "isNull" | "isNotNull";
620
+ } | {
621
+ kind: "objectProperty";
622
+ relatedModelUuid?: string | undefined;
623
+ columnSlug: string;
624
+ propertyName: string;
625
+ operator: "between";
626
+ value: string;
627
+ otherValue: string;
628
+ })[];
629
+ } | {
630
+ kind: "array";
631
+ relatedModelUuid?: string | undefined;
632
+ columnSlug: string;
633
+ operator: "isNull";
634
+ } | {
635
+ kind: "array";
636
+ relatedModelUuid?: string | undefined;
637
+ columnSlug: string;
638
+ operator: "isNotNull";
639
+ } | {
640
+ kind: "array";
641
+ relatedModelUuid?: string | undefined;
642
+ columnSlug: string;
643
+ operator: "matchConditions";
644
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
645
+ propertyConditions: ({
646
+ kind: "objectProperty";
647
+ relatedModelUuid?: string | undefined;
648
+ columnSlug: string;
649
+ propertyName: string;
650
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
651
+ value: string;
652
+ } | {
653
+ kind: "objectProperty";
654
+ relatedModelUuid?: string | undefined;
655
+ columnSlug: string;
656
+ propertyName: string;
657
+ operator: "isNull" | "isNotNull";
658
+ } | {
659
+ kind: "objectProperty";
660
+ relatedModelUuid?: string | undefined;
661
+ columnSlug: string;
662
+ propertyName: string;
663
+ operator: "between";
664
+ value: string;
665
+ otherValue: string;
666
+ })[];
667
+ } | {
668
+ kind: "any";
669
+ relatedModelUuid?: string | undefined;
670
+ columnSlug: string;
671
+ operator: "isNull" | "isNotNull";
672
+ } | {
673
+ kind: "date";
674
+ relatedModelUuid?: string | undefined;
675
+ columnSlug: string;
676
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
677
+ value: string;
678
+ } | {
679
+ kind: "date";
680
+ relatedModelUuid?: string | undefined;
681
+ columnSlug: string;
682
+ operator: "between";
683
+ firstValue: string;
684
+ lastValue: string;
685
+ } | {
686
+ kind: "date";
687
+ relatedModelUuid?: string | undefined;
688
+ columnSlug: string;
689
+ operator: "isNull" | "isNotNull";
690
+ } | {
691
+ relatedModelUuid?: string | undefined;
692
+ kind: "boolean";
693
+ columnSlug: string;
694
+ operator: "isNull" | "isNotNull" | "isTrue" | "isFalse";
695
+ } | {
696
+ kind: "vector";
697
+ relatedModelUuid?: string | undefined;
698
+ columnSlug: string;
699
+ operator: "isNull" | "isNotNull";
700
+ })[];
701
+ } | {
702
+ kind: "enrollment";
703
+ workflowUuid: string;
704
+ activityKind: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConditionEnrollmentActivityKind;
705
+ nodeSlug?: string | undefined;
706
+ frequency: {
707
+ operator: "not";
708
+ } | {
709
+ operator: "moreThan" | "lessThan" | "exactly";
710
+ value: number;
711
+ };
712
+ period: {
713
+ operator: "moreThan" | "lessThan" | "exactly";
714
+ value: number;
715
+ unit: "day";
716
+ };
717
+ } | {
718
+ kind: "segment";
719
+ segmentUuid: string;
720
+ operator: "in" | "notIn";
721
+ })[];
722
+ }[];
723
+ } | undefined;
724
+ } | {
725
+ slug: string;
726
+ type: StorageTypes.ColumnType;
727
+ properties?: string[] | undefined;
728
+ label: string;
729
+ description?: string | undefined;
730
+ kind: "lookup";
731
+ join: {
732
+ toModelUuid: string;
733
+ fromColumnSlug: string;
734
+ toColumnSlug: string;
735
+ };
736
+ extractColumnSlug: string;
737
+ filter?: {
738
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
739
+ groups: {
740
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
741
+ conditions: ({
742
+ kind: "string";
743
+ relatedModelUuid?: string | undefined;
744
+ columnSlug: string;
745
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain";
746
+ values: string | string[];
747
+ } | {
748
+ kind: "string";
749
+ relatedModelUuid?: string | undefined;
750
+ columnSlug: string;
751
+ operator: "isNull" | "isNotNull" | "isEmpty" | "isNotEmpty";
752
+ } | {
753
+ kind: "number";
754
+ relatedModelUuid?: string | undefined;
755
+ columnSlug: string;
756
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
757
+ value: number;
758
+ } | {
759
+ kind: "number";
760
+ relatedModelUuid?: string | undefined;
761
+ columnSlug: string;
762
+ operator: "between";
763
+ firstValue: number;
764
+ lastValue: number;
765
+ } | {
766
+ kind: "number";
767
+ relatedModelUuid?: string | undefined;
768
+ columnSlug: string;
769
+ operator: "isNull" | "isNotNull";
770
+ } | {
771
+ kind: "objectProperty";
772
+ relatedModelUuid?: string | undefined;
773
+ columnSlug: string;
774
+ propertyName: string;
775
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
776
+ value: string;
777
+ } | {
778
+ kind: "objectProperty";
779
+ relatedModelUuid?: string | undefined;
780
+ columnSlug: string;
781
+ propertyName: string;
782
+ operator: "isNull" | "isNotNull";
783
+ } | {
784
+ kind: "objectProperty";
785
+ relatedModelUuid?: string | undefined;
786
+ columnSlug: string;
787
+ propertyName: string;
788
+ operator: "between";
789
+ value: string;
790
+ otherValue: string;
791
+ } | {
792
+ kind: "object";
793
+ relatedModelUuid?: string | undefined;
794
+ columnSlug: string;
795
+ operator: "isNull";
796
+ } | {
797
+ kind: "object";
798
+ relatedModelUuid?: string | undefined;
799
+ columnSlug: string;
800
+ operator: "isNotNull";
801
+ } | {
802
+ kind: "object";
803
+ relatedModelUuid?: string | undefined;
804
+ columnSlug: string;
805
+ operator: "matchConditions";
806
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
807
+ propertyConditions: ({
808
+ kind: "objectProperty";
809
+ relatedModelUuid?: string | undefined;
810
+ columnSlug: string;
811
+ propertyName: string;
812
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
813
+ value: string;
814
+ } | {
815
+ kind: "objectProperty";
816
+ relatedModelUuid?: string | undefined;
817
+ columnSlug: string;
818
+ propertyName: string;
819
+ operator: "isNull" | "isNotNull";
820
+ } | {
821
+ kind: "objectProperty";
822
+ relatedModelUuid?: string | undefined;
823
+ columnSlug: string;
824
+ propertyName: string;
825
+ operator: "between";
826
+ value: string;
827
+ otherValue: string;
828
+ })[];
829
+ } | {
830
+ kind: "array";
831
+ relatedModelUuid?: string | undefined;
832
+ columnSlug: string;
833
+ operator: "isNull";
834
+ } | {
835
+ kind: "array";
836
+ relatedModelUuid?: string | undefined;
837
+ columnSlug: string;
838
+ operator: "isNotNull";
839
+ } | {
840
+ kind: "array";
841
+ relatedModelUuid?: string | undefined;
842
+ columnSlug: string;
843
+ operator: "matchConditions";
844
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
845
+ propertyConditions: ({
846
+ kind: "objectProperty";
847
+ relatedModelUuid?: string | undefined;
848
+ columnSlug: string;
849
+ propertyName: string;
850
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
851
+ value: string;
852
+ } | {
853
+ kind: "objectProperty";
854
+ relatedModelUuid?: string | undefined;
855
+ columnSlug: string;
856
+ propertyName: string;
857
+ operator: "isNull" | "isNotNull";
858
+ } | {
859
+ kind: "objectProperty";
860
+ relatedModelUuid?: string | undefined;
861
+ columnSlug: string;
862
+ propertyName: string;
863
+ operator: "between";
864
+ value: string;
865
+ otherValue: string;
866
+ })[];
867
+ } | {
868
+ kind: "any";
869
+ relatedModelUuid?: string | undefined;
870
+ columnSlug: string;
871
+ operator: "isNull" | "isNotNull";
872
+ } | {
873
+ kind: "date";
874
+ relatedModelUuid?: string | undefined;
875
+ columnSlug: string;
876
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
877
+ value: string;
878
+ } | {
879
+ kind: "date";
880
+ relatedModelUuid?: string | undefined;
881
+ columnSlug: string;
882
+ operator: "between";
883
+ firstValue: string;
884
+ lastValue: string;
885
+ } | {
886
+ kind: "date";
887
+ relatedModelUuid?: string | undefined;
888
+ columnSlug: string;
889
+ operator: "isNull" | "isNotNull";
890
+ } | {
891
+ relatedModelUuid?: string | undefined;
892
+ kind: "boolean";
893
+ columnSlug: string;
894
+ operator: "isNull" | "isNotNull" | "isTrue" | "isFalse";
895
+ } | {
896
+ kind: "sql";
897
+ name: string;
898
+ clause: string;
899
+ } | {
900
+ kind: "vector";
901
+ relatedModelUuid?: string | undefined;
902
+ columnSlug: string;
903
+ operator: "isNull" | "isNotNull";
904
+ } | {
905
+ kind: "occurrence";
906
+ relatedModelUuid: string;
907
+ frequency: {
908
+ operator: "not";
909
+ } | {
910
+ operator: "moreThan" | "lessThan" | "exactly";
911
+ value: number;
912
+ };
913
+ period: {
914
+ operator: "moreThan" | "lessThan" | "exactly";
915
+ value: number;
916
+ unit: "day";
917
+ };
918
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
919
+ conditions: ({
920
+ kind: "string";
921
+ relatedModelUuid?: string | undefined;
922
+ columnSlug: string;
923
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain";
924
+ values: string | string[];
925
+ } | {
926
+ kind: "string";
927
+ relatedModelUuid?: string | undefined;
928
+ columnSlug: string;
929
+ operator: "isNull" | "isNotNull" | "isEmpty" | "isNotEmpty";
930
+ } | {
931
+ kind: "number";
932
+ relatedModelUuid?: string | undefined;
933
+ columnSlug: string;
934
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
935
+ value: number;
936
+ } | {
937
+ kind: "number";
938
+ relatedModelUuid?: string | undefined;
939
+ columnSlug: string;
940
+ operator: "between";
941
+ firstValue: number;
942
+ lastValue: number;
943
+ } | {
944
+ kind: "number";
945
+ relatedModelUuid?: string | undefined;
946
+ columnSlug: string;
947
+ operator: "isNull" | "isNotNull";
948
+ } | {
949
+ kind: "object";
950
+ relatedModelUuid?: string | undefined;
951
+ columnSlug: string;
952
+ operator: "isNull";
953
+ } | {
954
+ kind: "object";
955
+ relatedModelUuid?: string | undefined;
956
+ columnSlug: string;
957
+ operator: "isNotNull";
958
+ } | {
959
+ kind: "object";
960
+ relatedModelUuid?: string | undefined;
961
+ columnSlug: string;
962
+ operator: "matchConditions";
963
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
964
+ propertyConditions: ({
965
+ kind: "objectProperty";
966
+ relatedModelUuid?: string | undefined;
967
+ columnSlug: string;
968
+ propertyName: string;
969
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
970
+ value: string;
971
+ } | {
972
+ kind: "objectProperty";
973
+ relatedModelUuid?: string | undefined;
974
+ columnSlug: string;
975
+ propertyName: string;
976
+ operator: "isNull" | "isNotNull";
977
+ } | {
978
+ kind: "objectProperty";
979
+ relatedModelUuid?: string | undefined;
980
+ columnSlug: string;
981
+ propertyName: string;
982
+ operator: "between";
983
+ value: string;
984
+ otherValue: string;
985
+ })[];
986
+ } | {
987
+ kind: "array";
988
+ relatedModelUuid?: string | undefined;
989
+ columnSlug: string;
990
+ operator: "isNull";
991
+ } | {
992
+ kind: "array";
993
+ relatedModelUuid?: string | undefined;
994
+ columnSlug: string;
995
+ operator: "isNotNull";
996
+ } | {
997
+ kind: "array";
998
+ relatedModelUuid?: string | undefined;
999
+ columnSlug: string;
1000
+ operator: "matchConditions";
1001
+ conjonction: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConjonction;
1002
+ propertyConditions: ({
1003
+ kind: "objectProperty";
1004
+ relatedModelUuid?: string | undefined;
1005
+ columnSlug: string;
1006
+ propertyName: string;
1007
+ operator: "endsWith" | "startsWith" | "is" | "isNot" | "contains" | "doesNotContain" | "greaterThan" | "lowerThan";
1008
+ value: string;
1009
+ } | {
1010
+ kind: "objectProperty";
1011
+ relatedModelUuid?: string | undefined;
1012
+ columnSlug: string;
1013
+ propertyName: string;
1014
+ operator: "isNull" | "isNotNull";
1015
+ } | {
1016
+ kind: "objectProperty";
1017
+ relatedModelUuid?: string | undefined;
1018
+ columnSlug: string;
1019
+ propertyName: string;
1020
+ operator: "between";
1021
+ value: string;
1022
+ otherValue: string;
1023
+ })[];
1024
+ } | {
1025
+ kind: "any";
1026
+ relatedModelUuid?: string | undefined;
1027
+ columnSlug: string;
1028
+ operator: "isNull" | "isNotNull";
1029
+ } | {
1030
+ kind: "date";
1031
+ relatedModelUuid?: string | undefined;
1032
+ columnSlug: string;
1033
+ operator: "is" | "isNot" | "greaterThan" | "lowerThan";
1034
+ value: string;
1035
+ } | {
1036
+ kind: "date";
1037
+ relatedModelUuid?: string | undefined;
1038
+ columnSlug: string;
1039
+ operator: "between";
1040
+ firstValue: string;
1041
+ lastValue: string;
1042
+ } | {
1043
+ kind: "date";
1044
+ relatedModelUuid?: string | undefined;
1045
+ columnSlug: string;
1046
+ operator: "isNull" | "isNotNull";
1047
+ } | {
1048
+ relatedModelUuid?: string | undefined;
1049
+ kind: "boolean";
1050
+ columnSlug: string;
1051
+ operator: "isNull" | "isNotNull" | "isTrue" | "isFalse";
1052
+ } | {
1053
+ kind: "vector";
1054
+ relatedModelUuid?: string | undefined;
1055
+ columnSlug: string;
1056
+ operator: "isNull" | "isNotNull";
1057
+ })[];
1058
+ } | {
1059
+ kind: "enrollment";
1060
+ workflowUuid: string;
1061
+ activityKind: import("cargo-domain-types").SystemOfRecordIntegrationTypes.FilterConditionEnrollmentActivityKind;
1062
+ nodeSlug?: string | undefined;
1063
+ frequency: {
1064
+ operator: "not";
1065
+ } | {
1066
+ operator: "moreThan" | "lessThan" | "exactly";
1067
+ value: number;
1068
+ };
1069
+ period: {
1070
+ operator: "moreThan" | "lessThan" | "exactly";
1071
+ value: number;
1072
+ unit: "day";
1073
+ };
1074
+ } | {
1075
+ kind: "segment";
1076
+ segmentUuid: string;
1077
+ operator: "in" | "notIn";
1078
+ })[];
1079
+ }[];
1080
+ } | undefined;
1081
+ };
1082
+ }];
1083
+ };
1084
+ }
1085
+ export interface StorageSlice {
1086
+ datasets: Storage.Dataset[];
1087
+ setDatasets: (datasets: Storage.Dataset[]) => void;
1088
+ models: Storage.Model[];
1089
+ setModels: (datasets: Storage.Model[]) => void;
1090
+ relationships: Storage.Relationship[];
1091
+ setRelationships: (relationships: Storage.Relationship[]) => void;
1092
+ }
1093
+ export declare const createStorageSlice: StateCreator<StorageSlice, [
1094
+ ], [
1095
+ ], StorageSlice>;
1096
+ //# sourceMappingURL=storage.d.ts.map