@aws-amplify/data-schema-types
Advanced tools
Comparing version 0.10.1 to 1.0.0
'use strict'; | ||
/** | ||
* references IAmplifyGraphqlDefinition from: | ||
* https://github.com/aws-amplify/amplify-category-api/blob/4c0ea253a0bae51f775383929ba4748593185bc1/packages/amplify-graphql-api-construct/src/types.ts#L491-L503 | ||
* | ||
* function slots is any'd for now. Will add actual type when we add support for this feature | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=types.js.map |
@@ -5,5 +5,5 @@ 'use strict'; | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./builder/types.v3"), exports); | ||
tslib_1.__exportStar(require("./builder/types"), exports); | ||
tslib_1.__exportStar(require("./client/index.v3"), exports); | ||
tslib_1.__exportStar(require("./util"), exports); | ||
//# sourceMappingURL=index.v3.js.map |
@@ -1,2 +0,1 @@ | ||
import { ConstructFactory, FunctionResources, ResourceAccessAcceptorFactory, ResourceProvider } from '@aws-amplify/plugin-types'; | ||
/** | ||
@@ -53,3 +52,6 @@ * references IAmplifyGraphqlDefinition from: | ||
}; | ||
export type DefineFunction = ConstructFactory<ResourceProvider<FunctionResources> & ResourceAccessAcceptorFactory>; | ||
export type DefineFunction = { | ||
readonly provides?: string | undefined; | ||
getInstance: (props: any) => any; | ||
}; | ||
export type DatasourceEngine = 'mysql' | 'postgresql' | 'dynamodb'; | ||
@@ -56,0 +58,0 @@ export type CustomSqlDataSourceStrategy = { |
@@ -1,4 +0,4 @@ | ||
export * from './builder/types.v3'; | ||
export * from './builder/types'; | ||
export * from './client/index.v3'; | ||
export * from './util'; | ||
//# sourceMappingURL=index.v3.d.ts.map |
{ | ||
"name": "@aws-amplify/data-schema-types", | ||
"version": "0.10.1", | ||
"version": "1.0.0", | ||
"license": "Apache-2.0", | ||
@@ -44,3 +44,2 @@ "main": "./dist/cjs/index.js", | ||
"dependencies": { | ||
"@aws-amplify/plugin-types": "^0.9.0-beta.1", | ||
"graphql": "15.8.0", | ||
@@ -47,0 +46,0 @@ "rxjs": "^7.8.1" |
@@ -1,8 +0,1 @@ | ||
import { | ||
ConstructFactory, | ||
FunctionResources, | ||
ResourceAccessAcceptorFactory, | ||
ResourceProvider, | ||
} from '@aws-amplify/plugin-types'; | ||
/** | ||
@@ -68,5 +61,6 @@ * references IAmplifyGraphqlDefinition from: | ||
export type DefineFunction = ConstructFactory< | ||
ResourceProvider<FunctionResources> & ResourceAccessAcceptorFactory | ||
>; | ||
export type DefineFunction = { | ||
readonly provides?: string | undefined; | ||
getInstance: (props: any) => any; | ||
}; | ||
@@ -73,0 +67,0 @@ export type DatasourceEngine = 'mysql' | 'postgresql' | 'dynamodb'; |
@@ -1,3 +0,3 @@ | ||
export * from './builder/types.v3'; | ||
export * from './builder/types'; | ||
export * from './client/index.v3'; | ||
export * from './util'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
2
180640
59
1824
- Removed@aws-amplify/plugin-types@0.9.0(transitive)
- Removed@aws-cdk/asset-awscli-v1@2.2.202(transitive)
- Removed@aws-cdk/asset-kubectl-v20@2.1.2(transitive)
- Removed@aws-cdk/asset-node-proxy-agent-v6@2.0.3(transitive)
- Removed@aws-sdk/types@3.577.0(transitive)
- Removed@smithy/types@3.0.0(transitive)
- Removedaws-cdk-lib@2.142.1(transitive)
- Removedconstructs@10.3.0(transitive)