@aws-amplify/plugin-types
Advanced tools
Comparing version 0.0.0-test-20240815174752 to 0.0.0-test-20240815221003
/** | ||
* Represents a type that allows partial deep cloning of an object. | ||
* The `DeepPartial` type recursively makes all properties of `T` optional. | ||
* If a property is an object, it will also be made partially optional. | ||
* @template T - The type of the object to make partially optional. | ||
*/ | ||
export type DeepPartial<T> = { | ||
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P]; | ||
}; | ||
/** | ||
* Makes all the properties of the entire nested object partial for Amplify generated configs | ||
@@ -12,0 +3,0 @@ * instead of just the top level properties. Other properties are not changed. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVlcF9wYXJ0aWFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2RlZXBfcGFydGlhbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBSZXByZXNlbnRzIGEgdHlwZSB0aGF0IGFsbG93cyBwYXJ0aWFsIGRlZXAgY2xvbmluZyBvZiBhbiBvYmplY3QuXG4gKiBUaGUgYERlZXBQYXJ0aWFsYCB0eXBlIHJlY3Vyc2l2ZWx5IG1ha2VzIGFsbCBwcm9wZXJ0aWVzIG9mIGBUYCBvcHRpb25hbC5cbiAqIElmIGEgcHJvcGVydHkgaXMgYW4gb2JqZWN0LCBpdCB3aWxsIGFsc28gYmUgbWFkZSBwYXJ0aWFsbHkgb3B0aW9uYWwuXG4gKiBAdGVtcGxhdGUgVCAtIFRoZSB0eXBlIG9mIHRoZSBvYmplY3QgdG8gbWFrZSBwYXJ0aWFsbHkgb3B0aW9uYWwuXG4gKi9cbmV4cG9ydCB0eXBlIERlZXBQYXJ0aWFsPFQ+ID0ge1xuICBbUCBpbiBrZXlvZiBUXT86IFRbUF0gZXh0ZW5kcyBvYmplY3QgP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WVwUGFydGlhbEFtcGxpZnlHZW5lcmF0ZWRDb25maWdzPFQ+ID0ge1xuICBbUCBpbiBrZXlvZiBUXT86IFAgZXh0ZW5kcyAnYXV0aCcgfCAnZGF0YScgfCAnc3RvcmFnZSdcbiAgICA/IFRbUF0gZXh0ZW5kcyBvYmplY3RcbiAgICAgID8gRGVlcFBhcnRpYWxBbXBsaWZ5R2VuZXJhdGVkQ29uZmlnczxUW1BdPlxuICAgICAgOiBQYXJ0aWFsPFRbUF0+XG4gICAgOiBUW1BdO1xufTtcbiJdfQ== |
import { BackendOutputEntry } from './backend_output.js'; | ||
import { DeepPartial } from './deep_partial.js'; | ||
/** | ||
@@ -8,4 +7,4 @@ * Type for an object that collects output data from constructs | ||
addBackendOutputEntry: (keyName: string, backendOutputEntry: T) => void; | ||
appendToBackendOutputList: (keyName: string, backendOutputEntry: DeepPartial<T>) => void; | ||
appendToBackendOutputList: (keyName: string, backendOutputEntry: T) => void; | ||
}; | ||
//# sourceMappingURL=output_storage_strategy.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0X3N0b3JhZ2Vfc3RyYXRlZ3kuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvb3V0cHV0X3N0b3JhZ2Vfc3RyYXRlZ3kudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhY2tlbmRPdXRwdXRFbnRyeSB9IGZyb20gJy4vYmFja2VuZF9vdXRwdXQuanMnO1xuaW1wb3J0IHsgRGVlcFBhcnRpYWwgfSBmcm9tICcuL2RlZXBfcGFydGlhbC5qcyc7XG5cbi8qKlxuICogVHlwZSBmb3IgYW4gb2JqZWN0IHRoYXQgY29sbGVjdHMgb3V0cHV0IGRhdGEgZnJvbSBjb25zdHJ1Y3RzXG4g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5OiBUKSA9PiB2b2lkO1xufTtcbiJdfQ== |
{ | ||
"name": "@aws-amplify/plugin-types", | ||
"version": "0.0.0-test-20240815174752", | ||
"version": "0.0.0-test-20240815221003", | ||
"types": "lib/index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45819
445