@uniformdev/mesh-sdk 19.69.0 → 19.72.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +123 -3
- package/dist/index.d.ts +123 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -93,10 +93,32 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
+
unstable_assetLibrary?: {
|
|
97
|
+
url: string;
|
|
98
|
+
};
|
|
96
99
|
unstable_ai?: {
|
|
97
100
|
generateUrl: string;
|
|
101
|
+
metadataUrl?: string;
|
|
98
102
|
};
|
|
99
103
|
};
|
|
104
|
+
unstable_prompts?: {
|
|
105
|
+
/** Format: uuid */
|
|
106
|
+
id: string;
|
|
107
|
+
name: string;
|
|
108
|
+
text: string;
|
|
109
|
+
data?: {
|
|
110
|
+
arguments?: {
|
|
111
|
+
[key: string]: {
|
|
112
|
+
type: string;
|
|
113
|
+
displayName?: string | null;
|
|
114
|
+
helpText?: string | null;
|
|
115
|
+
default?: string | null;
|
|
116
|
+
};
|
|
117
|
+
} | null;
|
|
118
|
+
metadata?: unknown;
|
|
119
|
+
} | null;
|
|
120
|
+
parameterTypes: string[];
|
|
121
|
+
}[];
|
|
100
122
|
}[];
|
|
101
123
|
};
|
|
102
124
|
};
|
|
@@ -184,10 +206,32 @@ interface paths$1 {
|
|
|
184
206
|
};
|
|
185
207
|
badgeIconUrl?: string;
|
|
186
208
|
}[];
|
|
209
|
+
unstable_assetLibrary?: {
|
|
210
|
+
url: string;
|
|
211
|
+
};
|
|
187
212
|
unstable_ai?: {
|
|
188
213
|
generateUrl: string;
|
|
214
|
+
metadataUrl?: string;
|
|
189
215
|
};
|
|
190
216
|
};
|
|
217
|
+
unstable_prompts?: {
|
|
218
|
+
/** Format: uuid */
|
|
219
|
+
id: string;
|
|
220
|
+
name: string;
|
|
221
|
+
text: string;
|
|
222
|
+
data?: {
|
|
223
|
+
arguments?: {
|
|
224
|
+
[key: string]: {
|
|
225
|
+
type: string;
|
|
226
|
+
displayName?: string | null;
|
|
227
|
+
helpText?: string | null;
|
|
228
|
+
default?: string | null;
|
|
229
|
+
};
|
|
230
|
+
} | null;
|
|
231
|
+
metadata?: unknown;
|
|
232
|
+
} | null;
|
|
233
|
+
parameterTypes: string[];
|
|
234
|
+
}[];
|
|
191
235
|
};
|
|
192
236
|
};
|
|
193
237
|
};
|
|
@@ -274,10 +318,32 @@ interface paths$1 {
|
|
|
274
318
|
};
|
|
275
319
|
badgeIconUrl?: string;
|
|
276
320
|
}[];
|
|
321
|
+
unstable_assetLibrary?: {
|
|
322
|
+
url: string;
|
|
323
|
+
};
|
|
277
324
|
unstable_ai?: {
|
|
278
325
|
generateUrl: string;
|
|
326
|
+
metadataUrl?: string;
|
|
279
327
|
};
|
|
280
328
|
};
|
|
329
|
+
unstable_prompts?: {
|
|
330
|
+
/** Format: uuid */
|
|
331
|
+
id: string;
|
|
332
|
+
name: string;
|
|
333
|
+
text: string;
|
|
334
|
+
data?: {
|
|
335
|
+
arguments?: {
|
|
336
|
+
[key: string]: {
|
|
337
|
+
type: string;
|
|
338
|
+
displayName?: string | null;
|
|
339
|
+
helpText?: string | null;
|
|
340
|
+
default?: string | null;
|
|
341
|
+
};
|
|
342
|
+
} | null;
|
|
343
|
+
metadata?: unknown;
|
|
344
|
+
} | null;
|
|
345
|
+
parameterTypes: string[];
|
|
346
|
+
}[];
|
|
281
347
|
};
|
|
282
348
|
};
|
|
283
349
|
};
|
|
@@ -613,10 +679,31 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
613
679
|
} | undefined;
|
|
614
680
|
badgeIconUrl?: string | undefined;
|
|
615
681
|
}[] | undefined;
|
|
682
|
+
unstable_assetLibrary?: {
|
|
683
|
+
url: string;
|
|
684
|
+
} | undefined;
|
|
616
685
|
unstable_ai?: {
|
|
617
686
|
generateUrl: string;
|
|
687
|
+
metadataUrl?: string | undefined;
|
|
618
688
|
} | undefined;
|
|
619
689
|
};
|
|
690
|
+
unstable_prompts?: {
|
|
691
|
+
id: string;
|
|
692
|
+
name: string;
|
|
693
|
+
text: string;
|
|
694
|
+
data?: {
|
|
695
|
+
arguments?: {
|
|
696
|
+
[key: string]: {
|
|
697
|
+
type: string;
|
|
698
|
+
displayName?: string | null | undefined;
|
|
699
|
+
helpText?: string | null | undefined;
|
|
700
|
+
default?: string | null | undefined;
|
|
701
|
+
};
|
|
702
|
+
} | null | undefined;
|
|
703
|
+
metadata?: unknown;
|
|
704
|
+
} | null | undefined;
|
|
705
|
+
parameterTypes: string[];
|
|
706
|
+
}[] | undefined;
|
|
620
707
|
}>;
|
|
621
708
|
/** Deletes a mesh app from a team */
|
|
622
709
|
remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
|
|
@@ -638,6 +725,35 @@ declare class IntegrationInstallationClient extends ApiClient {
|
|
|
638
725
|
remove(body: ExceptProject<IntegrationInstallationDeleteParameters>): Promise<void>;
|
|
639
726
|
}
|
|
640
727
|
|
|
728
|
+
type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
729
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
730
|
+
settings: TIntegrationConfiguration;
|
|
731
|
+
/** The Uniform project ID */
|
|
732
|
+
projectId: string;
|
|
733
|
+
/** The current Uniform integration source ID */
|
|
734
|
+
sourceId: string;
|
|
735
|
+
};
|
|
736
|
+
type AssetParamValue = AssetParamValueItem[];
|
|
737
|
+
type AssetParamValueItem = {
|
|
738
|
+
id: string;
|
|
739
|
+
url: string;
|
|
740
|
+
type?: string;
|
|
741
|
+
/**
|
|
742
|
+
* Internal Uniform source ID or
|
|
743
|
+
* dataType ID of the global integration library
|
|
744
|
+
* which created this asset item
|
|
745
|
+
*/
|
|
746
|
+
source?: string;
|
|
747
|
+
title?: string;
|
|
748
|
+
description?: string;
|
|
749
|
+
mediaType?: string;
|
|
750
|
+
width?: number;
|
|
751
|
+
height?: number;
|
|
752
|
+
size?: number;
|
|
753
|
+
custom?: Record<string, unknown>;
|
|
754
|
+
};
|
|
755
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
|
|
756
|
+
|
|
641
757
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
642
758
|
type DataConnectorInfo = {
|
|
643
759
|
type: string;
|
|
@@ -730,7 +846,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
730
846
|
* Defines methods used for interacting with a Mesh location
|
|
731
847
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
732
848
|
*/
|
|
733
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue
|
|
849
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
734
850
|
interface MeshContextData {
|
|
735
851
|
locationKey: string;
|
|
736
852
|
locationType: MeshLocationTypes;
|
|
@@ -919,7 +1035,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
919
1035
|
/**
|
|
920
1036
|
* Known location types that can be passed to a mesh location
|
|
921
1037
|
*/
|
|
922
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
1038
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
923
1039
|
type SetValueOptions = ValidationResult;
|
|
924
1040
|
type SetValueMessage = {
|
|
925
1041
|
uniformMeshLocationValue: unknown;
|
|
@@ -953,7 +1069,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
953
1069
|
prompt: string;
|
|
954
1070
|
promptMetadata: Record<string, unknown>;
|
|
955
1071
|
};
|
|
1072
|
+
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1073
|
+
settings: TIntegrationConfiguration;
|
|
1074
|
+
};
|
|
956
1075
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
|
|
1076
|
+
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
|
|
957
1077
|
|
|
958
1078
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
959
1079
|
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
@@ -1061,4 +1181,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1061
1181
|
autoResizingDisabled?: boolean;
|
|
1062
1182
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1063
1183
|
|
|
1064
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, 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 };
|
|
1184
|
+
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,10 +93,32 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
+
unstable_assetLibrary?: {
|
|
97
|
+
url: string;
|
|
98
|
+
};
|
|
96
99
|
unstable_ai?: {
|
|
97
100
|
generateUrl: string;
|
|
101
|
+
metadataUrl?: string;
|
|
98
102
|
};
|
|
99
103
|
};
|
|
104
|
+
unstable_prompts?: {
|
|
105
|
+
/** Format: uuid */
|
|
106
|
+
id: string;
|
|
107
|
+
name: string;
|
|
108
|
+
text: string;
|
|
109
|
+
data?: {
|
|
110
|
+
arguments?: {
|
|
111
|
+
[key: string]: {
|
|
112
|
+
type: string;
|
|
113
|
+
displayName?: string | null;
|
|
114
|
+
helpText?: string | null;
|
|
115
|
+
default?: string | null;
|
|
116
|
+
};
|
|
117
|
+
} | null;
|
|
118
|
+
metadata?: unknown;
|
|
119
|
+
} | null;
|
|
120
|
+
parameterTypes: string[];
|
|
121
|
+
}[];
|
|
100
122
|
}[];
|
|
101
123
|
};
|
|
102
124
|
};
|
|
@@ -184,10 +206,32 @@ interface paths$1 {
|
|
|
184
206
|
};
|
|
185
207
|
badgeIconUrl?: string;
|
|
186
208
|
}[];
|
|
209
|
+
unstable_assetLibrary?: {
|
|
210
|
+
url: string;
|
|
211
|
+
};
|
|
187
212
|
unstable_ai?: {
|
|
188
213
|
generateUrl: string;
|
|
214
|
+
metadataUrl?: string;
|
|
189
215
|
};
|
|
190
216
|
};
|
|
217
|
+
unstable_prompts?: {
|
|
218
|
+
/** Format: uuid */
|
|
219
|
+
id: string;
|
|
220
|
+
name: string;
|
|
221
|
+
text: string;
|
|
222
|
+
data?: {
|
|
223
|
+
arguments?: {
|
|
224
|
+
[key: string]: {
|
|
225
|
+
type: string;
|
|
226
|
+
displayName?: string | null;
|
|
227
|
+
helpText?: string | null;
|
|
228
|
+
default?: string | null;
|
|
229
|
+
};
|
|
230
|
+
} | null;
|
|
231
|
+
metadata?: unknown;
|
|
232
|
+
} | null;
|
|
233
|
+
parameterTypes: string[];
|
|
234
|
+
}[];
|
|
191
235
|
};
|
|
192
236
|
};
|
|
193
237
|
};
|
|
@@ -274,10 +318,32 @@ interface paths$1 {
|
|
|
274
318
|
};
|
|
275
319
|
badgeIconUrl?: string;
|
|
276
320
|
}[];
|
|
321
|
+
unstable_assetLibrary?: {
|
|
322
|
+
url: string;
|
|
323
|
+
};
|
|
277
324
|
unstable_ai?: {
|
|
278
325
|
generateUrl: string;
|
|
326
|
+
metadataUrl?: string;
|
|
279
327
|
};
|
|
280
328
|
};
|
|
329
|
+
unstable_prompts?: {
|
|
330
|
+
/** Format: uuid */
|
|
331
|
+
id: string;
|
|
332
|
+
name: string;
|
|
333
|
+
text: string;
|
|
334
|
+
data?: {
|
|
335
|
+
arguments?: {
|
|
336
|
+
[key: string]: {
|
|
337
|
+
type: string;
|
|
338
|
+
displayName?: string | null;
|
|
339
|
+
helpText?: string | null;
|
|
340
|
+
default?: string | null;
|
|
341
|
+
};
|
|
342
|
+
} | null;
|
|
343
|
+
metadata?: unknown;
|
|
344
|
+
} | null;
|
|
345
|
+
parameterTypes: string[];
|
|
346
|
+
}[];
|
|
281
347
|
};
|
|
282
348
|
};
|
|
283
349
|
};
|
|
@@ -613,10 +679,31 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
613
679
|
} | undefined;
|
|
614
680
|
badgeIconUrl?: string | undefined;
|
|
615
681
|
}[] | undefined;
|
|
682
|
+
unstable_assetLibrary?: {
|
|
683
|
+
url: string;
|
|
684
|
+
} | undefined;
|
|
616
685
|
unstable_ai?: {
|
|
617
686
|
generateUrl: string;
|
|
687
|
+
metadataUrl?: string | undefined;
|
|
618
688
|
} | undefined;
|
|
619
689
|
};
|
|
690
|
+
unstable_prompts?: {
|
|
691
|
+
id: string;
|
|
692
|
+
name: string;
|
|
693
|
+
text: string;
|
|
694
|
+
data?: {
|
|
695
|
+
arguments?: {
|
|
696
|
+
[key: string]: {
|
|
697
|
+
type: string;
|
|
698
|
+
displayName?: string | null | undefined;
|
|
699
|
+
helpText?: string | null | undefined;
|
|
700
|
+
default?: string | null | undefined;
|
|
701
|
+
};
|
|
702
|
+
} | null | undefined;
|
|
703
|
+
metadata?: unknown;
|
|
704
|
+
} | null | undefined;
|
|
705
|
+
parameterTypes: string[];
|
|
706
|
+
}[] | undefined;
|
|
620
707
|
}>;
|
|
621
708
|
/** Deletes a mesh app from a team */
|
|
622
709
|
remove(body: Omit<IntegrationDefinitionDeleteParameters, 'teamId'>): Promise<void>;
|
|
@@ -638,6 +725,35 @@ declare class IntegrationInstallationClient extends ApiClient {
|
|
|
638
725
|
remove(body: ExceptProject<IntegrationInstallationDeleteParameters>): Promise<void>;
|
|
639
726
|
}
|
|
640
727
|
|
|
728
|
+
type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
729
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
730
|
+
settings: TIntegrationConfiguration;
|
|
731
|
+
/** The Uniform project ID */
|
|
732
|
+
projectId: string;
|
|
733
|
+
/** The current Uniform integration source ID */
|
|
734
|
+
sourceId: string;
|
|
735
|
+
};
|
|
736
|
+
type AssetParamValue = AssetParamValueItem[];
|
|
737
|
+
type AssetParamValueItem = {
|
|
738
|
+
id: string;
|
|
739
|
+
url: string;
|
|
740
|
+
type?: string;
|
|
741
|
+
/**
|
|
742
|
+
* Internal Uniform source ID or
|
|
743
|
+
* dataType ID of the global integration library
|
|
744
|
+
* which created this asset item
|
|
745
|
+
*/
|
|
746
|
+
source?: string;
|
|
747
|
+
title?: string;
|
|
748
|
+
description?: string;
|
|
749
|
+
mediaType?: string;
|
|
750
|
+
width?: number;
|
|
751
|
+
height?: number;
|
|
752
|
+
size?: number;
|
|
753
|
+
custom?: Record<string, unknown>;
|
|
754
|
+
};
|
|
755
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
|
|
756
|
+
|
|
641
757
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
642
758
|
type DataConnectorInfo = {
|
|
643
759
|
type: string;
|
|
@@ -730,7 +846,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
730
846
|
* Defines methods used for interacting with a Mesh location
|
|
731
847
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
732
848
|
*/
|
|
733
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue
|
|
849
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
734
850
|
interface MeshContextData {
|
|
735
851
|
locationKey: string;
|
|
736
852
|
locationType: MeshLocationTypes;
|
|
@@ -919,7 +1035,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
919
1035
|
/**
|
|
920
1036
|
* Known location types that can be passed to a mesh location
|
|
921
1037
|
*/
|
|
922
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
1038
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
923
1039
|
type SetValueOptions = ValidationResult;
|
|
924
1040
|
type SetValueMessage = {
|
|
925
1041
|
uniformMeshLocationValue: unknown;
|
|
@@ -953,7 +1069,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
953
1069
|
prompt: string;
|
|
954
1070
|
promptMetadata: Record<string, unknown>;
|
|
955
1071
|
};
|
|
1072
|
+
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1073
|
+
settings: TIntegrationConfiguration;
|
|
1074
|
+
};
|
|
956
1075
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
|
|
1076
|
+
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'unstable_ai'>;
|
|
957
1077
|
|
|
958
1078
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
959
1079
|
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
@@ -1061,4 +1181,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1061
1181
|
autoResizingDisabled?: boolean;
|
|
1062
1182
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1063
1183
|
|
|
1064
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, 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 };
|
|
1184
|
+
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.
|
|
3
|
+
"version": "19.72.2-alpha.0+7c41d864e",
|
|
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.
|
|
37
|
-
"@uniformdev/context": "19.
|
|
38
|
-
"@uniformdev/project-map": "19.
|
|
36
|
+
"@uniformdev/canvas": "19.72.2-alpha.0+7c41d864e",
|
|
37
|
+
"@uniformdev/context": "19.72.2-alpha.0+7c41d864e",
|
|
38
|
+
"@uniformdev/project-map": "19.72.2-alpha.0+7c41d864e",
|
|
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": "7c41d864eb265bf902149f75d45ad2414ddb8c0e"
|
|
46
46
|
}
|