@uniformdev/mesh-sdk 19.51.1-alpha.10 → 19.53.1-alpha.41
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 +28 -6
- package/dist/index.d.ts +28 -6
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -29,7 +29,7 @@ interface paths$1 {
|
|
|
29
29
|
logoIconUrl?: string;
|
|
30
30
|
badgeIconUrl?: string;
|
|
31
31
|
/** @enum {string} */
|
|
32
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown";
|
|
32
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown";
|
|
33
33
|
public?: boolean;
|
|
34
34
|
baseLocationUrl?: string;
|
|
35
35
|
locations: {
|
|
@@ -93,6 +93,9 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
+
unstable_ai?: {
|
|
97
|
+
generateUrl: string;
|
|
98
|
+
};
|
|
96
99
|
};
|
|
97
100
|
}[];
|
|
98
101
|
};
|
|
@@ -117,7 +120,7 @@ interface paths$1 {
|
|
|
117
120
|
logoIconUrl?: string;
|
|
118
121
|
badgeIconUrl?: string;
|
|
119
122
|
/** @enum {string} */
|
|
120
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown";
|
|
123
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown";
|
|
121
124
|
public?: boolean;
|
|
122
125
|
baseLocationUrl?: string;
|
|
123
126
|
locations: {
|
|
@@ -181,6 +184,9 @@ interface paths$1 {
|
|
|
181
184
|
};
|
|
182
185
|
badgeIconUrl?: string;
|
|
183
186
|
}[];
|
|
187
|
+
unstable_ai?: {
|
|
188
|
+
generateUrl: string;
|
|
189
|
+
};
|
|
184
190
|
};
|
|
185
191
|
};
|
|
186
192
|
};
|
|
@@ -205,7 +211,7 @@ interface paths$1 {
|
|
|
205
211
|
logoIconUrl?: string;
|
|
206
212
|
badgeIconUrl?: string;
|
|
207
213
|
/** @enum {string} */
|
|
208
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown";
|
|
214
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown";
|
|
209
215
|
baseLocationUrl?: string;
|
|
210
216
|
locations: {
|
|
211
217
|
install?: {
|
|
@@ -268,6 +274,9 @@ interface paths$1 {
|
|
|
268
274
|
};
|
|
269
275
|
badgeIconUrl?: string;
|
|
270
276
|
}[];
|
|
277
|
+
unstable_ai?: {
|
|
278
|
+
generateUrl: string;
|
|
279
|
+
};
|
|
271
280
|
};
|
|
272
281
|
};
|
|
273
282
|
};
|
|
@@ -540,7 +549,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
540
549
|
displayName: string;
|
|
541
550
|
logoIconUrl?: string | undefined;
|
|
542
551
|
badgeIconUrl?: string | undefined;
|
|
543
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown" | undefined;
|
|
552
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown" | undefined;
|
|
544
553
|
public?: boolean | undefined;
|
|
545
554
|
baseLocationUrl?: string | undefined;
|
|
546
555
|
locations: {
|
|
@@ -604,6 +613,9 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
604
613
|
} | undefined;
|
|
605
614
|
badgeIconUrl?: string | undefined;
|
|
606
615
|
}[] | undefined;
|
|
616
|
+
unstable_ai?: {
|
|
617
|
+
generateUrl: string;
|
|
618
|
+
} | undefined;
|
|
607
619
|
};
|
|
608
620
|
}>;
|
|
609
621
|
/** Deletes a mesh app from a team */
|
|
@@ -626,6 +638,16 @@ declare class IntegrationInstallationClient extends ApiClient {
|
|
|
626
638
|
remove(body: ExceptProject<IntegrationInstallationDeleteParameters>): Promise<void>;
|
|
627
639
|
}
|
|
628
640
|
|
|
641
|
+
type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
642
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
643
|
+
settings: TIntegrationConfiguration;
|
|
644
|
+
/** The Uniform project ID */
|
|
645
|
+
projectId: string;
|
|
646
|
+
prompt: string;
|
|
647
|
+
promptMetadata: unknown;
|
|
648
|
+
};
|
|
649
|
+
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
|
|
650
|
+
|
|
629
651
|
type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
630
652
|
type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
631
653
|
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
@@ -677,7 +699,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
677
699
|
* Defines methods used for interacting with a Mesh location
|
|
678
700
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
679
701
|
*/
|
|
680
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation
|
|
702
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
681
703
|
interface MeshContextData {
|
|
682
704
|
locationKey: string;
|
|
683
705
|
locationType: MeshLocationTypes;
|
|
@@ -866,7 +888,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
866
888
|
/**
|
|
867
889
|
* Known location types that can be passed to a mesh location
|
|
868
890
|
*/
|
|
869
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource';
|
|
891
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
870
892
|
type SetValueOptions = ValidationResult;
|
|
871
893
|
type SetValueMessage = {
|
|
872
894
|
uniformMeshLocationValue: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ interface paths$1 {
|
|
|
29
29
|
logoIconUrl?: string;
|
|
30
30
|
badgeIconUrl?: string;
|
|
31
31
|
/** @enum {string} */
|
|
32
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown";
|
|
32
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown";
|
|
33
33
|
public?: boolean;
|
|
34
34
|
baseLocationUrl?: string;
|
|
35
35
|
locations: {
|
|
@@ -93,6 +93,9 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
+
unstable_ai?: {
|
|
97
|
+
generateUrl: string;
|
|
98
|
+
};
|
|
96
99
|
};
|
|
97
100
|
}[];
|
|
98
101
|
};
|
|
@@ -117,7 +120,7 @@ interface paths$1 {
|
|
|
117
120
|
logoIconUrl?: string;
|
|
118
121
|
badgeIconUrl?: string;
|
|
119
122
|
/** @enum {string} */
|
|
120
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown";
|
|
123
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown";
|
|
121
124
|
public?: boolean;
|
|
122
125
|
baseLocationUrl?: string;
|
|
123
126
|
locations: {
|
|
@@ -181,6 +184,9 @@ interface paths$1 {
|
|
|
181
184
|
};
|
|
182
185
|
badgeIconUrl?: string;
|
|
183
186
|
}[];
|
|
187
|
+
unstable_ai?: {
|
|
188
|
+
generateUrl: string;
|
|
189
|
+
};
|
|
184
190
|
};
|
|
185
191
|
};
|
|
186
192
|
};
|
|
@@ -205,7 +211,7 @@ interface paths$1 {
|
|
|
205
211
|
logoIconUrl?: string;
|
|
206
212
|
badgeIconUrl?: string;
|
|
207
213
|
/** @enum {string} */
|
|
208
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown";
|
|
214
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown";
|
|
209
215
|
baseLocationUrl?: string;
|
|
210
216
|
locations: {
|
|
211
217
|
install?: {
|
|
@@ -268,6 +274,9 @@ interface paths$1 {
|
|
|
268
274
|
};
|
|
269
275
|
badgeIconUrl?: string;
|
|
270
276
|
}[];
|
|
277
|
+
unstable_ai?: {
|
|
278
|
+
generateUrl: string;
|
|
279
|
+
};
|
|
271
280
|
};
|
|
272
281
|
};
|
|
273
282
|
};
|
|
@@ -540,7 +549,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
540
549
|
displayName: string;
|
|
541
550
|
logoIconUrl?: string | undefined;
|
|
542
551
|
badgeIconUrl?: string | undefined;
|
|
543
|
-
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unknown" | undefined;
|
|
552
|
+
category?: "analytics" | "cdn" | "classic" | "commerce" | "content" | "comingSoon" | "data" | "deprecated" | "email" | "framework" | "search" | "starters" | "uniform" | "unstable_ai" | "unknown" | undefined;
|
|
544
553
|
public?: boolean | undefined;
|
|
545
554
|
baseLocationUrl?: string | undefined;
|
|
546
555
|
locations: {
|
|
@@ -604,6 +613,9 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
604
613
|
} | undefined;
|
|
605
614
|
badgeIconUrl?: string | undefined;
|
|
606
615
|
}[] | undefined;
|
|
616
|
+
unstable_ai?: {
|
|
617
|
+
generateUrl: string;
|
|
618
|
+
} | undefined;
|
|
607
619
|
};
|
|
608
620
|
}>;
|
|
609
621
|
/** Deletes a mesh app from a team */
|
|
@@ -626,6 +638,16 @@ declare class IntegrationInstallationClient extends ApiClient {
|
|
|
626
638
|
remove(body: ExceptProject<IntegrationInstallationDeleteParameters>): Promise<void>;
|
|
627
639
|
}
|
|
628
640
|
|
|
641
|
+
type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
642
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
643
|
+
settings: TIntegrationConfiguration;
|
|
644
|
+
/** The Uniform project ID */
|
|
645
|
+
projectId: string;
|
|
646
|
+
prompt: string;
|
|
647
|
+
promptMetadata: unknown;
|
|
648
|
+
};
|
|
649
|
+
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'unstable_ai'>;
|
|
650
|
+
|
|
629
651
|
type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
630
652
|
type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
631
653
|
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
@@ -677,7 +699,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
677
699
|
* Defines methods used for interacting with a Mesh location
|
|
678
700
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
679
701
|
*/
|
|
680
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation
|
|
702
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
681
703
|
interface MeshContextData {
|
|
682
704
|
locationKey: string;
|
|
683
705
|
locationType: MeshLocationTypes;
|
|
@@ -866,7 +888,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
866
888
|
/**
|
|
867
889
|
* Known location types that can be passed to a mesh location
|
|
868
890
|
*/
|
|
869
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource';
|
|
891
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
870
892
|
type SetValueOptions = ValidationResult;
|
|
871
893
|
type SetValueMessage = {
|
|
872
894
|
uniformMeshLocationValue: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.53.1-alpha.41+27cb9eb2d",
|
|
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.53.1-alpha.41+27cb9eb2d",
|
|
37
|
+
"@uniformdev/context": "19.53.1-alpha.41+27cb9eb2d",
|
|
38
|
+
"@uniformdev/project-map": "19.53.1-alpha.41+27cb9eb2d",
|
|
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": "27cb9eb2ddaae3cdb18163df96cf6e58440b700d"
|
|
46
46
|
}
|