@uniformdev/mesh-sdk 19.78.0 → 19.78.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.
package/dist/index.d.mts CHANGED
@@ -96,6 +96,28 @@ interface paths$1 {
96
96
  unstable_assetLibrary?: {
97
97
  url: string;
98
98
  };
99
+ ai?: {
100
+ generateUrl: string;
101
+ metadataUrl?: string;
102
+ prompts?: {
103
+ /** Format: uuid */
104
+ id: string;
105
+ name: string;
106
+ text: string;
107
+ data?: {
108
+ arguments?: {
109
+ [key: string]: {
110
+ type: string;
111
+ displayName?: string | null;
112
+ helpText?: string | null;
113
+ default?: string | null;
114
+ };
115
+ } | null;
116
+ metadata?: unknown;
117
+ } | null;
118
+ parameterTypes: string[];
119
+ }[];
120
+ };
99
121
  unstable_ai?: {
100
122
  generateUrl: string;
101
123
  metadataUrl?: string;
@@ -119,26 +141,6 @@ interface paths$1 {
119
141
  } | null;
120
142
  parameterTypes: string[];
121
143
  }[];
122
- ai?: {
123
- prompts?: {
124
- /** Format: uuid */
125
- id: string;
126
- name: string;
127
- text: string;
128
- data?: {
129
- arguments?: {
130
- [key: string]: {
131
- type: string;
132
- displayName?: string | null;
133
- helpText?: string | null;
134
- default?: string | null;
135
- };
136
- } | null;
137
- metadata?: unknown;
138
- } | null;
139
- parameterTypes: string[];
140
- }[];
141
- };
142
144
  }[];
143
145
  };
144
146
  };
@@ -229,6 +231,28 @@ interface paths$1 {
229
231
  unstable_assetLibrary?: {
230
232
  url: string;
231
233
  };
234
+ ai?: {
235
+ generateUrl: string;
236
+ metadataUrl?: string;
237
+ prompts?: {
238
+ /** Format: uuid */
239
+ id: string;
240
+ name: string;
241
+ text: string;
242
+ data?: {
243
+ arguments?: {
244
+ [key: string]: {
245
+ type: string;
246
+ displayName?: string | null;
247
+ helpText?: string | null;
248
+ default?: string | null;
249
+ };
250
+ } | null;
251
+ metadata?: unknown;
252
+ } | null;
253
+ parameterTypes: string[];
254
+ }[];
255
+ };
232
256
  unstable_ai?: {
233
257
  generateUrl: string;
234
258
  metadataUrl?: string;
@@ -252,26 +276,6 @@ interface paths$1 {
252
276
  } | null;
253
277
  parameterTypes: string[];
254
278
  }[];
255
- ai?: {
256
- prompts?: {
257
- /** Format: uuid */
258
- id: string;
259
- name: string;
260
- text: string;
261
- data?: {
262
- arguments?: {
263
- [key: string]: {
264
- type: string;
265
- displayName?: string | null;
266
- helpText?: string | null;
267
- default?: string | null;
268
- };
269
- } | null;
270
- metadata?: unknown;
271
- } | null;
272
- parameterTypes: string[];
273
- }[];
274
- };
275
279
  };
276
280
  };
277
281
  };
@@ -361,6 +365,28 @@ interface paths$1 {
361
365
  unstable_assetLibrary?: {
362
366
  url: string;
363
367
  };
368
+ ai?: {
369
+ generateUrl: string;
370
+ metadataUrl?: string;
371
+ prompts?: {
372
+ /** Format: uuid */
373
+ id: string;
374
+ name: string;
375
+ text: string;
376
+ data?: {
377
+ arguments?: {
378
+ [key: string]: {
379
+ type: string;
380
+ displayName?: string | null;
381
+ helpText?: string | null;
382
+ default?: string | null;
383
+ };
384
+ } | null;
385
+ metadata?: unknown;
386
+ } | null;
387
+ parameterTypes: string[];
388
+ }[];
389
+ };
364
390
  unstable_ai?: {
365
391
  generateUrl: string;
366
392
  metadataUrl?: string;
@@ -384,26 +410,6 @@ interface paths$1 {
384
410
  } | null;
385
411
  parameterTypes: string[];
386
412
  }[];
387
- ai?: {
388
- prompts?: {
389
- /** Format: uuid */
390
- id: string;
391
- name: string;
392
- text: string;
393
- data?: {
394
- arguments?: {
395
- [key: string]: {
396
- type: string;
397
- displayName?: string | null;
398
- helpText?: string | null;
399
- default?: string | null;
400
- };
401
- } | null;
402
- metadata?: unknown;
403
- } | null;
404
- parameterTypes: string[];
405
- }[];
406
- };
407
413
  };
408
414
  };
409
415
  };
@@ -742,6 +748,27 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
742
748
  unstable_assetLibrary?: {
743
749
  url: string;
744
750
  } | undefined;
