@aws-sdk/client-amplifyuibuilder 3.301.0 → 3.303.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-cjs/models/models_0.js +19 -24
- package/dist-es/models/models_0.js +19 -24
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/models/models_0.d.ts +28 -19
- package/package.json +34 -34
|
@@ -68,14 +68,12 @@ class ResourceNotFoundException extends AmplifyUIBuilderServiceException_1.Ampli
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
FixedPosition["FIRST"] = "first";
|
|
78
|
-
})(FixedPosition = exports.FixedPosition || (exports.FixedPosition = {}));
|
|
71
|
+
exports.TokenProviders = {
|
|
72
|
+
FIGMA: "figma",
|
|
73
|
+
};
|
|
74
|
+
exports.FixedPosition = {
|
|
75
|
+
FIRST: "first",
|
|
76
|
+
};
|
|
79
77
|
var FieldPosition;
|
|
80
78
|
(function (FieldPosition) {
|
|
81
79
|
FieldPosition.visit = (value, visitor) => {
|
|
@@ -88,22 +86,19 @@ var FieldPosition;
|
|
|
88
86
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
89
87
|
};
|
|
90
88
|
})(FieldPosition = exports.FieldPosition || (exports.FieldPosition = {}));
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
FormActionType["CREATE"] = "create";
|
|
105
|
-
FormActionType["UPDATE"] = "update";
|
|
106
|
-
})(FormActionType = exports.FormActionType || (exports.FormActionType = {}));
|
|
89
|
+
exports.FormButtonsPosition = {
|
|
90
|
+
BOTTOM: "bottom",
|
|
91
|
+
TOP: "top",
|
|
92
|
+
TOP_AND_BOTTOM: "top_and_bottom",
|
|
93
|
+
};
|
|
94
|
+
exports.FormDataSourceType = {
|
|
95
|
+
CUSTOM: "Custom",
|
|
96
|
+
DATASTORE: "DataStore",
|
|
97
|
+
};
|
|
98
|
+
exports.FormActionType = {
|
|
99
|
+
CREATE: "create",
|
|
100
|
+
UPDATE: "update",
|
|
101
|
+
};
|
|
107
102
|
var FormStyleConfig;
|
|
108
103
|
(function (FormStyleConfig) {
|
|
109
104
|
FormStyleConfig.visit = (value, visitor) => {
|
|
@@ -60,14 +60,12 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
60
60
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
FixedPosition["FIRST"] = "first";
|
|
70
|
-
})(FixedPosition || (FixedPosition = {}));
|
|
63
|
+
export const TokenProviders = {
|
|
64
|
+
FIGMA: "figma",
|
|
65
|
+
};
|
|
66
|
+
export const FixedPosition = {
|
|
67
|
+
FIRST: "first",
|
|
68
|
+
};
|
|
71
69
|
export var FieldPosition;
|
|
72
70
|
(function (FieldPosition) {
|
|
73
71
|
FieldPosition.visit = (value, visitor) => {
|
|
@@ -80,22 +78,19 @@ export var FieldPosition;
|
|
|
80
78
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
81
79
|
};
|
|
82
80
|
})(FieldPosition || (FieldPosition = {}));
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
FormActionType["CREATE"] = "create";
|
|
97
|
-
FormActionType["UPDATE"] = "update";
|
|
98
|
-
})(FormActionType || (FormActionType = {}));
|
|
81
|
+
export const FormButtonsPosition = {
|
|
82
|
+
BOTTOM: "bottom",
|
|
83
|
+
TOP: "top",
|
|
84
|
+
TOP_AND_BOTTOM: "top_and_bottom",
|
|
85
|
+
};
|
|
86
|
+
export const FormDataSourceType = {
|
|
87
|
+
CUSTOM: "Custom",
|
|
88
|
+
DATASTORE: "DataStore",
|
|
89
|
+
};
|
|
90
|
+
export const FormActionType = {
|
|
91
|
+
CREATE: "create",
|
|
92
|
+
UPDATE: "update",
|
|
93
|
+
};
|
|
99
94
|
export var FormStyleConfig;
|
|
100
95
|
(function (FormStyleConfig) {
|
|
101
96
|
FormStyleConfig.visit = (value, visitor) => {
|
|
@@ -244,13 +244,18 @@ export interface ListComponentsResponse {
|
|
|
244
244
|
}
|
|
245
245
|
/**
|
|
246
246
|
* @public
|
|
247
|
+
* @enum
|
|
247
248
|
*/
|
|
248
|
-
export declare
|
|
249
|
+
export declare const TokenProviders: {
|
|
249
250
|
/**
|
|
250
251
|
* The figma token provider.
|
|
251
252
|
*/
|
|
252
|
-
FIGMA
|
|
253
|
-
}
|
|
253
|
+
readonly FIGMA: "figma";
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
export type TokenProviders = (typeof TokenProviders)[keyof typeof TokenProviders];
|
|
254
259
|
/**
|
|
255
260
|
* @public
|
|
256
261
|
* <p>Describes the configuration of a request to exchange an access code for a token.</p>
|
|
@@ -298,10 +303,15 @@ export interface ExchangeCodeForTokenResponse {
|
|
|
298
303
|
}
|
|
299
304
|
/**
|
|
300
305
|
* @public
|
|
306
|
+
* @enum
|
|
301
307
|
*/
|
|
302
|
-
export declare
|
|
303
|
-
FIRST
|
|
304
|
-
}
|
|
308
|
+
export declare const FixedPosition: {
|
|
309
|
+
readonly FIRST: "first";
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
export type FixedPosition = (typeof FixedPosition)[keyof typeof FixedPosition];
|
|
305
315
|
/**
|
|
306
316
|
* @public
|
|
307
317
|
* <p>Describes the field position.</p>
|
|
@@ -372,12 +382,17 @@ export interface FormButton {
|
|
|
372
382
|
}
|
|
373
383
|
/**
|
|
374
384
|
* @public
|
|
385
|
+
* @enum
|
|
375
386
|
*/
|
|
376
|
-
export declare
|
|
377
|
-
BOTTOM
|
|
378
|
-
TOP
|
|
379
|
-
TOP_AND_BOTTOM
|
|
380
|
-
}
|
|
387
|
+
export declare const FormButtonsPosition: {
|
|
388
|
+
readonly BOTTOM: "bottom";
|
|
389
|
+
readonly TOP: "top";
|
|
390
|
+
readonly TOP_AND_BOTTOM: "top_and_bottom";
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
*/
|
|
395
|
+
export type FormButtonsPosition = (typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
|
|
381
396
|
/**
|
|
382
397
|
* @public
|
|
383
398
|
* <p>Describes the call to action button configuration for the form.</p>
|
|
@@ -402,17 +417,22 @@ export interface FormCTA {
|
|
|
402
417
|
}
|
|
403
418
|
/**
|
|
404
419
|
* @public
|
|
420
|
+
* @enum
|
|
405
421
|
*/
|
|
406
|
-
export declare
|
|
422
|
+
export declare const FormDataSourceType: {
|
|
407
423
|
/**
|
|
408
424
|
* Will use passed in hooks to use when creating a form from scratch
|
|
409
425
|
*/
|
|
410
|
-
CUSTOM
|
|
426
|
+
readonly CUSTOM: "Custom";
|
|
411
427
|
/**
|
|
412
428
|
* Will use a provided Amplify DataStore enabled API
|
|
413
429
|
*/
|
|
414
|
-
DATASTORE
|
|
415
|
-
}
|
|
430
|
+
readonly DATASTORE: "DataStore";
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
export type FormDataSourceType = (typeof FormDataSourceType)[keyof typeof FormDataSourceType];
|
|
416
436
|
/**
|
|
417
437
|
* @public
|
|
418
438
|
* <p>Describes the data type configuration for the data source associated with a form.</p>
|
|
@@ -581,11 +601,16 @@ export interface FieldConfig {
|
|
|
581
601
|
}
|
|
582
602
|
/**
|
|
583
603
|
* @public
|
|
604
|
+
* @enum
|
|
584
605
|
*/
|
|
585
|
-
export declare
|
|
586
|
-
CREATE
|
|
587
|
-
UPDATE
|
|
588
|
-
}
|
|
606
|
+
export declare const FormActionType: {
|
|
607
|
+
readonly CREATE: "create";
|
|
608
|
+
readonly UPDATE: "update";
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
export type FormActionType = (typeof FormActionType)[keyof typeof FormActionType];
|
|
589
614
|
/**
|
|
590
615
|
* @public
|
|
591
616
|
* <p>Stores the configuration information for a visual helper element for a form. A sectional
|
|
@@ -84,9 +84,11 @@ export interface ListComponentsResponse {
|
|
|
84
84
|
entities: ComponentSummary[] | undefined;
|
|
85
85
|
nextToken?: string;
|
|
86
86
|
}
|
|
87
|
-
export declare
|
|
88
|
-
FIGMA
|
|
89
|
-
}
|
|
87
|
+
export declare const TokenProviders: {
|
|
88
|
+
readonly FIGMA: "figma";
|
|
89
|
+
};
|
|
90
|
+
export type TokenProviders =
|
|
91
|
+
(typeof TokenProviders)[keyof typeof TokenProviders];
|
|
90
92
|
export interface ExchangeCodeForTokenRequestBody {
|
|
91
93
|
code: string | undefined;
|
|
92
94
|
redirectUri: string | undefined;
|
|
@@ -100,9 +102,10 @@ export interface ExchangeCodeForTokenResponse {
|
|
|
100
102
|
expiresIn: number | undefined;
|
|
101
103
|
refreshToken: string | undefined;
|
|
102
104
|
}
|
|
103
|
-
export declare
|
|
104
|
-
FIRST
|
|
105
|
-
}
|
|
105
|
+
export declare const FixedPosition: {
|
|
106
|
+
readonly FIRST: "first";
|
|
107
|
+
};
|
|
108
|
+
export type FixedPosition = (typeof FixedPosition)[keyof typeof FixedPosition];
|
|
106
109
|
export type FieldPosition =
|
|
107
110
|
| FieldPosition.BelowMember
|
|
108
111
|
| FieldPosition.FixedMember
|
|
@@ -146,21 +149,25 @@ export interface FormButton {
|
|
|
146
149
|
children?: string;
|
|
147
150
|
position?: FieldPosition;
|
|
148
151
|
}
|
|
149
|
-
export declare
|
|
150
|
-
BOTTOM
|
|
151
|
-
TOP
|
|
152
|
-
TOP_AND_BOTTOM
|
|
153
|
-
}
|
|
152
|
+
export declare const FormButtonsPosition: {
|
|
153
|
+
readonly BOTTOM: "bottom";
|
|
154
|
+
readonly TOP: "top";
|
|
155
|
+
readonly TOP_AND_BOTTOM: "top_and_bottom";
|
|
156
|
+
};
|
|
157
|
+
export type FormButtonsPosition =
|
|
158
|
+
(typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
|
|
154
159
|
export interface FormCTA {
|
|
155
160
|
position?: FormButtonsPosition | string;
|
|
156
161
|
clear?: FormButton;
|
|
157
162
|
cancel?: FormButton;
|
|
158
163
|
submit?: FormButton;
|
|
159
164
|
}
|
|
160
|
-
export declare
|
|
161
|
-
CUSTOM
|
|
162
|
-
DATASTORE
|
|
163
|
-
}
|
|
165
|
+
export declare const FormDataSourceType: {
|
|
166
|
+
readonly CUSTOM: "Custom";
|
|
167
|
+
readonly DATASTORE: "DataStore";
|
|
168
|
+
};
|
|
169
|
+
export type FormDataSourceType =
|
|
170
|
+
(typeof FormDataSourceType)[keyof typeof FormDataSourceType];
|
|
164
171
|
export interface FormDataTypeConfig {
|
|
165
172
|
dataSourceType: FormDataSourceType | string | undefined;
|
|
166
173
|
dataTypeName: string | undefined;
|
|
@@ -205,10 +212,12 @@ export interface FieldConfig {
|
|
|
205
212
|
inputType?: FieldInputConfig;
|
|
206
213
|
validations?: FieldValidationConfiguration[];
|
|
207
214
|
}
|
|
208
|
-
export declare
|
|
209
|
-
CREATE
|
|
210
|
-
UPDATE
|
|
211
|
-
}
|
|
215
|
+
export declare const FormActionType: {
|
|
216
|
+
readonly CREATE: "create";
|
|
217
|
+
readonly UPDATE: "update";
|
|
218
|
+
};
|
|
219
|
+
export type FormActionType =
|
|
220
|
+
(typeof FormActionType)[keyof typeof FormActionType];
|
|
212
221
|
export interface SectionalElement {
|
|
213
222
|
type: string | undefined;
|
|
214
223
|
position?: FieldPosition;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplifyuibuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplifyuibuilder Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|