Create PageLayoutTab resolver and controller (#14284)
Closes https://github.com/twentyhq/core-team-issues/issues/1394
This commit is contained in:
@@ -709,6 +709,12 @@ export type CreatePageLayoutInput = {
|
||||
type?: InputMaybe<PageLayoutType>;
|
||||
};
|
||||
|
||||
export type CreatePageLayoutTabInput = {
|
||||
pageLayoutId: Scalars['UUID'];
|
||||
position?: InputMaybe<Scalars['Float']>;
|
||||
title: Scalars['String'];
|
||||
};
|
||||
|
||||
export type CreateRemoteServerInput = {
|
||||
foreignDataWrapperOptions: Scalars['JSON'];
|
||||
foreignDataWrapperType: Scalars['String'];
|
||||
@@ -1389,6 +1395,7 @@ export type Mutation = {
|
||||
createOneRole: Role;
|
||||
createOneServerlessFunction: ServerlessFunction;
|
||||
createPageLayout: PageLayout;
|
||||
createPageLayoutTab: PageLayoutTab;
|
||||
createSAMLIdentityProvider: SetupSsoOutput;
|
||||
createWebhook: Webhook;
|
||||
createWorkflowVersionEdge: WorkflowVersionStepChanges;
|
||||
@@ -1411,6 +1418,7 @@ export type Mutation = {
|
||||
deleteOneRole: Scalars['String'];
|
||||
deleteOneServerlessFunction: ServerlessFunction;
|
||||
deletePageLayout: PageLayout;
|
||||
deletePageLayoutTab: Scalars['Boolean'];
|
||||
deleteSSOIdentityProvider: DeleteSsoOutput;
|
||||
deleteTwoFactorAuthenticationMethod: DeleteTwoFactorAuthenticationMethodOutput;
|
||||
deleteUser: User;
|
||||
@@ -1425,6 +1433,7 @@ export type Mutation = {
|
||||
destroyCoreViewGroup: Scalars['Boolean'];
|
||||
destroyCoreViewSort: Scalars['Boolean'];
|
||||
destroyPageLayout: Scalars['Boolean'];
|
||||
destroyPageLayoutTab: Scalars['Boolean'];
|
||||
disablePostgresProxy: PostgresCredentials;
|
||||
editSSOIdentityProvider: EditSsoOutput;
|
||||
emailPasswordResetLink: EmailPasswordResetLink;
|
||||
@@ -1449,6 +1458,7 @@ export type Mutation = {
|
||||
resendEmailVerificationToken: ResendEmailVerificationTokenOutput;
|
||||
resendWorkspaceInvitation: SendInvitationsOutput;
|
||||
restorePageLayout: PageLayout;
|
||||
restorePageLayoutTab: PageLayoutTab;
|
||||
revokeApiKey?: Maybe<ApiKey>;
|
||||
runWorkflowVersion: WorkflowRun;
|
||||
saveImapSmtpCaldavAccount: ImapSmtpCaldavConnectionSuccess;
|
||||
@@ -1482,6 +1492,7 @@ export type Mutation = {
|
||||
updateOneRole: Role;
|
||||
updateOneServerlessFunction: ServerlessFunction;
|
||||
updatePageLayout: PageLayout;
|
||||
updatePageLayoutTab: PageLayoutTab;
|
||||
updatePasswordViaResetToken: InvalidatePassword;
|
||||
updateSubscriptionItemPrice: BillingUpdateOutput;
|
||||
updateWebhook?: Maybe<Webhook>;
|
||||
@@ -1665,6 +1676,11 @@ export type MutationCreatePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreatePageLayoutTabArgs = {
|
||||
input: CreatePageLayoutTabInput;
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreateSamlIdentityProviderArgs = {
|
||||
input: SetupSamlSsoInput;
|
||||
};
|
||||
@@ -1770,6 +1786,11 @@ export type MutationDeletePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationDeletePageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationDeleteSsoIdentityProviderArgs = {
|
||||
input: DeleteSsoInput;
|
||||
};
|
||||
@@ -1835,6 +1856,11 @@ export type MutationDestroyPageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationDestroyPageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationEditSsoIdentityProviderArgs = {
|
||||
input: EditSsoInput;
|
||||
};
|
||||
@@ -1949,6 +1975,11 @@ export type MutationRestorePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationRestorePageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationRevokeApiKeyArgs = {
|
||||
input: RevokeApiKeyDto;
|
||||
};
|
||||
@@ -2118,6 +2149,12 @@ export type MutationUpdatePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationUpdatePageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
input: UpdatePageLayoutTabInput;
|
||||
};
|
||||
|
||||
|
||||
export type MutationUpdatePasswordViaResetTokenArgs = {
|
||||
newPassword: Scalars['String'];
|
||||
passwordResetToken: Scalars['String'];
|
||||
@@ -2406,6 +2443,7 @@ export type PageLayoutTab = {
|
||||
position: Scalars['Float'];
|
||||
title: Scalars['String'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspaceId: Scalars['UUID'];
|
||||
};
|
||||
|
||||
export enum PageLayoutType {
|
||||
@@ -2533,6 +2571,8 @@ export type Query = {
|
||||
getIndicatorHealthStatus: AdminPanelHealthServiceData;
|
||||
getMeteredProductsUsage: Array<BillingMeteredProductUsageOutput>;
|
||||
getPageLayout?: Maybe<PageLayout>;
|
||||
getPageLayoutTab: PageLayoutTab;
|
||||
getPageLayoutTabs: Array<PageLayoutTab>;
|
||||
getPageLayouts: Array<PageLayout>;
|
||||
getPostgresCredentials?: Maybe<PostgresCredentials>;
|
||||
getPublicWorkspaceDataByDomain: PublicWorkspaceDataOutput;
|
||||
@@ -2747,6 +2787,16 @@ export type QueryGetPageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type QueryGetPageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryGetPageLayoutTabsArgs = {
|
||||
pageLayoutId: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryGetPageLayoutsArgs = {
|
||||
objectMetadataId?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
@@ -3374,6 +3424,11 @@ export type UpdatePageLayoutInput = {
|
||||
type?: InputMaybe<PageLayoutType>;
|
||||
};
|
||||
|
||||
export type UpdatePageLayoutTabInput = {
|
||||
position?: InputMaybe<Scalars['Float']>;
|
||||
title?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type UpdateRemoteServerInput = {
|
||||
foreignDataWrapperOptions?: InputMaybe<Scalars['JSON']>;
|
||||
id: Scalars['UUID'];
|
||||
|
||||
Reference in New Issue
Block a user