751
+ ai?: {
752
+ generateUrl: string;
753
+ metadataUrl?: string | undefined;
754
+ prompts?: {
755
+ id: string;
756
+ name: string;
757
+ text: string;
758
+ data?: {
759
+ arguments?: {
760
+ [key: string]: {
761
+ type: string;
762
+ displayName?: string | null | undefined;
763
+ helpText?: string | null | undefined;
764
+ default?: string | null | undefined;
765
+ };
766
+ } | null | undefined;
767
+ metadata?: unknown;
768
+ } | null | undefined;
769
+ parameterTypes: string[];
770
+ }[] | undefined;
771
+ } | undefined;
745
772
  unstable_ai?: {
746
773
  generateUrl: string;
747
774
  metadataUrl?: string | undefined;
@@ -764,25 +791,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
764
791
  } | null | undefined;
765
792
  parameterTypes: string[];
766
793
  }[] | undefined;
767
- ai?: {
768
- prompts?: {
769
- id: string;
770
- name: string;
771
- text: string;
772
- data?: {
773
- arguments?: {
774
- [key: string]: {
775
- type: string;
776
- displayName?: string | null | undefined;
777
- helpText?: string | null | undefined;
778
- default?: string | null | undefined;
779
- };
780
- } | null | undefined;
781
- metadata?: unknown;
782
- } | null | undefined;
783
- parameterTypes: string[];
784
- }[] | undefined;
785
- } | undefined;
786
794
  }>;
787
795
  /** Deletes a mesh app from a team */
788
796
  remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
@@ -1114,7 +1122,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
1114
1122
  /**
1115
1123
  * Known location types that can be passed to a mesh location
1116
1124
  */
1117
- type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
1125
+ type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
1118
1126
  type SetValueOptions = ValidationResult;
1119
1127
  type SetValueMessage = {
1120
1128
  uniformMeshLocationValue: unknown;
@@ -1151,8 +1159,8 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
1151
1159
  type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
1152
1160
  settings: TIntegrationConfiguration;
1153
1161
  };
1154
- type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
1155
- type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
1162
+ type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
1163
+ type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
1156
1164
 
1157
1165
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
1158
1166
  /** Settings defined at the integration level (arbitrary type used on settings location) */
package/dist/index.d.ts CHANGED
@@ -96,6 +96,28 @@ interface paths$1 {
96
96
  unstable_assetLibrary?: {
97
97
  url: string;
98
98
  };
99
+ ai?: {
100
+ generateUrl: string;
101
+ metadataUrl?: string;
102
+ prompts?: {
103
+ /** Format: uuid */
104
+ id: string;
105
+ name: string;
106
+ text: string;
107
+ data?: {
108
+ arguments?: {
109
+ [key: string]: {
110
+ type: string;
111
+ displayName?: string | null;
112
+ helpText?: string | null;
113
+ default?: string | null;
114
+ };
115
+ } | null;
116
+ metadata?: unknown;
117
+ } | null;
118
+ parameterTypes: string[];
119
+ }[];
120
+ };
99
121
  unstable_ai?: {
100
122
  generateUrl: string;
101
123
  metadataUrl?: string;
@@ -119,26 +141,6 @@ interface paths$1 {
119
141
  } | null;
120
142
  parameterTypes: string[];
121
143
  }[];
122
- ai?: {
123
- prompts?: {
124
- /** Format: uuid */
125
- id: string;
126
- name: string;
127
- text: string;
128
- data?: {
129
- arguments?: {
130
- [key: string]: {
131
- type: string;
132
- displayName?: string | null;
133
- helpText?: string | null;
134
- default?: string | null;
135
- };
136
- } | null;
137
- metadata?: unknown;
138
- } | null;
139
- parameterTypes: string[];
140
- }[];
141
- };
142
144
  }[];
143
145
  };
144
146
  };
@@ -229,6 +231,28 @@ interface paths$1 {
229
231
  unstable_assetLibrary?: {
230
232
  url: string;
231
233
  };
234
+ ai?: {
235
+ generateUrl: string;
236
+ metadataUrl?: string;
237
+ prompts?: {
238
+ /** Format: uuid */
239
+ id: string;
240
+ name: string;
241
+ text: string;
242
+ data?: {
243
+ arguments?: {
244
+ [key: string]: {
245
+ type: string;
246
+ displayName?: string | null;
247
+ helpText?: string | null;
248
+ default?: string | null;
249
+ };
250
+ } | null;
251
+ metadata?: unknown;
252
+ } | null;
253
+ parameterTypes: string[];
254
+ }[];
255
+ };
232
256
  unstable_ai?: {
233
257
  generateUrl: string;
234
258
  metadataUrl?: string;
@@ -252,26 +276,6 @@ interface paths$1 {
252
276
  } | null;
253
277
  parameterTypes: string[];
254
278
  }[];
255
- ai?: {
256
- prompts?: {
257
- /** Format: uuid */
258
- id: string;
259
- name: string;
260
- text: string;
261
- data?: {
262
- arguments?: {
263
- [key: string]: {
264
- type: string;
265
- displayName?: string | null;
266
- helpText?: string | null;
267
- default?: string | null;
268
- };
269
- } | null;
270
- metadata?: unknown;
271
- } | null;
272
- parameterTypes: string[];
273
- }[];
274
- };
275
279
  };
