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
10
Versions
322
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 2.2.2-alpha.2 to 2.2.2-alpha.5

lib/amplify-api-resource-stack-types.d.ts

104

API.md

@@ -9,7 +9,18 @@ ## API Report File for "@aws-amplify/graphql-transformer-interfaces"

import { BaseDataSource } from 'aws-cdk-lib/aws-appsync';
import { CfnApiKey } from 'aws-cdk-lib/aws-appsync';
import { CfnDataSource } from 'aws-cdk-lib/aws-appsync';
import { CfnDomain } from 'aws-cdk-lib/aws-elasticsearch';
import { CfnEventSourceMapping } from 'aws-cdk-lib/aws-lambda';
import { CfnFunction } from 'aws-cdk-lib/aws-lambda';
import { CfnFunctionConfiguration } from 'aws-cdk-lib/aws-appsync';
import { CfnGraphQLApi } from 'aws-cdk-lib/aws-appsync';
import { CfnGraphQLSchema } from 'aws-cdk-lib/aws-appsync';
import { CfnParameter } from 'aws-cdk-lib';
import { CfnParameterProps } from 'aws-cdk-lib';
import { CfnPolicy } from 'aws-cdk-lib/aws-iam';
import { CfnResolver } from 'aws-cdk-lib/aws-appsync';
import { CfnResource } from 'aws-cdk-lib';
import { CfnRole } from 'aws-cdk-lib/aws-iam';
import { CfnStack } from 'aws-cdk-lib';
import { CfnTable } from 'aws-cdk-lib/aws-dynamodb';
import { Construct } from 'constructs';

@@ -55,2 +66,22 @@ import { DirectiveDefinitionNode } from 'graphql';

