Socket
Socket
Sign inDemoInstall

graphql-transformer-common

Package Overview
Dependencies
Maintainers
2
Versions
755
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0-alpha.0a106b94 to 1.1.0-alpha.0fe7fa01

lib/HttpResourceIDs.d.ts

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

<a name="1.0.28"></a>
## [1.0.28](https://github.com/aws-amplify/amplify-cli/compare/graphql-transformer-common@1.0.28-beta.0...graphql-transformer-common@1.0.28) (2018-10-18)
**Note:** Version bump only for package graphql-transformer-common
<a name="1.0.28-beta.0"></a>
## [1.0.28-beta.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-transformer-common@1.0.12...graphql-transformer-common@1.0.28-beta.0) (2018-10-12)
**Note:** Version bump only for package graphql-transformer-common
<a name="1.0.12"></a>

@@ -8,0 +24,0 @@ ## [1.0.12](https://github.com/aws-amplify/amplify-cli/compare/graphql-transformer-common@1.0.11...graphql-transformer-common@1.0.12) (2018-08-23)

1

lib/index.d.ts

@@ -8,1 +8,2 @@ export * from './ResourceConstants';

export * from './nodeUtils';
export * from './HttpResourceIDs';

@@ -13,2 +13,3 @@ "use strict";

__export(require("./nodeUtils"));
__export(require("./HttpResourceIDs"));
//# sourceMappingURL=index.js.map

@@ -15,2 +15,5 @@ export declare class ModelResourceIDs {

static NonModelInputObjectName(typeName: string): string;
static UrlParamsInputObjectName(typeName: string, fieldName: string): string;
static HttpQueryInputObjectName(typeName: string, fieldName: string): string;
static HttpBodyInputObjectName(typeName: string, fieldName: string): string;
}

@@ -51,2 +51,11 @@ "use strict";

};
ModelResourceIDs.UrlParamsInputObjectName = function (typeName, fieldName) {
return util_1.graphqlName(util_1.toUpper(typeName) + util_1.toUpper(fieldName) + 'ParamsInput');
};
ModelResourceIDs.HttpQueryInputObjectName = function (typeName, fieldName) {
return util_1.graphqlName(util_1.toUpper(typeName) + util_1.toUpper(fieldName) + 'QueryInput');
};
ModelResourceIDs.HttpBodyInputObjectName = function (typeName, fieldName) {
return util_1.graphqlName(util_1.toUpper(typeName) + util_1.toUpper(fieldName) + 'BodyInput');
};
return ModelResourceIDs;

@@ -53,0 +62,0 @@ }());

2

lib/ResourceConstants.js

@@ -21,3 +21,3 @@ "use strict";

AuthCognitoUserPoolNativeClientLogicalID: 'AuthCognitoUserPoolNativeClient',
AuthCognitoUserPoolJSClientLogicalID: 'AuthCognitoUserPoolJSClient'
AuthCognitoUserPoolJSClientLogicalID: 'AuthCognitoUserPoolJSClient',
};

@@ -24,0 +24,0 @@ ResourceConstants.PARAMETERS = {

{
"name": "graphql-transformer-common",
"version": "1.1.0-alpha.0a106b94",
"version": "1.1.0-alpha.0fe7fa01",
"description": "Common code and constants for AppSync Transformers",

@@ -21,4 +21,4 @@ "main": "lib/index.js",

"graphql": "^0.13.2",
"graphql-mapping-template": "^1.1.0-alpha.0a106b94",
"graphql-transformer-core": "^1.1.0-alpha.0a106b94"
"graphql-mapping-template": "^1.1.0-alpha.0fe7fa01",
"graphql-transformer-core": "^1.1.0-alpha.0fe7fa01"
},

@@ -25,0 +25,0 @@ "devDependencies": {

@@ -8,1 +8,2 @@ export * from './ResourceConstants'

export * from './nodeUtils'
export * from './HttpResourceIDs'

@@ -48,2 +48,11 @@ import { graphqlName, toUpper } from './util'

}
static UrlParamsInputObjectName(typeName: string, fieldName: string) {
return graphqlName(toUpper(typeName) + toUpper(fieldName) + 'ParamsInput')
}
static HttpQueryInputObjectName(typeName: string, fieldName: string) {
return graphqlName(toUpper(typeName) + toUpper(fieldName) + 'QueryInput')
}
static HttpBodyInputObjectName(typeName: string, fieldName: string) {
return graphqlName(toUpper(typeName) + toUpper(fieldName) + 'BodyInput')
}
}

@@ -0,1 +1,3 @@

import { graphqlName } from "./util";
export class ResolverResourceIDs {

@@ -2,0 +4,0 @@ static DynamoDBCreateResolverResourceID(typeName: string): string {

@@ -21,3 +21,3 @@ export class ResourceConstants {

AuthCognitoUserPoolNativeClientLogicalID: 'AuthCognitoUserPoolNativeClient',
AuthCognitoUserPoolJSClientLogicalID: 'AuthCognitoUserPoolJSClient'
AuthCognitoUserPoolJSClientLogicalID: 'AuthCognitoUserPoolJSClient',
}

@@ -24,0 +24,0 @@ public static PARAMETERS = {

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc