@structured-world/gitlab-mcp 6.54.0 → 6.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/generated/prisma/commonInputTypes.d.ts +31 -31
- package/dist/generated/prisma/internal/class.js +2 -2
- package/dist/generated/prisma/internal/class.js.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +2 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +2 -0
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/prisma/models/DeviceFlowState.d.ts +0 -3
- package/dist/generated/prisma/models/OAuthSession.d.ts +76 -1
- package/dist/src/cli/instances/index.d.ts +2 -0
- package/dist/src/cli/instances/index.js +7 -0
- package/dist/src/cli/instances/index.js.map +1 -0
- package/dist/src/cli/instances/instances-command.d.ts +6 -0
- package/dist/src/cli/instances/instances-command.js +351 -0
- package/dist/src/cli/instances/instances-command.js.map +1 -0
- package/dist/src/config/index.d.ts +4 -0
- package/dist/src/config/index.js +19 -0
- package/dist/src/config/index.js.map +1 -0
- package/dist/src/config/instances-loader.d.ts +10 -0
- package/dist/src/config/instances-loader.js +292 -0
- package/dist/src/config/instances-loader.js.map +1 -0
- package/dist/src/config/instances-schema.d.ts +89 -0
- package/dist/src/config/instances-schema.js +196 -0
- package/dist/src/config/instances-schema.js.map +1 -0
- package/dist/src/entities/context/context-manager.d.ts +1 -0
- package/dist/src/entities/context/context-manager.js +76 -0
- package/dist/src/entities/context/context-manager.js.map +1 -1
- package/dist/src/graphql/client.d.ts +3 -1
- package/dist/src/graphql/client.js +8 -2
- package/dist/src/graphql/client.js.map +1 -1
- package/dist/src/middleware/oauth-auth.js +5 -0
- package/dist/src/middleware/oauth-auth.js.map +1 -1
- package/dist/src/oauth/endpoints/authorize.js +3 -0
- package/dist/src/oauth/endpoints/authorize.js.map +1 -1
- package/dist/src/oauth/endpoints/callback.js +3 -0
- package/dist/src/oauth/endpoints/callback.js.map +1 -1
- package/dist/src/oauth/index.d.ts +1 -1
- package/dist/src/oauth/index.js +4 -2
- package/dist/src/oauth/index.js.map +1 -1
- package/dist/src/oauth/storage/postgresql.js +4 -0
- package/dist/src/oauth/storage/postgresql.js.map +1 -1
- package/dist/src/oauth/token-context.d.ts +2 -0
- package/dist/src/oauth/token-context.js +10 -0
- package/dist/src/oauth/token-context.js.map +1 -1
- package/dist/src/oauth/types.d.ts +13 -0
- package/dist/src/server.js +4 -0
- package/dist/src/server.js.map +1 -1
- package/dist/src/services/ConnectionManager.d.ts +6 -1
- package/dist/src/services/ConnectionManager.js +101 -12
- package/dist/src/services/ConnectionManager.js.map +1 -1
- package/dist/src/services/InstanceConnectionPool.d.ts +51 -0
- package/dist/src/services/InstanceConnectionPool.js +170 -0
- package/dist/src/services/InstanceConnectionPool.js.map +1 -0
- package/dist/src/services/InstanceRateLimiter.d.ts +35 -0
- package/dist/src/services/InstanceRateLimiter.js +131 -0
- package/dist/src/services/InstanceRateLimiter.js.map +1 -0
- package/dist/src/services/InstanceRegistry.d.ts +61 -0
- package/dist/src/services/InstanceRegistry.js +250 -0
- package/dist/src/services/InstanceRegistry.js.map +1 -0
- package/dist/src/services/NamespaceTierDetector.d.ts +9 -0
- package/dist/src/services/NamespaceTierDetector.js +249 -0
- package/dist/src/services/NamespaceTierDetector.js.map +1 -0
- package/dist/src/utils/fetch.d.ts +4 -0
- package/dist/src/utils/fetch.js +112 -49
- package/dist/src/utils/fetch.js.map +1 -1
- package/dist/structured-world-gitlab-mcp-6.55.1.tgz +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/structured-world-gitlab-mcp-6.54.0.tgz +0 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
A [Model Context Protocol](https://modelcontextprotocol.io) server that connects AI agents to the GitLab API — 44 tools across 18 entity types with CQRS architecture, OAuth 2.1, and multiple transport modes.
|
|
6
6
|
|
|
7
|
-
[](https://gitlab-mcp.sw.foundation/downloads/gitlab-mcp-6.
|
|
7
|
+
[](https://gitlab-mcp.sw.foundation/downloads/gitlab-mcp-6.55.1.mcpb)
|
|
8
8
|
[](vscode:mcp/install?%7B%22name%22%3A%22gitlab-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40structured-world%2Fgitlab-mcp%22%5D%7D)
|
|
9
9
|
[](vscode-insiders:mcp/install?%7B%22name%22%3A%22gitlab-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40structured-world%2Fgitlab-mcp%22%5D%7D)
|
|
10
10
|
|
|
@@ -33,6 +33,24 @@ export type IntFilter<$PrismaModel = never> = {
|
|
|
33
33
|
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
34
34
|
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
35
35
|
};
|
|
36
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
37
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
38
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
39
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
40
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
41
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
42
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
43
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
44
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
45
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
46
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
47
|
+
mode?: Prisma.QueryMode;
|
|
48
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
49
|
+
};
|
|
50
|
+
export type SortOrderInput = {
|
|
51
|
+
sort: Prisma.SortOrder;
|
|
52
|
+
nulls?: Prisma.NullsOrder;
|
|
53
|
+
};
|
|
36
54
|
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
37
55
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
38
56
|
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
@@ -80,24 +98,6 @@ export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
80
98
|
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
81
99
|
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
82
100
|
};
|
|
83
|
-
export type StringNullableFilter<$PrismaModel = never> = {
|
|
84
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
85
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
86
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
87
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
88
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
89
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
90
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
91
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
92
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
93
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
94
|
-
mode?: Prisma.QueryMode;
|
|
95
|
-
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
96
|
-
};
|
|
97
|
-
export type SortOrderInput = {
|
|
98
|
-
sort: Prisma.SortOrder;
|
|
99
|
-
nulls?: Prisma.NullsOrder;
|
|
100
|
-
};
|
|
101
101
|
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
102
102
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
103
103
|
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
@@ -148,6 +148,19 @@ export type NestedIntFilter<$PrismaModel = never> = {
|
|
|
148
148
|
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
149
149
|
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
150
150
|
};
|
|
151
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
152
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
153
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
154
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
155
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
156
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
157
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
158
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
159
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
160
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
161
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
162
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
163
|
+
};
|
|
151
164
|
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
152
165
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
153
166
|
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
@@ -204,19 +217,6 @@ export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
204
217
|
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
205
218
|
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
206
219
|
};
|
|
207
|
-
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
208
|
-
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
209
|
-
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
210
|
-
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
211
|
-
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
212
|
-
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
213
|
-
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
214
|
-
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
215
|
-
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
216
|
-
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
217
|
-
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
218
|
-
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
219
|
-
};
|
|
220
220
|
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
221
221
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
222
222
|
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
@@ -40,14 +40,14 @@ const config = {
|
|
|
40
40
|
"clientVersion": "7.3.0",
|
|
41
41
|
"engineVersion": "9d6ad21cbbceab97458517b147a6a09ff43aa735",
|
|
42
42
|
"activeProvider": "postgresql",
|
|
43
|
-
"inlineSchema": "// Prisma schema for gitlab-mcp OAuth session storage\n// Supports PostgreSQL for multi-instance deployments\n\ngenerator client {\n provider = \"prisma-client\"\n output = \"../generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\n// OAuth session representing an authenticated user\nmodel OAuthSession {\n id String @id @default(uuid())\n\n // MCP tokens (issued by gitlab-mcp to Claude)\n mcpAccessToken String @map(\"mcp_access_token\")\n mcpRefreshToken String @map(\"mcp_refresh_token\")\n mcpTokenExpiry BigInt @map(\"mcp_token_expiry\")\n\n // GitLab tokens (obtained from GitLab OAuth)\n gitlabAccessToken String @map(\"gitlab_access_token\")\n gitlabRefreshToken String @map(\"gitlab_refresh_token\")\n gitlabTokenExpiry BigInt @map(\"gitlab_token_expiry\")\n\n // User info from GitLab\n gitlabUserId Int @map(\"gitlab_user_id\")\n gitlabUsername String @map(\"gitlab_username\")\n\n // Session metadata\n clientId String @map(\"client_id\")\n scopes String[] @default([])\n createdAt BigInt @map(\"created_at\")\n updatedAt BigInt @map(\"updated_at\")\n\n // Relations\n authorizationCodes AuthorizationCode[]\n mcpSessionMappings McpSessionMapping[]\n\n @@index([mcpAccessToken], map: \"idx_oauth_sessions_mcp_access_token\")\n @@index([mcpRefreshToken], map: \"idx_oauth_sessions_mcp_refresh_token\")\n @@index([gitlabUserId], map: \"idx_oauth_sessions_gitlab_user_id\")\n @@map(\"oauth_sessions\")\n}\n\n// State for tracking in-progress Device Flow authorization\nmodel DeviceFlowState {\n state String @id\n deviceCode String @map(\"device_code\")\n userCode String @map(\"user_code\")\n verificationUri String @map(\"verification_uri\")\n verificationUriComplete String? @map(\"verification_uri_complete\")\n expiresAt BigInt @map(\"expires_at\")\n interval Int\n clientId String @map(\"client_id\")\n codeChallenge String @map(\"code_challenge\")\n codeChallengeMethod String @map(\"code_challenge_method\")\n redirectUri String? @map(\"redirect_uri\")\n\n @@index([deviceCode], map: \"idx_oauth_device_flows_device_code\")\n @@index([expiresAt], map: \"idx_oauth_device_flows_expires_at\")\n @@map(\"oauth_device_flows\")\n}\n\n// State for tracking in-progress Authorization Code Flow\nmodel AuthCodeFlowState {\n internalState String @id @map(\"internal_state\")\n clientId String @map(\"client_id\")\n codeChallenge String @map(\"code_challenge\")\n codeChallengeMethod String @map(\"code_challenge_method\")\n clientState String @map(\"client_state\")\n clientRedirectUri String @map(\"client_redirect_uri\")\n callbackUri String @map(\"callback_uri\")\n expiresAt BigInt @map(\"expires_at\")\n\n @@index([expiresAt], map: \"idx_oauth_auth_code_flows_expires_at\")\n @@map(\"oauth_auth_code_flows\")\n}\n\n// Authorization code for OAuth code exchange\nmodel AuthorizationCode {\n code String @id\n sessionId String @map(\"session_id\")\n clientId String @map(\"client_id\")\n codeChallenge String @map(\"code_challenge\")\n codeChallengeMethod String @map(\"code_challenge_method\")\n redirectUri String? @map(\"redirect_uri\")\n expiresAt BigInt @map(\"expires_at\")\n\n // Relations\n session OAuthSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)\n\n @@index([sessionId], map: \"idx_oauth_authorization_codes_session_id\")\n @@index([expiresAt], map: \"idx_oauth_authorization_codes_expires_at\")\n @@map(\"oauth_authorization_codes\")\n}\n\n// MCP session to OAuth session mapping\nmodel McpSessionMapping {\n mcpSessionId String @id @map(\"mcp_session_id\")\n oauthSessionId String @map(\"oauth_session_id\")\n\n // Relations\n oauthSession OAuthSession @relation(fields: [oauthSessionId], references: [id], onDelete: Cascade)\n\n @@index([oauthSessionId], map: \"idx_oauth_mcp_session_mappings_oauth_session_id\")\n @@map(\"oauth_mcp_session_mappings\")\n}\n",
|
|
43
|
+
"inlineSchema": "// Prisma schema for gitlab-mcp OAuth session storage\n// Supports PostgreSQL for multi-instance deployments\n\ngenerator client {\n provider = \"prisma-client\"\n output = \"../generated/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\n// OAuth session representing an authenticated user\nmodel OAuthSession {\n id String @id @default(uuid())\n\n // MCP tokens (issued by gitlab-mcp to Claude)\n mcpAccessToken String @map(\"mcp_access_token\")\n mcpRefreshToken String @map(\"mcp_refresh_token\")\n mcpTokenExpiry BigInt @map(\"mcp_token_expiry\")\n\n // GitLab tokens (obtained from GitLab OAuth)\n gitlabAccessToken String @map(\"gitlab_access_token\")\n gitlabRefreshToken String @map(\"gitlab_refresh_token\")\n gitlabTokenExpiry BigInt @map(\"gitlab_token_expiry\")\n\n // User info from GitLab\n gitlabUserId Int @map(\"gitlab_user_id\")\n gitlabUsername String @map(\"gitlab_username\")\n\n // Multi-instance support\n gitlabApiUrl String? @map(\"gitlab_api_url\")\n instanceLabel String? @map(\"instance_label\")\n\n // Session metadata\n clientId String @map(\"client_id\")\n scopes String[] @default([])\n createdAt BigInt @map(\"created_at\")\n updatedAt BigInt @map(\"updated_at\")\n\n // Relations\n authorizationCodes AuthorizationCode[]\n mcpSessionMappings McpSessionMapping[]\n\n @@index([mcpAccessToken], map: \"idx_oauth_sessions_mcp_access_token\")\n @@index([mcpRefreshToken], map: \"idx_oauth_sessions_mcp_refresh_token\")\n @@index([gitlabUserId], map: \"idx_oauth_sessions_gitlab_user_id\")\n @@map(\"oauth_sessions\")\n}\n\n// State for tracking in-progress Device Flow authorization\nmodel DeviceFlowState {\n state String @id\n deviceCode String @map(\"device_code\")\n userCode String @map(\"user_code\")\n verificationUri String @map(\"verification_uri\")\n verificationUriComplete String? @map(\"verification_uri_complete\")\n expiresAt BigInt @map(\"expires_at\")\n interval Int\n clientId String @map(\"client_id\")\n codeChallenge String @map(\"code_challenge\")\n codeChallengeMethod String @map(\"code_challenge_method\")\n redirectUri String? @map(\"redirect_uri\")\n\n @@index([deviceCode], map: \"idx_oauth_device_flows_device_code\")\n @@index([expiresAt], map: \"idx_oauth_device_flows_expires_at\")\n @@map(\"oauth_device_flows\")\n}\n\n// State for tracking in-progress Authorization Code Flow\nmodel AuthCodeFlowState {\n internalState String @id @map(\"internal_state\")\n clientId String @map(\"client_id\")\n codeChallenge String @map(\"code_challenge\")\n codeChallengeMethod String @map(\"code_challenge_method\")\n clientState String @map(\"client_state\")\n clientRedirectUri String @map(\"client_redirect_uri\")\n callbackUri String @map(\"callback_uri\")\n expiresAt BigInt @map(\"expires_at\")\n\n @@index([expiresAt], map: \"idx_oauth_auth_code_flows_expires_at\")\n @@map(\"oauth_auth_code_flows\")\n}\n\n// Authorization code for OAuth code exchange\nmodel AuthorizationCode {\n code String @id\n sessionId String @map(\"session_id\")\n clientId String @map(\"client_id\")\n codeChallenge String @map(\"code_challenge\")\n codeChallengeMethod String @map(\"code_challenge_method\")\n redirectUri String? @map(\"redirect_uri\")\n expiresAt BigInt @map(\"expires_at\")\n\n // Relations\n session OAuthSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)\n\n @@index([sessionId], map: \"idx_oauth_authorization_codes_session_id\")\n @@index([expiresAt], map: \"idx_oauth_authorization_codes_expires_at\")\n @@map(\"oauth_authorization_codes\")\n}\n\n// MCP session to OAuth session mapping\nmodel McpSessionMapping {\n mcpSessionId String @id @map(\"mcp_session_id\")\n oauthSessionId String @map(\"oauth_session_id\")\n\n // Relations\n oauthSession OAuthSession @relation(fields: [oauthSessionId], references: [id], onDelete: Cascade)\n\n @@index([oauthSessionId], map: \"idx_oauth_mcp_session_mappings_oauth_session_id\")\n @@map(\"oauth_mcp_session_mappings\")\n}\n",
|
|
44
44
|
"runtimeDataModel": {
|
|
45
45
|
"models": {},
|
|
46
46
|
"enums": {},
|
|
47
47
|
"types": {}
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
config.runtimeDataModel = JSON.parse("{\"models\":{\"OAuthSession\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mcpAccessToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"mcp_access_token\"},{\"name\":\"mcpRefreshToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"mcp_refresh_token\"},{\"name\":\"mcpTokenExpiry\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"mcp_token_expiry\"},{\"name\":\"gitlabAccessToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"gitlab_access_token\"},{\"name\":\"gitlabRefreshToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"gitlab_refresh_token\"},{\"name\":\"gitlabTokenExpiry\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"gitlab_token_expiry\"},{\"name\":\"gitlabUserId\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"gitlab_user_id\"},{\"name\":\"gitlabUsername\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"gitlab_username\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"scopes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"updated_at\"},{\"name\":\"authorizationCodes\",\"kind\":\"object\",\"type\":\"AuthorizationCode\",\"relationName\":\"AuthorizationCodeToOAuthSession\"},{\"name\":\"mcpSessionMappings\",\"kind\":\"object\",\"type\":\"McpSessionMapping\",\"relationName\":\"McpSessionMappingToOAuthSession\"}],\"dbName\":\"oauth_sessions\"},\"DeviceFlowState\":{\"fields\":[{\"name\":\"state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"deviceCode\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"device_code\"},{\"name\":\"userCode\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_code\"},{\"name\":\"verificationUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"verification_uri\"},{\"name\":\"verificationUriComplete\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"verification_uri_complete\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"expires_at\"},{\"name\":\"interval\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"codeChallenge\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge\"},{\"name\":\"codeChallengeMethod\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge_method\"},{\"name\":\"redirectUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"redirect_uri\"}],\"dbName\":\"oauth_device_flows\"},\"AuthCodeFlowState\":{\"fields\":[{\"name\":\"internalState\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"internal_state\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"codeChallenge\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge\"},{\"name\":\"codeChallengeMethod\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge_method\"},{\"name\":\"clientState\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_state\"},{\"name\":\"clientRedirectUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_redirect_uri\"},{\"name\":\"callbackUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"callback_uri\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"expires_at\"}],\"dbName\":\"oauth_auth_code_flows\"},\"AuthorizationCode\":{\"fields\":[{\"name\":\"code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"codeChallenge\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge\"},{\"name\":\"codeChallengeMethod\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge_method\"},{\"name\":\"redirectUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"redirect_uri\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"expires_at\"},{\"name\":\"session\",\"kind\":\"object\",\"type\":\"OAuthSession\",\"relationName\":\"AuthorizationCodeToOAuthSession\"}],\"dbName\":\"oauth_authorization_codes\"},\"McpSessionMapping\":{\"fields\":[{\"name\":\"mcpSessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"mcp_session_id\"},{\"name\":\"oauthSessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"oauth_session_id\"},{\"name\":\"oauthSession\",\"kind\":\"object\",\"type\":\"OAuthSession\",\"relationName\":\"McpSessionMappingToOAuthSession\"}],\"dbName\":\"oauth_mcp_session_mappings\"}},\"enums\":{},\"types\":{}}");
|
|
50
|
+
config.runtimeDataModel = JSON.parse("{\"models\":{\"OAuthSession\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"mcpAccessToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"mcp_access_token\"},{\"name\":\"mcpRefreshToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"mcp_refresh_token\"},{\"name\":\"mcpTokenExpiry\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"mcp_token_expiry\"},{\"name\":\"gitlabAccessToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"gitlab_access_token\"},{\"name\":\"gitlabRefreshToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"gitlab_refresh_token\"},{\"name\":\"gitlabTokenExpiry\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"gitlab_token_expiry\"},{\"name\":\"gitlabUserId\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"gitlab_user_id\"},{\"name\":\"gitlabUsername\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"gitlab_username\"},{\"name\":\"gitlabApiUrl\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"gitlab_api_url\"},{\"name\":\"instanceLabel\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"instance_label\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"scopes\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"updated_at\"},{\"name\":\"authorizationCodes\",\"kind\":\"object\",\"type\":\"AuthorizationCode\",\"relationName\":\"AuthorizationCodeToOAuthSession\"},{\"name\":\"mcpSessionMappings\",\"kind\":\"object\",\"type\":\"McpSessionMapping\",\"relationName\":\"McpSessionMappingToOAuthSession\"}],\"dbName\":\"oauth_sessions\"},\"DeviceFlowState\":{\"fields\":[{\"name\":\"state\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"deviceCode\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"device_code\"},{\"name\":\"userCode\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_code\"},{\"name\":\"verificationUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"verification_uri\"},{\"name\":\"verificationUriComplete\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"verification_uri_complete\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"expires_at\"},{\"name\":\"interval\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"codeChallenge\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge\"},{\"name\":\"codeChallengeMethod\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge_method\"},{\"name\":\"redirectUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"redirect_uri\"}],\"dbName\":\"oauth_device_flows\"},\"AuthCodeFlowState\":{\"fields\":[{\"name\":\"internalState\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"internal_state\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"codeChallenge\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge\"},{\"name\":\"codeChallengeMethod\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge_method\"},{\"name\":\"clientState\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_state\"},{\"name\":\"clientRedirectUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_redirect_uri\"},{\"name\":\"callbackUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"callback_uri\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"expires_at\"}],\"dbName\":\"oauth_auth_code_flows\"},\"AuthorizationCode\":{\"fields\":[{\"name\":\"code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"clientId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"client_id\"},{\"name\":\"codeChallenge\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge\"},{\"name\":\"codeChallengeMethod\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"code_challenge_method\"},{\"name\":\"redirectUri\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"redirect_uri\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"expires_at\"},{\"name\":\"session\",\"kind\":\"object\",\"type\":\"OAuthSession\",\"relationName\":\"AuthorizationCodeToOAuthSession\"}],\"dbName\":\"oauth_authorization_codes\"},\"McpSessionMapping\":{\"fields\":[{\"name\":\"mcpSessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"mcp_session_id\"},{\"name\":\"oauthSessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"oauth_session_id\"},{\"name\":\"oauthSession\",\"kind\":\"object\",\"type\":\"OAuthSession\",\"relationName\":\"McpSessionMappingToOAuthSession\"}],\"dbName\":\"oauth_mcp_session_mappings\"}},\"enums\":{},\"types\":{}}");
|
|
51
51
|
async function decodeBase64AsWasm(wasmBase64) {
|
|
52
52
|
const { Buffer } = await Promise.resolve().then(() => __importStar(require('node:buffer')));
|
|
53
53
|
const wasmArray = Buffer.from(wasmBase64, 'base64');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../generated/prisma/internal/class.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqOA,oDAEC;AA1ND,uEAAwD;AAIxD,MAAM,MAAM,GAAkC;IAC5C,iBAAiB,EAAE,EAAE;IACrB,eAAe,EAAE,OAAO;IACxB,eAAe,EAAE,0CAA0C;IAC3D,gBAAgB,EAAE,YAAY;IAC9B,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../generated/prisma/internal/class.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqOA,oDAEC;AA1ND,uEAAwD;AAIxD,MAAM,MAAM,GAAkC;IAC5C,iBAAiB,EAAE,EAAE;IACrB,eAAe,EAAE,OAAO;IACxB,eAAe,EAAE,0CAA0C;IAC3D,gBAAgB,EAAE,YAAY;IAC9B,cAAc,EAAE,stIAAstI;IACtuI,kBAAkB,EAAE;QAClB,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,EAAE;KACZ;CACF,CAAA;AAED,MAAM,CAAC,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,y3JAAy3J,CAAC,CAAA;AAE/5J,KAAK,UAAU,kBAAkB,CAAC,UAAkB;IAClD,MAAM,EAAE,MAAM,EAAE,GAAG,wDAAa,aAAa,GAAC,CAAA;IAC9C,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAA;IACnD,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,CAAC,YAAY,GAAG;IACpB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,wDAAa,6DAA6D,GAAC;IAEnG,0BAA0B,EAAE,KAAK,IAAI,EAAE;QACrC,MAAM,EAAE,IAAI,EAAE,GAAG,wDAAa,yEAAyE,GAAC,CAAA;QACxG,OAAO,MAAM,kBAAkB,CAAC,IAAI,CAAC,CAAA;IACvC,CAAC;IAED,UAAU,EAAE,6BAA6B;CAC1C,CAAA;AAsLD,SAAgB,oBAAoB;IAClC,OAAO,OAAO,CAAC,eAAe,CAAC,MAAM,CAAuC,CAAA;AAC9E,CAAC"}
|
|
@@ -589,6 +589,8 @@ export declare const OAuthSessionScalarFieldEnum: {
|
|
|
589
589
|
readonly gitlabTokenExpiry: "gitlabTokenExpiry";
|
|
590
590
|
readonly gitlabUserId: "gitlabUserId";
|
|
591
591
|
readonly gitlabUsername: "gitlabUsername";
|
|
592
|
+
readonly gitlabApiUrl: "gitlabApiUrl";
|
|
593
|
+
readonly instanceLabel: "instanceLabel";
|
|
592
594
|
readonly clientId: "clientId";
|
|
593
595
|
readonly scopes: "scopes";
|
|
594
596
|
readonly createdAt: "createdAt";
|
|
@@ -82,6 +82,8 @@ exports.OAuthSessionScalarFieldEnum = {
|
|
|
82
82
|
gitlabTokenExpiry: 'gitlabTokenExpiry',
|
|
83
83
|
gitlabUserId: 'gitlabUserId',
|
|
84
84
|
gitlabUsername: 'gitlabUsername',
|
|
85
|
+
gitlabApiUrl: 'gitlabApiUrl',
|
|
86
|
+
instanceLabel: 'instanceLabel',
|
|
85
87
|
clientId: 'clientId',
|
|
86
88
|
scopes: 'scopes',
|
|
87
89
|
createdAt: 'createdAt',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prismaNamespace.js","sourceRoot":"","sources":["../../../../generated/prisma/internal/prismaNamespace.ts"],"names":[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eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,eAA6H,CAAA"}
|
|
@@ -370,9 +370,6 @@ export type DeviceFlowStateSumOrderByAggregateInput = {
|
|
|
370
370
|
expiresAt?: Prisma.SortOrder;
|
|
371
371
|
interval?: Prisma.SortOrder;
|
|
372
372
|
};
|
|
373
|
-
export type NullableStringFieldUpdateOperationsInput = {
|
|
374
|
-
set?: string | null;
|
|
375
|
-
};
|
|
376
373
|
export type DeviceFlowStateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
377
374
|
state?: boolean;
|
|
378
375
|
deviceCode?: boolean;
|
|
@@ -32,6 +32,8 @@ export type OAuthSessionMinAggregateOutputType = {
|
|
|
32
32
|
gitlabTokenExpiry: bigint | null;
|
|
33
33
|
gitlabUserId: number | null;
|
|
34
34
|
gitlabUsername: string | null;
|
|
35
|
+
gitlabApiUrl: string | null;
|
|
36
|
+
instanceLabel: string | null;
|
|
35
37
|
clientId: string | null;
|
|
36
38
|
createdAt: bigint | null;
|
|
37
39
|
updatedAt: bigint | null;
|
|
@@ -46,6 +48,8 @@ export type OAuthSessionMaxAggregateOutputType = {
|
|
|
46
48
|
gitlabTokenExpiry: bigint | null;
|
|
47
49
|
gitlabUserId: number | null;
|
|
48
50
|
gitlabUsername: string | null;
|
|
51
|
+
gitlabApiUrl: string | null;
|
|
52
|
+
instanceLabel: string | null;
|
|
49
53
|
clientId: string | null;
|
|
50
54
|
createdAt: bigint | null;
|
|
51
55
|
updatedAt: bigint | null;
|
|
@@ -60,6 +64,8 @@ export type OAuthSessionCountAggregateOutputType = {
|
|
|
60
64
|
gitlabTokenExpiry: number;
|
|
61
65
|
gitlabUserId: number;
|
|
62
66
|
gitlabUsername: number;
|
|
67
|
+
gitlabApiUrl: number;
|
|
68
|
+
instanceLabel: number;
|
|
63
69
|
clientId: number;
|
|
64
70
|
scopes: number;
|
|
65
71
|
createdAt: number;
|
|
@@ -90,6 +96,8 @@ export type OAuthSessionMinAggregateInputType = {
|
|
|
90
96
|
gitlabTokenExpiry?: true;
|
|
91
97
|
gitlabUserId?: true;
|
|
92
98
|
gitlabUsername?: true;
|
|
99
|
+
gitlabApiUrl?: true;
|
|
100
|
+
instanceLabel?: true;
|
|
93
101
|
clientId?: true;
|
|
94
102
|
createdAt?: true;
|
|
95
103
|
updatedAt?: true;
|
|
@@ -104,6 +112,8 @@ export type OAuthSessionMaxAggregateInputType = {
|
|
|
104
112
|
gitlabTokenExpiry?: true;
|
|
105
113
|
gitlabUserId?: true;
|
|
106
114
|
gitlabUsername?: true;
|
|
115
|
+
gitlabApiUrl?: true;
|
|
116
|
+
instanceLabel?: true;
|
|
107
117
|
clientId?: true;
|
|
108
118
|
createdAt?: true;
|
|
109
119
|
updatedAt?: true;
|
|
@@ -118,6 +128,8 @@ export type OAuthSessionCountAggregateInputType = {
|
|
|
118
128
|
gitlabTokenExpiry?: true;
|
|
119
129
|
gitlabUserId?: true;
|
|
120
130
|
gitlabUsername?: true;
|
|
131
|
+
gitlabApiUrl?: true;
|
|
132
|
+
instanceLabel?: true;
|
|
121
133
|
clientId?: true;
|
|
122
134
|
scopes?: true;
|
|
123
135
|
createdAt?: true;
|
|
@@ -162,6 +174,8 @@ export type OAuthSessionGroupByOutputType = {
|
|
|
162
174
|
gitlabTokenExpiry: bigint;
|
|
163
175
|
gitlabUserId: number;
|
|
164
176
|
gitlabUsername: string;
|
|
177
|
+
gitlabApiUrl: string | null;
|
|
178
|
+
instanceLabel: string | null;
|
|
165
179
|
clientId: string;
|
|
166
180
|
scopes: string[];
|
|
167
181
|
createdAt: bigint;
|
|
@@ -188,6 +202,8 @@ export type OAuthSessionWhereInput = {
|
|
|
188
202
|
gitlabTokenExpiry?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
189
203
|
gitlabUserId?: Prisma.IntFilter<"OAuthSession"> | number;
|
|
190
204
|
gitlabUsername?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
205
|
+
gitlabApiUrl?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
206
|
+
instanceLabel?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
191
207
|
clientId?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
192
208
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
193
209
|
createdAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
@@ -205,6 +221,8 @@ export type OAuthSessionOrderByWithRelationInput = {
|
|
|
205
221
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
206
222
|
gitlabUserId?: Prisma.SortOrder;
|
|
207
223
|
gitlabUsername?: Prisma.SortOrder;
|
|
224
|
+
gitlabApiUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
225
|
+
instanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
208
226
|
clientId?: Prisma.SortOrder;
|
|
209
227
|
scopes?: Prisma.SortOrder;
|
|
210
228
|
createdAt?: Prisma.SortOrder;
|
|
@@ -225,6 +243,8 @@ export type OAuthSessionWhereUniqueInput = Prisma.AtLeast<{
|
|
|
225
243
|
gitlabTokenExpiry?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
226
244
|
gitlabUserId?: Prisma.IntFilter<"OAuthSession"> | number;
|
|
227
245
|
gitlabUsername?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
246
|
+
gitlabApiUrl?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
247
|
+
instanceLabel?: Prisma.StringNullableFilter<"OAuthSession"> | string | null;
|
|
228
248
|
clientId?: Prisma.StringFilter<"OAuthSession"> | string;
|
|
229
249
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
230
250
|
createdAt?: Prisma.BigIntFilter<"OAuthSession"> | bigint | number;
|
|
@@ -242,6 +262,8 @@ export type OAuthSessionOrderByWithAggregationInput = {
|
|
|
242
262
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
243
263
|
gitlabUserId?: Prisma.SortOrder;
|
|
244
264
|
gitlabUsername?: Prisma.SortOrder;
|
|
265
|
+
gitlabApiUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
266
|
+
instanceLabel?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
245
267
|
clientId?: Prisma.SortOrder;
|
|
246
268
|
scopes?: Prisma.SortOrder;
|
|
247
269
|
createdAt?: Prisma.SortOrder;
|
|
@@ -265,6 +287,8 @@ export type OAuthSessionScalarWhereWithAggregatesInput = {
|
|
|
265
287
|
gitlabTokenExpiry?: Prisma.BigIntWithAggregatesFilter<"OAuthSession"> | bigint | number;
|
|
266
288
|
gitlabUserId?: Prisma.IntWithAggregatesFilter<"OAuthSession"> | number;
|
|
267
289
|
gitlabUsername?: Prisma.StringWithAggregatesFilter<"OAuthSession"> | string;
|
|
290
|
+
gitlabApiUrl?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
291
|
+
instanceLabel?: Prisma.StringNullableWithAggregatesFilter<"OAuthSession"> | string | null;
|
|
268
292
|
clientId?: Prisma.StringWithAggregatesFilter<"OAuthSession"> | string;
|
|
269
293
|
scopes?: Prisma.StringNullableListFilter<"OAuthSession">;
|
|
270
294
|
createdAt?: Prisma.BigIntWithAggregatesFilter<"OAuthSession"> | bigint | number;
|
|
@@ -280,6 +304,8 @@ export type OAuthSessionCreateInput = {
|
|
|
280
304
|
gitlabTokenExpiry: bigint | number;
|
|
281
305
|
gitlabUserId: number;
|
|
282
306
|
gitlabUsername: string;
|
|
307
|
+
gitlabApiUrl?: string | null;
|
|
308
|
+
instanceLabel?: string | null;
|
|
283
309
|
clientId: string;
|
|
284
310
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
285
311
|
createdAt: bigint | number;
|
|
@@ -297,6 +323,8 @@ export type OAuthSessionUncheckedCreateInput = {
|
|
|
297
323
|
gitlabTokenExpiry: bigint | number;
|
|
298
324
|
gitlabUserId: number;
|
|
299
325
|
gitlabUsername: string;
|
|
326
|
+
gitlabApiUrl?: string | null;
|
|
327
|
+
instanceLabel?: string | null;
|
|
300
328
|
clientId: string;
|
|
301
329
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
302
330
|
createdAt: bigint | number;
|
|
@@ -314,6 +342,8 @@ export type OAuthSessionUpdateInput = {
|
|
|
314
342
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
315
343
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
316
344
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
345
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
346
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
317
347
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
318
348
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
319
349
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -331,6 +361,8 @@ export type OAuthSessionUncheckedUpdateInput = {
|
|
|
331
361
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
332
362
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
333
363
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
364
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
365
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
334
366
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
335
367
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
336
368
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -348,6 +380,8 @@ export type OAuthSessionCreateManyInput = {
|
|
|
348
380
|
gitlabTokenExpiry: bigint | number;
|
|
349
381
|
gitlabUserId: number;
|
|
350
382
|
gitlabUsername: string;
|
|
383
|
+
gitlabApiUrl?: string | null;
|
|
384
|
+
instanceLabel?: string | null;
|
|
351
385
|
clientId: string;
|
|
352
386
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
353
387
|
createdAt: bigint | number;
|
|
@@ -363,6 +397,8 @@ export type OAuthSessionUpdateManyMutationInput = {
|
|
|
363
397
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
364
398
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
365
399
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
401
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
402
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
367
403
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
368
404
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -378,6 +414,8 @@ export type OAuthSessionUncheckedUpdateManyInput = {
|
|
|
378
414
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
379
415
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
380
416
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
417
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
418
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
381
419
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
382
420
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
383
421
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -400,6 +438,8 @@ export type OAuthSessionCountOrderByAggregateInput = {
|
|
|
400
438
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
401
439
|
gitlabUserId?: Prisma.SortOrder;
|
|
402
440
|
gitlabUsername?: Prisma.SortOrder;
|
|
441
|
+
gitlabApiUrl?: Prisma.SortOrder;
|
|
442
|
+
instanceLabel?: Prisma.SortOrder;
|
|
403
443
|
clientId?: Prisma.SortOrder;
|
|
404
444
|
scopes?: Prisma.SortOrder;
|
|
405
445
|
createdAt?: Prisma.SortOrder;
|
|
@@ -422,6 +462,8 @@ export type OAuthSessionMaxOrderByAggregateInput = {
|
|
|
422
462
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
423
463
|
gitlabUserId?: Prisma.SortOrder;
|
|
424
464
|
gitlabUsername?: Prisma.SortOrder;
|
|
465
|
+
gitlabApiUrl?: Prisma.SortOrder;
|
|
466
|
+
instanceLabel?: Prisma.SortOrder;
|
|
425
467
|
clientId?: Prisma.SortOrder;
|
|
426
468
|
createdAt?: Prisma.SortOrder;
|
|
427
469
|
updatedAt?: Prisma.SortOrder;
|
|
@@ -436,6 +478,8 @@ export type OAuthSessionMinOrderByAggregateInput = {
|
|
|
436
478
|
gitlabTokenExpiry?: Prisma.SortOrder;
|
|
437
479
|
gitlabUserId?: Prisma.SortOrder;
|
|
438
480
|
gitlabUsername?: Prisma.SortOrder;
|
|
481
|
+
gitlabApiUrl?: Prisma.SortOrder;
|
|
482
|
+
instanceLabel?: Prisma.SortOrder;
|
|
439
483
|
clientId?: Prisma.SortOrder;
|
|
440
484
|
createdAt?: Prisma.SortOrder;
|
|
441
485
|
updatedAt?: Prisma.SortOrder;
|
|
@@ -471,6 +515,9 @@ export type IntFieldUpdateOperationsInput = {
|
|
|
471
515
|
multiply?: number;
|
|
472
516
|
divide?: number;
|
|
473
517
|
};
|
|
518
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
519
|
+
set?: string | null;
|
|
520
|
+
};
|
|
474
521
|
export type OAuthSessionUpdatescopesInput = {
|
|
475
522
|
set?: string[];
|
|
476
523
|
push?: string | string[];
|
|
@@ -509,6 +556,8 @@ export type OAuthSessionCreateWithoutAuthorizationCodesInput = {
|
|
|
509
556
|
gitlabTokenExpiry: bigint | number;
|
|
510
557
|
gitlabUserId: number;
|
|
511
558
|
gitlabUsername: string;
|
|
559
|
+
gitlabApiUrl?: string | null;
|
|
560
|
+
instanceLabel?: string | null;
|
|
512
561
|
clientId: string;
|
|
513
562
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
514
563
|
createdAt: bigint | number;
|
|
@@ -525,6 +574,8 @@ export type OAuthSessionUncheckedCreateWithoutAuthorizationCodesInput = {
|
|
|
525
574
|
gitlabTokenExpiry: bigint | number;
|
|
526
575
|
gitlabUserId: number;
|
|
527
576
|
gitlabUsername: string;
|
|
577
|
+
gitlabApiUrl?: string | null;
|
|
578
|
+
instanceLabel?: string | null;
|
|
528
579
|
clientId: string;
|
|
529
580
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
530
581
|
createdAt: bigint | number;
|
|
@@ -554,6 +605,8 @@ export type OAuthSessionUpdateWithoutAuthorizationCodesInput = {
|
|
|
554
605
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
555
606
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
556
607
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
608
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
609
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
557
610
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
558
611
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
559
612
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -570,6 +623,8 @@ export type OAuthSessionUncheckedUpdateWithoutAuthorizationCodesInput = {
|
|
|
570
623
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
571
624
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
572
625
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
626
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
627
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
573
628
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
574
629
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
575
630
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -586,6 +641,8 @@ export type OAuthSessionCreateWithoutMcpSessionMappingsInput = {
|
|
|
586
641
|
gitlabTokenExpiry: bigint | number;
|
|
587
642
|
gitlabUserId: number;
|
|
588
643
|
gitlabUsername: string;
|
|
644
|
+
gitlabApiUrl?: string | null;
|
|
645
|
+
instanceLabel?: string | null;
|
|
589
646
|
clientId: string;
|
|
590
647
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
591
648
|
createdAt: bigint | number;
|
|
@@ -602,6 +659,8 @@ export type OAuthSessionUncheckedCreateWithoutMcpSessionMappingsInput = {
|
|
|
602
659
|
gitlabTokenExpiry: bigint | number;
|
|
603
660
|
gitlabUserId: number;
|
|
604
661
|
gitlabUsername: string;
|
|
662
|
+
gitlabApiUrl?: string | null;
|
|
663
|
+
instanceLabel?: string | null;
|
|
605
664
|
clientId: string;
|
|
606
665
|
scopes?: Prisma.OAuthSessionCreatescopesInput | string[];
|
|
607
666
|
createdAt: bigint | number;
|
|
@@ -631,6 +690,8 @@ export type OAuthSessionUpdateWithoutMcpSessionMappingsInput = {
|
|
|
631
690
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
632
691
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
633
692
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
694
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
634
695
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
635
696
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
636
697
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -647,6 +708,8 @@ export type OAuthSessionUncheckedUpdateWithoutMcpSessionMappingsInput = {
|
|
|
647
708
|
gitlabTokenExpiry?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
648
709
|
gitlabUserId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
649
710
|
gitlabUsername?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
711
|
+
gitlabApiUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
712
|
+
instanceLabel?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
650
713
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
651
714
|
scopes?: Prisma.OAuthSessionUpdatescopesInput | string[];
|
|
652
715
|
createdAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
@@ -680,6 +743,8 @@ export type OAuthSessionSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
680
743
|
gitlabTokenExpiry?: boolean;
|
|
681
744
|
gitlabUserId?: boolean;
|
|
682
745
|
gitlabUsername?: boolean;
|
|
746
|
+
gitlabApiUrl?: boolean;
|
|
747
|
+
instanceLabel?: boolean;
|
|
683
748
|
clientId?: boolean;
|
|
684
749
|
scopes?: boolean;
|
|
685
750
|
createdAt?: boolean;
|
|
@@ -698,6 +763,8 @@ export type OAuthSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
698
763
|
gitlabTokenExpiry?: boolean;
|
|
699
764
|
gitlabUserId?: boolean;
|
|
700
765
|
gitlabUsername?: boolean;
|
|
766
|
+
gitlabApiUrl?: boolean;
|
|
767
|
+
instanceLabel?: boolean;
|
|
701
768
|
clientId?: boolean;
|
|
702
769
|
scopes?: boolean;
|
|
703
770
|
createdAt?: boolean;
|
|
@@ -713,6 +780,8 @@ export type OAuthSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
713
780
|
gitlabTokenExpiry?: boolean;
|
|
714
781
|
gitlabUserId?: boolean;
|
|
715
782
|
gitlabUsername?: boolean;
|
|
783
|
+
gitlabApiUrl?: boolean;
|
|
784
|
+
instanceLabel?: boolean;
|
|
716
785
|
clientId?: boolean;
|
|
717
786
|
scopes?: boolean;
|
|
718
787
|
createdAt?: boolean;
|
|
@@ -728,12 +797,14 @@ export type OAuthSessionSelectScalar = {
|
|
|
728
797
|
gitlabTokenExpiry?: boolean;
|
|
729
798
|
gitlabUserId?: boolean;
|
|
730
799
|
gitlabUsername?: boolean;
|
|
800
|
+
gitlabApiUrl?: boolean;
|
|
801
|
+
instanceLabel?: boolean;
|
|
731
802
|
clientId?: boolean;
|
|
732
803
|
scopes?: boolean;
|
|
733
804
|
createdAt?: boolean;
|
|
734
805
|
updatedAt?: boolean;
|
|
735
806
|
};
|
|
736
|
-
export type OAuthSessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "mcpAccessToken" | "mcpRefreshToken" | "mcpTokenExpiry" | "gitlabAccessToken" | "gitlabRefreshToken" | "gitlabTokenExpiry" | "gitlabUserId" | "gitlabUsername" | "clientId" | "scopes" | "createdAt" | "updatedAt", ExtArgs["result"]["oAuthSession"]>;
|
|
807
|
+
export type OAuthSessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "mcpAccessToken" | "mcpRefreshToken" | "mcpTokenExpiry" | "gitlabAccessToken" | "gitlabRefreshToken" | "gitlabTokenExpiry" | "gitlabUserId" | "gitlabUsername" | "gitlabApiUrl" | "instanceLabel" | "clientId" | "scopes" | "createdAt" | "updatedAt", ExtArgs["result"]["oAuthSession"]>;
|
|
737
808
|
export type OAuthSessionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
738
809
|
authorizationCodes?: boolean | Prisma.OAuthSession$authorizationCodesArgs<ExtArgs>;
|
|
739
810
|
mcpSessionMappings?: boolean | Prisma.OAuthSession$mcpSessionMappingsArgs<ExtArgs>;
|
|
@@ -757,6 +828,8 @@ export type $OAuthSessionPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
757
828
|
gitlabTokenExpiry: bigint;
|
|
758
829
|
gitlabUserId: number;
|
|
759
830
|
gitlabUsername: string;
|
|
831
|
+
gitlabApiUrl: string | null;
|
|
832
|
+
instanceLabel: string | null;
|
|
760
833
|
clientId: string;
|
|
761
834
|
scopes: string[];
|
|
762
835
|
createdAt: bigint;
|
|
@@ -829,6 +902,8 @@ export interface OAuthSessionFieldRefs {
|
|
|
829
902
|
readonly gitlabTokenExpiry: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
830
903
|
readonly gitlabUserId: Prisma.FieldRef<"OAuthSession", 'Int'>;
|
|
831
904
|
readonly gitlabUsername: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
905
|
+
readonly gitlabApiUrl: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
906
|
+
readonly instanceLabel: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
832
907
|
readonly clientId: Prisma.FieldRef<"OAuthSession", 'String'>;
|
|
833
908
|
readonly scopes: Prisma.FieldRef<"OAuthSession", 'String[]'>;
|
|
834
909
|
readonly createdAt: Prisma.FieldRef<"OAuthSession", 'BigInt'>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseInstanceSubcommand = exports.runInstanceCommand = void 0;
|
|
4
|
+
var instances_command_js_1 = require("./instances-command.js");
|
|
5
|
+
Object.defineProperty(exports, "runInstanceCommand", { enumerable: true, get: function () { return instances_command_js_1.runInstanceCommand; } });
|
|
6
|
+
Object.defineProperty(exports, "parseInstanceSubcommand", { enumerable: true, get: function () { return instances_command_js_1.parseInstanceSubcommand; } });
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cli/instances/index.ts"],"names":[],"mappings":";;;AAIA,+DAAqF;AAA5E,0HAAA,kBAAkB,OAAA;AAAE,+HAAA,uBAAuB,OAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type InstanceSubcommand = "list" | "add" | "remove" | "test" | "info" | "sample-config";
|
|
2
|
+
export declare function parseInstanceSubcommand(args: string[]): {
|
|
3
|
+
subcommand: InstanceSubcommand | undefined;
|
|
4
|
+
subArgs: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare function runInstanceCommand(args: string[]): Promise<void>;
|