// @public (undocumented)
export interface AmplifyApiGraphQlResourceStackTemplate {
// Warning: (ae-forgotten-export) The symbol "AppsyncApiStack" needs to be exported by the entry point index.d.ts
//
// (undocumented)
api?: Partial<AppsyncApiStack>;
// (undocumented)
function?: Partial<FunctionDirectiveStack & AppsyncStackCommon>;
// (undocumented)
http?: Partial<HttpsDirectiveStack & AppsyncStackCommon>;
// (undocumented)
models?: Partial<Record<string, ModelDirectiveStack>>;
// (undocumented)
opensearch?: Partial<OpenSearchDirectiveStack & AppsyncStackCommon>;
// Warning: (ae-forgotten-export) The symbol "PredictionsDirectiveStack" needs to be exported by the entry point index.d.ts
//
// (undocumented)
predictions?: Partial<PredictionsDirectiveStack & AppsyncStackCommon>;
}
// @public (undocumented)
export interface APIIAMResourceProvider {

@@ -132,2 +163,8 @@ // (undocumented)

// @public (undocumented)
export type AppsyncStackCommon = {
resolvers?: Record<string, CfnResolver>;
appsyncFunctions?: Record<string, CfnFunctionConfiguration>;
};
// Warning: (ae-forgotten-export) The symbol "NoneDataSourceProvider" needs to be exported by the entry point index.d.ts

@@ -179,2 +216,12 @@ //

// @public (undocumented)
export interface FunctionDirectiveStack {
// (undocumented)
lambdaDataSource: Record<string, CfnDataSource>;
// (undocumented)
lambdaDataSourceRole: Record<string, CfnRole>;
// (undocumented)
lambdaDataSourceServiceRoleDefaultPolicy: Record<string, CfnPolicy>;
}
// @public (undocumented)
export interface GraphQLAPIProvider extends IConstruct {

@@ -202,2 +249,12 @@ // (undocumented)

// @public (undocumented)
export interface HttpsDirectiveStack {
// (undocumented)
httpDataSourceServiceRole?: Record<string, CfnRole>;
// (undocumented)
httpDataSourceServiceRoleDefaultPolicy?: Record<string, CfnPolicy>;
// (undocumented)
httpsDataSource?: Record<string, CfnDataSource>;
}
// @public (undocumented)
export interface InlineMappingTemplateProvider {

@@ -223,3 +280,8 @@ // (undocumented)

// Warning: (ae-forgotten-export) The symbol "DDBModelDirectiveStack" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type ModelDirectiveStack = AppsyncStackCommon & DDBModelDirectiveStack;
// @public (undocumented)
export type ModelFieldMap = {

@@ -253,2 +315,30 @@ addMappedField: (entry: FieldMapEntry) => ModelFieldMap;

// @public (undocumented)
export interface OpenSearchDirectiveStack {
// (undocumented)
CloudwatchLogsAccess?: CfnPolicy;
// (undocumented)
OpenSearchAccessIAMRole?: CfnRole;
// (undocumented)
OpenSearchAccessIAMRoleDefaultPolicy?: CfnPolicy;
// (undocumented)
OpenSearchDataSource?: CfnDataSource;
// (undocumented)
OpenSearchDomain?: CfnDomain;
// (undocumented)
OpenSearchModelLambdaMapping?: Record<string, CfnEventSourceMapping>;
// (undocumented)
OpenSearchStreamingLambdaFunction?: CfnFunction;
// (undocumented)
OpenSearchStreamingLambdaIAMRole?: CfnRole;
// (undocumented)
OpenSearchStreamingLambdaIAMRoleDefaultPolicy?: CfnPolicy;
}
// @public (undocumented)
export interface OverridesProvider {
// (undocumented)
(): AmplifyApiGraphQlResourceStackTemplate;
}
// @public (undocumented)
export enum QueryFieldType {

@@ -449,6 +539,6 @@ // (undocumented)

// (undocumented)
filepaths: TransformerFilepathsProvider;
// (undocumented)
getResolverConfig<ResolverConfig>(): ResolverConfig | undefined;
// (undocumented)
getResourceOverrides: OverridesProvider;
// (undocumented)
inputDocument: DocumentNode;

@@ -490,12 +580,2 @@ // (undocumented)

// @public (undocumented)
export interface TransformerFilepathsProvider {
// (undocumented)
findProjectRoot: () => string;
// (undocumented)
getBackendDirPath: () => string;
// (undocumented)
getCurrentCloudBackendDirPath: () => string;
}
// @public (undocumented)
export type TransformerLog = {

@@ -502,0 +582,0 @@ message: string;

@@ -9,2 +9,3 @@ export * from './transformer-context';

export { TransformerLog, TransformerLogLevel } from './transformer-log';
export { AmplifyApiGraphQlResourceStackTemplate, AppsyncStackCommon, FunctionDirectiveStack, HttpsDirectiveStack, ModelDirectiveStack, OpenSearchDirectiveStack, } from './amplify-api-resource-stack-types';
//# sourceMappingURL=index.d.ts.map

2

lib/transformer-context/index.d.ts

@@ -10,3 +10,3 @@ export { DataSourceProvider, TransformerDataSourceManagerProvider, AppSyncDataSourceType, DataSourceInstance, } from './transformer-datasource-provider';

export { StackManagerProvider } from './stack-manager-provider';
export { TransformerFilepathsProvider } from './transformer-filepaths-provider';
export { OverridesProvider } from './overrides-provider';
//# sourceMappingURL=index.d.ts.map

@@ -10,3 +10,3 @@ import { TransformerResolversManagerProvider } from './transformer-resolver-provider';

import { FeatureFlagProvider } from '../feature-flag-provider';
import { TransformerFilepathsProvider } from './transformer-filepaths-provider';
import { OverridesProvider } from './overrides-provider';
export interface TransformerContextMetadataProvider {

@@ -35,5 +35,5 @@ set<T>(key: string, value: T): void;

sandboxModeEnabled: boolean;
filepaths: TransformerFilepathsProvider;
isProjectUsingDataStore(): boolean;
getResolverConfig<ResolverConfig>(): ResolverConfig | undefined;
getResourceOverrides: OverridesProvider;
}

@@ -40,0 +40,0 @@ export type TransformerBeforeStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'authConfig' | 'stackManager' | 'sandboxModeEnabled'>;

{
"name": "@aws-amplify/graphql-transformer-interfaces",
"version": "2.2.2-alpha.2+ac67fcc4e",
"version": "2.2.2-alpha.5+4d14f9047",
"description": "Amplify GraphQL transformer interface definitions",

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

},
"gitHead": "ac67fcc4e37c1d01233958f798fb751bd78852ca"
"gitHead": "4d14f9047db102b4d67294c0a5c043e15c142425"
}

@@ -46,1 +46,9 @@ export * from './transformer-context';

export { TransformerLog, TransformerLogLevel } from './transformer-log';
export {
AmplifyApiGraphQlResourceStackTemplate,
AppsyncStackCommon,
FunctionDirectiveStack,
HttpsDirectiveStack,
ModelDirectiveStack,
OpenSearchDirectiveStack,
} from './amplify-api-resource-stack-types';

@@ -23,2 +23,2 @@ export {

export { StackManagerProvider } from './stack-manager-provider';
export { TransformerFilepathsProvider } from './transformer-filepaths-provider';
export { OverridesProvider } from './overrides-provider';

@@ -10,3 +10,3 @@ import { TransformerResolversManagerProvider } from './transformer-resolver-provider';

import { FeatureFlagProvider } from '../feature-flag-provider';
import { TransformerFilepathsProvider } from './transformer-filepaths-provider';
import { OverridesProvider } from './overrides-provider';

@@ -37,6 +37,6 @@ export interface TransformerContextMetadataProvider {

sandboxModeEnabled: boolean;
filepaths: TransformerFilepathsProvider;
isProjectUsingDataStore(): boolean;
getResolverConfig<ResolverConfig>(): ResolverConfig | undefined;
getResourceOverrides: OverridesProvider;
}

@@ -43,0 +43,0 @@

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