Socket
Socket
Sign inDemoInstall

@aws-amplify/data-schema-types

Package Overview
Dependencies
3
Maintainers
9
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.1 to 1.0.0

6

dist/cjs/builder/types.js
'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

2

dist/cjs/index.v3.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc