Create PageLayoutTab resolver and controller (#14284)
Closes https://github.com/twentyhq/core-team-issues/issues/1394
This commit is contained in:
@@ -681,6 +681,12 @@ export type CreatePageLayoutInput = {
|
||||
type?: InputMaybe<PageLayoutType>;
|
||||
};
|
||||
|
||||
export type CreatePageLayoutTabInput = {
|
||||
pageLayoutId: Scalars['UUID'];
|
||||
position?: InputMaybe<Scalars['Float']>;
|
||||
title: Scalars['String'];
|
||||
};
|
||||
|
||||
export type CreateRoleInput = {
|
||||
canAccessAllTools?: InputMaybe<Scalars['Boolean']>;
|
||||
canBeAssignedToAgents?: InputMaybe<Scalars['Boolean']>;
|
||||
@@ -1345,6 +1351,7 @@ export type Mutation = {
|
||||
createOneRole: Role;
|
||||
createOneServerlessFunction: ServerlessFunction;
|
||||
createPageLayout: PageLayout;
|
||||
createPageLayoutTab: PageLayoutTab;
|
||||
createSAMLIdentityProvider: SetupSsoOutput;
|
||||
createWebhook: Webhook;
|
||||
createWorkflowVersionEdge: WorkflowVersionStepChanges;
|
||||
@@ -1366,6 +1373,7 @@ export type Mutation = {
|
||||
deleteOneRole: Scalars['String'];
|
||||
deleteOneServerlessFunction: ServerlessFunction;
|
||||
deletePageLayout: PageLayout;
|
||||
deletePageLayoutTab: Scalars['Boolean'];
|
||||
deleteSSOIdentityProvider: DeleteSsoOutput;
|
||||
deleteTwoFactorAuthenticationMethod: DeleteTwoFactorAuthenticationMethodOutput;
|
||||
deleteUser: User;
|
||||
@@ -1380,6 +1388,7 @@ export type Mutation = {
|
||||
destroyCoreViewGroup: Scalars['Boolean'];
|
||||
destroyCoreViewSort: Scalars['Boolean'];
|
||||
destroyPageLayout: Scalars['Boolean'];
|
||||
destroyPageLayoutTab: Scalars['Boolean'];
|
||||
disablePostgresProxy: PostgresCredentials;
|
||||
editSSOIdentityProvider: EditSsoOutput;
|
||||
emailPasswordResetLink: EmailPasswordResetLink;
|
||||
@@ -1404,6 +1413,7 @@ export type Mutation = {
|
||||
resendEmailVerificationToken: ResendEmailVerificationTokenOutput;
|
||||
resendWorkspaceInvitation: SendInvitationsOutput;
|
||||
restorePageLayout: PageLayout;
|
||||
restorePageLayoutTab: PageLayoutTab;
|
||||
revokeApiKey?: Maybe<ApiKey>;
|
||||
runWorkflowVersion: WorkflowRun;
|
||||
saveImapSmtpCaldavAccount: ImapSmtpCaldavConnectionSuccess;
|
||||
@@ -1433,6 +1443,7 @@ export type Mutation = {
|
||||
updateOneRole: Role;
|
||||
updateOneServerlessFunction: ServerlessFunction;
|
||||
updatePageLayout: PageLayout;
|
||||
updatePageLayoutTab: PageLayoutTab;
|
||||
updatePasswordViaResetToken: InvalidatePassword;
|
||||
updateSubscriptionItemPrice: BillingUpdateOutput;
|
||||
updateWebhook?: Maybe<Webhook>;
|
||||
@@ -1601,6 +1612,11 @@ export type MutationCreatePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreatePageLayoutTabArgs = {
|
||||
input: CreatePageLayoutTabInput;
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreateSamlIdentityProviderArgs = {
|
||||
input: SetupSamlSsoInput;
|
||||
};
|
||||
@@ -1701,6 +1717,11 @@ export type MutationDeletePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationDeletePageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationDeleteSsoIdentityProviderArgs = {
|
||||
input: DeleteSsoInput;
|
||||
};
|
||||
@@ -1766,6 +1787,11 @@ export type MutationDestroyPageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationDestroyPageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationEditSsoIdentityProviderArgs = {
|
||||
input: EditSsoInput;
|
||||
};
|
||||
@@ -1880,6 +1906,11 @@ export type MutationRestorePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationRestorePageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationRevokeApiKeyArgs = {
|
||||
input: RevokeApiKeyDto;
|
||||
};
|
||||
@@ -2029,6 +2060,12 @@ export type MutationUpdatePageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationUpdatePageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
input: UpdatePageLayoutTabInput;
|
||||
};
|
||||
|
||||
|
||||
export type MutationUpdatePasswordViaResetTokenArgs = {
|
||||
newPassword: Scalars['String'];
|
||||
passwordResetToken: Scalars['String'];
|
||||
@@ -2317,6 +2354,7 @@ export type PageLayoutTab = {
|
||||
position: Scalars['Float'];
|
||||
title: Scalars['String'];
|
||||
updatedAt: Scalars['DateTime'];
|
||||
workspaceId: Scalars['UUID'];
|
||||
};
|
||||
|
||||
export enum PageLayoutType {
|
||||
@@ -2441,6 +2479,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;
|
||||
@@ -2629,6 +2669,16 @@ export type QueryGetPageLayoutArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type QueryGetPageLayoutTabArgs = {
|
||||
id: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryGetPageLayoutTabsArgs = {
|
||||
pageLayoutId: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryGetPageLayoutsArgs = {
|
||||
objectMetadataId?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
@@ -3220,6 +3270,11 @@ export type UpdatePageLayoutInput = {
|
||||
type?: InputMaybe<PageLayoutType>;
|
||||
};
|
||||
|
||||
export type UpdatePageLayoutTabInput = {
|
||||
position?: InputMaybe<Scalars['Float']>;
|
||||
title?: InputMaybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type UpdateRoleInput = {
|
||||
/** The id of the role to update */
|
||||
id: Scalars['UUID'];
|
||||
|
||||
Reference in New Issue
Block a user