Skip to content

Commit

Permalink
revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
palpatim committed Jan 25, 2025
1 parent 8909f80 commit ae51445
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
InterfaceTypeDefinitionNode,
Kind,
ObjectTypeDefinitionNode,
ObjectTypeExtensionNode,
StringValueNode,
TypeNode,
} from 'graphql';
Expand Down Expand Up @@ -94,7 +93,7 @@ export class DefaultValueTransformer extends TransformerPluginBase {
}

field = (
parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode,
parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode,
definition: FieldDefinitionNode,
directive: DirectiveNode,
ctx: TransformerSchemaVisitStepContextProvider,
Expand Down
5 changes: 2 additions & 3 deletions packages/amplify-graphql-index-transformer/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { DirectiveNode } from 'graphql';
import { FieldDefinitionNode } from 'graphql';
import { InterfaceTypeDefinitionNode } from 'graphql';
import { ObjectTypeDefinitionNode } from 'graphql';
import { ObjectTypeExtensionNode } from 'graphql';
import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
import { TransformerPluginBase } from '@aws-amplify/graphql-transformer-core';
import { TransformerSchemaVisitStepContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
Expand All @@ -24,7 +23,7 @@ export class IndexTransformer extends TransformerPluginBase {
// (undocumented)
after: (ctx: TransformerContextProvider) => void;
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
generateResolvers: (ctx: TransformerContextProvider) => void;
// (undocumented)
Expand All @@ -40,7 +39,7 @@ export class PrimaryKeyTransformer extends TransformerPluginBase {
// (undocumented)
after: (ctx: TransformerContextProvider) => void;
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
generateResolvers: (ctx: TransformerContextProvider) => void;
// (undocumented)
Expand Down
3 changes: 1 addition & 2 deletions packages/amplify-graphql-name-mapping-transformer/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { DirectiveNode } from 'graphql';
import { FieldDefinitionNode } from 'graphql';
import { InterfaceTypeDefinitionNode } from 'graphql';
import { ObjectTypeDefinitionNode } from 'graphql';
import { ObjectTypeExtensionNode } from 'graphql';
import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
import { TransformerPluginBase } from '@aws-amplify/graphql-transformer-core';
import { TransformerPreProcessContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
Expand All @@ -31,7 +30,7 @@ export class RefersToTransformer extends TransformerPluginBase {
// (undocumented)
after: (context: TransformerContextProvider) => void;
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, ctx: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, ctx: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
object: (definition: ObjectTypeDefinitionNode, directive: DirectiveNode, ctx: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
Expand Down
3 changes: 1 addition & 2 deletions packages/amplify-graphql-predictions-transformer/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { DirectiveNode } from 'graphql';
import { FieldDefinitionNode } from 'graphql';
import { InterfaceTypeDefinitionNode } from 'graphql';
import { ObjectTypeDefinitionNode } from 'graphql';
import { ObjectTypeExtensionNode } from 'graphql';
import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
import { TransformerPluginBase } from '@aws-amplify/graphql-transformer-core';
import { TransformerSchemaVisitStepContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
Expand All @@ -19,7 +18,7 @@ export class PredictionsTransformer extends TransformerPluginBase {
// Warning: (ae-forgotten-export) The symbol "PredictionsConfig" needs to be exported by the entry point index.d.ts
constructor(predictionsConfig?: PredictionsConfig);
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
generateResolvers: (context: TransformerContextProvider) => void;
// (undocumented)
Expand Down
9 changes: 4 additions & 5 deletions packages/amplify-graphql-relational-transformer/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { IndexTransformer } from '@aws-amplify/graphql-index-transformer';
import { InterfaceTypeDefinitionNode } from 'graphql';
import { ModelTransformer } from '@aws-amplify/graphql-model-transformer';
import { ObjectTypeDefinitionNode } from 'graphql';
import { ObjectTypeExtensionNode } from 'graphql';
import { TransformerAuthProvider } from '@aws-amplify/graphql-transformer-interfaces';
import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
import { TransformerPluginBase } from '@aws-amplify/graphql-transformer-core';
Expand All @@ -26,7 +25,7 @@ import type { TransformParameters } from '@aws-amplify/graphql-transformer-inter
export class BelongsToTransformer extends TransformerPluginBase {
constructor();
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
generateResolvers: (ctx: TransformerContextProvider) => void;
// (undocumented)
Expand All @@ -50,7 +49,7 @@ export const getSortKeyConnectionAttributeName: (type: string, field: string, re
export class HasManyTransformer extends TransformerPluginBase {
constructor();
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
generateResolvers: (ctx: TransformerContextProvider) => void;
// (undocumented)
Expand All @@ -65,7 +64,7 @@ export class HasManyTransformer extends TransformerPluginBase {
export class HasOneTransformer extends TransformerPluginBase {
constructor();
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
generateResolvers: (ctx: TransformerContextProvider) => void;
// (undocumented)
Expand All @@ -80,7 +79,7 @@ export class HasOneTransformer extends TransformerPluginBase {
export class ManyToManyTransformer extends TransformerPluginBase {
constructor(modelTransformer: ModelTransformer, indexTransformer: IndexTransformer, hasOneTransformer: HasOneTransformer, authProvider: TransformerAuthProvider);
// (undocumented)
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
// (undocumented)
generateResolvers: (ctx: TransformerContextProvider) => void;
// (undocumented)
Expand Down

0 comments on commit ae51445

Please sign in to comment.