@aws-sdk/client-amplifyuibuilder 3.936.0 → 3.939.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/index.js CHANGED
@@ -2363,6 +2363,9 @@ const SortDirection = {
2363
2363
  ASC: "ASC",
2364
2364
  DESC: "DESC",
2365
2365
  };
2366
+ const TokenProviders = {
2367
+ FIGMA: "figma",
2368
+ };
2366
2369
  const FixedPosition = {
2367
2370
  FIRST: "first",
2368
2371
  };
@@ -2371,6 +2374,10 @@ const FormButtonsPosition = {
2371
2374
  TOP: "top",
2372
2375
  TOP_AND_BOTTOM: "top_and_bottom",
2373
2376
  };
2377
+ const FormDataSourceType = {
2378
+ CUSTOM: "Custom",
2379
+ DATASTORE: "DataStore",
2380
+ };
2374
2381
  const StorageAccessLevel = {
2375
2382
  PRIVATE: "private",
2376
2383
  PROTECTED: "protected",
@@ -2380,6 +2387,11 @@ const FormActionType = {
2380
2387
  CREATE: "create",
2381
2388
  UPDATE: "update",
2382
2389
  };
2390
+ const LabelDecorator = {
2391
+ NONE: "none",
2392
+ OPTIONAL: "optional",
2393
+ REQUIRED: "required",
2394
+ };
2383
2395
 
2384
2396
  Object.defineProperty(exports, "$Command", {
2385
2397
  enumerable: true,
@@ -2408,6 +2420,7 @@ exports.ExportThemesCommand = ExportThemesCommand;
2408
2420
  exports.FixedPosition = FixedPosition;
2409
2421
  exports.FormActionType = FormActionType;
2410
2422
  exports.FormButtonsPosition = FormButtonsPosition;
2423
+ exports.FormDataSourceType = FormDataSourceType;
2411
2424
  exports.GenericDataRelationshipType = GenericDataRelationshipType;
2412
2425
  exports.GetCodegenJobCommand = GetCodegenJobCommand;
2413
2426
  exports.GetComponentCommand = GetComponentCommand;
@@ -2419,6 +2432,7 @@ exports.InvalidParameterException = InvalidParameterException$1;
2419
2432
  exports.JSModule = JSModule;
2420
2433
  exports.JSScript = JSScript;
2421
2434
  exports.JSTarget = JSTarget;
2435
+ exports.LabelDecorator = LabelDecorator;
2422
2436
  exports.ListCodegenJobsCommand = ListCodegenJobsCommand;
2423
2437
  exports.ListComponentsCommand = ListComponentsCommand;
2424
2438
  exports.ListFormsCommand = ListFormsCommand;
@@ -2434,6 +2448,7 @@ exports.StartCodegenJobCommand = StartCodegenJobCommand;
2434
2448
  exports.StorageAccessLevel = StorageAccessLevel;
2435
2449
  exports.TagResourceCommand = TagResourceCommand;
2436
2450
  exports.ThrottlingException = ThrottlingException$1;
2451
+ exports.TokenProviders = TokenProviders;
2437
2452
  exports.UnauthorizedException = UnauthorizedException$1;
2438
2453
  exports.UntagResourceCommand = UntagResourceCommand;
2439
2454
  exports.UpdateComponentCommand = UpdateComponentCommand;
@@ -47,6 +47,9 @@ export const SortDirection = {
47
47
  ASC: "ASC",
48
48
  DESC: "DESC",
49
49
  };
50
+ export const TokenProviders = {
51
+ FIGMA: "figma",
52
+ };
50
53
  export const FixedPosition = {
51
54
  FIRST: "first",
52
55
  };
@@ -55,6 +58,10 @@ export const FormButtonsPosition = {
55
58
  TOP: "top",
56
59
  TOP_AND_BOTTOM: "top_and_bottom",
57
60
  };
61
+ export const FormDataSourceType = {
62
+ CUSTOM: "Custom",
63
+ DATASTORE: "DataStore",
64
+ };
58
65
  export const StorageAccessLevel = {
59
66
  PRIVATE: "private",
60
67
  PROTECTED: "protected",
@@ -64,3 +71,8 @@ export const FormActionType = {
64
71
  CREATE: "create",
65
72
  UPDATE: "update",
66
73
  };
74
+ export const LabelDecorator = {
75
+ NONE: "none",
76
+ OPTIONAL: "optional",
77
+ REQUIRED: "required",
78
+ };
@@ -1,12 +1 @@
1
- export const TokenProviders = {
2
- FIGMA: "figma",
3
- };
4
- export const FormDataSourceType = {
5
- CUSTOM: "Custom",
6
- DATASTORE: "DataStore",
7
- };
8
- export const LabelDecorator = {
9
- NONE: "none",
10
- OPTIONAL: "optional",
11
- REQUIRED: "required",
12
- };
1
+ export {};
@@ -111,6 +111,20 @@ export declare const SortDirection: {
111
111
  * @public
112
112
  */
113
113
  export type SortDirection = (typeof SortDirection)[keyof typeof SortDirection];
114
+ /**
115
+ * @public
116
+ * @enum
117
+ */
118
+ export declare const TokenProviders: {
119
+ /**
120
+ * The figma token provider.
121
+ */
122
+ readonly FIGMA: "figma";
123
+ };
124
+ /**
125
+ * @public
126
+ */
127
+ export type TokenProviders = (typeof TokenProviders)[keyof typeof TokenProviders];
114
128
  /**
115
129
  * @public
116
130
  * @enum
@@ -135,6 +149,24 @@ export declare const FormButtonsPosition: {
135
149
  * @public
136
150
  */
137
151
  export type FormButtonsPosition = (typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
152
+ /**
153
+ * @public
154
+ * @enum
155
+ */
156
+ export declare const FormDataSourceType: {
157
+ /**
158
+ * Will use passed in hooks to use when creating a form from scratch
159
+ */
160
+ readonly CUSTOM: "Custom";
161
+ /**
162
+ * Will use a provided Amplify DataStore enabled API
163
+ */
164
+ readonly DATASTORE: "DataStore";
165
+ };
166
+ /**
167
+ * @public
168
+ */
169
+ export type FormDataSourceType = (typeof FormDataSourceType)[keyof typeof FormDataSourceType];
138
170
  /**
139
171
  * @public
140
172
  * @enum
@@ -160,3 +192,16 @@ export declare const FormActionType: {
160
192
  * @public
161
193
  */
162
194
  export type FormActionType = (typeof FormActionType)[keyof typeof FormActionType];
195
+ /**
196
+ * @public
197
+ * @enum
198
+ */
199
+ export declare const LabelDecorator: {
200
+ readonly NONE: "none";
201
+ readonly OPTIONAL: "optional";
202
+ readonly REQUIRED: "required";
203
+ };
204
+ /**
205
+ * @public
206
+ */
207
+ export type LabelDecorator = (typeof LabelDecorator)[keyof typeof LabelDecorator];
@@ -1,4 +1,4 @@
1
- import { CodegenGenericDataFieldDataType, CodegenJobGenericDataSourceType, CodegenJobStatus, FixedPosition, FormActionType, FormButtonsPosition, GenericDataRelationshipType, JSModule, JSScript, JSTarget, SortDirection, StorageAccessLevel } from "./enums";
1
+ import { CodegenGenericDataFieldDataType, CodegenJobGenericDataSourceType, CodegenJobStatus, FixedPosition, FormActionType, FormButtonsPosition, FormDataSourceType, GenericDataRelationshipType, JSModule, JSScript, JSTarget, LabelDecorator, SortDirection, StorageAccessLevel, TokenProviders } from "./enums";
2
2
  /**
3
3
  * <p>Associates a component property to a binding property. This enables exposed properties on
4
4
  * the top level component to propagate data to the component's property values.</p>
@@ -832,20 +832,6 @@ export interface ListComponentsResponse {
832
832
  */
833
833
  nextToken?: string | undefined;
834
834
  }
835
- /**
836
- * @public
837
- * @enum
838
- */
839
- export declare const TokenProviders: {
840
- /**
841
- * The figma token provider.
842
- */
843
- readonly FIGMA: "figma";
844
- };
845
- /**
846
- * @public
847
- */
848
- export type TokenProviders = (typeof TokenProviders)[keyof typeof TokenProviders];
849
835
  /**
850
836
  * <p>Describes the configuration of a request to exchange an access code for a token.</p>
851
837
  * @public
@@ -1009,24 +995,6 @@ export interface FormCTA {
1009
995
  */
1010
996
  submit?: FormButton | undefined;
1011
997
  }
1012
- /**
1013
- * @public
1014
- * @enum
1015
- */
1016
- export declare const FormDataSourceType: {
1017
- /**
1018
- * Will use passed in hooks to use when creating a form from scratch
1019
- */
1020
- readonly CUSTOM: "Custom";
1021
- /**
1022
- * Will use a provided Amplify DataStore enabled API
1023
- */
1024
- readonly DATASTORE: "DataStore";
1025
- };
1026
- /**
1027
- * @public
1028
- */
1029
- export type FormDataSourceType = (typeof FormDataSourceType)[keyof typeof FormDataSourceType];
1030
998
  /**
1031
999
  * <p>Describes the data type configuration for the data source associated with a form.</p>
1032
1000
  * @public
@@ -1166,19 +1134,6 @@ export interface FieldValidationConfiguration {
1166
1134
  */
1167
1135
  validationMessage?: string | undefined;
1168
1136
  }
1169
- /**
1170
- * @public
1171
- * @enum
1172
- */
1173
- export declare const LabelDecorator: {
1174
- readonly NONE: "none";
1175
- readonly OPTIONAL: "optional";
1176
- readonly REQUIRED: "required";
1177
- };
1178
- /**
1179
- * @public
1180
- */
1181
- export type LabelDecorator = (typeof LabelDecorator)[keyof typeof LabelDecorator];
1182
1137
  /**
1183
1138
  * <p>Stores the configuration information for a visual helper element for a form. A sectional
1184
1139
  * element can be a header, a text block, or a divider. These elements are static and not
@@ -59,6 +59,11 @@ export declare const SortDirection: {
59
59
  readonly DESC: "DESC";
60
60
  };
61
61
  export type SortDirection = (typeof SortDirection)[keyof typeof SortDirection];
62
+ export declare const TokenProviders: {
63
+ readonly FIGMA: "figma";
64
+ };
65
+ export type TokenProviders =
66
+ (typeof TokenProviders)[keyof typeof TokenProviders];
62
67
  export declare const FixedPosition: {
63
68
  readonly FIRST: "first";
64
69
  };
@@ -70,6 +75,12 @@ export declare const FormButtonsPosition: {
70
75
  };
71
76
  export type FormButtonsPosition =
72
77
  (typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
78
+ export declare const FormDataSourceType: {
79
+ readonly CUSTOM: "Custom";
80
+ readonly DATASTORE: "DataStore";
81
+ };
82
+ export type FormDataSourceType =
83
+ (typeof FormDataSourceType)[keyof typeof FormDataSourceType];
73
84
  export declare const StorageAccessLevel: {
74
85
  readonly PRIVATE: "private";
75
86
  readonly PROTECTED: "protected";
@@ -83,3 +94,10 @@ export declare const FormActionType: {
83
94
  };
84
95
  export type FormActionType =
85
96
  (typeof FormActionType)[keyof typeof FormActionType];
97
+ export declare const LabelDecorator: {
98
+ readonly NONE: "none";
99
+ readonly OPTIONAL: "optional";
100
+ readonly REQUIRED: "required";
101
+ };
102
+ export type LabelDecorator =
103
+ (typeof LabelDecorator)[keyof typeof LabelDecorator];
@@ -5,12 +5,15 @@ import {
5
5
  FixedPosition,
6
6
  FormActionType,
7
7
  FormButtonsPosition,
8
+ FormDataSourceType,
8
9
  GenericDataRelationshipType,
9
10
  JSModule,
10
11
  JSScript,
11
12
  JSTarget,
13
+ LabelDecorator,
12
14
  SortDirection,
13
15
  StorageAccessLevel,
16
+ TokenProviders,
14
17
  } from "./enums";
15
18
  export interface ComponentPropertyBindingProperties {
16
19
  property: string | undefined;
@@ -238,11 +241,6 @@ export interface ListComponentsResponse {
238
241
  entities: ComponentSummary[] | undefined;
239
242
  nextToken?: string | undefined;
240
243
  }
241
- export declare const TokenProviders: {
242
- readonly FIGMA: "figma";
243
- };
244
- export type TokenProviders =
245
- (typeof TokenProviders)[keyof typeof TokenProviders];
246
244
  export interface ExchangeCodeForTokenRequestBody {
247
245
  code: string | undefined;
248
246
  redirectUri: string | undefined;
@@ -305,12 +303,6 @@ export interface FormCTA {
305
303
  cancel?: FormButton | undefined;
306
304
  submit?: FormButton | undefined;
307
305
  }
308
- export declare const FormDataSourceType: {
309
- readonly CUSTOM: "Custom";
310
- readonly DATASTORE: "DataStore";
311
- };
312
- export type FormDataSourceType =
313
- (typeof FormDataSourceType)[keyof typeof FormDataSourceType];
314
306
  export interface FormDataTypeConfig {
315
307
  dataSourceType: FormDataSourceType | undefined;
316
308
  dataTypeName: string | undefined;
@@ -340,13 +332,6 @@ export interface FieldValidationConfiguration {
340
332
  numValues?: number[] | undefined;
341
333
  validationMessage?: string | undefined;
342
334
  }
343
- export declare const LabelDecorator: {
344
- readonly NONE: "none";
345
- readonly OPTIONAL: "optional";
346
- readonly REQUIRED: "required";
347
- };
348
- export type LabelDecorator =
349
- (typeof LabelDecorator)[keyof typeof LabelDecorator];
350
335
  export interface SectionalElement {
351
336
  type: string | undefined;
352
337
  position?: FieldPosition | 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.936.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-amplifyuibuilder",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",