@aws-amplify/data-schema-types
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -342,2 +342,3 @@ import { DeepReadOnlyObject, UnwrapArray, UnionToIntersection, Prettify } from '../util'; | ||
authToken?: string; | ||
headers?: CustomHeaders; | ||
}): ObservedReturnValue<ReturnValue<Model, FlatModel, SelectionSet>>; | ||
@@ -348,2 +349,3 @@ onUpdate<FlatModel extends Record<string, unknown> = ResolvedModel<Model>, SelectionSet extends ReadonlyArray<ModelPath<FlatModel>> = never[]>(options?: { | ||
authMode?: AuthMode; | ||
headers?: CustomHeaders; | ||
}): ObservedReturnValue<ReturnValue<Model, FlatModel, SelectionSet>>; | ||
@@ -354,2 +356,3 @@ onDelete<FlatModel extends Record<string, unknown> = ResolvedModel<Model>, SelectionSet extends ReadonlyArray<ModelPath<FlatModel>> = never[]>(options?: { | ||
authToken?: string; | ||
headers?: CustomHeaders; | ||
}): ObservedReturnValue<ReturnValue<Model, FlatModel, SelectionSet>>; | ||
@@ -356,0 +359,0 @@ observeQuery<FlatModel extends Record<string, unknown> = ResolvedModel<Model>, SelectionSet extends ModelPath<FlatModel>[] = never[]>(options?: { |
{ | ||
"name": "@aws-amplify/data-schema-types", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "./lib-esm/index.d.ts", |
@@ -515,2 +515,3 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
authToken?: string; | ||
headers?: CustomHeaders; | ||
}): ObservedReturnValue<ReturnValue<Model, FlatModel, SelectionSet>>; | ||
@@ -524,2 +525,3 @@ onUpdate< | ||
authMode?: AuthMode; | ||
headers?: CustomHeaders; | ||
}): ObservedReturnValue<ReturnValue<Model, FlatModel, SelectionSet>>; | ||
@@ -533,2 +535,3 @@ onDelete< | ||
authToken?: string; | ||
headers?: CustomHeaders; | ||
}): ObservedReturnValue<ReturnValue<Model, FlatModel, SelectionSet>>; | ||
@@ -535,0 +538,0 @@ observeQuery< |
57633
1305