@structured-world/gitlab-mcp 5.8.0 → 6.1.0
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 +61 -95
- package/dist/generated/prisma/client.d.ts +13 -0
- package/dist/generated/prisma/client.js +46 -0
- package/dist/generated/prisma/client.js.map +1 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +245 -0
- package/dist/generated/prisma/commonInputTypes.js +3 -0
- package/dist/generated/prisma/commonInputTypes.js.map +1 -0
- package/dist/generated/prisma/enums.d.ts +1 -0
- package/dist/generated/prisma/enums.js +3 -0
- package/dist/generated/prisma/enums.js.map +1 -0
- package/dist/generated/prisma/internal/class.d.ts +47 -0
- package/dist/generated/prisma/internal/class.js +66 -0
- package/dist/generated/prisma/internal/class.js.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +712 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +139 -0
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/prisma/models/AuthCodeFlowState.d.ts +513 -0
- package/dist/generated/prisma/models/AuthCodeFlowState.js +3 -0
- package/dist/generated/prisma/models/AuthCodeFlowState.js.map +1 -0
- package/dist/generated/prisma/models/AuthorizationCode.d.ts +641 -0
- package/dist/generated/prisma/models/AuthorizationCode.js +3 -0
- package/dist/generated/prisma/models/AuthorizationCode.js.map +1 -0
- package/dist/generated/prisma/models/DeviceFlowState.d.ts +606 -0
- package/dist/generated/prisma/models/DeviceFlowState.js +3 -0
- package/dist/generated/prisma/models/DeviceFlowState.js.map +1 -0
- package/dist/generated/prisma/models/McpSessionMapping.d.ts +438 -0
- package/dist/generated/prisma/models/McpSessionMapping.js +3 -0
- package/dist/generated/prisma/models/McpSessionMapping.js.map +1 -0
- package/dist/generated/prisma/models/OAuthSession.d.ts +962 -0
- package/dist/generated/prisma/models/OAuthSession.js +3 -0
- package/dist/generated/prisma/models/OAuthSession.js.map +1 -0
- package/dist/generated/prisma/models.d.ts +6 -0
- package/dist/generated/prisma/models.js +3 -0
- package/dist/generated/prisma/models.js.map +1 -0
- package/dist/{config.d.ts → src/config.d.ts} +6 -0
- package/dist/{config.js → src/config.js} +7 -1
- package/dist/src/config.js.map +1 -0
- package/dist/src/entities/core/index.js.map +1 -0
- package/dist/src/entities/core/registry.js +745 -0
- package/dist/src/entities/core/registry.js.map +1 -0
- package/dist/{entities → src/entities}/core/schema-readonly.d.ts +156 -143
- package/dist/src/entities/core/schema-readonly.js +296 -0
- package/dist/src/entities/core/schema-readonly.js.map +1 -0
- package/dist/src/entities/core/schema.d.ts +71 -0
- package/dist/src/entities/core/schema.js +93 -0
- package/dist/src/entities/core/schema.js.map +1 -0
- package/dist/src/entities/files/index.js.map +1 -0
- package/dist/src/entities/files/registry.js +165 -0
- package/dist/src/entities/files/registry.js.map +1 -0
- package/dist/{entities → src/entities}/files/schema-readonly.d.ts +15 -0
- package/dist/{entities → src/entities}/files/schema-readonly.js +20 -1
- package/dist/src/entities/files/schema-readonly.js.map +1 -0
- package/dist/{entities → src/entities}/files/schema.d.ts +40 -0
- package/dist/src/entities/files/schema.js +79 -0
- package/dist/src/entities/files/schema.js.map +1 -0
- package/dist/src/entities/index.js.map +1 -0
- package/dist/src/entities/labels/index.js.map +1 -0
- package/dist/{entities → src/entities}/labels/registry.js +19 -89
- package/dist/src/entities/labels/registry.js.map +1 -0
- package/dist/src/entities/labels/schema-readonly.js.map +1 -0
- package/dist/src/entities/labels/schema.js.map +1 -0
- package/dist/src/entities/milestones/index.js.map +1 -0
- package/dist/src/entities/milestones/registry.js +197 -0
- package/dist/src/entities/milestones/registry.js.map +1 -0
- package/dist/src/entities/milestones/schema-readonly.js.map +1 -0
- package/dist/src/entities/milestones/schema.js.map +1 -0
- package/dist/src/entities/mrs/index.js.map +1 -0
- package/dist/src/entities/mrs/registry.js +290 -0
- package/dist/src/entities/mrs/registry.js.map +1 -0
- package/dist/{entities → src/entities}/mrs/schema-readonly.d.ts +115 -1
- package/dist/src/entities/mrs/schema-readonly.js +261 -0
- package/dist/src/entities/mrs/schema-readonly.js.map +1 -0
- package/dist/{entities → src/entities}/mrs/schema.d.ts +262 -0
- package/dist/src/entities/mrs/schema.js +316 -0
- package/dist/src/entities/mrs/schema.js.map +1 -0
- package/dist/src/entities/pipelines/index.js.map +1 -0
- package/dist/{entities → src/entities}/pipelines/registry.js +26 -187
- package/dist/src/entities/pipelines/registry.js.map +1 -0
- package/dist/src/entities/pipelines/schema-readonly.js.map +1 -0
- package/dist/src/entities/pipelines/schema.js.map +1 -0
- package/dist/src/entities/shared.js.map +1 -0
- package/dist/src/entities/utils.js.map +1 -0
- package/dist/src/entities/variables/index.js.map +1 -0
- package/dist/src/entities/variables/registry.js +153 -0
- package/dist/src/entities/variables/registry.js.map +1 -0
- package/dist/src/entities/variables/schema-readonly.js.map +1 -0
- package/dist/src/entities/variables/schema.js.map +1 -0
- package/dist/src/entities/wiki/index.js.map +1 -0
- package/dist/{entities → src/entities}/wiki/registry.js +19 -89
- package/dist/src/entities/wiki/registry.js.map +1 -0
- package/dist/src/entities/wiki/schema-readonly.js.map +1 -0
- package/dist/src/entities/wiki/schema.js.map +1 -0
- package/dist/src/entities/workitems/index.js.map +1 -0
- package/dist/src/entities/workitems/registry.js.map +1 -0
- package/dist/src/entities/workitems/schema-readonly.js.map +1 -0
- package/dist/src/entities/workitems/schema.js.map +1 -0
- package/dist/src/graphql/DynamicWorkItemsQuery.js.map +1 -0
- package/dist/src/graphql/client.js.map +1 -0
- package/dist/src/graphql/index.js.map +1 -0
- package/dist/src/graphql/workItems.js.map +1 -0
- package/dist/{handlers.js → src/handlers.js} +15 -0
- package/dist/src/handlers.js.map +1 -0
- package/dist/{http-client.js → src/http-client.js} +0 -4
- package/dist/src/http-client.js.map +1 -0
- package/dist/src/logger.js.map +1 -0
- package/dist/src/main.js.map +1 -0
- package/dist/src/middleware/index.d.ts +2 -0
- package/dist/src/middleware/index.js +12 -0
- package/dist/src/middleware/index.js.map +1 -0
- package/dist/{middleware → src/middleware}/oauth-auth.js +24 -40
- package/dist/src/middleware/oauth-auth.js.map +1 -0
- package/dist/src/middleware/rate-limiter.d.ts +11 -0
- package/dist/src/middleware/rate-limiter.js +145 -0
- package/dist/src/middleware/rate-limiter.js.map +1 -0
- package/dist/src/oauth/config.js.map +1 -0
- package/dist/{oauth → src/oauth}/endpoints/authorize.js +45 -5
- package/dist/src/oauth/endpoints/authorize.js.map +1 -0
- package/dist/src/oauth/endpoints/callback.d.ts +2 -0
- package/dist/src/oauth/endpoints/callback.js +129 -0
- package/dist/src/oauth/endpoints/callback.js.map +1 -0
- package/dist/src/oauth/endpoints/index.d.ts +5 -0
- package/dist/src/oauth/endpoints/index.js +20 -0
- package/dist/src/oauth/endpoints/index.js.map +1 -0
- package/dist/{oauth → src/oauth}/endpoints/metadata.d.ts +1 -0
- package/dist/{oauth → src/oauth}/endpoints/metadata.js +12 -0
- package/dist/src/oauth/endpoints/metadata.js.map +1 -0
- package/dist/src/oauth/endpoints/register.d.ts +15 -0
- package/dist/src/oauth/endpoints/register.js +85 -0
- package/dist/src/oauth/endpoints/register.js.map +1 -0
- package/dist/src/oauth/endpoints/token.js.map +1 -0
- package/dist/{oauth → src/oauth}/gitlab-device-flow.d.ts +2 -0
- package/dist/{oauth → src/oauth}/gitlab-device-flow.js +44 -1
- package/dist/src/oauth/gitlab-device-flow.js.map +1 -0
- package/dist/src/oauth/index.d.ts +10 -0
- package/dist/{oauth → src/oauth}/index.js +18 -1
- package/dist/src/oauth/index.js.map +1 -0
- package/dist/{oauth → src/oauth}/session-store.d.ts +19 -2
- package/dist/{oauth → src/oauth}/session-store.js +125 -5
- package/dist/src/oauth/session-store.js.map +1 -0
- package/dist/src/oauth/storage/factory.d.ts +4 -0
- package/dist/src/oauth/storage/factory.js +75 -0
- package/dist/src/oauth/storage/factory.js.map +1 -0
- package/dist/src/oauth/storage/file.d.ts +50 -0
- package/dist/src/oauth/storage/file.js +287 -0
- package/dist/src/oauth/storage/file.js.map +1 -0
- package/dist/src/oauth/storage/index.d.ts +5 -0
- package/dist/src/oauth/storage/index.js +22 -0
- package/dist/src/oauth/storage/index.js.map +1 -0
- package/dist/src/oauth/storage/memory.d.ts +76 -0
- package/dist/src/oauth/storage/memory.js +277 -0
- package/dist/src/oauth/storage/memory.js.map +1 -0
- package/dist/src/oauth/storage/postgresql.d.ts +41 -0
- package/dist/src/oauth/storage/postgresql.js +435 -0
- package/dist/src/oauth/storage/postgresql.js.map +1 -0
- package/dist/src/oauth/storage/types.d.ts +67 -0
- package/dist/src/oauth/storage/types.js +5 -0
- package/dist/src/oauth/storage/types.js.map +1 -0
- package/dist/src/oauth/token-context.js.map +1 -0
- package/dist/src/oauth/token-utils.js.map +1 -0
- package/dist/{oauth → src/oauth}/types.d.ts +10 -0
- package/dist/{oauth → src/oauth}/types.js.map +1 -1
- package/dist/src/registry-manager.js.map +1 -0
- package/dist/{server.d.ts → src/server.d.ts} +11 -0
- package/dist/{server.js → src/server.js} +113 -9
- package/dist/src/server.js.map +1 -0
- package/dist/{services → src/services}/ConnectionManager.d.ts +2 -0
- package/dist/{services → src/services}/ConnectionManager.js +99 -7
- package/dist/src/services/ConnectionManager.js.map +1 -0
- package/dist/src/services/GitLabVersionDetector.js.map +1 -0
- package/dist/src/services/SchemaIntrospector.js.map +1 -0
- package/dist/{services → src/services}/ToolAvailability.js +3 -4
- package/dist/src/services/ToolAvailability.js.map +1 -0
- package/dist/src/services/WidgetAvailability.js.map +1 -0
- package/dist/src/types.js.map +1 -0
- package/dist/{utils → src/utils}/fetch.js +9 -0
- package/dist/src/utils/fetch.js.map +1 -0
- package/dist/src/utils/gitlab-api.d.ts +21 -0
- package/dist/src/utils/gitlab-api.js +132 -0
- package/dist/src/utils/gitlab-api.js.map +1 -0
- package/dist/src/utils/idConversion.js.map +1 -0
- package/dist/{utils → src/utils}/namespace.js +1 -5
- package/dist/src/utils/namespace.js.map +1 -0
- package/dist/src/utils/projectIdentifier.js.map +1 -0
- package/dist/{utils → src/utils}/smart-user-search.js +1 -5
- package/dist/src/utils/smart-user-search.js.map +1 -0
- package/dist/src/utils/workItemTypes.js.map +1 -0
- package/dist/structured-world-gitlab-mcp-6.1.0.tgz +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +26 -22
- package/dist/config.js.map +0 -1
- package/dist/entities/core/index.js.map +0 -1
- package/dist/entities/core/registry.js +0 -811
- package/dist/entities/core/registry.js.map +0 -1
- package/dist/entities/core/schema-readonly.js +0 -471
- package/dist/entities/core/schema-readonly.js.map +0 -1
- package/dist/entities/core/schema.d.ts +0 -102
- package/dist/entities/core/schema.js +0 -230
- package/dist/entities/core/schema.js.map +0 -1
- package/dist/entities/files/index.js.map +0 -1
- package/dist/entities/files/registry.js +0 -230
- package/dist/entities/files/registry.js.map +0 -1
- package/dist/entities/files/schema-readonly.js.map +0 -1
- package/dist/entities/files/schema.js +0 -38
- package/dist/entities/files/schema.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/labels/index.js.map +0 -1
- package/dist/entities/labels/registry.js.map +0 -1
- package/dist/entities/labels/schema-readonly.js.map +0 -1
- package/dist/entities/labels/schema.js.map +0 -1
- package/dist/entities/milestones/index.js.map +0 -1
- package/dist/entities/milestones/registry.js +0 -333
- package/dist/entities/milestones/registry.js.map +0 -1
- package/dist/entities/milestones/schema-readonly.js.map +0 -1
- package/dist/entities/milestones/schema.js.map +0 -1
- package/dist/entities/mrs/index.js.map +0 -1
- package/dist/entities/mrs/registry.js +0 -664
- package/dist/entities/mrs/registry.js.map +0 -1
- package/dist/entities/mrs/schema-readonly.js +0 -242
- package/dist/entities/mrs/schema-readonly.js.map +0 -1
- package/dist/entities/mrs/schema.js +0 -246
- package/dist/entities/mrs/schema.js.map +0 -1
- package/dist/entities/pipelines/index.js.map +0 -1
- package/dist/entities/pipelines/registry.js.map +0 -1
- package/dist/entities/pipelines/schema-readonly.js.map +0 -1
- package/dist/entities/pipelines/schema.js.map +0 -1
- package/dist/entities/shared.js.map +0 -1
- package/dist/entities/utils.js.map +0 -1
- package/dist/entities/variables/index.js.map +0 -1
- package/dist/entities/variables/registry.js +0 -341
- package/dist/entities/variables/registry.js.map +0 -1
- package/dist/entities/variables/schema-readonly.js.map +0 -1
- package/dist/entities/variables/schema.js.map +0 -1
- package/dist/entities/wiki/index.js.map +0 -1
- package/dist/entities/wiki/registry.js.map +0 -1
- package/dist/entities/wiki/schema-readonly.js.map +0 -1
- package/dist/entities/wiki/schema.js.map +0 -1
- package/dist/entities/workitems/index.js.map +0 -1
- package/dist/entities/workitems/registry.js.map +0 -1
- package/dist/entities/workitems/schema-readonly.js.map +0 -1
- package/dist/entities/workitems/schema.js.map +0 -1
- package/dist/graphql/DynamicWorkItemsQuery.js.map +0 -1
- package/dist/graphql/client.js.map +0 -1
- package/dist/graphql/index.js.map +0 -1
- package/dist/graphql/workItems.js.map +0 -1
- package/dist/handlers.js.map +0 -1
- package/dist/http-client.js.map +0 -1
- package/dist/logger.js.map +0 -1
- package/dist/main.js.map +0 -1
- package/dist/middleware/index.d.ts +0 -1
- package/dist/middleware/index.js +0 -8
- package/dist/middleware/index.js.map +0 -1
- package/dist/middleware/oauth-auth.js.map +0 -1
- package/dist/oauth/config.js.map +0 -1
- package/dist/oauth/endpoints/authorize.js.map +0 -1
- package/dist/oauth/endpoints/index.d.ts +0 -3
- package/dist/oauth/endpoints/index.js +0 -13
- package/dist/oauth/endpoints/index.js.map +0 -1
- package/dist/oauth/endpoints/metadata.js.map +0 -1
- package/dist/oauth/endpoints/token.js.map +0 -1
- package/dist/oauth/gitlab-device-flow.js.map +0 -1
- package/dist/oauth/index.d.ts +0 -8
- package/dist/oauth/index.js.map +0 -1
- package/dist/oauth/session-store.js.map +0 -1
- package/dist/oauth/token-context.js.map +0 -1
- package/dist/oauth/token-utils.js.map +0 -1
- package/dist/registry-manager.js.map +0 -1
- package/dist/server.js.map +0 -1
- package/dist/services/ConnectionManager.js.map +0 -1
- package/dist/services/GitLabVersionDetector.js.map +0 -1
- package/dist/services/SchemaIntrospector.js.map +0 -1
- package/dist/services/ToolAvailability.js.map +0 -1
- package/dist/services/WidgetAvailability.js.map +0 -1
- package/dist/structured-world-gitlab-mcp-5.8.0.tgz +0 -0
- package/dist/types.js.map +0 -1
- package/dist/utils/fetch.js.map +0 -1
- package/dist/utils/idConversion.js.map +0 -1
- package/dist/utils/namespace.js.map +0 -1
- package/dist/utils/projectIdentifier.js.map +0 -1
- package/dist/utils/smart-user-search.js.map +0 -1
- package/dist/utils/workItemTypes.js.map +0 -1
- package/dist/{entities → src/entities}/core/index.d.ts +0 -0
- package/dist/{entities → src/entities}/core/index.js +0 -0
- package/dist/{entities → src/entities}/core/registry.d.ts +0 -0
- package/dist/{entities → src/entities}/files/index.d.ts +0 -0
- package/dist/{entities → src/entities}/files/index.js +0 -0
- package/dist/{entities → src/entities}/files/registry.d.ts +0 -0
- package/dist/{entities → src/entities}/index.d.ts +0 -0
- package/dist/{entities → src/entities}/index.js +0 -0
- package/dist/{entities → src/entities}/labels/index.d.ts +0 -0
- package/dist/{entities → src/entities}/labels/index.js +0 -0
- package/dist/{entities → src/entities}/labels/registry.d.ts +0 -0
- package/dist/{entities → src/entities}/labels/schema-readonly.d.ts +0 -0
- package/dist/{entities → src/entities}/labels/schema-readonly.js +0 -0
- package/dist/{entities → src/entities}/labels/schema.d.ts +0 -0
- package/dist/{entities → src/entities}/labels/schema.js +0 -0
- package/dist/{entities → src/entities}/milestones/index.d.ts +0 -0
- package/dist/{entities → src/entities}/milestones/index.js +0 -0
- package/dist/{entities → src/entities}/milestones/registry.d.ts +0 -0
- package/dist/{entities → src/entities}/milestones/schema-readonly.d.ts +1 -1
- /package/dist/{entities → src/entities}/milestones/schema-readonly.js +0 -0
- /package/dist/{entities → src/entities}/milestones/schema.d.ts +0 -0
- /package/dist/{entities → src/entities}/milestones/schema.js +0 -0
- /package/dist/{entities → src/entities}/mrs/index.d.ts +0 -0
- /package/dist/{entities → src/entities}/mrs/index.js +0 -0
- /package/dist/{entities → src/entities}/mrs/registry.d.ts +0 -0
- /package/dist/{entities → src/entities}/pipelines/index.d.ts +0 -0
- /package/dist/{entities → src/entities}/pipelines/index.js +0 -0
- /package/dist/{entities → src/entities}/pipelines/registry.d.ts +0 -0
- /package/dist/{entities → src/entities}/pipelines/schema-readonly.d.ts +0 -0
- /package/dist/{entities → src/entities}/pipelines/schema-readonly.js +0 -0
- /package/dist/{entities → src/entities}/pipelines/schema.d.ts +0 -0
- /package/dist/{entities → src/entities}/pipelines/schema.js +0 -0
- /package/dist/{entities → src/entities}/shared.d.ts +0 -0
- /package/dist/{entities → src/entities}/shared.js +0 -0
- /package/dist/{entities → src/entities}/utils.d.ts +0 -0
- /package/dist/{entities → src/entities}/utils.js +0 -0
- /package/dist/{entities → src/entities}/variables/index.d.ts +0 -0
- /package/dist/{entities → src/entities}/variables/index.js +0 -0
- /package/dist/{entities → src/entities}/variables/registry.d.ts +0 -0
- /package/dist/{entities → src/entities}/variables/schema-readonly.d.ts +0 -0
- /package/dist/{entities → src/entities}/variables/schema-readonly.js +0 -0
- /package/dist/{entities → src/entities}/variables/schema.d.ts +0 -0
- /package/dist/{entities → src/entities}/variables/schema.js +0 -0
- /package/dist/{entities → src/entities}/wiki/index.d.ts +0 -0
- /package/dist/{entities → src/entities}/wiki/index.js +0 -0
- /package/dist/{entities → src/entities}/wiki/registry.d.ts +0 -0
- /package/dist/{entities → src/entities}/wiki/schema-readonly.d.ts +0 -0
- /package/dist/{entities → src/entities}/wiki/schema-readonly.js +0 -0
- /package/dist/{entities → src/entities}/wiki/schema.d.ts +0 -0
- /package/dist/{entities → src/entities}/wiki/schema.js +0 -0
- /package/dist/{entities → src/entities}/workitems/index.d.ts +0 -0
- /package/dist/{entities → src/entities}/workitems/index.js +0 -0
- /package/dist/{entities → src/entities}/workitems/registry.d.ts +0 -0
- /package/dist/{entities → src/entities}/workitems/registry.js +0 -0
- /package/dist/{entities → src/entities}/workitems/schema-readonly.d.ts +0 -0
- /package/dist/{entities → src/entities}/workitems/schema-readonly.js +0 -0
- /package/dist/{entities → src/entities}/workitems/schema.d.ts +0 -0
- /package/dist/{entities → src/entities}/workitems/schema.js +0 -0
- /package/dist/{graphql → src/graphql}/DynamicWorkItemsQuery.d.ts +0 -0
- /package/dist/{graphql → src/graphql}/DynamicWorkItemsQuery.js +0 -0
- /package/dist/{graphql → src/graphql}/client.d.ts +0 -0
- /package/dist/{graphql → src/graphql}/client.js +0 -0
- /package/dist/{graphql → src/graphql}/index.d.ts +0 -0
- /package/dist/{graphql → src/graphql}/index.js +0 -0
- /package/dist/{graphql → src/graphql}/workItems.d.ts +0 -0
- /package/dist/{graphql → src/graphql}/workItems.js +0 -0
- /package/dist/{handlers.d.ts → src/handlers.d.ts} +0 -0
- /package/dist/{http-client.d.ts → src/http-client.d.ts} +0 -0
- /package/dist/{logger.d.ts → src/logger.d.ts} +0 -0
- /package/dist/{logger.js → src/logger.js} +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
- /package/dist/{main.js → src/main.js} +0 -0
- /package/dist/{middleware → src/middleware}/oauth-auth.d.ts +0 -0
- /package/dist/{oauth → src/oauth}/config.d.ts +0 -0
- /package/dist/{oauth → src/oauth}/config.js +0 -0
- /package/dist/{oauth → src/oauth}/endpoints/authorize.d.ts +0 -0
- /package/dist/{oauth → src/oauth}/endpoints/token.d.ts +0 -0
- /package/dist/{oauth → src/oauth}/endpoints/token.js +0 -0
- /package/dist/{oauth → src/oauth}/token-context.d.ts +0 -0
- /package/dist/{oauth → src/oauth}/token-context.js +0 -0
- /package/dist/{oauth → src/oauth}/token-utils.d.ts +0 -0
- /package/dist/{oauth → src/oauth}/token-utils.js +0 -0
- /package/dist/{oauth → src/oauth}/types.js +0 -0
- /package/dist/{registry-manager.d.ts → src/registry-manager.d.ts} +0 -0
- /package/dist/{registry-manager.js → src/registry-manager.js} +0 -0
- /package/dist/{services → src/services}/GitLabVersionDetector.d.ts +0 -0
- /package/dist/{services → src/services}/GitLabVersionDetector.js +0 -0
- /package/dist/{services → src/services}/SchemaIntrospector.d.ts +0 -0
- /package/dist/{services → src/services}/SchemaIntrospector.js +0 -0
- /package/dist/{services → src/services}/ToolAvailability.d.ts +0 -0
- /package/dist/{services → src/services}/WidgetAvailability.d.ts +0 -0
- /package/dist/{services → src/services}/WidgetAvailability.js +0 -0
- /package/dist/{types.d.ts → src/types.d.ts} +0 -0
- /package/dist/{types.js → src/types.js} +0 -0
- /package/dist/{utils → src/utils}/fetch.d.ts +0 -0
- /package/dist/{utils → src/utils}/idConversion.d.ts +0 -0
- /package/dist/{utils → src/utils}/idConversion.js +0 -0
- /package/dist/{utils → src/utils}/namespace.d.ts +0 -0
- /package/dist/{utils → src/utils}/projectIdentifier.d.ts +0 -0
- /package/dist/{utils → src/utils}/projectIdentifier.js +0 -0
- /package/dist/{utils → src/utils}/smart-user-search.d.ts +0 -0
- /package/dist/{utils → src/utils}/workItemTypes.d.ts +0 -0
- /package/dist/{utils → src/utils}/workItemTypes.js +0 -0
package/README.md
CHANGED
|
@@ -259,11 +259,13 @@ GitLab MCP Server supports OAuth 2.1 authentication for use as a **Claude Custom
|
|
|
259
259
|
1. In GitLab, navigate to **User Settings > Applications** (or **Admin > Applications** for instance-wide)
|
|
260
260
|
2. Create a new application:
|
|
261
261
|
- **Name**: `GitLab MCP Server`
|
|
262
|
-
- **Redirect URI**: `https://your-mcp-server.com/oauth/callback`
|
|
263
|
-
- **Confidential**: `No` (
|
|
262
|
+
- **Redirect URI**: `https://your-mcp-server.com/oauth/callback` (required for Authorization Code Flow)
|
|
263
|
+
- **Confidential**: `No` (PKCE provides security without client secret)
|
|
264
264
|
- **Scopes**: Select `api` and `read_user`
|
|
265
265
|
3. Save and copy the **Application ID**
|
|
266
266
|
|
|
267
|
+
> **Note**: The redirect URI is used by Claude.ai Custom Connectors (Authorization Code Flow). CLI clients use Device Flow which doesn't require redirect URI.
|
|
268
|
+
|
|
267
269
|
#### Step 2: Configure gitlab-mcp Server
|
|
268
270
|
|
|
269
271
|
```bash
|
|
@@ -399,6 +401,17 @@ For GitLab instances on private networks (not internet-accessible):
|
|
|
399
401
|
| Security | Token in config | No tokens in config |
|
|
400
402
|
| Best for | Personal use, CI/CD | Teams, shared access |
|
|
401
403
|
|
|
404
|
+
### OAuth Flows
|
|
405
|
+
|
|
406
|
+
The server supports two OAuth flows automatically:
|
|
407
|
+
|
|
408
|
+
| Flow | Trigger | Used By | How It Works |
|
|
409
|
+
|------|---------|---------|--------------|
|
|
410
|
+
| **Authorization Code Flow** | `redirect_uri` present | Claude.ai Custom Connectors | Redirects to GitLab OAuth, then back to client |
|
|
411
|
+
| **Device Flow** | No `redirect_uri` | CLI clients, Claude Desktop | Shows device code page for manual entry |
|
|
412
|
+
|
|
413
|
+
The flow is selected automatically based on the presence of `redirect_uri` in the authorization request.
|
|
414
|
+
|
|
402
415
|
### OAuth Endpoints
|
|
403
416
|
|
|
404
417
|
When OAuth is enabled, the following endpoints are available:
|
|
@@ -406,8 +419,10 @@ When OAuth is enabled, the following endpoints are available:
|
|
|
406
419
|
| Endpoint | Method | Description |
|
|
407
420
|
|----------|--------|-------------|
|
|
408
421
|
| `/.well-known/oauth-authorization-server` | GET | OAuth metadata discovery |
|
|
409
|
-
|
|
|
410
|
-
| `/
|
|
422
|
+
| `/.well-known/oauth-protected-resource` | GET | Protected resource metadata (RFC 9470) |
|
|
423
|
+
| `/authorize` | GET | Start authorization (auto-selects flow) |
|
|
424
|
+
| `/oauth/callback` | GET | GitLab callback (Auth Code Flow only) |
|
|
425
|
+
| `/oauth/poll` | GET | Poll for completion (Device Flow only) |
|
|
411
426
|
| `/token` | POST | Exchange code for tokens |
|
|
412
427
|
| `/health` | GET | Health check endpoint |
|
|
413
428
|
|
|
@@ -446,8 +461,8 @@ When OAuth is enabled, the following endpoints are available:
|
|
|
446
461
|
- `USE_MILESTONE`: When set to 'true', enables the milestone-related tools (list_milestones, get_milestone, create_milestone, edit_milestone, delete_milestone, get_milestone_issue, get_milestone_merge_requests, promote_milestone, get_milestone_burndown_events). By default, milestone features are disabled.
|
|
447
462
|
- `USE_PIPELINE`: When set to 'true', enables the pipeline-related tools (list_pipelines, get_pipeline, list_pipeline_jobs, list_pipeline_trigger_jobs, get_pipeline_job, get_pipeline_job_output, create_pipeline, retry_pipeline, cancel_pipeline, play_pipeline_job, retry_pipeline_job, cancel_pipeline_job). By default, pipeline features are disabled.
|
|
448
463
|
- `USE_LABELS`: When set to 'true', enables the label-related tools (list_labels, get_label, create_label, update_label, delete_label). By default, label features are enabled.
|
|
449
|
-
- `USE_MRS`: When set to 'true', enables the merge request-related tools (
|
|
450
|
-
- `USE_FILES`: When set to 'true', enables the file-related tools (
|
|
464
|
+
- `USE_MRS`: When set to 'true', enables the merge request-related tools (browse_merge_requests, browse_mr_discussions, manage_merge_request, manage_mr_discussion, manage_draft_notes). These 5 CQRS tools consolidate all MR operations. By default, merge request features are enabled.
|
|
465
|
+
- `USE_FILES`: When set to 'true', enables the file-related tools (browse_files, manage_files). These 2 CQRS tools consolidate all file operations. By default, file operation features are enabled.
|
|
451
466
|
- `USE_VARIABLES`: When set to 'true', enables the CI/CD variables-related tools (list_variables, get_variable, create_variable, update_variable, delete_variable). Supports both project-level and group-level variables. By default, variables features are enabled.
|
|
452
467
|
- `GITLAB_AUTH_COOKIE_PATH`: Path to an authentication cookie file for GitLab instances that require cookie-based authentication. When provided, the cookie will be included in all GitLab API requests.
|
|
453
468
|
- `SKIP_TLS_VERIFY`: When set to 'true', skips TLS certificate verification for all GitLab API requests (both REST and GraphQL). **WARNING**: This bypasses SSL certificate validation and should only be used for testing with self-signed certificates or trusted internal GitLab instances. Never use this in production environments.
|
|
@@ -517,13 +532,14 @@ export GITLAB_TOOL_CREATE_WORK_ITEM="Create tickets for our sprint planning"
|
|
|
517
532
|
- **Case Sensitivity**: Tool names in environment variables must be UPPERCASE (e.g., `LIST_PROJECTS` not `list_projects`)
|
|
518
533
|
- **Invalid Names**: Invalid tool names in environment variables are ignored with a warning in debug logs
|
|
519
534
|
- **Content Guidelines**: Descriptions can be any valid string but should be kept concise for better UX
|
|
520
|
-
- **Scope**: Works with all
|
|
535
|
+
- **Scope**: Works with all 61 available tools across all entities (Core, Work Items, Merge Requests, Files, etc.)
|
|
521
536
|
|
|
522
537
|
## Tools 🛠️
|
|
523
538
|
|
|
524
|
-
**
|
|
539
|
+
**61 Tools Available** - Organized by entity and functionality below.
|
|
525
540
|
|
|
526
541
|
### Key Features:
|
|
542
|
+
- **CQRS Pattern** - Consolidated action-based tools: `browse_*` for reads, `manage_*` for writes
|
|
527
543
|
- **Modular Entity Architecture** - Separate entities for Labels, Merge Requests, Files, Pipelines, etc.
|
|
528
544
|
- **Environment-Gated Features** - Enable/disable tool groups with USE_* environment variables
|
|
529
545
|
- **Work Items Management** - Modern GraphQL API for Issues, Epics, Tasks, and more
|
|
@@ -531,70 +547,39 @@ export GITLAB_TOOL_CREATE_WORK_ITEM="Create tickets for our sprint planning"
|
|
|
531
547
|
- **Tier-based Feature Detection** - Automatically enables features based on your GitLab tier
|
|
532
548
|
- **Read-only Mode Support** - Safe operation mode for production environments
|
|
533
549
|
|
|
534
|
-
### Migration from v2.0:
|
|
535
|
-
All issue management has been migrated to the Work Items GraphQL API. The legacy REST API issue tools (`create_issue`, `update_issue`, etc.) have been removed. Use the Work Items tools (`create_work_item`, `update_work_item`, etc.) instead for better performance and more features.
|
|
536
|
-
|
|
537
|
-
<details>
|
|
538
|
-
<summary>Removed/Migrated Tools from v2.0</summary>
|
|
539
|
-
|
|
540
|
-
The following issue-related tools have been removed and replaced by Work Items GraphQL API:
|
|
541
|
-
|
|
542
|
-
- `create_issue` → Use `create_work_item` instead
|
|
543
|
-
- `update_issue` → Use `update_work_item` instead
|
|
544
|
-
- `delete_issue` → Use `delete_work_item` instead
|
|
545
|
-
- `list_issues` → Use `list_work_items` instead
|
|
546
|
-
- `my_issues` → Use `list_work_items` with assignee filter
|
|
547
|
-
- `get_issue` → Use `get_work_item` instead
|
|
548
|
-
- `create_issue_link` → Use `update_work_item` with LINKED_ITEMS widget
|
|
549
|
-
- `delete_issue_link` → Use `update_work_item` with LINKED_ITEMS widget
|
|
550
|
-
- `update_issue_note` → Use `update_work_item` with NOTES widget
|
|
551
|
-
- `create_issue_note` → Use `update_work_item` with NOTES widget
|
|
552
|
-
- `list_issue_links` → Use Work Items GraphQL API
|
|
553
|
-
- `list_issue_discussions` → Use Work Items GraphQL API
|
|
554
|
-
- `get_issue_link` → Use Work Items GraphQL API
|
|
555
|
-
|
|
556
|
-
</details>
|
|
557
|
-
|
|
558
550
|
## Complete Tool Reference
|
|
559
551
|
|
|
560
552
|
### Legend
|
|
561
553
|
- 📖 = Read-only tool (available in GITLAB_READ_ONLY_MODE)
|
|
562
554
|
- ✏️ = Read/Write tool (disabled in GITLAB_READ_ONLY_MODE)
|
|
563
555
|
|
|
564
|
-
### Core Tools (
|
|
565
|
-
Core GitLab functionality always available.
|
|
556
|
+
### Core Tools (13 tools)
|
|
557
|
+
Core GitLab functionality always available. Uses CQRS pattern with consolidated action-based tools.
|
|
566
558
|
|
|
567
559
|
#### Repository & Project Management
|
|
568
|
-
-
|
|
569
|
-
-
|
|
570
|
-
- 📖 **`
|
|
571
|
-
- 📖 **`search_repositories`**: Search for GitLab projects
|
|
572
|
-
- 📖 **`list_project_members`**: List members of a GitLab project
|
|
573
|
-
|
|
574
|
-
#### Branch Management
|
|
575
|
-
- ✏️ **`create_branch`**: Create a new branch in a GitLab project
|
|
576
|
-
- 📖 **`get_branch_diffs`**: Get the changes/diffs between two branches or commits in a GitLab project
|
|
577
|
-
- ✏️ **`fork_repository`**: Fork a GitLab project to your account or specified namespace
|
|
560
|
+
- 📖 **`browse_projects`**: PROJECT DISCOVERY: Find, browse, or inspect GitLab projects. Actions: "search" finds projects by name/topic, "list" browses accessible projects, "get" retrieves full details.
|
|
561
|
+
- ✏️ **`manage_repository`**: REPOSITORY MANAGEMENT: Create or fork GitLab projects. Actions: "create" starts new project, "fork" creates your copy of existing project.
|
|
562
|
+
- 📖 **`list_project_members`**: List members of a GitLab project with access levels.
|
|
578
563
|
|
|
579
|
-
####
|
|
580
|
-
-
|
|
581
|
-
-
|
|
564
|
+
#### Namespaces & Groups
|
|
565
|
+
- 📖 **`browse_namespaces`**: NAMESPACE OPERATIONS: Explore groups and user namespaces. Actions: "list" discovers namespaces, "get" retrieves details, "verify" checks if path exists.
|
|
566
|
+
- ✏️ **`create_group`**: Create a new GitLab group/namespace. Can create subgroups with parent_id.
|
|
582
567
|
|
|
583
568
|
#### Commits & History
|
|
584
|
-
- 📖 **`
|
|
585
|
-
-
|
|
586
|
-
- 📖 **`list_commits`**: List repository commits with filtering options
|
|
587
|
-
|
|
588
|
-
#### Namespaces & Users
|
|
589
|
-
- 📖 **`get_namespace`**: Get details of a namespace by ID or path
|
|
590
|
-
- 📖 **`list_namespaces`**: List all namespaces available to the current user
|
|
591
|
-
- 📖 **`verify_namespace`**: Verify if a namespace path exists
|
|
592
|
-
- 📖 **`get_users`**: Get GitLab user details by usernames
|
|
569
|
+
- 📖 **`browse_commits`**: COMMIT HISTORY: Explore repository commit history. Actions: "list" browses commits with filters, "get" retrieves commit metadata, "diff" shows code changes.
|
|
570
|
+
- ✏️ **`create_branch`**: Create a new branch in a GitLab project from existing ref.
|
|
593
571
|
|
|
594
572
|
#### Events & Activity
|
|
595
|
-
- 📖 **`
|
|
596
|
-
- 📖 **`
|
|
597
|
-
|
|
573
|
+
- 📖 **`browse_events`**: ACTIVITY FEED: Track GitLab activity. Actions: "user" shows your activity, "project" monitors project activity. Filter by date/action type.
|
|
574
|
+
- 📖 **`list_group_iterations`**: List group iterations/sprints for agile planning. Requires GitLab Premium.
|
|
575
|
+
|
|
576
|
+
#### Users & Utilities
|
|
577
|
+
- 📖 **`get_users`**: Search GitLab users with smart pattern detection. Auto-detects emails, usernames, or names.
|
|
578
|
+
- 📖 **`download_attachment`**: Download file attachments from issues/MRs by secret and filename.
|
|
579
|
+
|
|
580
|
+
#### Todos (Task Queue)
|
|
581
|
+
- 📖 **`list_todos`**: View your GitLab todos (notifications requiring action). Filter by state, action type, or target type.
|
|
582
|
+
- ✏️ **`manage_todos`**: Manage todo items. Actions: "mark_done" completes single todo, "mark_all_done" clears queue, "restore" undoes completed todo.
|
|
598
583
|
|
|
599
584
|
### Labels Management (5 tools)
|
|
600
585
|
Requires USE_LABELS=true environment variable (enabled by default). Supports both project and group labels.
|
|
@@ -605,41 +590,23 @@ Requires USE_LABELS=true environment variable (enabled by default). Supports bot
|
|
|
605
590
|
- 📖 **`get_label`**: Get a single label from a project or group
|
|
606
591
|
- 📖 **`list_labels`**: List labels for a project or group
|
|
607
592
|
|
|
608
|
-
### Merge Requests Management (
|
|
609
|
-
Requires USE_MRS=true environment variable (enabled by default).
|
|
610
|
-
|
|
611
|
-
#### Merge Request
|
|
612
|
-
-
|
|
613
|
-
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
-
|
|
617
|
-
-
|
|
618
|
-
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
-
|
|
624
|
-
- ✏️ **`
|
|
625
|
-
|
|
626
|
-
#### MR Draft Notes
|
|
627
|
-
- ✏️ **`create_draft_note`**: Create a draft note for a merge request
|
|
628
|
-
- ✏️ **`update_draft_note`**: Update an existing draft note
|
|
629
|
-
- ✏️ **`delete_draft_note`**: Delete a draft note
|
|
630
|
-
- ✏️ **`publish_draft_note`**: Publish a single draft note
|
|
631
|
-
- ✏️ **`bulk_publish_draft_notes`**: Publish all draft notes for a merge request
|
|
632
|
-
- 📖 **`get_draft_note`**: Get a single draft note from a merge request
|
|
633
|
-
- 📖 **`list_draft_notes`**: List draft notes for a merge request
|
|
634
|
-
|
|
635
|
-
### File Operations (5 tools)
|
|
636
|
-
Requires USE_FILES=true environment variable (enabled by default).
|
|
637
|
-
|
|
638
|
-
- ✏️ **`create_or_update_file`**: Create or update a single file in a GitLab project
|
|
639
|
-
- ✏️ **`push_files`**: Push multiple files to a GitLab project in a single commit
|
|
640
|
-
- 📖 **`get_file_contents`**: Get the contents of a file or directory from a GitLab project
|
|
641
|
-
- 📖 **`get_repository_tree`**: Get the repository tree for a GitLab project (list files and directories)
|
|
642
|
-
- ✏️ **`upload_markdown`**: Upload a file to a GitLab project for use in markdown content
|
|
593
|
+
### Merge Requests Management (5 CQRS tools)
|
|
594
|
+
Requires USE_MRS=true environment variable (enabled by default). Uses CQRS pattern with action-based tools.
|
|
595
|
+
|
|
596
|
+
#### Merge Request Browsing (Query)
|
|
597
|
+
- 📖 **`browse_merge_requests`**: BROWSE merge requests. Actions: "list" shows MRs with filtering, "get" retrieves single MR by IID or branch, "diffs" shows file changes, "compare" diffs two branches/commits.
|
|
598
|
+
- 📖 **`browse_mr_discussions`**: BROWSE MR discussions and draft notes. Actions: "list" shows all discussion threads, "drafts" lists unpublished draft notes, "draft" gets single draft note.
|
|
599
|
+
|
|
600
|
+
#### Merge Request Management (Command)
|
|
601
|
+
- ✏️ **`manage_merge_request`**: MANAGE merge requests. Actions: "create" creates new MR, "update" modifies existing MR, "merge" merges approved MR into target branch.
|
|
602
|
+
- ✏️ **`manage_mr_discussion`**: MANAGE MR discussions. Actions: "comment" adds comment to issue/MR, "thread" starts new discussion, "reply" responds to existing thread, "update" modifies note.
|
|
603
|
+
- ✏️ **`manage_draft_notes`**: MANAGE draft notes. Actions: "create" creates draft note, "update" modifies draft, "publish" publishes single draft, "publish_all" publishes all drafts, "delete" removes draft.
|
|
604
|
+
|
|
605
|
+
### File Operations (2 CQRS tools)
|
|
606
|
+
Requires USE_FILES=true environment variable (enabled by default). Uses CQRS pattern with action-based tools.
|
|
607
|
+
|
|
608
|
+
- 📖 **`browse_files`**: BROWSE repository files. Actions: "tree" lists files/folders with pagination, "content" reads file contents. Use for exploring project structure or reading source code.
|
|
609
|
+
- ✏️ **`manage_files`**: MANAGE repository files. Actions: "single" creates/updates one file, "batch" commits multiple files atomically, "upload" adds markdown attachments.
|
|
643
610
|
|
|
644
611
|
### CI/CD Variables (5 tools)
|
|
645
612
|
Requires USE_VARIABLES=true environment variable (enabled by default). Supports both project-level and group-level variables.
|
|
@@ -850,4 +817,3 @@ This GitLab MCP Server is developed and maintained with care for the community.
|
|
|
850
817
|
|
|
851
818
|
**Maintained with ❤️ by [Dmitry Prudnikov](https://github.com/polaz)**
|
|
852
819
|
**Original work by [zereight](https://github.com/zereight) - Thank you for the foundation!**
|
|
853
|
-
# Version 5.0.0
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import * as $Class from "./internal/class";
|
|
3
|
+
import * as Prisma from "./internal/prismaNamespace";
|
|
4
|
+
export * as $Enums from './enums';
|
|
5
|
+
export * from "./enums";
|
|
6
|
+
export declare const PrismaClient: $Class.PrismaClientConstructor;
|
|
7
|
+
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
8
|
+
export { Prisma };
|
|
9
|
+
export type OAuthSession = Prisma.OAuthSessionModel;
|
|
10
|
+
export type DeviceFlowState = Prisma.DeviceFlowStateModel;
|
|
11
|
+
export type AuthCodeFlowState = Prisma.AuthCodeFlowStateModel;
|
|
12
|
+
export type AuthorizationCode = Prisma.AuthorizationCodeModel;
|
|
13
|
+
export type McpSessionMapping = Prisma.McpSessionMappingModel;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Prisma = exports.PrismaClient = exports.$Enums = void 0;
|
|
40
|
+
const $Class = __importStar(require("./internal/class"));
|
|
41
|
+
const Prisma = __importStar(require("./internal/prismaNamespace"));
|
|
42
|
+
exports.Prisma = Prisma;
|
|
43
|
+
exports.$Enums = __importStar(require("./enums"));
|
|
44
|
+
__exportStar(require("./enums"), exports);
|
|
45
|
+
exports.PrismaClient = $Class.getPrismaClientClass();
|
|
46
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../generated/prisma/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,yDAA0C;AAC1C,mEAAoD;AAmB3C,wBAAM;AAjBf,kDAAiC;AACjC,0CAAuB;AAcV,QAAA,YAAY,GAAG,MAAM,CAAC,oBAAoB,EAAE,CAAA"}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import type * as Prisma from "./internal/prismaNamespace";
|
|
2
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
3
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
4
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
5
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
6
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
7
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
8
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
9
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
10
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
11
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
12
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
13
|
+
mode?: Prisma.QueryMode;
|
|
14
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
15
|
+
};
|
|
16
|
+
export type BigIntFilter<$PrismaModel = never> = {
|
|
17
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
18
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
19
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
20
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
21
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
22
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
23
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
24
|
+
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number;
|
|
25
|
+
};
|
|
26
|
+
export type IntFilter<$PrismaModel = never> = {
|
|
27
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
28
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
29
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
30
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
31
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
32
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
33
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
34
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
35
|
+
};
|
|
36
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
37
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
38
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
39
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
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.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
49
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
50
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
51
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
52
|
+
};
|
|
53
|
+
export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
54
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
55
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
56
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
57
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
58
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
59
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
60
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
61
|
+
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number;
|
|
62
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
63
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
64
|
+
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
65
|
+
_min?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
66
|
+
_max?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
67
|
+
};
|
|
68
|
+
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
69
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
70
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
71
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
72
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
73
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
74
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
75
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
76
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
77
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
78
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
79
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
80
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
81
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
82
|
+
};
|
|
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
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
102
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
103
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
104
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
105
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
106
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
107
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
108
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
109
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
110
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
111
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
112
|
+
mode?: Prisma.QueryMode;
|
|
113
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
114
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
115
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
116
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
117
|
+
};
|
|
118
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
119
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
120
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
121
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
122
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
123
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
124
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
125
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
126
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
127
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
128
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
129
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
130
|
+
};
|
|
131
|
+
export type NestedBigIntFilter<$PrismaModel = never> = {
|
|
132
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
133
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
134
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
135
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
136
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
137
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
138
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
139
|
+
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number;
|
|
140
|
+
};
|
|
141
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
142
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
143
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
144
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
145
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
146
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
147
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
148
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
149
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
150
|
+
};
|
|
151
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
152
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
153
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
154
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
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.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
163
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
164
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
165
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
166
|
+
};
|
|
167
|
+
export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
168
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
169
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
170
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
171
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
172
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
173
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
174
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
175
|
+
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number;
|
|
176
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
177
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
178
|
+
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
179
|
+
_min?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
180
|
+
_max?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
181
|
+
};
|
|
182
|
+
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
183
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
184
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>;
|
|
185
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>;
|
|
186
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
187
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
188
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
189
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
190
|
+
not?: Prisma.NestedFloatFilter<$PrismaModel> | number;
|
|
191
|
+
};
|
|
192
|
+
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
193
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
194
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
195
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
196
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
197
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
198
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
199
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
200
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
201
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
202
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
203
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
204
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
205
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
206
|
+
};
|
|
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
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
221
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
222
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
223
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
224
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
225
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
226
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
227
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
228
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
229
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
230
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
231
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
232
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
233
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
234
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
235
|
+
};
|
|
236
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
237
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
238
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
|
|
239
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
|
|
240
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
241
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
242
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
243
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
244
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
|
|
245
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commonInputTypes.js","sourceRoot":"","sources":["../../../generated/prisma/commonInputTypes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../generated/prisma/enums.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "./prismaNamespace";
|
|
3
|
+
export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
|
|
4
|
+
export interface PrismaClientConstructor {
|
|
5
|
+
new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
|
|
6
|
+
omit: infer U;
|
|
7
|
+
} ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.Subset<Options, Prisma.PrismaClientOptions>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
8
|
+
}
|
|
9
|
+
export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
|
|
10
|
+
[K: symbol]: {
|
|
11
|
+
types: Prisma.TypeMap<ExtArgs>['other'];
|
|
12
|
+
};
|
|
13
|
+
$on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
14
|
+
$connect(): runtime.Types.Utils.JsPromise<void>;
|
|
15
|
+
$disconnect(): runtime.Types.Utils.JsPromise<void>;
|
|
16
|
+
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
17
|
+
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
18
|
+
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
19
|
+
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
20
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
21
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
22
|
+
}): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
|
|
23
|
+
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
|
|
24
|
+
maxWait?: number;
|
|
25
|
+
timeout?: number;
|
|
26
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
27
|
+
}): runtime.Types.Utils.JsPromise<R>;
|
|
28
|
+
$extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
|
|
29
|
+
extArgs: ExtArgs;
|
|
30
|
+
}>>;
|
|
31
|
+
get oAuthSession(): Prisma.OAuthSessionDelegate<ExtArgs, {
|
|
32
|
+
omit: OmitOpts;
|
|
33
|
+
}>;
|
|
34
|
+
get deviceFlowState(): Prisma.DeviceFlowStateDelegate<ExtArgs, {
|
|
35
|
+
omit: OmitOpts;
|
|
36
|
+
}>;
|
|
37
|
+
get authCodeFlowState(): Prisma.AuthCodeFlowStateDelegate<ExtArgs, {
|
|
38
|
+
omit: OmitOpts;
|
|
39
|
+
}>;
|
|
40
|
+
get authorizationCode(): Prisma.AuthorizationCodeDelegate<ExtArgs, {
|
|
41
|
+
omit: OmitOpts;
|
|
42
|
+
}>;
|
|
43
|
+
get mcpSessionMapping(): Prisma.McpSessionMappingDelegate<ExtArgs, {
|
|
44
|
+
omit: OmitOpts;
|
|
45
|
+
}>;
|
|
46
|
+
}
|
|
47
|
+
export declare function getPrismaClientClass(): PrismaClientConstructor;
|