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.10 to 2.2.2-alpha.14

lib/transformer-context/transform-parameters.d.ts

42

API.md

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

// @public (undocumented)
export interface FeatureFlagProvider {
// (undocumented)
getBoolean(featureName: string, defaultValue?: boolean): boolean;
// (undocumented)
getNumber(featureName: string, defaultValue?: number): number;
// (undocumented)
getObject(featureName: string, defaultValue?: object): object;
}
// @public (undocumented)
export type FieldMapEntry = {

@@ -332,8 +322,2 @@ originalFieldName: string;

// @public (undocumented)
export interface OverridesProvider {
// (undocumented)
(): AmplifyApiGraphQlResourceStackTemplate;
}
// @public (undocumented)
export enum QueryFieldType {

@@ -461,3 +445,3 @@ // (undocumented)

// @public (undocumented)
export type TransformerBeforeStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'authConfig' | 'stackManager' | 'sandboxModeEnabled'>;
export type TransformerBeforeStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'transformParameters' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'authConfig' | 'stackManager' | 'sandboxModeEnabled'>;

@@ -533,8 +517,4 @@ // @public (undocumented)

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

@@ -563,2 +543,4 @@ // (undocumented)

stackManager: StackManagerProvider;
// (undocumented)
transformParameters: TransformParameters;
}

@@ -721,7 +703,7 @@

// (undocumented)
featureFlags: FeatureFlagProvider;
// (undocumented)
inputDocument: DocumentNode;
// (undocumented)
schemaHelper: TransformerSchemaHelperProvider;
// (undocumented)
transformParameters: TransformParameters;
}

@@ -806,3 +788,3 @@

// @public (undocumented)
export type TransformerSchemaVisitStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'resourceHelper' | 'sandboxModeEnabled'>;
export type TransformerSchemaVisitStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'transformParameters' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'resourceHelper' | 'sandboxModeEnabled'>;

@@ -818,3 +800,3 @@ // @public (undocumented)

// @public (undocumented)
export type TransformerValidationStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'dataSources' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'sandboxModeEnabled' | 'resourceHelper' | 'resolvers' | 'stackManager'>;
export type TransformerValidationStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'dataSources' | 'transformParameters' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'sandboxModeEnabled' | 'resourceHelper' | 'resolvers' | 'stackManager'>;

@@ -854,2 +836,12 @@ // @public (undocumented)

// @public (undocumented)
export type TransformParameters = {
shouldDeepMergeDirectiveConfigDefaults: boolean;
useSubUsernameForDefaultIdentityClaim: boolean;
populateOwnerFieldForStaticGroupAuth: boolean;
secondaryKeyAsGSI: boolean;
enableAutoIndexQueryNames: boolean;
respectPrimaryKeyAttributesOnConnectionField: boolean;
};
// @public (undocumented)
export interface UserPoolConfig {

@@ -856,0 +848,0 @@ // (undocumented)

export * from './transformer-context';
export { TransformerPluginProvider, TransformerPluginType } from './transformer-plugin-provider';
export { MutationFieldType, QueryFieldType, SubscriptionFieldType, TransformerModelProvider, TransformerModelEnhancementProvider, TransformerAuthProvider, } from './transformer-model-provider';
export { FeatureFlagProvider } from './feature-flag-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';

@@ -10,2 +9,3 @@ export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider';

export { AmplifyApiGraphQlResourceStackTemplate, AppsyncStackCommon, FunctionDirectiveStack, HttpsDirectiveStack, ModelDirectiveStack, OpenSearchDirectiveStack, } from './amplify-api-resource-stack-types';
export type { TransformParameters } from './transformer-context/transform-parameters';
//# sourceMappingURL=index.d.ts.map

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

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

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

import { TransformerResourceHelperProvider } from './resource-resource-provider';
import { FeatureFlagProvider } from '../feature-flag-provider';
import { OverridesProvider } from './overrides-provider';
import { TransformParameters } from './transform-parameters';
export interface TransformerContextMetadataProvider {

@@ -32,14 +31,13 @@ set<T>(key: string, value: T): void;

resourceHelper: TransformerResourceHelperProvider;
featureFlags: FeatureFlagProvider;
authConfig: AppSyncAuthConfiguration;
sandboxModeEnabled: boolean;
transformParameters: TransformParameters;
isProjectUsingDataStore(): boolean;
getResolverConfig<ResolverConfig>(): ResolverConfig | undefined;
getResourceOverrides: OverridesProvider;
}
export type TransformerBeforeStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'authConfig' | 'stackManager' | 'sandboxModeEnabled'>;
export type TransformerSchemaVisitStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'resourceHelper' | 'sandboxModeEnabled'>;
export type TransformerValidationStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'dataSources' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'sandboxModeEnabled' | 'resourceHelper' | 'resolvers' | 'stackManager'>;
export type TransformerBeforeStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'transformParameters' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'authConfig' | 'stackManager' | 'sandboxModeEnabled'>;
export type TransformerSchemaVisitStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'transformParameters' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'resourceHelper' | 'sandboxModeEnabled'>;
export type TransformerValidationStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'output' | 'providerRegistry' | 'dataSources' | 'transformParameters' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'metadata' | 'authConfig' | 'sandboxModeEnabled' | 'resourceHelper' | 'resolvers' | 'stackManager'>;
export type TransformerPrepareStepContextProvider = TransformerValidationStepContextProvider;
export type TransformerTransformSchemaStepContextProvider = TransformerValidationStepContextProvider;
//# sourceMappingURL=transformer-context-provider.d.ts.map
import { DocumentNode } from 'graphql';
import { FeatureFlagProvider } from '../feature-flag-provider';
import { TransformerSchemaHelperProvider } from './schema-helper-provider';
import { TransformParameters } from './transform-parameters';
export interface TransformerPreProcessContextProvider {
inputDocument: DocumentNode;
featureFlags: FeatureFlagProvider;
transformParameters: TransformParameters;
schemaHelper: TransformerSchemaHelperProvider;
}
//# sourceMappingURL=transformer-preprocess-context-provider.d.ts.map
{
"name": "@aws-amplify/graphql-transformer-interfaces",
"version": "2.2.2-alpha.10+672c3735d",
"version": "2.2.2-alpha.14+681939d26",
"description": "Amplify GraphQL transformer interface definitions",

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

},
"gitHead": "672c3735d8bdd9caf1b10002b7d1e08e1c35157b"
"gitHead": "681939d26dab794bd1392fb198994e4a4c6ae00a"
}