276
280
  };
277
281
  };
@@ -361,6 +365,28 @@ interface paths$1 {
361
365
  unstable_assetLibrary?: {
362
366
  url: string;
363
367
  };
368
+ ai?: {
369
+ generateUrl: string;
370
+ metadataUrl?: string;
371
+ prompts?: {
372
+ /** Format: uuid */
373
+ id: string;
374
+ name: string;
375
+ text: string;
376
+ data?: {
377
+ arguments?: {
378
+ [key: string]: {
379
+ type: string;
380
+ displayName?: string | null;
381
+ helpText?: string | null;
382
+ default?: string | null;
383
+ };
384
+ } | null;
385
+ metadata?: unknown;
386
+ } | null;
387
+ parameterTypes: string[];
388
+ }[];
389
+ };
364
390
  unstable_ai?: {
365
391
  generateUrl: string;
366
392
  metadataUrl?: string;
@@ -384,26 +410,6 @@ interface paths$1 {
384
410
  } | null;
385
411
  parameterTypes: string[];
386
412
  }[];
387
- ai?: {
388
- prompts?: {
389
- /** Format: uuid */
390
- id: string;
391
- name: string;
392
- text: string;
393
- data?: {
394
- arguments?: {
395
- [key: string]: {
396
- type: string;
397
- displayName?: string | null;
398
- helpText?: string | null;
399
- default?: string | null;
400
- };
401
- } | null;
402
- metadata?: unknown;
403
- } | null;
404
- parameterTypes: string[];
405
- }[];
406
- };
407
413
  };
408
414
  };
409
415
  };
@@ -742,6 +748,27 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
742
748
  unstable_assetLibrary?: {
743
749
  url: string;
744
750
  } | undefined;
751
+ ai?: {
752
+ generateUrl: string;
753
+ metadataUrl?: string | undefined;
754
+ prompts?: {
755
+ id: string;
756
+ name: string;
757
+ text: string;
758
+ data?: {
759
+ arguments?: {
760
+ [key: string]: {
761
+ type: string;
762
+ displayName?: string | null | undefined;
763
+ helpText?: string | null | undefined;
764
+ default?: string | null | undefined;
765
+ };
766
+ } | null | undefined;
767
+ metadata?: unknown;
768
+ } | null | undefined;
769
+ parameterTypes: string[];
770
+ }[] | undefined;
771
+ } | undefined;
745
772
  unstable_ai?: {
746
773
  generateUrl: string;
747
774
  metadataUrl?: string | undefined;
@@ -764,25 +791,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
764
791
  } | null | undefined;
765
792
  parameterTypes: string[];
766
793
  }[] | undefined;
767
- ai?: {
768
- prompts?: {
769
- id: string;
770
- name: string;
771
- text: string;
772
- data?: {
773
- arguments?: {
774
- [key: string]: {
775
- type: string;
776
- displayName?: string | null | undefined;
777
- helpText?: string | null | undefined;
778
- default?: string | null | undefined;
779
- };
780
- } | null | undefined;
781
- metadata?: unknown;
782
- } | null | undefined;
783
- parameterTypes: string[];
784
- }[] | undefined;
785
- } | undefined;
786
794
  }>;
787
795
  /** Deletes a mesh app from a team */
788
796
  remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
@@ -1114,7 +1122,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
1114
1122
  /**
1115
1123
  * Known location types that can be passed to a mesh location
1116
1124
  */
1117
- type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
1125
+ type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
1118
1126
  type SetValueOptions = ValidationResult;
1119
1127
  type SetValueMessage = {
1120
1128
  uniformMeshLocationValue: unknown;
@@ -1151,8 +1159,8 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
1151
1159
  type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
1152
1160
  settings: TIntegrationConfiguration;
1153
1161
  };
1154
- type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
1155
- type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
1162
+ type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
1163
+ type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
1156
1164
 
1157
1165
  type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
1158
1166
  /** Settings defined at the integration level (arbitrary type used on settings location) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.78.0",
3
+ "version": "19.78.1",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -33,14 +33,14 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@uniformdev/canvas": "19.78.0",
37
- "@uniformdev/context": "19.78.0",
38
- "@uniformdev/project-map": "19.78.0",
36
+ "@uniformdev/canvas": "19.78.1",
37
+ "@uniformdev/context": "19.78.1",
38
+ "@uniformdev/project-map": "19.78.1",
39
39
  "imagesloaded": "^5.0.0",
40
40
  "mitt": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/imagesloaded": "^4.1.2"
44
44
  },
45
- "gitHead": "f6d26aebf403e38740acd6dc3d99bf2460079639"
45
+ "gitHead": "757c51b80cc39640bcedef7fb5334f36a00c4761"
46
46
  }