[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:
Paul Rastoin
2025-11-17 10:55:19 +01:00
committed by GitHub
parent c1dcda6475
commit a39efeb1ab
75 changed files with 425 additions and 15441 deletions
@@ -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;
};