@amplication/code-gen-types
Advanced tools
Comparing version 2.0.1 to 2.0.2-beta.0
{ | ||
"name": "@amplication/code-gen-types", | ||
"version": "2.0.1", | ||
"version": "2.0.2-beta.0", | ||
"description": "This library supplies all the contracts for Amplication Code Generation. The purpose is to make the contracts available for inclusion in plugins.", | ||
@@ -16,2 +16,3 @@ "main": "src/index.js", | ||
"json-schema": "0.4.0", | ||
"prisma-schema-dsl-types": "1.1.0", | ||
"tslib": "2.5.0" | ||
@@ -18,0 +19,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { namedTypes } from "ast-types"; | ||
import type { namedTypes } from "ast-types"; | ||
import * as models from "./models"; | ||
@@ -78,3 +78,2 @@ import { Lookup, MultiSelectOptionSet, OptionSet } from "./types"; | ||
* @param module The module (file) to add to the set | ||
* @returns The module | ||
*/ | ||
@@ -125,2 +124,3 @@ set(module: Module): Promise<void>; | ||
deleteArgs: NamedClassDeclaration; | ||
countArgs: NamedClassDeclaration; | ||
findManyArgs: NamedClassDeclaration; | ||
@@ -127,0 +127,0 @@ findOneArgs: NamedClassDeclaration; |
@@ -85,3 +85,2 @@ "use strict"; | ||
* @param module The module (file) to add to the set | ||
* @returns The module | ||
*/ | ||
@@ -88,0 +87,0 @@ set(module) { |
@@ -276,3 +276,3 @@ export type Maybe<T> = T | null; | ||
name: Scalars['String']; | ||
resourceId: Scalars['String']; | ||
resourceId?: InputMaybe<Scalars['String']>; | ||
}; | ||
@@ -289,2 +289,5 @@ export type DateTimeFilter = { | ||
}; | ||
export type DefaultEntitiesInput = { | ||
resourceId: Scalars['String']; | ||
}; | ||
export type Entity = { | ||
@@ -766,2 +769,3 @@ createdAt: Scalars['DateTime']; | ||
completeInvitation: Auth; | ||
connectGitRepository: Resource; | ||
connectResourceGitRepository: Resource; | ||
@@ -771,6 +775,6 @@ connectResourceToProjectRepository: Resource; | ||
createBuild: Build; | ||
createDefaultEntities?: Maybe<Array<Entity>>; | ||
createDefaultRelatedField: EntityField; | ||
createEntityField: EntityField; | ||
createEntityFieldByDisplayName: EntityField; | ||
createGitRepository: Resource; | ||
createMessageBroker: Resource; | ||
@@ -847,2 +851,5 @@ createOneEntity: Entity; | ||
}; | ||
export type MutationConnectGitRepositoryArgs = { | ||
data: CreateGitRepositoryInput; | ||
}; | ||
export type MutationConnectResourceGitRepositoryArgs = { | ||
@@ -860,2 +867,5 @@ data: ConnectGitRepositoryInput; | ||
}; | ||
export type MutationCreateDefaultEntitiesArgs = { | ||
data: DefaultEntitiesInput; | ||
}; | ||
export type MutationCreateDefaultRelatedFieldArgs = { | ||
@@ -874,5 +884,2 @@ relatedFieldDisplayName?: InputMaybe<Scalars['String']>; | ||
}; | ||
export type MutationCreateGitRepositoryArgs = { | ||
data: CreateGitRepositoryInput; | ||
}; | ||
export type MutationCreateMessageBrokerArgs = { | ||
@@ -1088,2 +1095,3 @@ data: ResourceCreateInput; | ||
blockType: EnumBlockType; | ||
configurations?: Maybe<Scalars['JSONObject']>; | ||
createdAt: Scalars['DateTime']; | ||
@@ -1108,2 +1116,3 @@ description?: Maybe<Scalars['String']>; | ||
export type PluginInstallationCreateInput = { | ||
configurations?: InputMaybe<Scalars['JSONObject']>; | ||
description?: InputMaybe<Scalars['String']>; | ||
@@ -1130,2 +1139,3 @@ displayName: Scalars['String']; | ||
export type PluginInstallationUpdateInput = { | ||
configurations?: InputMaybe<Scalars['JSONObject']>; | ||
description?: InputMaybe<Scalars['String']>; | ||
@@ -1174,2 +1184,3 @@ displayName?: InputMaybe<Scalars['String']>; | ||
createdAt: Scalars['DateTime']; | ||
demoRepoName?: Maybe<Scalars['String']>; | ||
id: Scalars['String']; | ||
@@ -1179,2 +1190,3 @@ name: Scalars['String']; | ||
updatedAt: Scalars['DateTime']; | ||
useDemoRepo: Scalars['Boolean']; | ||
}; | ||
@@ -1482,2 +1494,3 @@ export type ProjectConfigurationSettings = IBlock & { | ||
commitMessage: Scalars['String']; | ||
connectToDemoRepo: Scalars['Boolean']; | ||
dbType: Scalars['String']; | ||
@@ -1576,2 +1589,3 @@ entities: Array<ResourceCreateWithEntitiesEntityInput>; | ||
adminUISettings: AdminUiSettings; | ||
authEntity?: Maybe<Entity>; | ||
authProvider: EnumAuthProviderType; | ||
@@ -1578,0 +1592,0 @@ blockType: EnumBlockType; |
@@ -1,5 +0,5 @@ | ||
import { namedTypes } from "ast-types"; | ||
import type { namedTypes } from "ast-types"; | ||
import { DTOs, Entity, EntityField, EntityLookupField, EnumDataType, ModuleMap, NamedClassDeclaration } from "./code-gen-types"; | ||
import { EventParams } from "./plugins-types"; | ||
import { Generator, DataSource, ScalarField, ObjectField } from "prisma-schema-dsl-types"; | ||
import type { Generator, DataSource, ScalarField, ObjectField } from "prisma-schema-dsl-types"; | ||
export interface CreateEntityServiceBaseParams extends EventParams { | ||
@@ -6,0 +6,0 @@ entityName: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
146295
3534
6
2