@amp-labs/react 2.11.0 → 2.11.2
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/README.md +20 -0
- package/build/amp-react.cjs.js +14 -14
- package/build/amp-react.cjs.js.map +1 -1
- package/build/amp-react.es.js +4587 -4382
- package/build/amp-react.es.js.map +1 -1
- package/build/index.d.ts +68 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -225,6 +225,12 @@ export declare interface BaseWriteConfigObject {
|
|
|
225
225
|
* @memberof BaseWriteConfigObject
|
|
226
226
|
*/
|
|
227
227
|
objectName: string;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {DeletionSettings}
|
|
231
|
+
* @memberof BaseWriteConfigObject
|
|
232
|
+
*/
|
|
233
|
+
deletionSettings?: DeletionSettings;
|
|
228
234
|
/**
|
|
229
235
|
* This is a map of field names to default values. These values will be used when writing to the object.
|
|
230
236
|
* @type {{ [key: string]: ValueDefault; }}
|
|
@@ -712,6 +718,31 @@ declare interface DefaultPeriodConfig {
|
|
|
712
718
|
fullHistory?: boolean;
|
|
713
719
|
}
|
|
714
720
|
|
|
721
|
+
/**
|
|
722
|
+
* Ampersand public API
|
|
723
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
724
|
+
*
|
|
725
|
+
* The version of the OpenAPI document: 1.0.0
|
|
726
|
+
*
|
|
727
|
+
*
|
|
728
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
729
|
+
* https://openapi-generator.tech
|
|
730
|
+
* Do not edit the class manually.
|
|
731
|
+
*/
|
|
732
|
+
/**
|
|
733
|
+
*
|
|
734
|
+
* @export
|
|
735
|
+
* @interface DeletionSettings
|
|
736
|
+
*/
|
|
737
|
+
declare interface DeletionSettings {
|
|
738
|
+
/**
|
|
739
|
+
* Whether deletion is enabled for this object
|
|
740
|
+
* @type {boolean}
|
|
741
|
+
* @memberof DeletionSettings
|
|
742
|
+
*/
|
|
743
|
+
enabled: boolean;
|
|
744
|
+
}
|
|
745
|
+
|
|
715
746
|
/**
|
|
716
747
|
*
|
|
717
748
|
* @export
|
|
@@ -835,6 +866,18 @@ export declare interface FieldMetadata {
|
|
|
835
866
|
* @memberof FieldMetadata
|
|
836
867
|
*/
|
|
837
868
|
readOnly?: boolean;
|
|
869
|
+
/**
|
|
870
|
+
* Whether the field is custom field.
|
|
871
|
+
* @type {boolean}
|
|
872
|
+
* @memberof FieldMetadata
|
|
873
|
+
*/
|
|
874
|
+
isCustom?: boolean;
|
|
875
|
+
/**
|
|
876
|
+
* Whether the field is required when creating a new record.
|
|
877
|
+
* @type {boolean}
|
|
878
|
+
* @memberof FieldMetadata
|
|
879
|
+
*/
|
|
880
|
+
isRequired?: boolean;
|
|
838
881
|
/**
|
|
839
882
|
* If the valueType is singleSelect or multiSelect, this is a list of possible values
|
|
840
883
|
* @type {Array<FieldValue>}
|
|
@@ -1365,6 +1408,12 @@ export declare interface Installation {
|
|
|
1365
1408
|
* @memberof Installation
|
|
1366
1409
|
*/
|
|
1367
1410
|
healthStatus: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* The status of the latest operation for this installation.
|
|
1413
|
+
* @type {string}
|
|
1414
|
+
* @memberof Installation
|
|
1415
|
+
*/
|
|
1416
|
+
lastOperationStatus?: InstallationLastOperationStatusEnum;
|
|
1368
1417
|
/**
|
|
1369
1418
|
*
|
|
1370
1419
|
* @type {Connection}
|
|
@@ -1412,6 +1461,17 @@ export declare interface InstallationContextValue {
|
|
|
1412
1461
|
groupName?: string;
|
|
1413
1462
|
}
|
|
1414
1463
|
|
|
1464
|
+
/**
|
|
1465
|
+
* @export
|
|
1466
|
+
*/
|
|
1467
|
+
declare const InstallationLastOperationStatusEnum: {
|
|
1468
|
+
readonly Success: "success";
|
|
1469
|
+
readonly Failure: "failure";
|
|
1470
|
+
readonly InProgress: "in_progress";
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
declare type InstallationLastOperationStatusEnum = typeof InstallationLastOperationStatusEnum[keyof typeof InstallationLastOperationStatusEnum];
|
|
1474
|
+
|
|
1415
1475
|
export declare function InstallationProvider({ children, integration, consumerRef, consumerName, groupRef, groupName, }: InstallationProviderProps): JSX_2.Element;
|
|
1416
1476
|
|
|
1417
1477
|
declare interface InstallationProviderProps {
|
|
@@ -2347,6 +2407,12 @@ declare interface UseIsIntegrationInstalledResult {
|
|
|
2347
2407
|
* @memberof WriteConfigObject
|
|
2348
2408
|
*/
|
|
2349
2409
|
objectName: string;
|
|
2410
|
+
/**
|
|
2411
|
+
*
|
|
2412
|
+
* @type {DeletionSettings}
|
|
2413
|
+
* @memberof WriteConfigObject
|
|
2414
|
+
*/
|
|
2415
|
+
deletionSettings?: DeletionSettings;
|
|
2350
2416
|
/**
|
|
2351
2417
|
* This is a map of field names to default values. These values will be used when writing to the object.
|
|
2352
2418
|
* @type {{ [key: string]: ValueDefault; }}
|
|
@@ -2391,6 +2457,8 @@ declare interface UseIsIntegrationInstalledResult {
|
|
|
2391
2457
|
fieldName: string;
|
|
2392
2458
|
value: FieldSettingWriteOnUpdateEnum;
|
|
2393
2459
|
}) => void;
|
|
2460
|
+
setEnableDeletion: () => void;
|
|
2461
|
+
setDisableDeletion: () => void;
|
|
2394
2462
|
};
|
|
2395
2463
|
|
|
2396
2464
|
export { }
|