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