Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/graphql-transformer-interfaces

Package Overview
Dependencies
Maintainers
9
Versions
319
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/graphql-transformer-interfaces - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

11

API.md

@@ -27,2 +27,3 @@ ## API Report File for "@aws-amplify/graphql-transformer-interfaces"

import { HttpDataSource } from 'aws-cdk-lib/aws-appsync';
import { IamResource } from 'aws-cdk-lib/aws-appsync';
import { IAsset } from 'aws-cdk-lib';

@@ -62,8 +63,2 @@ import { IConstruct } from 'constructs';

// @public (undocumented)
export interface APIIAMResourceProvider {
// (undocumented)
resourceArns: (api: GraphQLAPIProvider) => string[];
}
// @public (undocumented)
export interface ApiKeyConfig {

@@ -207,3 +202,3 @@ // (undocumented)

// (undocumented)
grant: (grantee: IGrantable, resources: APIIAMResourceProvider, ...actions: string[]) => Grant;
grant: (grantee: IGrantable, resources: IamResource, ...actions: string[]) => Grant;
// (undocumented)

@@ -950,3 +945,3 @@ grantMutation: (grantee: IGrantable, ...fields: string[]) => Grant;

//
// src/graphql-api-provider.ts:36:3 - (ae-forgotten-export) The symbol "OpenIDConnectConfig" needs to be exported by the entry point index.d.ts
// src/graphql-api-provider.ts:37:3 - (ae-forgotten-export) The symbol "OpenIDConnectConfig" needs to be exported by the entry point index.d.ts

@@ -953,0 +948,0 @@ // (No @packageDocumentation comment for this package)

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

## [4.0.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@4.0.0...@aws-amplify/graphql-transformer-interfaces@4.0.1) (2024-08-28)
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
# [4.0.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@3.10.1...@aws-amplify/graphql-transformer-interfaces@4.0.0) (2024-08-20)

@@ -8,0 +12,0 @@

@@ -6,2 +6,3 @@ import { CfnResource, IAsset } from 'aws-cdk-lib';

import { AssetProvider } from './asset-provider';
import { IamResource } from 'aws-cdk-lib/aws-appsync';
export type AppSyncAuthMode = 'API_KEY' | 'AMAZON_COGNITO_USER_POOLS' | 'AWS_IAM' | 'OPENID_CONNECT' | 'AWS_LAMBDA';

@@ -89,3 +90,3 @@ export type AppSyncAuthConfiguration = {

addSchemaDependency: (construct: CfnResource) => boolean;
grant: (grantee: IGrantable, resources: APIIAMResourceProvider, ...actions: string[]) => Grant;
grant: (grantee: IGrantable, resources: IamResource, ...actions: string[]) => Grant;
grantMutation: (grantee: IGrantable, ...fields: string[]) => Grant;

@@ -95,5 +96,2 @@ grantQuery: (grantee: IGrantable, ...fields: string[]) => Grant;

}
export interface APIIAMResourceProvider {
resourceArns: (api: GraphQLAPIProvider) => string[];
}
//# sourceMappingURL=graphql-api-provider.d.ts.map
export * from './transformer-context';
export { TransformerPluginProvider, TransformerPluginType } from './transformer-plugin-provider';
export { MutationFieldType, QueryFieldType, SubscriptionFieldType, TransformerModelProvider, TransformerModelEnhancementProvider, TransformerAuthProvider, } from './transformer-model-provider';
export { GraphQLAPIProvider, AppSyncFunctionConfigurationProvider, DataSourceOptions, MappingTemplateProvider, S3MappingTemplateProvider, S3MappingFunctionCodeProvider, InlineMappingTemplateProvider, APIIAMResourceProvider, TemplateType as MappingTemplateType, AppSyncAuthConfiguration, AppSyncAuthConfigurationAPIKeyEntry, AppSyncAuthConfigurationEntry, AppSyncAuthConfigurationIAMEntry, ApiKeyConfig, AppSyncAuthConfigurationOIDCEntry, AppSyncAuthConfigurationUserPoolEntry, AppSyncAuthMode, UserPoolConfig, SearchableDataSourceOptions, } from './graphql-api-provider';
export { GraphQLAPIProvider, AppSyncFunctionConfigurationProvider, DataSourceOptions, MappingTemplateProvider, S3MappingTemplateProvider, S3MappingFunctionCodeProvider, InlineMappingTemplateProvider, TemplateType as MappingTemplateType, AppSyncAuthConfiguration, AppSyncAuthConfigurationAPIKeyEntry, AppSyncAuthConfigurationEntry, AppSyncAuthConfigurationIAMEntry, ApiKeyConfig, AppSyncAuthConfigurationOIDCEntry, AppSyncAuthConfigurationUserPoolEntry, AppSyncAuthMode, UserPoolConfig, SearchableDataSourceOptions, } from './graphql-api-provider';
export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider';

@@ -6,0 +6,0 @@ export { TransformerLog, TransformerLogLevel } from './transformer-log';

{
"name": "@aws-amplify/graphql-transformer-interfaces",
"version": "4.0.0",
"version": "4.0.1",
"description": "Amplify GraphQL transformer interface definitions",

@@ -34,3 +34,3 @@ "repository": {

"peerDependencies": {
"aws-cdk-lib": "^2.129.0",
"aws-cdk-lib": "^2.152.0",
"constructs": "^10.3.0"

@@ -65,3 +65,3 @@ },

},
"gitHead": "041c6d1c401f6c4648cf327c068bb7b0d91384d4"
"gitHead": "ff03cb41e09b3a91d1095efe0fb20f3520a5d671"
}

@@ -7,2 +7,3 @@ import { CfnResource, IAsset } from 'aws-cdk-lib';

import { AssetProvider } from './asset-provider';
import { IamResource } from 'aws-cdk-lib/aws-appsync';

@@ -140,3 +141,3 @@ // Auth Config Modes

grant: (grantee: IGrantable, resources: APIIAMResourceProvider, ...actions: string[]) => Grant;
grant: (grantee: IGrantable, resources: IamResource, ...actions: string[]) => Grant;
// /**

@@ -164,10 +165,1 @@ // * Adds an IAM policy statement for Mutation access to this GraphQLApi to an IAM principal's policy.

}
export interface APIIAMResourceProvider {
/**
* Return the Resource ARN
*
* @param api The GraphQL API to give permissions
*/
resourceArns: (api: GraphQLAPIProvider) => string[];
}

@@ -20,3 +20,2 @@ // eslint-disable-next-line import/no-cycle

InlineMappingTemplateProvider,
APIIAMResourceProvider,
TemplateType as MappingTemplateType,

@@ -23,0 +22,0 @@ AppSyncAuthConfiguration,

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc