41 files changed
+1698
-374
No files matched your search
@@ -0,0 +1,3 @@
|
||||
mutation createCopilotContext($workspaceId: String!, $sessionId: String!) {
|
||||
createCopilotContext(workspaceId: $workspaceId, sessionId: $sessionId)
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
mutation addContextDoc($options: AddContextDocInput!) {
|
||||
addContextDoc(options: $options) {
|
||||
id
|
||||
createdAt
|
||||
name
|
||||
chunkSize
|
||||
status
|
||||
blobId
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
mutation removeContextDoc($options: RemoveContextFileInput!) {
|
||||
removeContextDoc(options: $options)
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
query listContext($workspaceId: String!, $sessionId: String!) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
contexts(sessionId: $sessionId) {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -158,6 +158,177 @@ mutation changePassword($token: String!, $userId: String!, $newPassword: String!
|
||||
}`,
|
||||
};
|
||||
|
||||
export const createCopilotContextMutation = {
|
||||
id: 'createCopilotContextMutation' as const,
|
||||
operationName: 'createCopilotContext',
|
||||
definitionName: 'createCopilotContext',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation createCopilotContext($workspaceId: String!, $sessionId: String!) {
|
||||
createCopilotContext(workspaceId: $workspaceId, sessionId: $sessionId)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const addContextDocMutation = {
|
||||
id: 'addContextDocMutation' as const,
|
||||
operationName: 'addContextDoc',
|
||||
definitionName: 'addContextDoc',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation addContextDoc($options: AddContextDocInput!) {
|
||||
addContextDoc(options: $options) {
|
||||
id
|
||||
createdAt
|
||||
name
|
||||
chunkSize
|
||||
status
|
||||
blobId
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const removeContextDocMutation = {
|
||||
id: 'removeContextDocMutation' as const,
|
||||
operationName: 'removeContextDoc',
|
||||
definitionName: 'removeContextDoc',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation removeContextDoc($options: RemoveContextFileInput!) {
|
||||
removeContextDoc(options: $options)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const listContextQuery = {
|
||||
id: 'listContextQuery' as const,
|
||||
operationName: 'listContext',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query listContext($workspaceId: String!, $sessionId: String!) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
contexts(sessionId: $sessionId) {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getCopilotHistoryIdsQuery = {
|
||||
id: 'getCopilotHistoryIdsQuery' as const,
|
||||
operationName: 'getCopilotHistoryIds',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getCopilotHistoryIds($workspaceId: String!, $docId: String, $options: QueryChatHistoriesInput) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
histories(docId: $docId, options: $options) {
|
||||
sessionId
|
||||
messages {
|
||||
id
|
||||
role
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getCopilotHistoriesQuery = {
|
||||
id: 'getCopilotHistoriesQuery' as const,
|
||||
operationName: 'getCopilotHistories',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getCopilotHistories($workspaceId: String!, $docId: String, $options: QueryChatHistoriesInput) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
histories(docId: $docId, options: $options) {
|
||||
sessionId
|
||||
tokens
|
||||
action
|
||||
createdAt
|
||||
messages {
|
||||
id
|
||||
role
|
||||
content
|
||||
attachments
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const createCopilotMessageMutation = {
|
||||
id: 'createCopilotMessageMutation' as const,
|
||||
operationName: 'createCopilotMessage',
|
||||
definitionName: 'createCopilotMessage',
|
||||
containsFile: true,
|
||||
query: `
|
||||
mutation createCopilotMessage($options: CreateChatMessageInput!) {
|
||||
createCopilotMessage(options: $options)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getPromptsQuery = {
|
||||
id: 'getPromptsQuery' as const,
|
||||
operationName: 'getPrompts',
|
||||
definitionName: 'listCopilotPrompts',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getPrompts {
|
||||
listCopilotPrompts {
|
||||
name
|
||||
model
|
||||
action
|
||||
config {
|
||||
jsonMode
|
||||
frequencyPenalty
|
||||
presencePenalty
|
||||
temperature
|
||||
topP
|
||||
}
|
||||
messages {
|
||||
role
|
||||
content
|
||||
params
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updatePromptMutation = {
|
||||
id: 'updatePromptMutation' as const,
|
||||
operationName: 'updatePrompt',
|
||||
definitionName: 'updateCopilotPrompt',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation updatePrompt($name: String!, $messages: [CopilotPromptMessageInput!]!) {
|
||||
updateCopilotPrompt(name: $name, messages: $messages) {
|
||||
name
|
||||
model
|
||||
action
|
||||
config {
|
||||
jsonMode
|
||||
frequencyPenalty
|
||||
presencePenalty
|
||||
temperature
|
||||
topP
|
||||
}
|
||||
messages {
|
||||
role
|
||||
content
|
||||
params
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const copilotQuotaQuery = {
|
||||
id: 'copilotQuotaQuery' as const,
|
||||
operationName: 'copilotQuota',
|
||||
@@ -187,28 +358,6 @@ mutation cleanupCopilotSession($input: DeleteSessionInput!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const createCheckoutSessionMutation = {
|
||||
id: 'createCheckoutSessionMutation' as const,
|
||||
operationName: 'createCheckoutSession',
|
||||
definitionName: 'createCheckoutSession',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation createCheckoutSession($input: CreateCheckoutSessionInput!) {
|
||||
createCheckoutSession(input: $input)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const createCopilotMessageMutation = {
|
||||
id: 'createCopilotMessageMutation' as const,
|
||||
operationName: 'createCopilotMessage',
|
||||
definitionName: 'createCopilotMessage',
|
||||
containsFile: true,
|
||||
query: `
|
||||
mutation createCopilotMessage($options: CreateChatMessageInput!) {
|
||||
createCopilotMessage(options: $options)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const createCopilotSessionMutation = {
|
||||
id: 'createCopilotSessionMutation' as const,
|
||||
operationName: 'createCopilotSession',
|
||||
@@ -220,6 +369,55 @@ mutation createCopilotSession($options: CreateChatSessionInput!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const forkCopilotSessionMutation = {
|
||||
id: 'forkCopilotSessionMutation' as const,
|
||||
operationName: 'forkCopilotSession',
|
||||
definitionName: 'forkCopilotSession',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation forkCopilotSession($options: ForkChatSessionInput!) {
|
||||
forkCopilotSession(options: $options)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updateCopilotSessionMutation = {
|
||||
id: 'updateCopilotSessionMutation' as const,
|
||||
operationName: 'updateCopilotSession',
|
||||
definitionName: 'updateCopilotSession',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation updateCopilotSession($options: UpdateChatSessionInput!) {
|
||||
updateCopilotSession(options: $options)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getCopilotSessionsQuery = {
|
||||
id: 'getCopilotSessionsQuery' as const,
|
||||
operationName: 'getCopilotSessions',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getCopilotSessions($workspaceId: String!) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
actions
|
||||
chats
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const createCheckoutSessionMutation = {
|
||||
id: 'createCheckoutSessionMutation' as const,
|
||||
operationName: 'createCheckoutSession',
|
||||
definitionName: 'createCheckoutSession',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation createCheckoutSession($input: CreateCheckoutSessionInput!) {
|
||||
createCheckoutSession(input: $input)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const createCustomerPortalMutation = {
|
||||
id: 'createCustomerPortalMutation' as const,
|
||||
operationName: 'createCustomerPortal',
|
||||
@@ -347,17 +545,6 @@ query getDocRolePermissions($workspaceId: String!, $docId: String!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const forkCopilotSessionMutation = {
|
||||
id: 'forkCopilotSessionMutation' as const,
|
||||
operationName: 'forkCopilotSession',
|
||||
definitionName: 'forkCopilotSession',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation forkCopilotSession($options: ForkChatSessionInput!) {
|
||||
forkCopilotSession(options: $options)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const generateLicenseKeyMutation = {
|
||||
id: 'generateLicenseKeyMutation' as const,
|
||||
operationName: 'generateLicenseKey',
|
||||
@@ -369,71 +556,6 @@ mutation generateLicenseKey($sessionId: String!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getCopilotHistoriesQuery = {
|
||||
id: 'getCopilotHistoriesQuery' as const,
|
||||
operationName: 'getCopilotHistories',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getCopilotHistories($workspaceId: String!, $docId: String, $options: QueryChatHistoriesInput) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
histories(docId: $docId, options: $options) {
|
||||
sessionId
|
||||
tokens
|
||||
action
|
||||
createdAt
|
||||
messages {
|
||||
id
|
||||
role
|
||||
content
|
||||
attachments
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getCopilotHistoryIdsQuery = {
|
||||
id: 'getCopilotHistoryIdsQuery' as const,
|
||||
operationName: 'getCopilotHistoryIds',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getCopilotHistoryIds($workspaceId: String!, $docId: String, $options: QueryChatHistoriesInput) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
histories(docId: $docId, options: $options) {
|
||||
sessionId
|
||||
messages {
|
||||
id
|
||||
role
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getCopilotSessionsQuery = {
|
||||
id: 'getCopilotSessionsQuery' as const,
|
||||
operationName: 'getCopilotSessions',
|
||||
definitionName: 'currentUser',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getCopilotSessions($workspaceId: String!) {
|
||||
currentUser {
|
||||
copilot(workspaceId: $workspaceId) {
|
||||
actions
|
||||
chats
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getCurrentUserFeaturesQuery = {
|
||||
id: 'getCurrentUserFeaturesQuery' as const,
|
||||
operationName: 'getCurrentUserFeatures',
|
||||
@@ -616,33 +738,6 @@ query getPageGrantedUsersList($pagination: PaginationInput!, $docId: String!, $w
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getPromptsQuery = {
|
||||
id: 'getPromptsQuery' as const,
|
||||
operationName: 'getPrompts',
|
||||
definitionName: 'listCopilotPrompts',
|
||||
containsFile: false,
|
||||
query: `
|
||||
query getPrompts {
|
||||
listCopilotPrompts {
|
||||
name
|
||||
model
|
||||
action
|
||||
config {
|
||||
jsonMode
|
||||
frequencyPenalty
|
||||
presencePenalty
|
||||
temperature
|
||||
topP
|
||||
}
|
||||
messages {
|
||||
role
|
||||
content
|
||||
params
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const getServerRuntimeConfigQuery = {
|
||||
id: 'getServerRuntimeConfigQuery' as const,
|
||||
operationName: 'getServerRuntimeConfig',
|
||||
@@ -1268,17 +1363,6 @@ mutation updateAccount($id: String!, $input: ManageUserInput!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updateCopilotSessionMutation = {
|
||||
id: 'updateCopilotSessionMutation' as const,
|
||||
operationName: 'updateCopilotSession',
|
||||
definitionName: 'updateCopilotSession',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation updateCopilotSession($options: UpdateChatSessionInput!) {
|
||||
updateCopilotSession(options: $options)
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updateDocUserRoleMutation = {
|
||||
id: 'updateDocUserRoleMutation' as const,
|
||||
operationName: 'updateDocUserRole',
|
||||
@@ -1290,33 +1374,6 @@ mutation updateDocUserRole($input: UpdateDocUserRoleInput!) {
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updatePromptMutation = {
|
||||
id: 'updatePromptMutation' as const,
|
||||
operationName: 'updatePrompt',
|
||||
definitionName: 'updateCopilotPrompt',
|
||||
containsFile: false,
|
||||
query: `
|
||||
mutation updatePrompt($name: String!, $messages: [CopilotPromptMessageInput!]!) {
|
||||
updateCopilotPrompt(name: $name, messages: $messages) {
|
||||
name
|
||||
model
|
||||
action
|
||||
config {
|
||||
jsonMode
|
||||
frequencyPenalty
|
||||
presencePenalty
|
||||
temperature
|
||||
topP
|
||||
}
|
||||
messages {
|
||||
role
|
||||
content
|
||||
params
|
||||
}
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const updateServerRuntimeConfigsMutation = {
|
||||
id: 'updateServerRuntimeConfigsMutation' as const,
|
||||
operationName: 'updateServerRuntimeConfigs',
|
||||
|
||||
@@ -37,6 +37,11 @@ export interface Scalars {
|
||||
Upload: { input: File; output: File };
|
||||
}
|
||||
|
||||
export interface AddContextDocInput {
|
||||
contextId: Scalars['String']['input'];
|
||||
docId: Scalars['String']['input'];
|
||||
}
|
||||
|
||||
export interface AlreadyInSpaceDataType {
|
||||
__typename?: 'AlreadyInSpaceDataType';
|
||||
spaceId: Scalars['String']['output'];
|
||||
@@ -63,23 +68,91 @@ export interface ChatMessage {
|
||||
role: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export enum ContextFileStatus {
|
||||
failed = 'failed',
|
||||
finished = 'finished',
|
||||
processing = 'processing',
|
||||
}
|
||||
|
||||
export interface Copilot {
|
||||
__typename?: 'Copilot';
|
||||
/** Get the session list of actions in the workspace */
|
||||
actions: Array<Scalars['String']['output']>;
|
||||
/** Get the session list of chats in the workspace */
|
||||
chats: Array<Scalars['String']['output']>;
|
||||
/** Get the context list of a session */
|
||||
contexts: Array<CopilotContext>;
|
||||
histories: Array<CopilotHistories>;
|
||||
/** Get the quota of the user in the workspace */
|
||||
quota: CopilotQuota;
|
||||
workspaceId: Maybe<Scalars['ID']['output']>;
|
||||
}
|
||||
|
||||
export interface CopilotContextsArgs {
|
||||
contextId?: InputMaybe<Scalars['String']['input']>;
|
||||
sessionId: Scalars['String']['input'];
|
||||
}
|
||||
|
||||
export interface CopilotHistoriesArgs {
|
||||
docId?: InputMaybe<Scalars['String']['input']>;
|
||||
options?: InputMaybe<QueryChatHistoriesInput>;
|
||||
}
|
||||
|
||||
export interface CopilotContext {
|
||||
__typename?: 'CopilotContext';
|
||||
/** list files in context */
|
||||
docs: Array<CopilotContextDoc>;
|
||||
/** list files in context */
|
||||
files: Array<CopilotContextFile>;
|
||||
id: Scalars['ID']['output'];
|
||||
workspaceId: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface CopilotContextDoc {
|
||||
__typename?: 'CopilotContextDoc';
|
||||
createdAt: Scalars['SafeInt']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
}
|
||||
|
||||
export interface CopilotContextFile {
|
||||
__typename?: 'CopilotContextFile';
|
||||
blobId: Scalars['String']['output'];
|
||||
chunkSize: Scalars['SafeInt']['output'];
|
||||
createdAt: Scalars['SafeInt']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
name: Scalars['String']['output'];
|
||||
status: ContextFileStatus;
|
||||
}
|
||||
|
||||
export interface CopilotContextFileNotSupportedDataType {
|
||||
__typename?: 'CopilotContextFileNotSupportedDataType';
|
||||
fileName: Scalars['String']['output'];
|
||||
message: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface CopilotContextListItem {
|
||||
__typename?: 'CopilotContextListItem';
|
||||
blobId: Maybe<Scalars['String']['output']>;
|
||||
chunkSize: Maybe<Scalars['SafeInt']['output']>;
|
||||
createdAt: Scalars['SafeInt']['output'];
|
||||
id: Scalars['ID']['output'];
|
||||
name: Maybe<Scalars['String']['output']>;
|
||||
status: Maybe<ContextFileStatus>;
|
||||
}
|
||||
|
||||
export interface CopilotFailedToMatchContextDataType {
|
||||
__typename?: 'CopilotFailedToMatchContextDataType';
|
||||
content: Scalars['String']['output'];
|
||||
contextId: Scalars['String']['output'];
|
||||
message: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface CopilotFailedToModifyContextDataType {
|
||||
__typename?: 'CopilotFailedToModifyContextDataType';
|
||||
contextId: Scalars['String']['output'];
|
||||
message: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface CopilotHistories {
|
||||
__typename?: 'CopilotHistories';
|
||||
/** An mark identifying which view to use to display the session */
|
||||
@@ -91,6 +164,11 @@ export interface CopilotHistories {
|
||||
tokens: Scalars['Int']['output'];
|
||||
}
|
||||
|
||||
export interface CopilotInvalidContextDataType {
|
||||
__typename?: 'CopilotInvalidContextDataType';
|
||||
contextId: Scalars['String']['output'];
|
||||
}
|
||||
|
||||
export interface CopilotMessageNotFoundDataType {
|
||||
__typename?: 'CopilotMessageNotFoundDataType';
|
||||
messageId: Scalars['String']['output'];
|
||||
@@ -303,6 +381,10 @@ export interface EditorType {
|
||||
export type ErrorDataUnion =
|
||||
| AlreadyInSpaceDataType
|
||||
| BlobNotFoundDataType
|
||||
| CopilotContextFileNotSupportedDataType
|
||||
| CopilotFailedToMatchContextDataType
|
||||
| CopilotFailedToModifyContextDataType
|
||||
| CopilotInvalidContextDataType
|
||||
| CopilotMessageNotFoundDataType
|
||||
| CopilotPromptNotFoundDataType
|
||||
| CopilotProviderSideErrorDataType
|
||||
@@ -351,8 +433,12 @@ export enum ErrorNames {
|
||||
CAN_NOT_BATCH_GRANT_DOC_OWNER_PERMISSIONS = 'CAN_NOT_BATCH_GRANT_DOC_OWNER_PERMISSIONS',
|
||||
CAPTCHA_VERIFICATION_FAILED = 'CAPTCHA_VERIFICATION_FAILED',
|
||||
COPILOT_ACTION_TAKEN = 'COPILOT_ACTION_TAKEN',
|
||||
COPILOT_CONTEXT_FILE_NOT_SUPPORTED = 'COPILOT_CONTEXT_FILE_NOT_SUPPORTED',
|
||||
COPILOT_FAILED_TO_CREATE_MESSAGE = 'COPILOT_FAILED_TO_CREATE_MESSAGE',
|
||||
COPILOT_FAILED_TO_GENERATE_TEXT = 'COPILOT_FAILED_TO_GENERATE_TEXT',
|
||||
COPILOT_FAILED_TO_MATCH_CONTEXT = 'COPILOT_FAILED_TO_MATCH_CONTEXT',
|
||||
COPILOT_FAILED_TO_MODIFY_CONTEXT = 'COPILOT_FAILED_TO_MODIFY_CONTEXT',
|
||||
COPILOT_INVALID_CONTEXT = 'COPILOT_INVALID_CONTEXT',
|
||||
COPILOT_MESSAGE_NOT_FOUND = 'COPILOT_MESSAGE_NOT_FOUND',
|
||||
COPILOT_PROMPT_INVALID = 'COPILOT_PROMPT_INVALID',
|
||||
COPILOT_PROMPT_NOT_FOUND = 'COPILOT_PROMPT_NOT_FOUND',
|
||||
@@ -668,6 +754,8 @@ export interface Mutation {
|
||||
__typename?: 'Mutation';
|
||||
acceptInviteById: Scalars['Boolean']['output'];
|
||||
activateLicense: License;
|
||||
/** add a doc to context */
|
||||
addContextDoc: Array<CopilotContextListItem>;
|
||||
addWorkspaceFeature: Scalars['Boolean']['output'];
|
||||
approveMember: Scalars['String']['output'];
|
||||
cancelSubscription: SubscriptionType;
|
||||
@@ -679,6 +767,8 @@ export interface Mutation {
|
||||
createChangePasswordUrl: Scalars['String']['output'];
|
||||
/** Create a subscription checkout link of stripe */
|
||||
createCheckoutSession: Scalars['String']['output'];
|
||||
/** Create a context session */
|
||||
createCopilotContext: Scalars['String']['output'];
|
||||
/** Create a chat message */
|
||||
createCopilotMessage: Scalars['String']['output'];
|
||||
/** Create a copilot prompt */
|
||||
@@ -714,6 +804,8 @@ export interface Mutation {
|
||||
releaseDeletedBlobs: Scalars['Boolean']['output'];
|
||||
/** Remove user avatar */
|
||||
removeAvatar: RemoveAvatar;
|
||||
/** remove a doc from context */
|
||||
removeContextDoc: Scalars['Boolean']['output'];
|
||||
removeWorkspaceFeature: Scalars['Boolean']['output'];
|
||||
resumeSubscription: SubscriptionType;
|
||||
revoke: Scalars['Boolean']['output'];
|
||||
@@ -762,6 +854,10 @@ export interface MutationActivateLicenseArgs {
|
||||
workspaceId: Scalars['String']['input'];
|
||||
}
|
||||
|
||||
export interface MutationAddContextDocArgs {
|
||||
options: AddContextDocInput;
|
||||
}
|
||||
|
||||
export interface MutationAddWorkspaceFeatureArgs {
|
||||
feature: FeatureType;
|
||||
workspaceId: Scalars['String']['input'];
|
||||
@@ -802,6 +898,11 @@ export interface MutationCreateCheckoutSessionArgs {
|
||||
input: CreateCheckoutSessionInput;
|
||||
}
|
||||
|
||||
export interface MutationCreateCopilotContextArgs {
|
||||
sessionId: Scalars['String']['input'];
|
||||
workspaceId: Scalars['String']['input'];
|
||||
}
|
||||
|
||||
export interface MutationCreateCopilotMessageArgs {
|
||||
options: CreateChatMessageInput;
|
||||
}
|
||||
@@ -909,6 +1010,10 @@ export interface MutationReleaseDeletedBlobsArgs {
|
||||
workspaceId: Scalars['String']['input'];
|
||||
}
|
||||
|
||||
export interface MutationRemoveContextDocArgs {
|
||||
options: RemoveContextFileInput;
|
||||
}
|
||||
|
||||
export interface MutationRemoveWorkspaceFeatureArgs {
|
||||
feature: FeatureType;
|
||||
workspaceId: Scalars['String']['input'];
|
||||
@@ -1203,6 +1308,11 @@ export interface RemoveAvatar {
|
||||
success: Scalars['Boolean']['output'];
|
||||
}
|
||||
|
||||
export interface RemoveContextFileInput {
|
||||
contextId: Scalars['String']['input'];
|
||||
fileId: Scalars['String']['input'];
|
||||
}
|
||||
|
||||
export interface RevokeDocUserRoleInput {
|
||||
docId: Scalars['String']['input'];
|
||||
userId: Scalars['String']['input'];
|
||||
@@ -1832,6 +1942,179 @@ export type ChangePasswordMutation = {
|
||||
changePassword: boolean;
|
||||
};
|
||||
|
||||
export type CreateCopilotContextMutationVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
sessionId: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
export type CreateCopilotContextMutation = {
|
||||
__typename?: 'Mutation';
|
||||
createCopilotContext: string;
|
||||
};
|
||||
|
||||
export type AddContextDocMutationVariables = Exact<{
|
||||
options: AddContextDocInput;
|
||||
}>;
|
||||
|
||||
export type AddContextDocMutation = {
|
||||
__typename?: 'Mutation';
|
||||
addContextDoc: Array<{
|
||||
__typename?: 'CopilotContextListItem';
|
||||
id: string;
|
||||
createdAt: number;
|
||||
name: string | null;
|
||||
chunkSize: number | null;
|
||||
status: ContextFileStatus | null;
|
||||
blobId: string | null;
|
||||
}>;
|
||||
};
|
||||
|
||||
export type RemoveContextDocMutationVariables = Exact<{
|
||||
options: RemoveContextFileInput;
|
||||
}>;
|
||||
|
||||
export type RemoveContextDocMutation = {
|
||||
__typename?: 'Mutation';
|
||||
removeContextDoc: boolean;
|
||||
};
|
||||
|
||||
export type ListContextQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
sessionId: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
export type ListContextQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
copilot: {
|
||||
__typename?: 'Copilot';
|
||||
contexts: Array<{ __typename?: 'CopilotContext'; id: string }>;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetCopilotHistoryIdsQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
docId?: InputMaybe<Scalars['String']['input']>;
|
||||
options?: InputMaybe<QueryChatHistoriesInput>;
|
||||
}>;
|
||||
|
||||
export type GetCopilotHistoryIdsQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
copilot: {
|
||||
__typename?: 'Copilot';
|
||||
histories: Array<{
|
||||
__typename?: 'CopilotHistories';
|
||||
sessionId: string;
|
||||
messages: Array<{
|
||||
__typename?: 'ChatMessage';
|
||||
id: string | null;
|
||||
role: string;
|
||||
createdAt: string;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetCopilotHistoriesQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
docId?: InputMaybe<Scalars['String']['input']>;
|
||||
options?: InputMaybe<QueryChatHistoriesInput>;
|
||||
}>;
|
||||
|
||||
export type GetCopilotHistoriesQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
copilot: {
|
||||
__typename?: 'Copilot';
|
||||
histories: Array<{
|
||||
__typename?: 'CopilotHistories';
|
||||
sessionId: string;
|
||||
tokens: number;
|
||||
action: string | null;
|
||||
createdAt: string;
|
||||
messages: Array<{
|
||||
__typename?: 'ChatMessage';
|
||||
id: string | null;
|
||||
role: string;
|
||||
content: string;
|
||||
attachments: Array<string> | null;
|
||||
createdAt: string;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type CreateCopilotMessageMutationVariables = Exact<{
|
||||
options: CreateChatMessageInput;
|
||||
}>;
|
||||
|
||||
export type CreateCopilotMessageMutation = {
|
||||
__typename?: 'Mutation';
|
||||
createCopilotMessage: string;
|
||||
};
|
||||
|
||||
export type GetPromptsQueryVariables = Exact<{ [key: string]: never }>;
|
||||
|
||||
export type GetPromptsQuery = {
|
||||
__typename?: 'Query';
|
||||
listCopilotPrompts: Array<{
|
||||
__typename?: 'CopilotPromptType';
|
||||
name: string;
|
||||
model: string;
|
||||
action: string | null;
|
||||
config: {
|
||||
__typename?: 'CopilotPromptConfigType';
|
||||
jsonMode: boolean | null;
|
||||
frequencyPenalty: number | null;
|
||||
presencePenalty: number | null;
|
||||
temperature: number | null;
|
||||
topP: number | null;
|
||||
} | null;
|
||||
messages: Array<{
|
||||
__typename?: 'CopilotPromptMessageType';
|
||||
role: CopilotPromptMessageRole;
|
||||
content: string;
|
||||
params: Record<string, string> | null;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
|
||||
export type UpdatePromptMutationVariables = Exact<{
|
||||
name: Scalars['String']['input'];
|
||||
messages: Array<CopilotPromptMessageInput> | CopilotPromptMessageInput;
|
||||
}>;
|
||||
|
||||
export type UpdatePromptMutation = {
|
||||
__typename?: 'Mutation';
|
||||
updateCopilotPrompt: {
|
||||
__typename?: 'CopilotPromptType';
|
||||
name: string;
|
||||
model: string;
|
||||
action: string | null;
|
||||
config: {
|
||||
__typename?: 'CopilotPromptConfigType';
|
||||
jsonMode: boolean | null;
|
||||
frequencyPenalty: number | null;
|
||||
presencePenalty: number | null;
|
||||
temperature: number | null;
|
||||
topP: number | null;
|
||||
} | null;
|
||||
messages: Array<{
|
||||
__typename?: 'CopilotPromptMessageType';
|
||||
role: CopilotPromptMessageRole;
|
||||
content: string;
|
||||
params: Record<string, string> | null;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
|
||||
export type CopilotQuotaQueryVariables = Exact<{ [key: string]: never }>;
|
||||
|
||||
export type CopilotQuotaQuery = {
|
||||
@@ -1858,24 +2141,6 @@ export type CleanupCopilotSessionMutation = {
|
||||
cleanupCopilotSession: Array<string>;
|
||||
};
|
||||
|
||||
export type CreateCheckoutSessionMutationVariables = Exact<{
|
||||
input: CreateCheckoutSessionInput;
|
||||
}>;
|
||||
|
||||
export type CreateCheckoutSessionMutation = {
|
||||
__typename?: 'Mutation';
|
||||
createCheckoutSession: string;
|
||||
};
|
||||
|
||||
export type CreateCopilotMessageMutationVariables = Exact<{
|
||||
options: CreateChatMessageInput;
|
||||
}>;
|
||||
|
||||
export type CreateCopilotMessageMutation = {
|
||||
__typename?: 'Mutation';
|
||||
createCopilotMessage: string;
|
||||
};
|
||||
|
||||
export type CreateCopilotSessionMutationVariables = Exact<{
|
||||
options: CreateChatSessionInput;
|
||||
}>;
|
||||
@@ -1885,6 +2150,49 @@ export type CreateCopilotSessionMutation = {
|
||||
createCopilotSession: string;
|
||||
};
|
||||
|
||||
export type ForkCopilotSessionMutationVariables = Exact<{
|
||||
options: ForkChatSessionInput;
|
||||
}>;
|
||||
|
||||
export type ForkCopilotSessionMutation = {
|
||||
__typename?: 'Mutation';
|
||||
forkCopilotSession: string;
|
||||
};
|
||||
|
||||
export type UpdateCopilotSessionMutationVariables = Exact<{
|
||||
options: UpdateChatSessionInput;
|
||||
}>;
|
||||
|
||||
export type UpdateCopilotSessionMutation = {
|
||||
__typename?: 'Mutation';
|
||||
updateCopilotSession: string;
|
||||
};
|
||||
|
||||
export type GetCopilotSessionsQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
export type GetCopilotSessionsQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
copilot: {
|
||||
__typename?: 'Copilot';
|
||||
actions: Array<string>;
|
||||
chats: Array<string>;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type CreateCheckoutSessionMutationVariables = Exact<{
|
||||
input: CreateCheckoutSessionInput;
|
||||
}>;
|
||||
|
||||
export type CreateCheckoutSessionMutation = {
|
||||
__typename?: 'Mutation';
|
||||
createCheckoutSession: string;
|
||||
};
|
||||
|
||||
export type CreateCustomerPortalMutationVariables = Exact<{
|
||||
[key: string]: never;
|
||||
}>;
|
||||
@@ -1989,15 +2297,6 @@ export type GetDocRolePermissionsQuery = {
|
||||
};
|
||||
};
|
||||
|
||||
export type ForkCopilotSessionMutationVariables = Exact<{
|
||||
options: ForkChatSessionInput;
|
||||
}>;
|
||||
|
||||
export type ForkCopilotSessionMutation = {
|
||||
__typename?: 'Mutation';
|
||||
forkCopilotSession: string;
|
||||
};
|
||||
|
||||
export type CredentialsRequirementsFragment = {
|
||||
__typename?: 'CredentialsRequirementType';
|
||||
password: {
|
||||
@@ -2022,79 +2321,6 @@ export type GenerateLicenseKeyMutation = {
|
||||
generateLicenseKey: string;
|
||||
};
|
||||
|
||||
export type GetCopilotHistoriesQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
docId?: InputMaybe<Scalars['String']['input']>;
|
||||
options?: InputMaybe<QueryChatHistoriesInput>;
|
||||
}>;
|
||||
|
||||
export type GetCopilotHistoriesQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
copilot: {
|
||||
__typename?: 'Copilot';
|
||||
histories: Array<{
|
||||
__typename?: 'CopilotHistories';
|
||||
sessionId: string;
|
||||
tokens: number;
|
||||
action: string | null;
|
||||
createdAt: string;
|
||||
messages: Array<{
|
||||
__typename?: 'ChatMessage';
|
||||
id: string | null;
|
||||
role: string;
|
||||
content: string;
|
||||
attachments: Array<string> | null;
|
||||
createdAt: string;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetCopilotHistoryIdsQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
docId?: InputMaybe<Scalars['String']['input']>;
|
||||
options?: InputMaybe<QueryChatHistoriesInput>;
|
||||
}>;
|
||||
|
||||
export type GetCopilotHistoryIdsQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
copilot: {
|
||||
__typename?: 'Copilot';
|
||||
histories: Array<{
|
||||
__typename?: 'CopilotHistories';
|
||||
sessionId: string;
|
||||
messages: Array<{
|
||||
__typename?: 'ChatMessage';
|
||||
id: string | null;
|
||||
role: string;
|
||||
createdAt: string;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetCopilotSessionsQueryVariables = Exact<{
|
||||
workspaceId: Scalars['String']['input'];
|
||||
}>;
|
||||
|
||||
export type GetCopilotSessionsQuery = {
|
||||
__typename?: 'Query';
|
||||
currentUser: {
|
||||
__typename?: 'UserType';
|
||||
copilot: {
|
||||
__typename?: 'Copilot';
|
||||
actions: Array<string>;
|
||||
chats: Array<string>;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetCurrentUserFeaturesQueryVariables = Exact<{
|
||||
[key: string]: never;
|
||||
}>;
|
||||
@@ -2265,32 +2491,6 @@ export type GetPageGrantedUsersListQuery = {
|
||||
};
|
||||
};
|
||||
|
||||
export type GetPromptsQueryVariables = Exact<{ [key: string]: never }>;
|
||||
|
||||
export type GetPromptsQuery = {
|
||||
__typename?: 'Query';
|
||||
listCopilotPrompts: Array<{
|
||||
__typename?: 'CopilotPromptType';
|
||||
name: string;
|
||||
model: string;
|
||||
action: string | null;
|
||||
config: {
|
||||
__typename?: 'CopilotPromptConfigType';
|
||||
jsonMode: boolean | null;
|
||||
frequencyPenalty: number | null;
|
||||
presencePenalty: number | null;
|
||||
temperature: number | null;
|
||||
topP: number | null;
|
||||
} | null;
|
||||
messages: Array<{
|
||||
__typename?: 'CopilotPromptMessageType';
|
||||
role: CopilotPromptMessageRole;
|
||||
content: string;
|
||||
params: Record<string, string> | null;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
|
||||
export type GetServerRuntimeConfigQueryVariables = Exact<{
|
||||
[key: string]: never;
|
||||
}>;
|
||||
@@ -2855,15 +3055,6 @@ export type UpdateAccountMutation = {
|
||||
};
|
||||
};
|
||||
|
||||
export type UpdateCopilotSessionMutationVariables = Exact<{
|
||||
options: UpdateChatSessionInput;
|
||||
}>;
|
||||
|
||||
export type UpdateCopilotSessionMutation = {
|
||||
__typename?: 'Mutation';
|
||||
updateCopilotSession: string;
|
||||
};
|
||||
|
||||
export type UpdateDocUserRoleMutationVariables = Exact<{
|
||||
input: UpdateDocUserRoleInput;
|
||||
}>;
|
||||
@@ -2873,35 +3064,6 @@ export type UpdateDocUserRoleMutation = {
|
||||
updateDocUserRole: boolean;
|
||||
};
|
||||
|
||||
export type UpdatePromptMutationVariables = Exact<{
|
||||
name: Scalars['String']['input'];
|
||||
messages: Array<CopilotPromptMessageInput> | CopilotPromptMessageInput;
|
||||
}>;
|
||||
|
||||
export type UpdatePromptMutation = {
|
||||
__typename?: 'Mutation';
|
||||
updateCopilotPrompt: {
|
||||
__typename?: 'CopilotPromptType';
|
||||
name: string;
|
||||
model: string;
|
||||
action: string | null;
|
||||
config: {
|
||||
__typename?: 'CopilotPromptConfigType';
|
||||
jsonMode: boolean | null;
|
||||
frequencyPenalty: number | null;
|
||||
presencePenalty: number | null;
|
||||
temperature: number | null;
|
||||
topP: number | null;
|
||||
} | null;
|
||||
messages: Array<{
|
||||
__typename?: 'CopilotPromptMessageType';
|
||||
role: CopilotPromptMessageRole;
|
||||
content: string;
|
||||
params: Record<string, string> | null;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
|
||||
export type UpdateServerRuntimeConfigsMutationVariables = Exact<{
|
||||
updates: Scalars['JSONObject']['input'];
|
||||
}>;
|
||||
@@ -3191,30 +3353,40 @@ export type Queries =
|
||||
response: ListBlobsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'copilotQuotaQuery';
|
||||
variables: CopilotQuotaQueryVariables;
|
||||
response: CopilotQuotaQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getDocRolePermissionsQuery';
|
||||
variables: GetDocRolePermissionsQueryVariables;
|
||||
response: GetDocRolePermissionsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getCopilotHistoriesQuery';
|
||||
variables: GetCopilotHistoriesQueryVariables;
|
||||
response: GetCopilotHistoriesQuery;
|
||||
name: 'listContextQuery';
|
||||
variables: ListContextQueryVariables;
|
||||
response: ListContextQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getCopilotHistoryIdsQuery';
|
||||
variables: GetCopilotHistoryIdsQueryVariables;
|
||||
response: GetCopilotHistoryIdsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getCopilotHistoriesQuery';
|
||||
variables: GetCopilotHistoriesQueryVariables;
|
||||
response: GetCopilotHistoriesQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getPromptsQuery';
|
||||
variables: GetPromptsQueryVariables;
|
||||
response: GetPromptsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'copilotQuotaQuery';
|
||||
variables: CopilotQuotaQueryVariables;
|
||||
response: CopilotQuotaQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getCopilotSessionsQuery';
|
||||
variables: GetCopilotSessionsQueryVariables;
|
||||
response: GetCopilotSessionsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getDocRolePermissionsQuery';
|
||||
variables: GetDocRolePermissionsQueryVariables;
|
||||
response: GetDocRolePermissionsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getCurrentUserFeaturesQuery';
|
||||
variables: GetCurrentUserFeaturesQueryVariables;
|
||||
@@ -3265,11 +3437,6 @@ export type Queries =
|
||||
variables: GetPageGrantedUsersListQueryVariables;
|
||||
response: GetPageGrantedUsersListQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getPromptsQuery';
|
||||
variables: GetPromptsQueryVariables;
|
||||
response: GetPromptsQuery;
|
||||
}
|
||||
| {
|
||||
name: 'getServerRuntimeConfigQuery';
|
||||
variables: GetServerRuntimeConfigQueryVariables;
|
||||
@@ -3443,25 +3610,55 @@ export type Mutations =
|
||||
response: ChangePasswordMutation;
|
||||
}
|
||||
| {
|
||||
name: 'cleanupCopilotSessionMutation';
|
||||
variables: CleanupCopilotSessionMutationVariables;
|
||||
response: CleanupCopilotSessionMutation;
|
||||
name: 'createCopilotContextMutation';
|
||||
variables: CreateCopilotContextMutationVariables;
|
||||
response: CreateCopilotContextMutation;
|
||||
}
|
||||
| {
|
||||
name: 'createCheckoutSessionMutation';
|
||||
variables: CreateCheckoutSessionMutationVariables;
|
||||
response: CreateCheckoutSessionMutation;
|
||||
name: 'addContextDocMutation';
|
||||
variables: AddContextDocMutationVariables;
|
||||
response: AddContextDocMutation;
|
||||
}
|
||||
| {
|
||||
name: 'removeContextDocMutation';
|
||||
variables: RemoveContextDocMutationVariables;
|
||||
response: RemoveContextDocMutation;
|
||||
}
|
||||
| {
|
||||
name: 'createCopilotMessageMutation';
|
||||
variables: CreateCopilotMessageMutationVariables;
|
||||
response: CreateCopilotMessageMutation;
|
||||
}
|
||||
| {
|
||||
name: 'updatePromptMutation';
|
||||
variables: UpdatePromptMutationVariables;
|
||||
response: UpdatePromptMutation;
|
||||
}
|
||||
| {
|
||||
name: 'cleanupCopilotSessionMutation';
|
||||
variables: CleanupCopilotSessionMutationVariables;
|
||||
response: CleanupCopilotSessionMutation;
|
||||
}
|
||||
| {
|
||||
name: 'createCopilotSessionMutation';
|
||||
variables: CreateCopilotSessionMutationVariables;
|
||||
response: CreateCopilotSessionMutation;
|
||||
}
|
||||
| {
|
||||
name: 'forkCopilotSessionMutation';
|
||||
variables: ForkCopilotSessionMutationVariables;
|
||||
response: ForkCopilotSessionMutation;
|
||||
}
|
||||
| {
|
||||
name: 'updateCopilotSessionMutation';
|
||||
variables: UpdateCopilotSessionMutationVariables;
|
||||
response: UpdateCopilotSessionMutation;
|
||||
}
|
||||
| {
|
||||
name: 'createCheckoutSessionMutation';
|
||||
variables: CreateCheckoutSessionMutationVariables;
|
||||
response: CreateCheckoutSessionMutation;
|
||||
}
|
||||
| {
|
||||
name: 'createCustomerPortalMutation';
|
||||
variables: CreateCustomerPortalMutationVariables;
|
||||
@@ -3502,11 +3699,6 @@ export type Mutations =
|
||||
variables: DeleteWorkspaceMutationVariables;
|
||||
response: DeleteWorkspaceMutation;
|
||||
}
|
||||
| {
|
||||
name: 'forkCopilotSessionMutation';
|
||||
variables: ForkCopilotSessionMutationVariables;
|
||||
response: ForkCopilotSessionMutation;
|
||||
}
|
||||
| {
|
||||
name: 'generateLicenseKeyMutation';
|
||||
variables: GenerateLicenseKeyMutationVariables;
|
||||
@@ -3597,21 +3789,11 @@ export type Mutations =
|
||||
variables: UpdateAccountMutationVariables;
|
||||
response: UpdateAccountMutation;
|
||||
}
|
||||
| {
|
||||
name: 'updateCopilotSessionMutation';
|
||||
variables: UpdateCopilotSessionMutationVariables;
|
||||
response: UpdateCopilotSessionMutation;
|
||||
}
|
||||
| {
|
||||
name: 'updateDocUserRoleMutation';
|
||||
variables: UpdateDocUserRoleMutationVariables;
|
||||
response: UpdateDocUserRoleMutation;
|
||||
}
|
||||
| {
|
||||
name: 'updatePromptMutation';
|
||||
variables: UpdatePromptMutationVariables;
|
||||
response: UpdatePromptMutation;
|
||||
}
|
||||
| {
|
||||
name: 'updateServerRuntimeConfigsMutation';
|
||||
variables: UpdateServerRuntimeConfigsMutationVariables;
|
||||
|
||||
@@ -15,8 +15,8 @@ anyhow = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
napi = { workspace = true }
|
||||
napi-derive = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
sqlx = { workspace = true, default-features = false, features = ["chrono", "macros", "migrate", "runtime-tokio", "sqlite", "tls-rustls"] }
|
||||
thiserror = { workspace = true }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
|
||||
[target.'cfg(any(target_os = "ios", target_os = "android"))'.dependencies]
|
||||
|
||||
Reference in new issue
Block a user