@uniformdev/mesh-sdk 19.61.1-alpha.10 → 19.61.1-alpha.18
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 +121 -7
- package/dist/index.d.ts +121 -7
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -93,13 +93,37 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
-
|
|
96
|
+
unstable_assetLibrary?: {
|
|
97
97
|
url: string;
|
|
98
|
+
dynamicAssets?: {
|
|
99
|
+
dataConnectorId: string;
|
|
100
|
+
assetsListArchetypeId: string;
|
|
101
|
+
singleAssetArchetypeId: string;
|
|
102
|
+
};
|
|
98
103
|
};
|
|
99
104
|
unstable_ai?: {
|
|
100
105
|
generateUrl: string;
|
|
106
|
+
metadataUrl?: string;
|
|
101
107
|
};
|
|
102
108
|
};
|
|
109
|
+
unstable_prompts?: {
|
|
110
|
+
/** Format: uuid */
|
|
111
|
+
id: string;
|
|
112
|
+
name: string;
|
|
113
|
+
text: string;
|
|
114
|
+
data?: {
|
|
115
|
+
arguments?: {
|
|
116
|
+
[key: string]: {
|
|
117
|
+
type: string;
|
|
118
|
+
displayName?: string | null;
|
|
119
|
+
helpText?: string | null;
|
|
120
|
+
default?: string | null;
|
|
121
|
+
};
|
|
122
|
+
} | null;
|
|
123
|
+
metadata?: unknown;
|
|
124
|
+
} | null;
|
|
125
|
+
parameterTypes: string[];
|
|
126
|
+
}[];
|
|
103
127
|
}[];
|
|
104
128
|
};
|
|
105
129
|
};
|
|
@@ -187,13 +211,37 @@ interface paths$1 {
|
|
|
187
211
|
};
|
|
188
212
|
badgeIconUrl?: string;
|
|
189
213
|
}[];
|
|
190
|
-
|
|
214
|
+
unstable_assetLibrary?: {
|
|
191
215
|
url: string;
|
|
216
|
+
dynamicAssets?: {
|
|
217
|
+
dataConnectorId: string;
|
|
218
|
+
assetsListArchetypeId: string;
|
|
219
|
+
singleAssetArchetypeId: string;
|
|
220
|
+
};
|
|
192
221
|
};
|
|
193
222
|
unstable_ai?: {
|
|
194
223
|
generateUrl: string;
|
|
224
|
+
metadataUrl?: string;
|
|
195
225
|
};
|
|
196
226
|
};
|
|
227
|
+
unstable_prompts?: {
|
|
228
|
+
/** Format: uuid */
|
|
229
|
+
id: string;
|
|
230
|
+
name: string;
|
|
231
|
+
text: string;
|
|
232
|
+
data?: {
|
|
233
|
+
arguments?: {
|
|
234
|
+
[key: string]: {
|
|
235
|
+
type: string;
|
|
236
|
+
displayName?: string | null;
|
|
237
|
+
helpText?: string | null;
|
|
238
|
+
default?: string | null;
|
|
239
|
+
};
|
|
240
|
+
} | null;
|
|
241
|
+
metadata?: unknown;
|
|
242
|
+
} | null;
|
|
243
|
+
parameterTypes: string[];
|
|
244
|
+
}[];
|
|
197
245
|
};
|
|
198
246
|
};
|
|
199
247
|
};
|
|
@@ -280,13 +328,37 @@ interface paths$1 {
|
|
|
280
328
|
};
|
|
281
329
|
badgeIconUrl?: string;
|
|
282
330
|
}[];
|
|
283
|
-
|
|
331
|
+
unstable_assetLibrary?: {
|
|
284
332
|
url: string;
|
|
333
|
+
dynamicAssets?: {
|
|
334
|
+
dataConnectorId: string;
|
|
335
|
+
assetsListArchetypeId: string;
|
|
336
|
+
singleAssetArchetypeId: string;
|
|
337
|
+
};
|
|
285
338
|
};
|
|
286
339
|
unstable_ai?: {
|
|
287
340
|
generateUrl: string;
|
|
341
|
+
metadataUrl?: string;
|
|
288
342
|
};
|
|
289
343
|
};
|
|
344
|
+
unstable_prompts?: {
|
|
345
|
+
/** Format: uuid */
|
|
346
|
+
id: string;
|
|
347
|
+
name: string;
|
|
348
|
+
text: string;
|
|
349
|
+
data?: {
|
|
350
|
+
arguments?: {
|
|
351
|
+
[key: string]: {
|
|
352
|
+
type: string;
|
|
353
|
+
displayName?: string | null;
|
|
354
|
+
helpText?: string | null;
|
|
355
|
+
default?: string | null;
|
|
356
|
+
};
|
|
357
|
+
} | null;
|
|
358
|
+
metadata?: unknown;
|
|
359
|
+
} | null;
|
|
360
|
+
parameterTypes: string[];
|
|
361
|
+
}[];
|
|
290
362
|
};
|
|
291
363
|
};
|
|
292
364
|
};
|
|
@@ -622,13 +694,36 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
622
694
|
} | undefined;
|
|
623
695
|
badgeIconUrl?: string | undefined;
|
|
624
696
|
}[] | undefined;
|
|
625
|
-
|
|
697
|
+
unstable_assetLibrary?: {
|
|
626
698
|
url: string;
|
|
699
|
+
dynamicAssets?: {
|
|
700
|
+
dataConnectorId: string;
|
|
701
|
+
assetsListArchetypeId: string;
|
|
702
|
+
singleAssetArchetypeId: string;
|
|
703
|
+
} | undefined;
|
|
627
704
|
} | undefined;
|
|
628
705
|
unstable_ai?: {
|
|
629
706
|
generateUrl: string;
|
|
707
|
+
metadataUrl?: string | undefined;
|
|
630
708
|
} | undefined;
|
|
631
709
|
};
|
|
710
|
+
unstable_prompts?: {
|
|
711
|
+
id: string;
|
|
712
|
+
name: string;
|
|
713
|
+
text: string;
|
|
714
|
+
data?: {
|
|
715
|
+
arguments?: {
|
|
716
|
+
[key: string]: {
|
|
717
|
+
type: string;
|
|
718
|
+
displayName?: string | null | undefined;
|
|
719
|
+
helpText?: string | null | undefined;
|
|
720
|
+
default?: string | null | undefined;
|
|
721
|
+
};
|
|
722
|
+
} | null | undefined;
|
|
723
|
+
metadata?: unknown;
|
|
724
|
+
} | null | undefined;
|
|
725
|
+
parameterTypes: string[];
|
|
726
|
+
}[] | undefined;
|
|
632
727
|
}>;
|
|
633
728
|
/** Deletes a mesh app from a team */
|
|
634
729
|
remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
|
|
@@ -655,20 +750,35 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
655
750
|
settings: TIntegrationConfiguration;
|
|
656
751
|
/** The Uniform project ID */
|
|
657
752
|
projectId: string;
|
|
753
|
+
/** The current Uniform integration source ID */
|
|
754
|
+
sourceId: string;
|
|
755
|
+
/**
|
|
756
|
+
* Asset Library location is used in two places: Global Asset Library and Asset Parameter.
|
|
757
|
+
* This flag is necessary to distinguish between the two, because Parameter context requires
|
|
758
|
+
* "value" and "setValue" properties to manipulate the value of the parameter.
|
|
759
|
+
*/
|
|
760
|
+
isAssetParameterContext: boolean;
|
|
658
761
|
};
|
|
762
|
+
type AssetParamValue = AssetParamValueItem[];
|
|
659
763
|
type AssetParamValueItem = {
|
|
660
764
|
id: string;
|
|
661
765
|
url: string;
|
|
662
766
|
type?: string;
|
|
767
|
+
/**
|
|
768
|
+
* Internal Uniform source ID or
|
|
769
|
+
* dataType ID of the global integration library
|
|
770
|
+
* which created this asset item
|
|
771
|
+
*/
|
|
663
772
|
source?: string;
|
|
664
773
|
title?: string;
|
|
665
774
|
description?: string;
|
|
666
775
|
mediaType?: string;
|
|
667
776
|
width?: number;
|
|
668
777
|
height?: number;
|
|
778
|
+
size?: number;
|
|
669
779
|
custom?: Record<string, unknown>;
|
|
670
780
|
};
|
|
671
|
-
type AssetLibraryLocation = MeshLocationCore<
|
|
781
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
|
|
672
782
|
|
|
673
783
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
674
784
|
type DataConnectorInfo = {
|
|
@@ -762,7 +872,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
762
872
|
* Defines methods used for interacting with a Mesh location
|
|
763
873
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
764
874
|
*/
|
|
765
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue
|
|
875
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
766
876
|
interface MeshContextData {
|
|
767
877
|
locationKey: string;
|
|
768
878
|
locationType: MeshLocationTypes;
|
|
@@ -985,7 +1095,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
985
1095
|
prompt: string;
|
|
986
1096
|
promptMetadata: Record<string, unknown>;
|
|
987
1097
|
};
|
|
1098
|
+
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1099
|
+
settings: TIntegrationConfiguration;
|
|
1100
|
+
};
|
|
988
1101
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
|
|
1102
|
+
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
|
|
989
1103
|
|
|
990
1104
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
991
1105
|
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
@@ -1093,4 +1207,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1093
1207
|
autoResizingDisabled?: boolean;
|
|
1094
1208
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1095
1209
|
|
|
1096
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
|
1210
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, PromptSettingsLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
package/dist/index.d.ts
CHANGED
|
@@ -93,13 +93,37 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
-
|
|
96
|
+
unstable_assetLibrary?: {
|
|
97
97
|
url: string;
|
|
98
|
+
dynamicAssets?: {
|
|
99
|
+
dataConnectorId: string;
|
|
100
|
+
assetsListArchetypeId: string;
|
|
101
|
+
singleAssetArchetypeId: string;
|
|
102
|
+
};
|
|
98
103
|
};
|
|
99
104
|
unstable_ai?: {
|
|
100
105
|
generateUrl: string;
|
|
106
|
+
metadataUrl?: string;
|
|
101
107
|
};
|
|
102
108
|
};
|
|
109
|
+
unstable_prompts?: {
|
|
110
|
+
/** Format: uuid */
|
|
111
|
+
id: string;
|
|
112
|
+
name: string;
|
|
113
|
+
text: string;
|
|
114
|
+
data?: {
|
|
115
|
+
arguments?: {
|
|
116
|
+
[key: string]: {
|
|
117
|
+
type: string;
|
|
118
|
+
displayName?: string | null;
|
|
119
|
+
helpText?: string | null;
|
|
120
|
+
default?: string | null;
|
|
121
|
+
};
|
|
122
|
+
} | null;
|
|
123
|
+
metadata?: unknown;
|
|
124
|
+
} | null;
|
|
125
|
+
parameterTypes: string[];
|
|
126
|
+
}[];
|
|
103
127
|
}[];
|
|
104
128
|
};
|
|
105
129
|
};
|
|
@@ -187,13 +211,37 @@ interface paths$1 {
|
|
|
187
211
|
};
|
|
188
212
|
badgeIconUrl?: string;
|
|
189
213
|
}[];
|
|
190
|
-
|
|
214
|
+
unstable_assetLibrary?: {
|
|
191
215
|
url: string;
|
|
216
|
+
dynamicAssets?: {
|
|
217
|
+
dataConnectorId: string;
|
|
218
|
+
assetsListArchetypeId: string;
|
|
219
|
+
singleAssetArchetypeId: string;
|
|
220
|
+
};
|
|
192
221
|
};
|
|
193
222
|
unstable_ai?: {
|
|
194
223
|
generateUrl: string;
|
|
224
|
+
metadataUrl?: string;
|
|
195
225
|
};
|
|
196
226
|
};
|
|
227
|
+
unstable_prompts?: {
|
|
228
|
+
/** Format: uuid */
|
|
229
|
+
id: string;
|
|
230
|
+
name: string;
|
|
231
|
+
text: string;
|
|
232
|
+
data?: {
|
|
233
|
+
arguments?: {
|
|
234
|
+
[key: string]: {
|
|
235
|
+
type: string;
|
|
236
|
+
displayName?: string | null;
|
|
237
|
+
helpText?: string | null;
|
|
238
|
+
default?: string | null;
|
|
239
|
+
};
|
|
240
|
+
} | null;
|
|
241
|
+
metadata?: unknown;
|
|
242
|
+
} | null;
|
|
243
|
+
parameterTypes: string[];
|
|
244
|
+
}[];
|
|
197
245
|
};
|
|
198
246
|
};
|
|
199
247
|
};
|
|
@@ -280,13 +328,37 @@ interface paths$1 {
|
|
|
280
328
|
};
|
|
281
329
|
badgeIconUrl?: string;
|
|
282
330
|
}[];
|
|
283
|
-
|
|
331
|
+
unstable_assetLibrary?: {
|
|
284
332
|
url: string;
|
|
333
|
+
dynamicAssets?: {
|
|
334
|
+
dataConnectorId: string;
|
|
335
|
+
assetsListArchetypeId: string;
|
|
336
|
+
singleAssetArchetypeId: string;
|
|
337
|
+
};
|
|
285
338
|
};
|
|
286
339
|
unstable_ai?: {
|
|
287
340
|
generateUrl: string;
|
|
341
|
+
metadataUrl?: string;
|
|
288
342
|
};
|
|
289
343
|
};
|
|
344
|
+
unstable_prompts?: {
|
|
345
|
+
/** Format: uuid */
|
|
346
|
+
id: string;
|
|
347
|
+
name: string;
|
|
348
|
+
text: string;
|
|
349
|
+
data?: {
|
|
350
|
+
arguments?: {
|
|
351
|
+
[key: string]: {
|
|
352
|
+
type: string;
|
|
353
|
+
displayName?: string | null;
|
|
354
|
+
helpText?: string | null;
|
|
355
|
+
default?: string | null;
|
|
356
|
+
};
|
|
357
|
+
} | null;
|
|
358
|
+
metadata?: unknown;
|
|
359
|
+
} | null;
|
|
360
|
+
parameterTypes: string[];
|
|
361
|
+
}[];
|
|
290
362
|
};
|
|
291
363
|
};
|
|
292
364
|
};
|
|
@@ -622,13 +694,36 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
622
694
|
} | undefined;
|
|
623
695
|
badgeIconUrl?: string | undefined;
|
|
624
696
|
}[] | undefined;
|
|
625
|
-
|
|
697
|
+
unstable_assetLibrary?: {
|
|
626
698
|
url: string;
|
|
699
|
+
dynamicAssets?: {
|
|
700
|
+
dataConnectorId: string;
|
|
701
|
+
assetsListArchetypeId: string;
|
|
702
|
+
singleAssetArchetypeId: string;
|
|
703
|
+
} | undefined;
|
|
627
704
|
} | undefined;
|
|
628
705
|
unstable_ai?: {
|
|
629
706
|
generateUrl: string;
|
|
707
|
+
metadataUrl?: string | undefined;
|
|
630
708
|
} | undefined;
|
|
631
709
|
};
|
|
710
|
+
unstable_prompts?: {
|
|
711
|
+
id: string;
|
|
712
|
+
name: string;
|
|
713
|
+
text: string;
|
|
714
|
+
data?: {
|
|
715
|
+
arguments?: {
|
|
716
|
+
[key: string]: {
|
|
717
|
+
type: string;
|
|
718
|
+
displayName?: string | null | undefined;
|
|
719
|
+
helpText?: string | null | undefined;
|
|
720
|
+
default?: string | null | undefined;
|
|
721
|
+
};
|
|
722
|
+
} | null | undefined;
|
|
723
|
+
metadata?: unknown;
|
|
724
|
+
} | null | undefined;
|
|
725
|
+
parameterTypes: string[];
|
|
726
|
+
}[] | undefined;
|
|
632
727
|
}>;
|
|
633
728
|
/** Deletes a mesh app from a team */
|
|
634
729
|
remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
|
|
@@ -655,20 +750,35 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
655
750
|
settings: TIntegrationConfiguration;
|
|
656
751
|
/** The Uniform project ID */
|
|
657
752
|
projectId: string;
|
|
753
|
+
/** The current Uniform integration source ID */
|
|
754
|
+
sourceId: string;
|
|
755
|
+
/**
|
|
756
|
+
* Asset Library location is used in two places: Global Asset Library and Asset Parameter.
|
|
757
|
+
* This flag is necessary to distinguish between the two, because Parameter context requires
|
|
758
|
+
* "value" and "setValue" properties to manipulate the value of the parameter.
|
|
759
|
+
*/
|
|
760
|
+
isAssetParameterContext: boolean;
|
|
658
761
|
};
|
|
762
|
+
type AssetParamValue = AssetParamValueItem[];
|
|
659
763
|
type AssetParamValueItem = {
|
|
660
764
|
id: string;
|
|
661
765
|
url: string;
|
|
662
766
|
type?: string;
|
|
767
|
+
/**
|
|
768
|
+
* Internal Uniform source ID or
|
|
769
|
+
* dataType ID of the global integration library
|
|
770
|
+
* which created this asset item
|
|
771
|
+
*/
|
|
663
772
|
source?: string;
|
|
664
773
|
title?: string;
|
|
665
774
|
description?: string;
|
|
666
775
|
mediaType?: string;
|
|
667
776
|
width?: number;
|
|
668
777
|
height?: number;
|
|
778
|
+
size?: number;
|
|
669
779
|
custom?: Record<string, unknown>;
|
|
670
780
|
};
|
|
671
|
-
type AssetLibraryLocation = MeshLocationCore<
|
|
781
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
|
|
672
782
|
|
|
673
783
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
674
784
|
type DataConnectorInfo = {
|
|
@@ -762,7 +872,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
762
872
|
* Defines methods used for interacting with a Mesh location
|
|
763
873
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
764
874
|
*/
|
|
765
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue
|
|
875
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
766
876
|
interface MeshContextData {
|
|
767
877
|
locationKey: string;
|
|
768
878
|
locationType: MeshLocationTypes;
|
|
@@ -985,7 +1095,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
985
1095
|
prompt: string;
|
|
986
1096
|
promptMetadata: Record<string, unknown>;
|
|
987
1097
|
};
|
|
1098
|
+
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1099
|
+
settings: TIntegrationConfiguration;
|
|
1100
|
+
};
|
|
988
1101
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
|
|
1102
|
+
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
|
|
989
1103
|
|
|
990
1104
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
991
1105
|
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
@@ -1093,4 +1207,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1093
1207
|
autoResizingDisabled?: boolean;
|
|
1094
1208
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1095
1209
|
|
|
1096
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
|
1210
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, PromptSettingsLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.61.1-alpha.
|
|
3
|
+
"version": "19.61.1-alpha.18+f26189658",
|
|
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.61.1-alpha.
|
|
37
|
-
"@uniformdev/context": "19.61.1-alpha.
|
|
38
|
-
"@uniformdev/project-map": "19.61.1-alpha.
|
|
36
|
+
"@uniformdev/canvas": "19.61.1-alpha.18+f26189658",
|
|
37
|
+
"@uniformdev/context": "19.61.1-alpha.18+f26189658",
|
|
38
|
+
"@uniformdev/project-map": "19.61.1-alpha.18+f26189658",
|
|
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": "
|
|
45
|
+
"gitHead": "f2618965881c30f1e995f45a6e880bc2f4d10ebe"
|
|
46
46
|
}
|