[BREAKING_CHANGE/GRAPHQL/OBJECT_METADATA_CREATE_ONE] Remove object/fields/view-fields v1 implementation (#15823)
# Introduction Remove the v2 feature flag for view-field field-metadata and object-metadata metadata entities ## Some details - Disabled nestjs-query for object metadata creation and explicitly calling it - removed all v1 integration tests files ## Remarks Not remove v2 referencing in both filenaming right now will handle that globally later ## Breaking change Due to object metadata resolver createOne standardization had to rename the input from `CreateObjectInput` to `CreateOneObjectInput`
This commit is contained in:
@@ -800,11 +800,30 @@ export type CreateFieldInput = {
|
||||
type: FieldMetadataType;
|
||||
};
|
||||
|
||||
export type CreateObjectInput = {
|
||||
description?: InputMaybe<Scalars['String']>;
|
||||
icon?: InputMaybe<Scalars['String']>;
|
||||
isLabelSyncedWithName?: InputMaybe<Scalars['Boolean']>;
|
||||
isRemote?: InputMaybe<Scalars['Boolean']>;
|
||||
labelPlural: Scalars['String'];
|
||||
labelSingular: Scalars['String'];
|
||||
namePlural: Scalars['String'];
|
||||
nameSingular: Scalars['String'];
|
||||
primaryKeyColumnType?: InputMaybe<Scalars['String']>;
|
||||
primaryKeyFieldMetadataSettings?: InputMaybe<Scalars['JSON']>;
|
||||
shortcut?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type CreateOneFieldMetadataInput = {
|
||||
/** The record to create */
|
||||
field: CreateFieldInput;
|
||||
};
|
||||
|
||||
export type CreateOneObjectInput = {
|
||||
/** The object to create */
|
||||
object: CreateObjectInput;
|
||||
};
|
||||
|
||||
export type CreatePageLayoutInput = {
|
||||
name: Scalars['String'];
|
||||
objectMetadataId?: InputMaybe<Scalars['UUID']>;
|
||||
@@ -1999,6 +2018,11 @@ export type MutationCreateOneFieldArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreateOneObjectArgs = {
|
||||
input: CreateOneObjectInput;
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreateOneRoleArgs = {
|
||||
createRoleInput: CreateRoleInput;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user