@aws-sdk/client-amplifyuibuilder 3.428.0 → 3.429.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.
|
@@ -177,7 +177,7 @@ export interface CodegenGenericDataRelationshipType {
|
|
|
177
177
|
* @public
|
|
178
178
|
* <p>The data relationship type.</p>
|
|
179
179
|
*/
|
|
180
|
-
type: GenericDataRelationshipType |
|
|
180
|
+
type: GenericDataRelationshipType | undefined;
|
|
181
181
|
/**
|
|
182
182
|
* @public
|
|
183
183
|
* <p>The name of the related model in the data relationship.</p>
|
|
@@ -228,7 +228,7 @@ export interface CodegenGenericDataField {
|
|
|
228
228
|
* @public
|
|
229
229
|
* <p>The data type for the generic data field.</p>
|
|
230
230
|
*/
|
|
231
|
-
dataType: CodegenGenericDataFieldDataType |
|
|
231
|
+
dataType: CodegenGenericDataFieldDataType | undefined;
|
|
232
232
|
/**
|
|
233
233
|
* @public
|
|
234
234
|
* <p>The value of the data type for the generic data field.</p>
|
|
@@ -296,7 +296,7 @@ export interface CodegenJobGenericDataSchema {
|
|
|
296
296
|
* @public
|
|
297
297
|
* <p>The type of the data source for the schema. Currently, the only valid value is an Amplify <code>DataStore</code>.</p>
|
|
298
298
|
*/
|
|
299
|
-
dataSourceType: CodegenJobGenericDataSourceType |
|
|
299
|
+
dataSourceType: CodegenJobGenericDataSourceType | undefined;
|
|
300
300
|
/**
|
|
301
301
|
* @public
|
|
302
302
|
* <p>The name of a <code>CodegenGenericDataModel</code>.</p>
|
|
@@ -458,17 +458,17 @@ export interface ReactStartCodegenJobData {
|
|
|
458
458
|
* @public
|
|
459
459
|
* <p>The JavaScript module type.</p>
|
|
460
460
|
*/
|
|
461
|
-
module?: JSModule
|
|
461
|
+
module?: JSModule;
|
|
462
462
|
/**
|
|
463
463
|
* @public
|
|
464
464
|
* <p>The ECMAScript specification to use.</p>
|
|
465
465
|
*/
|
|
466
|
-
target?: JSTarget
|
|
466
|
+
target?: JSTarget;
|
|
467
467
|
/**
|
|
468
468
|
* @public
|
|
469
469
|
* <p>The file type to use for a JavaScript project.</p>
|
|
470
470
|
*/
|
|
471
|
-
script?: JSScript
|
|
471
|
+
script?: JSScript;
|
|
472
472
|
/**
|
|
473
473
|
* @public
|
|
474
474
|
* <p>Specifies whether the code generation job should render type declaration files.</p>
|
|
@@ -577,7 +577,7 @@ export interface CodegenJob {
|
|
|
577
577
|
* @public
|
|
578
578
|
* <p>The status of the code generation job.</p>
|
|
579
579
|
*/
|
|
580
|
-
status?: CodegenJobStatus
|
|
580
|
+
status?: CodegenJobStatus;
|
|
581
581
|
/**
|
|
582
582
|
* @public
|
|
583
583
|
* <p>The customized status message for the code generation job.</p>
|
|
@@ -822,7 +822,7 @@ export interface SortProperty {
|
|
|
822
822
|
* @public
|
|
823
823
|
* <p>The direction of the sort, either ascending or descending.</p>
|
|
824
824
|
*/
|
|
825
|
-
direction: SortDirection |
|
|
825
|
+
direction: SortDirection | undefined;
|
|
826
826
|
}
|
|
827
827
|
/**
|
|
828
828
|
* @public
|
|
@@ -1048,7 +1048,7 @@ export interface ExchangeCodeForTokenRequest {
|
|
|
1048
1048
|
* @public
|
|
1049
1049
|
* <p>The third-party provider for the token. The only valid value is <code>figma</code>.</p>
|
|
1050
1050
|
*/
|
|
1051
|
-
provider: TokenProviders |
|
|
1051
|
+
provider: TokenProviders | undefined;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* @public
|
|
1054
1054
|
* <p>Describes the configuration of the request.</p>
|
|
@@ -1101,7 +1101,7 @@ export declare namespace FieldPosition {
|
|
|
1101
1101
|
* <p>The field position is fixed and doesn't change in relation to other fields.</p>
|
|
1102
1102
|
*/
|
|
1103
1103
|
interface FixedMember {
|
|
1104
|
-
fixed: FixedPosition
|
|
1104
|
+
fixed: FixedPosition;
|
|
1105
1105
|
rightOf?: never;
|
|
1106
1106
|
below?: never;
|
|
1107
1107
|
$unknown?: never;
|
|
@@ -1136,7 +1136,7 @@ export declare namespace FieldPosition {
|
|
|
1136
1136
|
$unknown: [string, any];
|
|
1137
1137
|
}
|
|
1138
1138
|
interface Visitor<T> {
|
|
1139
|
-
fixed: (value: FixedPosition
|
|
1139
|
+
fixed: (value: FixedPosition) => T;
|
|
1140
1140
|
rightOf: (value: string) => T;
|
|
1141
1141
|
below: (value: string) => T;
|
|
1142
1142
|
_: (name: string, value: any) => T;
|
|
@@ -1186,7 +1186,7 @@ export interface FormCTA {
|
|
|
1186
1186
|
* @public
|
|
1187
1187
|
* <p>The position of the button.</p>
|
|
1188
1188
|
*/
|
|
1189
|
-
position?: FormButtonsPosition
|
|
1189
|
+
position?: FormButtonsPosition;
|
|
1190
1190
|
/**
|
|
1191
1191
|
* @public
|
|
1192
1192
|
* <p>Displays a clear button.</p>
|
|
@@ -1230,7 +1230,7 @@ export interface FormDataTypeConfig {
|
|
|
1230
1230
|
* @public
|
|
1231
1231
|
* <p>The data source type, either an Amplify DataStore model or a custom data type.</p>
|
|
1232
1232
|
*/
|
|
1233
|
-
dataSourceType: FormDataSourceType |
|
|
1233
|
+
dataSourceType: FormDataSourceType | undefined;
|
|
1234
1234
|
/**
|
|
1235
1235
|
* @public
|
|
1236
1236
|
* <p>The unique name of the data type you are using as the data source for the form.</p>
|
|
@@ -1263,7 +1263,7 @@ export interface FileUploaderFieldConfig {
|
|
|
1263
1263
|
* permissions associated with each access level, see <a href="https://docs.amplify.aws/lib/storage/configureaccess/q/platform/js/">File access
|
|
1264
1264
|
* levels</a> in the <i>Amplify documentation</i>.</p>
|
|
1265
1265
|
*/
|
|
1266
|
-
accessLevel: StorageAccessLevel |
|
|
1266
|
+
accessLevel: StorageAccessLevel | undefined;
|
|
1267
1267
|
/**
|
|
1268
1268
|
* @public
|
|
1269
1269
|
* <p>The file types that are allowed to be uploaded by the file uploader. Provide this
|
|
@@ -1614,7 +1614,7 @@ export interface FormSummary {
|
|
|
1614
1614
|
* @public
|
|
1615
1615
|
* <p>The type of operation to perform on the form.</p>
|
|
1616
1616
|
*/
|
|
1617
|
-
formActionType: FormActionType |
|
|
1617
|
+
formActionType: FormActionType | undefined;
|
|
1618
1618
|
/**
|
|
1619
1619
|
* @public
|
|
1620
1620
|
* <p>The ID of the form.</p>
|
|
@@ -1739,7 +1739,7 @@ export interface RefreshTokenRequest {
|
|
|
1739
1739
|
* @public
|
|
1740
1740
|
* <p>The third-party provider for the token. The only valid value is <code>figma</code>.</p>
|
|
1741
1741
|
*/
|
|
1742
|
-
provider: TokenProviders |
|
|
1742
|
+
provider: TokenProviders | undefined;
|
|
1743
1743
|
/**
|
|
1744
1744
|
* @public
|
|
1745
1745
|
* <p>Information about the refresh token request.</p>
|
|
@@ -2613,7 +2613,7 @@ export interface CreateFormData {
|
|
|
2613
2613
|
* @public
|
|
2614
2614
|
* <p>Specifies whether to perform a create or update action on the form.</p>
|
|
2615
2615
|
*/
|
|
2616
|
-
formActionType: FormActionType |
|
|
2616
|
+
formActionType: FormActionType | undefined;
|
|
2617
2617
|
/**
|
|
2618
2618
|
* @public
|
|
2619
2619
|
* <p>The configuration information for the form's fields.</p>
|
|
@@ -2650,7 +2650,7 @@ export interface CreateFormData {
|
|
|
2650
2650
|
* @public
|
|
2651
2651
|
* <p>Specifies an icon or decoration to display on the form.</p>
|
|
2652
2652
|
*/
|
|
2653
|
-
labelDecorator?: LabelDecorator
|
|
2653
|
+
labelDecorator?: LabelDecorator;
|
|
2654
2654
|
}
|
|
2655
2655
|
/**
|
|
2656
2656
|
* @public
|
|
@@ -2683,7 +2683,7 @@ export interface Form {
|
|
|
2683
2683
|
* @public
|
|
2684
2684
|
* <p>The operation to perform on the specified form.</p>
|
|
2685
2685
|
*/
|
|
2686
|
-
formActionType: FormActionType |
|
|
2686
|
+
formActionType: FormActionType | undefined;
|
|
2687
2687
|
/**
|
|
2688
2688
|
* @public
|
|
2689
2689
|
* <p>Stores the configuration for the form's style.</p>
|
|
@@ -2724,7 +2724,7 @@ export interface Form {
|
|
|
2724
2724
|
* @public
|
|
2725
2725
|
* <p>Specifies an icon or decoration to display on the form.</p>
|
|
2726
2726
|
*/
|
|
2727
|
-
labelDecorator?: LabelDecorator
|
|
2727
|
+
labelDecorator?: LabelDecorator;
|
|
2728
2728
|
}
|
|
2729
2729
|
/**
|
|
2730
2730
|
* @public
|
|
@@ -2745,7 +2745,7 @@ export interface UpdateFormData {
|
|
|
2745
2745
|
* @public
|
|
2746
2746
|
* <p>Specifies whether to perform a create or update action on the form.</p>
|
|
2747
2747
|
*/
|
|
2748
|
-
formActionType?: FormActionType
|
|
2748
|
+
formActionType?: FormActionType;
|
|
2749
2749
|
/**
|
|
2750
2750
|
* @public
|
|
2751
2751
|
* <p>The configuration information for the form's fields.</p>
|
|
@@ -2777,7 +2777,7 @@ export interface UpdateFormData {
|
|
|
2777
2777
|
* @public
|
|
2778
2778
|
* <p>Specifies an icon or decoration to display on the form.</p>
|
|
2779
2779
|
*/
|
|
2780
|
-
labelDecorator?: LabelDecorator
|
|
2780
|
+
labelDecorator?: LabelDecorator;
|
|
2781
2781
|
}
|
|
2782
2782
|
/**
|
|
2783
2783
|
* @public
|
|
@@ -63,7 +63,7 @@ export declare const GenericDataRelationshipType: {
|
|
|
63
63
|
export type GenericDataRelationshipType =
|
|
64
64
|
(typeof GenericDataRelationshipType)[keyof typeof GenericDataRelationshipType];
|
|
65
65
|
export interface CodegenGenericDataRelationshipType {
|
|
66
|
-
type: GenericDataRelationshipType |
|
|
66
|
+
type: GenericDataRelationshipType | undefined;
|
|
67
67
|
relatedModelName: string | undefined;
|
|
68
68
|
relatedModelFields?: string[];
|
|
69
69
|
canUnlinkAssociatedModel?: boolean;
|
|
@@ -74,7 +74,7 @@ export interface CodegenGenericDataRelationshipType {
|
|
|
74
74
|
isHasManyIndex?: boolean;
|
|
75
75
|
}
|
|
76
76
|
export interface CodegenGenericDataField {
|
|
77
|
-
dataType: CodegenGenericDataFieldDataType |
|
|
77
|
+
dataType: CodegenGenericDataFieldDataType | undefined;
|
|
78
78
|
dataTypeValue: string | undefined;
|
|
79
79
|
required: boolean | undefined;
|
|
80
80
|
readOnly: boolean | undefined;
|
|
@@ -90,7 +90,7 @@ export interface CodegenGenericDataNonModel {
|
|
|
90
90
|
fields: Record<string, CodegenGenericDataField> | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface CodegenJobGenericDataSchema {
|
|
93
|
-
dataSourceType: CodegenJobGenericDataSourceType |
|
|
93
|
+
dataSourceType: CodegenJobGenericDataSourceType | undefined;
|
|
94
94
|
models: Record<string, CodegenGenericDataModel> | undefined;
|
|
95
95
|
enums: Record<string, CodegenGenericDataEnum> | undefined;
|
|
96
96
|
nonModels: Record<string, CodegenGenericDataNonModel> | undefined;
|
|
@@ -159,9 +159,9 @@ export declare const JSTarget: {
|
|
|
159
159
|
};
|
|
160
160
|
export type JSTarget = (typeof JSTarget)[keyof typeof JSTarget];
|
|
161
161
|
export interface ReactStartCodegenJobData {
|
|
162
|
-
module?: JSModule
|
|
163
|
-
target?: JSTarget
|
|
164
|
-
script?: JSScript
|
|
162
|
+
module?: JSModule;
|
|
163
|
+
target?: JSTarget;
|
|
164
|
+
script?: JSScript;
|
|
165
165
|
renderTypeDeclarations?: boolean;
|
|
166
166
|
inlineSourceMap?: boolean;
|
|
167
167
|
apiConfiguration?: ApiConfiguration;
|
|
@@ -200,7 +200,7 @@ export interface CodegenJob {
|
|
|
200
200
|
genericDataSchema?: CodegenJobGenericDataSchema;
|
|
201
201
|
autoGenerateForms?: boolean;
|
|
202
202
|
features?: CodegenFeatureFlags;
|
|
203
|
-
status?: CodegenJobStatus
|
|
203
|
+
status?: CodegenJobStatus;
|
|
204
204
|
statusMessage?: string;
|
|
205
205
|
asset?: CodegenJobAsset;
|
|
206
206
|
tags?: Record<string, string>;
|
|
@@ -275,7 +275,7 @@ export interface StartCodegenJobResponse {
|
|
|
275
275
|
export type SortDirection = "ASC" | "DESC";
|
|
276
276
|
export interface SortProperty {
|
|
277
277
|
field: string | undefined;
|
|
278
|
-
direction: SortDirection |
|
|
278
|
+
direction: SortDirection | undefined;
|
|
279
279
|
}
|
|
280
280
|
export interface ComponentVariant {
|
|
281
281
|
variantValues?: Record<string, string>;
|
|
@@ -338,7 +338,7 @@ export interface ExchangeCodeForTokenRequestBody {
|
|
|
338
338
|
clientId?: string;
|
|
339
339
|
}
|
|
340
340
|
export interface ExchangeCodeForTokenRequest {
|
|
341
|
-
provider: TokenProviders |
|
|
341
|
+
provider: TokenProviders | undefined;
|
|
342
342
|
request: ExchangeCodeForTokenRequestBody | undefined;
|
|
343
343
|
}
|
|
344
344
|
export interface ExchangeCodeForTokenResponse {
|
|
@@ -357,7 +357,7 @@ export type FieldPosition =
|
|
|
357
357
|
| FieldPosition.$UnknownMember;
|
|
358
358
|
export declare namespace FieldPosition {
|
|
359
359
|
interface FixedMember {
|
|
360
|
-
fixed: FixedPosition
|
|
360
|
+
fixed: FixedPosition;
|
|
361
361
|
rightOf?: never;
|
|
362
362
|
below?: never;
|
|
363
363
|
$unknown?: never;
|
|
@@ -381,7 +381,7 @@ export declare namespace FieldPosition {
|
|
|
381
381
|
$unknown: [string, any];
|
|
382
382
|
}
|
|
383
383
|
interface Visitor<T> {
|
|
384
|
-
fixed: (value: FixedPosition
|
|
384
|
+
fixed: (value: FixedPosition) => T;
|
|
385
385
|
rightOf: (value: string) => T;
|
|
386
386
|
below: (value: string) => T;
|
|
387
387
|
_: (name: string, value: any) => T;
|
|
@@ -401,7 +401,7 @@ export declare const FormButtonsPosition: {
|
|
|
401
401
|
export type FormButtonsPosition =
|
|
402
402
|
(typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
|
|
403
403
|
export interface FormCTA {
|
|
404
|
-
position?: FormButtonsPosition
|
|
404
|
+
position?: FormButtonsPosition;
|
|
405
405
|
clear?: FormButton;
|
|
406
406
|
cancel?: FormButton;
|
|
407
407
|
submit?: FormButton;
|
|
@@ -413,7 +413,7 @@ export declare const FormDataSourceType: {
|
|
|
413
413
|
export type FormDataSourceType =
|
|
414
414
|
(typeof FormDataSourceType)[keyof typeof FormDataSourceType];
|
|
415
415
|
export interface FormDataTypeConfig {
|
|
416
|
-
dataSourceType: FormDataSourceType |
|
|
416
|
+
dataSourceType: FormDataSourceType | undefined;
|
|
417
417
|
dataTypeName: string | undefined;
|
|
418
418
|
}
|
|
419
419
|
export declare const StorageAccessLevel: {
|
|
@@ -424,7 +424,7 @@ export declare const StorageAccessLevel: {
|
|
|
424
424
|
export type StorageAccessLevel =
|
|
425
425
|
(typeof StorageAccessLevel)[keyof typeof StorageAccessLevel];
|
|
426
426
|
export interface FileUploaderFieldConfig {
|
|
427
|
-
accessLevel: StorageAccessLevel |
|
|
427
|
+
accessLevel: StorageAccessLevel | undefined;
|
|
428
428
|
acceptedFileTypes: string[] | undefined;
|
|
429
429
|
showThumbnails?: boolean;
|
|
430
430
|
isResumable?: boolean;
|
|
@@ -526,7 +526,7 @@ export interface FormSummary {
|
|
|
526
526
|
appId: string | undefined;
|
|
527
527
|
dataType: FormDataTypeConfig | undefined;
|
|
528
528
|
environmentName: string | undefined;
|
|
529
|
-
formActionType: FormActionType |
|
|
529
|
+
formActionType: FormActionType | undefined;
|
|
530
530
|
id: string | undefined;
|
|
531
531
|
name: string | undefined;
|
|
532
532
|
}
|
|
@@ -562,7 +562,7 @@ export interface RefreshTokenRequestBody {
|
|
|
562
562
|
clientId?: string;
|
|
563
563
|
}
|
|
564
564
|
export interface RefreshTokenRequest {
|
|
565
|
-
provider: TokenProviders |
|
|
565
|
+
provider: TokenProviders | undefined;
|
|
566
566
|
refreshTokenBody: RefreshTokenRequestBody | undefined;
|
|
567
567
|
}
|
|
568
568
|
export interface RefreshTokenResponse {
|
|
@@ -758,21 +758,21 @@ export interface FieldConfig {
|
|
|
758
758
|
export interface CreateFormData {
|
|
759
759
|
name: string | undefined;
|
|
760
760
|
dataType: FormDataTypeConfig | undefined;
|
|
761
|
-
formActionType: FormActionType |
|
|
761
|
+
formActionType: FormActionType | undefined;
|
|
762
762
|
fields: Record<string, FieldConfig> | undefined;
|
|
763
763
|
style: FormStyle | undefined;
|
|
764
764
|
sectionalElements: Record<string, SectionalElement> | undefined;
|
|
765
765
|
schemaVersion: string | undefined;
|
|
766
766
|
cta?: FormCTA;
|
|
767
767
|
tags?: Record<string, string>;
|
|
768
|
-
labelDecorator?: LabelDecorator
|
|
768
|
+
labelDecorator?: LabelDecorator;
|
|
769
769
|
}
|
|
770
770
|
export interface Form {
|
|
771
771
|
appId: string | undefined;
|
|
772
772
|
environmentName: string | undefined;
|
|
773
773
|
id: string | undefined;
|
|
774
774
|
name: string | undefined;
|
|
775
|
-
formActionType: FormActionType |
|
|
775
|
+
formActionType: FormActionType | undefined;
|
|
776
776
|
style: FormStyle | undefined;
|
|
777
777
|
dataType: FormDataTypeConfig | undefined;
|
|
778
778
|
fields: Record<string, FieldConfig> | undefined;
|
|
@@ -780,18 +780,18 @@ export interface Form {
|
|
|
780
780
|
schemaVersion: string | undefined;
|
|
781
781
|
tags?: Record<string, string>;
|
|
782
782
|
cta?: FormCTA;
|
|
783
|
-
labelDecorator?: LabelDecorator
|
|
783
|
+
labelDecorator?: LabelDecorator;
|
|
784
784
|
}
|
|
785
785
|
export interface UpdateFormData {
|
|
786
786
|
name?: string;
|
|
787
787
|
dataType?: FormDataTypeConfig;
|
|
788
|
-
formActionType?: FormActionType
|
|
788
|
+
formActionType?: FormActionType;
|
|
789
789
|
fields?: Record<string, FieldConfig>;
|
|
790
790
|
style?: FormStyle;
|
|
791
791
|
sectionalElements?: Record<string, SectionalElement>;
|
|
792
792
|
schemaVersion?: string;
|
|
793
793
|
cta?: FormCTA;
|
|
794
|
-
labelDecorator?: LabelDecorator
|
|
794
|
+
labelDecorator?: LabelDecorator;
|
|
795
795
|
}
|
|
796
796
|
export interface CreateFormRequest {
|
|
797
797
|
appId: string | undefined;
|
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.429.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,9 +21,9 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
42
|
"@smithy/middleware-retry": "^2.0.16",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|