@@ -11,4 +11,2 @@ export * from './transformer-context';

} from './transformer-model-provider';
export { FeatureFlagProvider } from './feature-flag-provider';
export {

@@ -35,5 +33,3 @@ GraphQLAPIProvider,

} from './graphql-api-provider';
export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider';
export {

@@ -46,3 +42,2 @@ DeploymentResources,

} from './deployment-resources';
export { TransformerLog, TransformerLogLevel } from './transformer-log';

@@ -57,1 +52,2 @@ export {

} from './amplify-api-resource-stack-types';
export type { TransformParameters } from './transformer-context/transform-parameters';

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

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

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

import { TransformerResourceHelperProvider } from './resource-resource-provider';
import { FeatureFlagProvider } from '../feature-flag-provider';
import { OverridesProvider } from './overrides-provider';
import { TransformParameters } from './transform-parameters';

@@ -34,9 +33,8 @@ export interface TransformerContextMetadataProvider {

resourceHelper: TransformerResourceHelperProvider;
featureFlags: FeatureFlagProvider;
authConfig: AppSyncAuthConfiguration;
sandboxModeEnabled: boolean;
transformParameters: TransformParameters;
isProjectUsingDataStore(): boolean;
getResolverConfig<ResolverConfig>(): ResolverConfig | undefined;
getResourceOverrides: OverridesProvider;
}

@@ -48,3 +46,3 @@

| 'modelToDatasourceMap'
| 'featureFlags'
| 'transformParameters'
| 'isProjectUsingDataStore'

@@ -63,3 +61,3 @@ | 'getResolverConfig'

| 'providerRegistry'
| 'featureFlags'
| 'transformParameters'
| 'isProjectUsingDataStore'

@@ -80,3 +78,3 @@ | 'getResolverConfig'

| 'dataSources'
| 'featureFlags'
| 'transformParameters'
| 'isProjectUsingDataStore'

@@ -83,0 +81,0 @@ | 'getResolverConfig'

import { DocumentNode } from 'graphql';
import { FeatureFlagProvider } from '../feature-flag-provider';
import { TransformerSchemaHelperProvider } from './schema-helper-provider';
import { TransformParameters } from './transform-parameters';
export interface TransformerPreProcessContextProvider {
inputDocument: DocumentNode;
featureFlags: FeatureFlagProvider;
transformParameters: TransformParameters;
schemaHelper: TransformerSchemaHelperProvider;
}

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

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