|
|
|
@@ -148,8 +148,8 @@ export type ApiTokenCreateInput = {
|
|
|
|
|
export type AppAuthor = {
|
|
|
|
|
__typename?: 'AppAuthor';
|
|
|
|
|
avatar?: Maybe<Scalars['String']>;
|
|
|
|
|
id?: Maybe<Scalars['String']>;
|
|
|
|
|
name?: Maybe<Scalars['String']>;
|
|
|
|
|
id: Scalars['String'];
|
|
|
|
|
name: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type AppCreateInput = {
|
|
|
|
@@ -182,6 +182,98 @@ export type AuthStrategy = {
|
|
|
|
|
url: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type AutomationCreateInput = {
|
|
|
|
|
automationId: Scalars['String'];
|
|
|
|
|
automationName: Scalars['String'];
|
|
|
|
|
automationRevisionId: Scalars['String'];
|
|
|
|
|
modelId: Scalars['String'];
|
|
|
|
|
projectId: Scalars['String'];
|
|
|
|
|
webhookId?: InputMaybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type AutomationFunctionRun = {
|
|
|
|
|
__typename?: 'AutomationFunctionRun';
|
|
|
|
|
contextView?: Maybe<Scalars['String']>;
|
|
|
|
|
elapsed: Scalars['Float'];
|
|
|
|
|
functionId: Scalars['String'];
|
|
|
|
|
functionLogo?: Maybe<Scalars['String']>;
|
|
|
|
|
functionName: Scalars['String'];
|
|
|
|
|
id: Scalars['ID'];
|
|
|
|
|
resultVersions: Array<Version>;
|
|
|
|
|
/**
|
|
|
|
|
* NOTE: this is the schema for the results field below!
|
|
|
|
|
* Current schema: {
|
|
|
|
|
* version: "1.0.0",
|
|
|
|
|
* values: {
|
|
|
|
|
* objectResults: Record<str, {
|
|
|
|
|
* category: string
|
|
|
|
|
* level: ObjectResultLevel
|
|
|
|
|
* objectIds: string[]
|
|
|
|
|
* message: str | null
|
|
|
|
|
* metadata: Records<str, unknown> | null
|
|
|
|
|
* visualoverrides: Records<str, unknown> | null
|
|
|
|
|
* }[]>
|
|
|
|
|
* blobIds?: string[]
|
|
|
|
|
* }
|
|
|
|
|
* }
|
|
|
|
|
*/
|
|
|
|
|
results?: Maybe<Scalars['JSONObject']>;
|
|
|
|
|
status: AutomationRunStatus;
|
|
|
|
|
statusMessage?: Maybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type AutomationMutations = {
|
|
|
|
|
__typename?: 'AutomationMutations';
|
|
|
|
|
create: Scalars['Boolean'];
|
|
|
|
|
functionRunStatusReport: Scalars['Boolean'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AutomationMutationsCreateArgs = {
|
|
|
|
|
input: AutomationCreateInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AutomationMutationsFunctionRunStatusReportArgs = {
|
|
|
|
|
input: AutomationRunStatusUpdateInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type AutomationRun = {
|
|
|
|
|
__typename?: 'AutomationRun';
|
|
|
|
|
automationId: Scalars['String'];
|
|
|
|
|
automationName: Scalars['String'];
|
|
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
|
|
functionRuns: Array<AutomationFunctionRun>;
|
|
|
|
|
id: Scalars['ID'];
|
|
|
|
|
/** Resolved from all function run statuses */
|
|
|
|
|
status: AutomationRunStatus;
|
|
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
|
|
versionId: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum AutomationRunStatus {
|
|
|
|
|
Failed = 'FAILED',
|
|
|
|
|
Initializing = 'INITIALIZING',
|
|
|
|
|
Running = 'RUNNING',
|
|
|
|
|
Succeeded = 'SUCCEEDED'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AutomationRunStatusUpdateInput = {
|
|
|
|
|
automationId: Scalars['String'];
|
|
|
|
|
automationRevisionId: Scalars['String'];
|
|
|
|
|
automationRunId: Scalars['String'];
|
|
|
|
|
functionRuns: Array<FunctionRunStatusInput>;
|
|
|
|
|
versionId: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type AutomationsStatus = {
|
|
|
|
|
__typename?: 'AutomationsStatus';
|
|
|
|
|
automationRuns: Array<AutomationRun>;
|
|
|
|
|
id: Scalars['ID'];
|
|
|
|
|
status: AutomationRunStatus;
|
|
|
|
|
statusMessage?: Maybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type BlobMetadata = {
|
|
|
|
|
__typename?: 'BlobMetadata';
|
|
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
|
@@ -603,6 +695,27 @@ export type FileUpload = {
|
|
|
|
|
userId: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FunctionRunStatusInput = {
|
|
|
|
|
contextView?: InputMaybe<Scalars['String']>;
|
|
|
|
|
elapsed: Scalars['Float'];
|
|
|
|
|
functionId: Scalars['String'];
|
|
|
|
|
functionLogo?: InputMaybe<Scalars['String']>;
|
|
|
|
|
functionName: Scalars['String'];
|
|
|
|
|
resultVersionIds: Array<Scalars['String']>;
|
|
|
|
|
/**
|
|
|
|
|
* Current schema: {
|
|
|
|
|
* version: "1.0.0",
|
|
|
|
|
* values: {
|
|
|
|
|
* speckleObjects: Record<ObjectId, {level: string; statusMessage: string}[]>
|
|
|
|
|
* blobIds?: string[]
|
|
|
|
|
* }
|
|
|
|
|
* }
|
|
|
|
|
*/
|
|
|
|
|
results?: InputMaybe<Scalars['JSONObject']>;
|
|
|
|
|
status: AutomationRunStatus;
|
|
|
|
|
statusMessage?: InputMaybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type LegacyCommentViewerData = {
|
|
|
|
|
__typename?: 'LegacyCommentViewerData';
|
|
|
|
|
/**
|
|
|
|
@@ -693,6 +806,7 @@ export type LimitedUserTimelineArgs = {
|
|
|
|
|
export type Model = {
|
|
|
|
|
__typename?: 'Model';
|
|
|
|
|
author: LimitedUser;
|
|
|
|
|
automationStatus?: Maybe<AutomationsStatus>;
|
|
|
|
|
/** Return a model tree of children */
|
|
|
|
|
childrenTree: Array<ModelsTreeItem>;
|
|
|
|
|
/** All comment threads in this model */
|
|
|
|
@@ -820,6 +934,7 @@ export type Mutation = {
|
|
|
|
|
appRevokeAccess?: Maybe<Scalars['Boolean']>;
|
|
|
|
|
/** Update an existing third party application. **Note: This will invalidate all existing tokens, refresh tokens and access codes and will require existing users to re-authorize it.** */
|
|
|
|
|
appUpdate: Scalars['Boolean'];
|
|
|
|
|
automationMutations: AutomationMutations;
|
|
|
|
|
branchCreate: Scalars['String'];
|
|
|
|
|
branchDelete: Scalars['Boolean'];
|
|
|
|
|
branchUpdate: Scalars['Boolean'];
|
|
|
|
@@ -1320,6 +1435,7 @@ export type Project = {
|
|
|
|
|
/** Return metadata about resources being requested in the viewer */
|
|
|
|
|
viewerResources: Array<ViewerResourceGroup>;
|
|
|
|
|
visibility: ProjectVisibility;
|
|
|
|
|
webhooks: WebhookCollection;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1370,6 +1486,19 @@ export type ProjectViewerResourcesArgs = {
|
|
|
|
|
resourceIdString: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ProjectWebhooksArgs = {
|
|
|
|
|
id?: InputMaybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ProjectAutomationsStatusUpdatedMessage = {
|
|
|
|
|
__typename?: 'ProjectAutomationsStatusUpdatedMessage';
|
|
|
|
|
model: Model;
|
|
|
|
|
project: Project;
|
|
|
|
|
status: AutomationsStatus;
|
|
|
|
|
version: Version;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ProjectCollaborator = {
|
|
|
|
|
__typename?: 'ProjectCollaborator';
|
|
|
|
|
role: Scalars['String'];
|
|
|
|
@@ -1433,6 +1562,8 @@ export type ProjectInviteCreateInput = {
|
|
|
|
|
email?: InputMaybe<Scalars['String']>;
|
|
|
|
|
/** Defaults to the contributor role, if not specified */
|
|
|
|
|
role?: InputMaybe<Scalars['String']>;
|
|
|
|
|
/** Can only be specified if guest mode is on or if the user is an admin */
|
|
|
|
|
serverRole?: InputMaybe<Scalars['String']>;
|
|
|
|
|
/** Either this or email must be filled */
|
|
|
|
|
userId?: InputMaybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
@@ -1521,7 +1652,10 @@ export type ProjectMutations = {
|
|
|
|
|
__typename?: 'ProjectMutations';
|
|
|
|
|
/** Create new project */
|
|
|
|
|
create: Project;
|
|
|
|
|
/** Create onboarding/tutorial project */
|
|
|
|
|
/**
|
|
|
|
|
* Create onboarding/tutorial project. If one is already created for the active user, that
|
|
|
|
|
* one will be returned instead.
|
|
|
|
|
*/
|
|
|
|
|
createForOnboarding: Project;
|
|
|
|
|
/** Delete an existing project */
|
|
|
|
|
delete: Scalars['Boolean'];
|
|
|
|
@@ -1915,6 +2049,8 @@ export type ServerInfo = {
|
|
|
|
|
adminContact?: Maybe<Scalars['String']>;
|
|
|
|
|
/** The authentication strategies available on this server. */
|
|
|
|
|
authStrategies: Array<AuthStrategy>;
|
|
|
|
|
/** Base URL of Speckle Automate, if set */
|
|
|
|
|
automateUrl?: Maybe<Scalars['String']>;
|
|
|
|
|
blobSizeLimitBytes: Scalars['Int'];
|
|
|
|
|
canonicalUrl?: Maybe<Scalars['String']>;
|
|
|
|
|
company?: Maybe<Scalars['String']>;
|
|
|
|
@@ -1922,6 +2058,7 @@ export type ServerInfo = {
|
|
|
|
|
guestModeEnabled: Scalars['Boolean'];
|
|
|
|
|
inviteOnly?: Maybe<Scalars['Boolean']>;
|
|
|
|
|
name: Scalars['String'];
|
|
|
|
|
/** @deprecated Use role constants from the @speckle/shared npm package instead */
|
|
|
|
|
roles: Array<Role>;
|
|
|
|
|
scopes: Array<Scope>;
|
|
|
|
|
serverRoles: Array<ServerRoleItem>;
|
|
|
|
@@ -1949,6 +2086,8 @@ export type ServerInvite = {
|
|
|
|
|
export type ServerInviteCreateInput = {
|
|
|
|
|
email: Scalars['String'];
|
|
|
|
|
message?: InputMaybe<Scalars['String']>;
|
|
|
|
|
/** Can only be specified if guest mode is on or if the user is an admin */
|
|
|
|
|
serverRole?: InputMaybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum ServerRole {
|
|
|
|
@@ -2058,7 +2197,7 @@ export type Stream = {
|
|
|
|
|
role?: Maybe<Scalars['String']>;
|
|
|
|
|
size?: Maybe<Scalars['String']>;
|
|
|
|
|
updatedAt: Scalars['DateTime'];
|
|
|
|
|
webhooks?: Maybe<WebhookCollection>;
|
|
|
|
|
webhooks: WebhookCollection;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -2167,6 +2306,8 @@ export type StreamInviteCreateInput = {
|
|
|
|
|
message?: InputMaybe<Scalars['String']>;
|
|
|
|
|
/** Defaults to the contributor role, if not specified */
|
|
|
|
|
role?: InputMaybe<Scalars['String']>;
|
|
|
|
|
/** Can only be specified if guest mode is on or if the user is an admin */
|
|
|
|
|
serverRole?: InputMaybe<Scalars['String']>;
|
|
|
|
|
streamId: Scalars['String'];
|
|
|
|
|
userId?: InputMaybe<Scalars['String']>;
|
|
|
|
|
};
|
|
|
|
@@ -2232,6 +2373,7 @@ export type Subscription = {
|
|
|
|
|
commitDeleted?: Maybe<Scalars['JSONObject']>;
|
|
|
|
|
/** Subscribe to commit updated event. */
|
|
|
|
|
commitUpdated?: Maybe<Scalars['JSONObject']>;
|
|
|
|
|
projectAutomationsStatusUpdated: ProjectAutomationsStatusUpdatedMessage;
|
|
|
|
|
/**
|
|
|
|
|
* Subscribe to updates to resource comments/threads. Optionally specify resource ID string to only receive
|
|
|
|
|
* updates regarding comments for those resources.
|
|
|
|
@@ -2319,6 +2461,11 @@ export type SubscriptionCommitUpdatedArgs = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type SubscriptionProjectAutomationsStatusUpdatedArgs = {
|
|
|
|
|
projectId: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type SubscriptionProjectCommentsUpdatedArgs = {
|
|
|
|
|
target: ViewerUpdateTrackingTarget;
|
|
|
|
|
};
|
|
|
|
@@ -2561,6 +2708,7 @@ export type UserUpdateInput = {
|
|
|
|
|
export type Version = {
|
|
|
|
|
__typename?: 'Version';
|
|
|
|
|
authorUser?: Maybe<LimitedUser>;
|
|
|
|
|
automationStatus?: Maybe<AutomationsStatus>;
|
|
|
|
|
/** All comment threads in this version */
|
|
|
|
|
commentThreads: CommentCollection;
|
|
|
|
|
createdAt: Scalars['DateTime'];
|
|
|
|
@@ -2668,10 +2816,12 @@ export type Webhook = {
|
|
|
|
|
__typename?: 'Webhook';
|
|
|
|
|
description?: Maybe<Scalars['String']>;
|
|
|
|
|
enabled?: Maybe<Scalars['Boolean']>;
|
|
|
|
|
hasSecret: Scalars['Boolean'];
|
|
|
|
|
history?: Maybe<WebhookEventCollection>;
|
|
|
|
|
id: Scalars['String'];
|
|
|
|
|
projectId: Scalars['String'];
|
|
|
|
|
streamId: Scalars['String'];
|
|
|
|
|
triggers: Array<Maybe<Scalars['String']>>;
|
|
|
|
|
triggers: Array<Scalars['String']>;
|
|
|
|
|
url: Scalars['String'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2682,8 +2832,8 @@ export type WebhookHistoryArgs = {
|
|
|
|
|
|
|
|
|
|
export type WebhookCollection = {
|
|
|
|
|
__typename?: 'WebhookCollection';
|
|
|
|
|
items?: Maybe<Array<Maybe<Webhook>>>;
|
|
|
|
|
totalCount?: Maybe<Scalars['Int']>;
|
|
|
|
|
items: Array<Webhook>;
|
|
|
|
|
totalCount: Scalars['Int'];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type WebhookCreateInput = {
|
|
|
|
@@ -3119,14 +3269,14 @@ export type WebhookQueryVariables = Exact<{
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type WebhookQuery = { __typename?: 'Query', stream?: { __typename?: 'Stream', id: string, role?: string | null, webhooks?: { __typename?: 'WebhookCollection', items?: Array<{ __typename?: 'Webhook', id: string, streamId: string, url: string, description?: string | null, triggers: Array<string | null>, enabled?: boolean | null, history?: { __typename?: 'WebhookEventCollection', items?: Array<{ __typename?: 'WebhookEvent', status: number, statusInfo: string } | null> | null } | null } | null> | null } | null } | null };
|
|
|
|
|
export type WebhookQuery = { __typename?: 'Query', stream?: { __typename?: 'Stream', id: string, role?: string | null, webhooks: { __typename?: 'WebhookCollection', items: Array<{ __typename?: 'Webhook', id: string, streamId: string, url: string, description?: string | null, triggers: Array<string>, enabled?: boolean | null, history?: { __typename?: 'WebhookEventCollection', items?: Array<{ __typename?: 'WebhookEvent', status: number, statusInfo: string } | null> | null } | null }> } } | null };
|
|
|
|
|
|
|
|
|
|
export type WebhooksQueryVariables = Exact<{
|
|
|
|
|
streamId: Scalars['String'];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type WebhooksQuery = { __typename?: 'Query', stream?: { __typename?: 'Stream', id: string, name: string, role?: string | null, webhooks?: { __typename?: 'WebhookCollection', items?: Array<{ __typename?: 'Webhook', id: string, streamId: string, url: string, description?: string | null, triggers: Array<string | null>, enabled?: boolean | null, history?: { __typename?: 'WebhookEventCollection', items?: Array<{ __typename?: 'WebhookEvent', status: number, statusInfo: string, lastUpdate: string } | null> | null } | null } | null> | null } | null } | null };
|
|
|
|
|
export type WebhooksQuery = { __typename?: 'Query', stream?: { __typename?: 'Stream', id: string, name: string, role?: string | null, webhooks: { __typename?: 'WebhookCollection', items: Array<{ __typename?: 'Webhook', id: string, streamId: string, url: string, description?: string | null, triggers: Array<string>, enabled?: boolean | null, history?: { __typename?: 'WebhookEventCollection', items?: Array<{ __typename?: 'WebhookEvent', status: number, statusInfo: string, lastUpdate: string } | null> | null } | null }> } } | null };
|
|
|
|
|
|
|
|
|
|
export const CommentFullInfo = gql`
|
|
|
|
|
fragment CommentFullInfo on Comment {
|
|
|
|
@@ -3371,7 +3521,7 @@ export const StreamAllBranches = gql`
|
|
|
|
|
query StreamAllBranches($streamId: String!, $cursor: String) {
|
|
|
|
|
stream(id: $streamId) {
|
|
|
|
|
id
|
|
|
|
|
branches(limit: 100, cursor: $cursor) {
|
|
|
|
|
branches(limit: 500, cursor: $cursor) {
|
|
|
|
|
totalCount
|
|
|
|
|
cursor
|
|
|
|
|
items {
|
|
|
|
@@ -3973,7 +4123,7 @@ export const CreateStreamAccessRequestDocument = {"kind":"Document","definitions
|
|
|
|
|
export const UseStreamAccessRequestDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UseStreamAccessRequest"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"requestId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"accept"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"role"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"StreamRole"}},"defaultValue":{"kind":"EnumValue","value":"STREAM_CONTRIBUTOR"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streamAccessRequestUse"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"requestId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"requestId"}}},{"kind":"Argument","name":{"kind":"Name","value":"accept"},"value":{"kind":"Variable","name":{"kind":"Name","value":"accept"}}},{"kind":"Argument","name":{"kind":"Name","value":"role"},"value":{"kind":"Variable","name":{"kind":"Name","value":"role"}}}]}]}}]} as unknown as DocumentNode<UseStreamAccessRequestMutation, UseStreamAccessRequestMutationVariables>;
|
|
|
|
|
export const StreamWithBranchDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StreamWithBranch"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"branchName"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stream"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"branch"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"branchName"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"commits"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cursor"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"4"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"authorId"}},{"kind":"Field","name":{"kind":"Name","value":"authorAvatar"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<StreamWithBranchQuery, StreamWithBranchQueryVariables>;
|
|
|
|
|
export const BranchCreatedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"BranchCreated"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"branchCreated"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"streamId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}}}]}]}}]} as unknown as DocumentNode<BranchCreatedSubscription, BranchCreatedSubscriptionVariables>;
|
|
|
|
|
export const StreamAllBranchesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StreamAllBranches"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stream"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"branches"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}},{"kind":"Argument","name":{"kind":"Name","value":"cursor"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commits"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]}}]}}]} as unknown as DocumentNode<StreamAllBranchesQuery, StreamAllBranchesQueryVariables>;
|
|
|
|
|
export const StreamAllBranchesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StreamAllBranches"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stream"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"branches"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"500"}},{"kind":"Argument","name":{"kind":"Name","value":"cursor"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commits"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]}}]}}]} as unknown as DocumentNode<StreamAllBranchesQuery, StreamAllBranchesQueryVariables>;
|
|
|
|
|
export const StreamCommitQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StreamCommitQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stream"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"commit"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"authorId"}},{"kind":"Field","name":{"kind":"Name","value":"authorAvatar"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"branchName"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}}]}}]}}]}}]} as unknown as DocumentNode<StreamCommitQueryQuery, StreamCommitQueryQueryVariables>;
|
|
|
|
|
export const StreamBranchesSelectorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StreamBranchesSelector"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stream"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"streamId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"branches"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<StreamBranchesSelectorQuery, StreamBranchesSelectorQueryVariables>;
|
|
|
|
|
export const MoveCommitsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MoveCommits"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CommitsMoveInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"commitsMove"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode<MoveCommitsMutation, MoveCommitsMutationVariables>;
|
|
|
|
|