chore(gqlgen): run yarn gqlgen (#3049)
This commit is contained in:
@@ -29,7 +29,6 @@ export type ActiveUserMutations = {
|
||||
finishOnboarding: Scalars['Boolean']['output'];
|
||||
/** Edit a user's profile */
|
||||
update: User;
|
||||
workspaceMutations?: Maybe<UserWorkspaceMutations>;
|
||||
};
|
||||
|
||||
|
||||
@@ -826,6 +825,12 @@ export type CreateVersionInput = {
|
||||
totalChildrenCount?: InputMaybe<Scalars['Int']['input']>;
|
||||
};
|
||||
|
||||
export enum Currency {
|
||||
Eur = 'EUR',
|
||||
Gbp = 'GBP',
|
||||
Usd = 'USD'
|
||||
}
|
||||
|
||||
export type DeleteModelInput = {
|
||||
id: Scalars['ID']['input'];
|
||||
projectId: Scalars['ID']['input'];
|
||||
@@ -851,8 +856,10 @@ export type DiscoverableStreamsSortingInput = {
|
||||
|
||||
export type DiscoverableWorkspace = {
|
||||
__typename?: 'DiscoverableWorkspace';
|
||||
defaultLogoIndex: Scalars['Int']['output'];
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
id: Scalars['ID']['output'];
|
||||
logo?: Maybe<Scalars['String']['output']>;
|
||||
name: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
@@ -929,6 +936,10 @@ export type GendoAiRenderInput = {
|
||||
versionId: Scalars['ID']['input'];
|
||||
};
|
||||
|
||||
export type JoinWorkspaceInput = {
|
||||
workspaceId: Scalars['ID']['input'];
|
||||
};
|
||||
|
||||
export type LegacyCommentViewerData = {
|
||||
__typename?: 'LegacyCommentViewerData';
|
||||
/**
|
||||
@@ -984,6 +995,7 @@ export type LimitedUser = {
|
||||
*/
|
||||
totalOwnedStreamsFavorites: Scalars['Int']['output'];
|
||||
verified?: Maybe<Scalars['Boolean']['output']>;
|
||||
workspaceDomainPolicyCompliant?: Maybe<Scalars['Boolean']['output']>;
|
||||
};
|
||||
|
||||
|
||||
@@ -1031,6 +1043,15 @@ export type LimitedUserTimelineArgs = {
|
||||
limit?: Scalars['Int']['input'];
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Limited user type, for showing public info about a user
|
||||
* to another user
|
||||
*/
|
||||
export type LimitedUserWorkspaceDomainPolicyCompliantArgs = {
|
||||
workspaceId?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type MarkReceivedVersionInput = {
|
||||
message?: InputMaybe<Scalars['String']['input']>;
|
||||
projectId: Scalars['String']['input'];
|
||||
@@ -1839,7 +1860,7 @@ export type ProjectCommentArgs = {
|
||||
export type ProjectCommentThreadsArgs = {
|
||||
cursor?: InputMaybe<Scalars['String']['input']>;
|
||||
filter?: InputMaybe<ProjectCommentsFilter>;
|
||||
limit?: Scalars['Int']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
};
|
||||
|
||||
|
||||
@@ -2274,6 +2295,12 @@ export enum ProjectPendingVersionsUpdatedMessageType {
|
||||
Updated = 'UPDATED'
|
||||
}
|
||||
|
||||
export type ProjectRole = {
|
||||
__typename?: 'ProjectRole';
|
||||
project: Project;
|
||||
role: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type ProjectTestAutomationCreateInput = {
|
||||
functionId: Scalars['String']['input'];
|
||||
modelId: Scalars['String']['input'];
|
||||
@@ -2461,6 +2488,8 @@ export type Query = {
|
||||
* The query looks for matches in name & email
|
||||
*/
|
||||
userSearch: UserSearchResultCollection;
|
||||
/** Validates the slug, to make sure it contains only valid characters and its not taken. */
|
||||
validateWorkspaceSlug: Scalars['Boolean']['output'];
|
||||
workspace: Workspace;
|
||||
/**
|
||||
* Look for an invitation to a workspace, for the current user (authed or not).
|
||||
@@ -2596,6 +2625,11 @@ export type QueryUserSearchArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type QueryValidateWorkspaceSlugArgs = {
|
||||
slug: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryWorkspaceArgs = {
|
||||
id: Scalars['String']['input'];
|
||||
};
|
||||
@@ -3829,18 +3863,28 @@ export type WebhookUpdateInput = {
|
||||
id: Scalars['String']['input'];
|
||||
secret?: InputMaybe<Scalars['String']['input']>;
|
||||
streamId: Scalars['String']['input'];
|
||||
triggers?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
||||
triggers?: InputMaybe<Array<Scalars['String']['input']>>;
|
||||
url?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type Workspace = {
|
||||
__typename?: 'Workspace';
|
||||
/** Billing data for Workspaces beta */
|
||||
billing?: Maybe<WorkspaceBilling>;
|
||||
createdAt: Scalars['DateTime']['output'];
|
||||
/** Selected fallback when `logo` not set */
|
||||
defaultLogoIndex: Scalars['Int']['output'];
|
||||
/** The default role workspace members will receive for workspace projects. */
|
||||
defaultProjectRole: Scalars['String']['output'];
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
/** Enable/Disable discovery of the workspace */
|
||||
discoverabilityEnabled: Scalars['Boolean']['output'];
|
||||
/** Enable/Disable restriction to invite users to workspace as Guests only */
|
||||
domainBasedMembershipProtectionEnabled: Scalars['Boolean']['output'];
|
||||
/** Verified workspace domains */
|
||||
domains?: Maybe<Array<WorkspaceDomain>>;
|
||||
id: Scalars['ID']['output'];
|
||||
/** Only available to workspace owners */
|
||||
/** Only available to workspace owners/members */
|
||||
invitedTeam?: Maybe<Array<PendingWorkspaceCollaborator>>;
|
||||
/** Logo image as base64-encoded string */
|
||||
logo?: Maybe<Scalars['String']['output']>;
|
||||
@@ -3848,7 +3892,8 @@ export type Workspace = {
|
||||
projects: ProjectCollection;
|
||||
/** Active user's role for this workspace. `null` if request is not authenticated, or the workspace is not explicitly shared with you. */
|
||||
role?: Maybe<Scalars['String']['output']>;
|
||||
team: Array<WorkspaceCollaborator>;
|
||||
slug: Scalars['String']['output'];
|
||||
team: WorkspaceCollaboratorCollection;
|
||||
updatedAt: Scalars['DateTime']['output'];
|
||||
};
|
||||
|
||||
@@ -3866,16 +3911,33 @@ export type WorkspaceProjectsArgs = {
|
||||
|
||||
|
||||
export type WorkspaceTeamArgs = {
|
||||
cursor?: InputMaybe<Scalars['String']['input']>;
|
||||
filter?: InputMaybe<WorkspaceTeamFilter>;
|
||||
limit?: Scalars['Int']['input'];
|
||||
};
|
||||
|
||||
export type WorkspaceBilling = {
|
||||
__typename?: 'WorkspaceBilling';
|
||||
cost: WorkspaceCost;
|
||||
versionsCount: WorkspaceVersionsCount;
|
||||
};
|
||||
|
||||
/** Overridden by `WorkspaceCollaboratorGraphQLReturn` */
|
||||
export type WorkspaceCollaborator = {
|
||||
__typename?: 'WorkspaceCollaborator';
|
||||
id: Scalars['ID']['output'];
|
||||
projectRoles: Array<ProjectRole>;
|
||||
role: Scalars['String']['output'];
|
||||
user: LimitedUser;
|
||||
};
|
||||
|
||||
export type WorkspaceCollaboratorCollection = {
|
||||
__typename?: 'WorkspaceCollaboratorCollection';
|
||||
cursor?: Maybe<Scalars['String']['output']>;
|
||||
items: Array<WorkspaceCollaborator>;
|
||||
totalCount: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCollection = {
|
||||
__typename?: 'WorkspaceCollection';
|
||||
cursor?: Maybe<Scalars['String']['output']>;
|
||||
@@ -3883,10 +3945,51 @@ export type WorkspaceCollection = {
|
||||
totalCount: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCost = {
|
||||
__typename?: 'WorkspaceCost';
|
||||
/** Currency of the price */
|
||||
currency: Currency;
|
||||
/** Discount applied to the total */
|
||||
discount?: Maybe<WorkspaceCostDiscount>;
|
||||
items: Array<WorkspaceCostItem>;
|
||||
/** Estimated cost of the workspace with no discount applied */
|
||||
subTotal: Scalars['Float']['output'];
|
||||
/** Total cost with discount applied */
|
||||
total: Scalars['Float']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCostDiscount = {
|
||||
__typename?: 'WorkspaceCostDiscount';
|
||||
amount: Scalars['Float']['output'];
|
||||
name: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCostItem = {
|
||||
__typename?: 'WorkspaceCostItem';
|
||||
cost: Scalars['Float']['output'];
|
||||
count: Scalars['Int']['output'];
|
||||
label: Scalars['String']['output'];
|
||||
name: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCreateInput = {
|
||||
defaultLogoIndex?: InputMaybe<Scalars['Int']['input']>;
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
/** Logo image as base64-encoded string */
|
||||
logo?: InputMaybe<Scalars['String']['input']>;
|
||||
name: Scalars['String']['input'];
|
||||
slug?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type WorkspaceDomain = {
|
||||
__typename?: 'WorkspaceDomain';
|
||||
domain: Scalars['String']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceDomainDeleteInput = {
|
||||
id: Scalars['ID']['input'];
|
||||
workspaceId: Scalars['ID']['input'];
|
||||
};
|
||||
|
||||
export type WorkspaceInviteCreateInput = {
|
||||
@@ -3954,15 +4057,24 @@ export type WorkspaceInviteUseInput = {
|
||||
|
||||
export type WorkspaceMutations = {
|
||||
__typename?: 'WorkspaceMutations';
|
||||
addDomain: Workspace;
|
||||
create: Workspace;
|
||||
delete: Scalars['Boolean']['output'];
|
||||
deleteDomain: Workspace;
|
||||
invites: WorkspaceInviteMutations;
|
||||
join: Workspace;
|
||||
leave: Scalars['Boolean']['output'];
|
||||
projects: WorkspaceProjectMutations;
|
||||
update: Workspace;
|
||||
updateRole: Workspace;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsAddDomainArgs = {
|
||||
input: AddDomainToWorkspaceInput;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsCreateArgs = {
|
||||
input: WorkspaceCreateInput;
|
||||
};
|
||||
@@ -3973,6 +4085,16 @@ export type WorkspaceMutationsDeleteArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsDeleteDomainArgs = {
|
||||
input: WorkspaceDomainDeleteInput;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsJoinArgs = {
|
||||
input: JoinWorkspaceInput;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsLeaveArgs = {
|
||||
id: Scalars['ID']['input'];
|
||||
};
|
||||
@@ -4000,6 +4122,23 @@ export type WorkspaceProjectInviteCreateInput = {
|
||||
workspaceRole?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type WorkspaceProjectMutations = {
|
||||
__typename?: 'WorkspaceProjectMutations';
|
||||
moveToWorkspace: Project;
|
||||
updateRole: Project;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceProjectMutationsMoveToWorkspaceArgs = {
|
||||
projectId: Scalars['String']['input'];
|
||||
workspaceId: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceProjectMutationsUpdateRoleArgs = {
|
||||
input: ProjectUpdateRoleInput;
|
||||
};
|
||||
|
||||
export type WorkspaceProjectsFilter = {
|
||||
/** Filter out projects by name */
|
||||
search?: InputMaybe<Scalars['String']['input']>;
|
||||
@@ -4032,11 +4171,23 @@ export type WorkspaceTeamFilter = {
|
||||
|
||||
export type WorkspaceUpdateInput = {
|
||||
defaultLogoIndex?: InputMaybe<Scalars['Int']['input']>;
|
||||
defaultProjectRole?: InputMaybe<Scalars['String']['input']>;
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
discoverabilityEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
domainBasedMembershipProtectionEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
id: Scalars['String']['input'];
|
||||
/** Logo image as base64-encoded string */
|
||||
logo?: InputMaybe<Scalars['String']['input']>;
|
||||
name?: InputMaybe<Scalars['String']['input']>;
|
||||
slug?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type WorkspaceVersionsCount = {
|
||||
__typename?: 'WorkspaceVersionsCount';
|
||||
/** Total number of versions of all projects in the workspace */
|
||||
current: Scalars['Int']['output'];
|
||||
/** Maximum number of version of all projects in the workspace with no additional cost */
|
||||
max: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type AcccountTestQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
@@ -4045,4 +4196,4 @@ export type AcccountTestQueryQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
export type AcccountTestQueryQuery = { __typename?: 'Query', serverInfo: { __typename?: 'ServerInfo', version?: string | null, name: string, company?: string | null } };
|
||||
|
||||
|
||||
export const AcccountTestQueryDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AcccountTestQuery" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "serverInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "company" } }] } }] } }] } as unknown as DocumentNode<AcccountTestQueryQuery, AcccountTestQueryQueryVariables>;
|
||||
export const AcccountTestQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AcccountTestQuery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serverInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"company"}}]}}]}}]} as unknown as DocumentNode<AcccountTestQueryQuery, AcccountTestQueryQueryVariables>;
|
||||
@@ -56,6 +56,11 @@ export type ActivityCollection = {
|
||||
totalCount: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type AddDomainToWorkspaceInput = {
|
||||
domain: Scalars['String']['input'];
|
||||
workspaceId: Scalars['ID']['input'];
|
||||
};
|
||||
|
||||
export type AdminInviteList = {
|
||||
__typename?: 'AdminInviteList';
|
||||
cursor?: Maybe<Scalars['String']['output']>;
|
||||
@@ -835,6 +840,12 @@ export type CreateVersionInput = {
|
||||
totalChildrenCount?: InputMaybe<Scalars['Int']['input']>;
|
||||
};
|
||||
|
||||
export enum Currency {
|
||||
Eur = 'EUR',
|
||||
Gbp = 'GBP',
|
||||
Usd = 'USD'
|
||||
}
|
||||
|
||||
export type DeleteModelInput = {
|
||||
id: Scalars['ID']['input'];
|
||||
projectId: Scalars['ID']['input'];
|
||||
@@ -858,6 +869,15 @@ export type DiscoverableStreamsSortingInput = {
|
||||
type: DiscoverableStreamsSortType;
|
||||
};
|
||||
|
||||
export type DiscoverableWorkspace = {
|
||||
__typename?: 'DiscoverableWorkspace';
|
||||
defaultLogoIndex: Scalars['Int']['output'];
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
id: Scalars['ID']['output'];
|
||||
logo?: Maybe<Scalars['String']['output']>;
|
||||
name: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type EditCommentInput = {
|
||||
commentId: Scalars['String']['input'];
|
||||
content: CommentContentInput;
|
||||
@@ -931,6 +951,10 @@ export type GendoAiRenderInput = {
|
||||
versionId: Scalars['ID']['input'];
|
||||
};
|
||||
|
||||
export type JoinWorkspaceInput = {
|
||||
workspaceId: Scalars['ID']['input'];
|
||||
};
|
||||
|
||||
export type LegacyCommentViewerData = {
|
||||
__typename?: 'LegacyCommentViewerData';
|
||||
/**
|
||||
@@ -986,6 +1010,7 @@ export type LimitedUser = {
|
||||
*/
|
||||
totalOwnedStreamsFavorites: Scalars['Int']['output'];
|
||||
verified?: Maybe<Scalars['Boolean']['output']>;
|
||||
workspaceDomainPolicyCompliant?: Maybe<Scalars['Boolean']['output']>;
|
||||
};
|
||||
|
||||
|
||||
@@ -1033,6 +1058,15 @@ export type LimitedUserTimelineArgs = {
|
||||
limit?: Scalars['Int']['input'];
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Limited user type, for showing public info about a user
|
||||
* to another user
|
||||
*/
|
||||
export type LimitedUserWorkspaceDomainPolicyCompliantArgs = {
|
||||
workspaceId?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type MarkReceivedVersionInput = {
|
||||
message?: InputMaybe<Scalars['String']['input']>;
|
||||
projectId: Scalars['String']['input'];
|
||||
@@ -1841,7 +1875,7 @@ export type ProjectCommentArgs = {
|
||||
export type ProjectCommentThreadsArgs = {
|
||||
cursor?: InputMaybe<Scalars['String']['input']>;
|
||||
filter?: InputMaybe<ProjectCommentsFilter>;
|
||||
limit?: Scalars['Int']['input'];
|
||||
limit?: InputMaybe<Scalars['Int']['input']>;
|
||||
};
|
||||
|
||||
|
||||
@@ -2276,6 +2310,12 @@ export enum ProjectPendingVersionsUpdatedMessageType {
|
||||
Updated = 'UPDATED'
|
||||
}
|
||||
|
||||
export type ProjectRole = {
|
||||
__typename?: 'ProjectRole';
|
||||
project: Project;
|
||||
role: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type ProjectTestAutomationCreateInput = {
|
||||
functionId: Scalars['String']['input'];
|
||||
modelId: Scalars['String']['input'];
|
||||
@@ -2465,6 +2505,8 @@ export type Query = {
|
||||
* The query looks for matches in name & email
|
||||
*/
|
||||
userSearch: UserSearchResultCollection;
|
||||
/** Validates the slug, to make sure it contains only valid characters and its not taken. */
|
||||
validateWorkspaceSlug: Scalars['Boolean']['output'];
|
||||
workspace: Workspace;
|
||||
/**
|
||||
* Look for an invitation to a workspace, for the current user (authed or not).
|
||||
@@ -2600,6 +2642,11 @@ export type QueryUserSearchArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type QueryValidateWorkspaceSlugArgs = {
|
||||
slug: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type QueryWorkspaceArgs = {
|
||||
id: Scalars['String']['input'];
|
||||
};
|
||||
@@ -3388,6 +3435,8 @@ export type User = {
|
||||
/** Returns the apps you have created. */
|
||||
createdApps?: Maybe<Array<ServerApp>>;
|
||||
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
||||
/** Get discoverable workspaces with verified domains that match the active user's */
|
||||
discoverableWorkspaces: Array<DiscoverableWorkspace>;
|
||||
/** Only returned if API user is the user being requested or an admin */
|
||||
email?: Maybe<Scalars['String']['output']>;
|
||||
emails: Array<UserEmail>;
|
||||
@@ -3837,18 +3886,28 @@ export type WebhookUpdateInput = {
|
||||
id: Scalars['String']['input'];
|
||||
secret?: InputMaybe<Scalars['String']['input']>;
|
||||
streamId: Scalars['String']['input'];
|
||||
triggers?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
||||
triggers?: InputMaybe<Array<Scalars['String']['input']>>;
|
||||
url?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type Workspace = {
|
||||
__typename?: 'Workspace';
|
||||
/** Billing data for Workspaces beta */
|
||||
billing?: Maybe<WorkspaceBilling>;
|
||||
createdAt: Scalars['DateTime']['output'];
|
||||
/** Selected fallback when `logo` not set */
|
||||
defaultLogoIndex: Scalars['Int']['output'];
|
||||
/** The default role workspace members will receive for workspace projects. */
|
||||
defaultProjectRole: Scalars['String']['output'];
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
/** Enable/Disable discovery of the workspace */
|
||||
discoverabilityEnabled: Scalars['Boolean']['output'];
|
||||
/** Enable/Disable restriction to invite users to workspace as Guests only */
|
||||
domainBasedMembershipProtectionEnabled: Scalars['Boolean']['output'];
|
||||
/** Verified workspace domains */
|
||||
domains?: Maybe<Array<WorkspaceDomain>>;
|
||||
id: Scalars['ID']['output'];
|
||||
/** Only available to workspace owners */
|
||||
/** Only available to workspace owners/members */
|
||||
invitedTeam?: Maybe<Array<PendingWorkspaceCollaborator>>;
|
||||
/** Logo image as base64-encoded string */
|
||||
logo?: Maybe<Scalars['String']['output']>;
|
||||
@@ -3856,7 +3915,8 @@ export type Workspace = {
|
||||
projects: ProjectCollection;
|
||||
/** Active user's role for this workspace. `null` if request is not authenticated, or the workspace is not explicitly shared with you. */
|
||||
role?: Maybe<Scalars['String']['output']>;
|
||||
team: Array<WorkspaceCollaborator>;
|
||||
slug: Scalars['String']['output'];
|
||||
team: WorkspaceCollaboratorCollection;
|
||||
updatedAt: Scalars['DateTime']['output'];
|
||||
};
|
||||
|
||||
@@ -3874,16 +3934,33 @@ export type WorkspaceProjectsArgs = {
|
||||
|
||||
|
||||
export type WorkspaceTeamArgs = {
|
||||
cursor?: InputMaybe<Scalars['String']['input']>;
|
||||
filter?: InputMaybe<WorkspaceTeamFilter>;
|
||||
limit?: Scalars['Int']['input'];
|
||||
};
|
||||
|
||||
export type WorkspaceBilling = {
|
||||
__typename?: 'WorkspaceBilling';
|
||||
cost: WorkspaceCost;
|
||||
versionsCount: WorkspaceVersionsCount;
|
||||
};
|
||||
|
||||
/** Overridden by `WorkspaceCollaboratorGraphQLReturn` */
|
||||
export type WorkspaceCollaborator = {
|
||||
__typename?: 'WorkspaceCollaborator';
|
||||
id: Scalars['ID']['output'];
|
||||
projectRoles: Array<ProjectRole>;
|
||||
role: Scalars['String']['output'];
|
||||
user: LimitedUser;
|
||||
};
|
||||
|
||||
export type WorkspaceCollaboratorCollection = {
|
||||
__typename?: 'WorkspaceCollaboratorCollection';
|
||||
cursor?: Maybe<Scalars['String']['output']>;
|
||||
items: Array<WorkspaceCollaborator>;
|
||||
totalCount: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCollection = {
|
||||
__typename?: 'WorkspaceCollection';
|
||||
cursor?: Maybe<Scalars['String']['output']>;
|
||||
@@ -3891,10 +3968,51 @@ export type WorkspaceCollection = {
|
||||
totalCount: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCost = {
|
||||
__typename?: 'WorkspaceCost';
|
||||
/** Currency of the price */
|
||||
currency: Currency;
|
||||
/** Discount applied to the total */
|
||||
discount?: Maybe<WorkspaceCostDiscount>;
|
||||
items: Array<WorkspaceCostItem>;
|
||||
/** Estimated cost of the workspace with no discount applied */
|
||||
subTotal: Scalars['Float']['output'];
|
||||
/** Total cost with discount applied */
|
||||
total: Scalars['Float']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCostDiscount = {
|
||||
__typename?: 'WorkspaceCostDiscount';
|
||||
amount: Scalars['Float']['output'];
|
||||
name: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCostItem = {
|
||||
__typename?: 'WorkspaceCostItem';
|
||||
cost: Scalars['Float']['output'];
|
||||
count: Scalars['Int']['output'];
|
||||
label: Scalars['String']['output'];
|
||||
name: Scalars['String']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceCreateInput = {
|
||||
defaultLogoIndex?: InputMaybe<Scalars['Int']['input']>;
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
/** Logo image as base64-encoded string */
|
||||
logo?: InputMaybe<Scalars['String']['input']>;
|
||||
name: Scalars['String']['input'];
|
||||
slug?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type WorkspaceDomain = {
|
||||
__typename?: 'WorkspaceDomain';
|
||||
domain: Scalars['String']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
};
|
||||
|
||||
export type WorkspaceDomainDeleteInput = {
|
||||
id: Scalars['ID']['input'];
|
||||
workspaceId: Scalars['ID']['input'];
|
||||
};
|
||||
|
||||
export type WorkspaceInviteCreateInput = {
|
||||
@@ -3962,15 +4080,24 @@ export type WorkspaceInviteUseInput = {
|
||||
|
||||
export type WorkspaceMutations = {
|
||||
__typename?: 'WorkspaceMutations';
|
||||
addDomain: Workspace;
|
||||
create: Workspace;
|
||||
delete: Scalars['Boolean']['output'];
|
||||
deleteDomain: Workspace;
|
||||
invites: WorkspaceInviteMutations;
|
||||
join: Workspace;
|
||||
leave: Scalars['Boolean']['output'];
|
||||
projects: WorkspaceProjectMutations;
|
||||
update: Workspace;
|
||||
updateRole: Workspace;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsAddDomainArgs = {
|
||||
input: AddDomainToWorkspaceInput;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsCreateArgs = {
|
||||
input: WorkspaceCreateInput;
|
||||
};
|
||||
@@ -3981,6 +4108,16 @@ export type WorkspaceMutationsDeleteArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsDeleteDomainArgs = {
|
||||
input: WorkspaceDomainDeleteInput;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsJoinArgs = {
|
||||
input: JoinWorkspaceInput;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceMutationsLeaveArgs = {
|
||||
id: Scalars['ID']['input'];
|
||||
};
|
||||
@@ -4008,6 +4145,23 @@ export type WorkspaceProjectInviteCreateInput = {
|
||||
workspaceRole?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type WorkspaceProjectMutations = {
|
||||
__typename?: 'WorkspaceProjectMutations';
|
||||
moveToWorkspace: Project;
|
||||
updateRole: Project;
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceProjectMutationsMoveToWorkspaceArgs = {
|
||||
projectId: Scalars['String']['input'];
|
||||
workspaceId: Scalars['String']['input'];
|
||||
};
|
||||
|
||||
|
||||
export type WorkspaceProjectMutationsUpdateRoleArgs = {
|
||||
input: ProjectUpdateRoleInput;
|
||||
};
|
||||
|
||||
export type WorkspaceProjectsFilter = {
|
||||
/** Filter out projects by name */
|
||||
search?: InputMaybe<Scalars['String']['input']>;
|
||||
@@ -4040,11 +4194,23 @@ export type WorkspaceTeamFilter = {
|
||||
|
||||
export type WorkspaceUpdateInput = {
|
||||
defaultLogoIndex?: InputMaybe<Scalars['Int']['input']>;
|
||||
defaultProjectRole?: InputMaybe<Scalars['String']['input']>;
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
discoverabilityEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
domainBasedMembershipProtectionEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
||||
id: Scalars['String']['input'];
|
||||
/** Logo image as base64-encoded string */
|
||||
logo?: InputMaybe<Scalars['String']['input']>;
|
||||
name?: InputMaybe<Scalars['String']['input']>;
|
||||
slug?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
export type WorkspaceVersionsCount = {
|
||||
__typename?: 'WorkspaceVersionsCount';
|
||||
/** Total number of versions of all projects in the workspace */
|
||||
current: Scalars['Int']['output'];
|
||||
/** Maximum number of version of all projects in the workspace with no additional cost */
|
||||
max: Scalars['Int']['output'];
|
||||
};
|
||||
|
||||
export type GetStreamAccessRequestQueryVariables = Exact<{
|
||||
|
||||
Reference in New Issue
Block a user