@aws-amplify/data-schema-types
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -445,5 +445,6 @@ import { DeepReadOnlyObject, UnwrapArray, UnionToIntersection, Prettify } from '../util'; | ||
* Custom headers that can be passed either to the client or to individual | ||
* calls, either as a static object or a function that returns a promise. | ||
* model operations, either as a static object or a function that returns a | ||
* promise. | ||
*/ | ||
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>); | ||
export type CustomHeaders = Record<string, string> | (() => Promise<Record<string, string>>); | ||
export {}; |
@@ -7,4 +7,5 @@ export declare const __modelMeta__: unique symbol; | ||
* Custom headers that can be passed either to the client or to individual | ||
* calls, either as a static object or a function that returns a promise. | ||
* model operations, either as a static object or a function that returns a | ||
* promise. | ||
*/ | ||
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>); | ||
export type CustomHeaders = Record<string, string> | (() => Promise<Record<string, string>>); |
{ | ||
"name": "@aws-amplify/data-schema-types", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "./lib-esm/index.d.ts", |
@@ -698,4 +698,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* Custom headers that can be passed either to the client or to individual | ||
* calls, either as a static object or a function that returns a promise. | ||
* model operations, either as a static object or a function that returns a | ||
* promise. | ||
*/ | ||
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>); | ||
export type CustomHeaders = | ||
| Record<string, string> | ||
| (() => Promise<Record<string, string>>); |
@@ -19,4 +19,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* Custom headers that can be passed either to the client or to individual | ||
* calls, either as a static object or a function that returns a promise. | ||
* model operations, either as a static object or a function that returns a | ||
* promise. | ||
*/ | ||
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>); | ||
export type CustomHeaders = | ||
| Record<string, string> | ||
| (() => Promise<Record<string, string>>); |
58800
1335