gitlab-mcp-test 6.62.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/LICENSE +202 -0
- package/LICENSE.MIT +21 -0
- package/README.md +122 -0
- package/README.md.in +122 -0
- 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 +75 -0
- package/dist/generated/prisma/internal/class.js.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +714 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +141 -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 +603 -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 +1037 -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/src/cli/docker/container-runtime.d.ts +4 -0
- package/dist/src/cli/docker/container-runtime.js +85 -0
- package/dist/src/cli/docker/container-runtime.js.map +1 -0
- package/dist/src/cli/docker/docker-command.d.ts +15 -0
- package/dist/src/cli/docker/docker-command.js +421 -0
- package/dist/src/cli/docker/docker-command.js.map +1 -0
- package/dist/src/cli/docker/docker-utils.d.ts +25 -0
- package/dist/src/cli/docker/docker-utils.js +386 -0
- package/dist/src/cli/docker/docker-utils.js.map +1 -0
- package/dist/src/cli/docker/index.d.ts +4 -0
- package/dist/src/cli/docker/index.js +24 -0
- package/dist/src/cli/docker/index.js.map +1 -0
- package/dist/src/cli/docker/types.d.ts +83 -0
- package/dist/src/cli/docker/types.js +21 -0
- package/dist/src/cli/docker/types.js.map +1 -0
- package/dist/src/cli/init/browser.d.ts +7 -0
- package/dist/src/cli/init/browser.js +27 -0
- package/dist/src/cli/init/browser.js.map +1 -0
- package/dist/src/cli/init/config-generator.d.ts +11 -0
- package/dist/src/cli/init/config-generator.js +87 -0
- package/dist/src/cli/init/config-generator.js.map +1 -0
- package/dist/src/cli/init/connection.d.ts +8 -0
- package/dist/src/cli/init/connection.js +118 -0
- package/dist/src/cli/init/connection.js.map +1 -0
- package/dist/src/cli/init/index.d.ts +4 -0
- package/dist/src/cli/init/index.js +32 -0
- package/dist/src/cli/init/index.js.map +1 -0
- package/dist/src/cli/init/types.d.ts +31 -0
- package/dist/src/cli/init/types.js +66 -0
- package/dist/src/cli/init/types.js.map +1 -0
- package/dist/src/cli/init/wizard.d.ts +1 -0
- package/dist/src/cli/init/wizard.js +283 -0
- package/dist/src/cli/init/wizard.js.map +1 -0
- package/dist/src/cli/inject-tool-refs.d.ts +35 -0
- package/dist/src/cli/inject-tool-refs.js +261 -0
- package/dist/src/cli/inject-tool-refs.js.map +1 -0
- package/dist/src/cli/install/backup.d.ts +4 -0
- package/dist/src/cli/install/backup.js +63 -0
- package/dist/src/cli/install/backup.js.map +1 -0
- package/dist/src/cli/install/detector.d.ts +10 -0
- package/dist/src/cli/install/detector.js +133 -0
- package/dist/src/cli/install/detector.js.map +1 -0
- package/dist/src/cli/install/index.d.ts +5 -0
- package/dist/src/cli/install/index.js +27 -0
- package/dist/src/cli/install/index.js.map +1 -0
- package/dist/src/cli/install/install-command.d.ts +19 -0
- package/dist/src/cli/install/install-command.js +300 -0
- package/dist/src/cli/install/install-command.js.map +1 -0
- package/dist/src/cli/install/installers.d.ts +12 -0
- package/dist/src/cli/install/installers.js +439 -0
- package/dist/src/cli/install/installers.js.map +1 -0
- package/dist/src/cli/install/types.d.ts +52 -0
- package/dist/src/cli/install/types.js +87 -0
- package/dist/src/cli/install/types.js.map +1 -0
- 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/cli/list-tools.d.ts +2 -0
- package/dist/src/cli/list-tools.js +1431 -0
- package/dist/src/cli/list-tools.js.map +1 -0
- package/dist/src/cli/setup/discovery.d.ts +3 -0
- package/dist/src/cli/setup/discovery.js +71 -0
- package/dist/src/cli/setup/discovery.js.map +1 -0
- package/dist/src/cli/setup/flows/configure-existing.d.ts +2 -0
- package/dist/src/cli/setup/flows/configure-existing.js +211 -0
- package/dist/src/cli/setup/flows/configure-existing.js.map +1 -0
- package/dist/src/cli/setup/flows/local-setup.d.ts +2 -0
- package/dist/src/cli/setup/flows/local-setup.js +206 -0
- package/dist/src/cli/setup/flows/local-setup.js.map +1 -0
- package/dist/src/cli/setup/flows/server-setup.d.ts +2 -0
- package/dist/src/cli/setup/flows/server-setup.js +185 -0
- package/dist/src/cli/setup/flows/server-setup.js.map +1 -0
- package/dist/src/cli/setup/flows/tool-selection.d.ts +3 -0
- package/dist/src/cli/setup/flows/tool-selection.js +275 -0
- package/dist/src/cli/setup/flows/tool-selection.js.map +1 -0
- package/dist/src/cli/setup/index.d.ts +4 -0
- package/dist/src/cli/setup/index.js +29 -0
- package/dist/src/cli/setup/index.js.map +1 -0
- package/dist/src/cli/setup/presets.d.ts +7 -0
- package/dist/src/cli/setup/presets.js +261 -0
- package/dist/src/cli/setup/presets.js.map +1 -0
- package/dist/src/cli/setup/types.d.ts +68 -0
- package/dist/src/cli/setup/types.js +3 -0
- package/dist/src/cli/setup/types.js.map +1 -0
- package/dist/src/cli/setup/wizard.d.ts +4 -0
- package/dist/src/cli/setup/wizard.js +128 -0
- package/dist/src/cli/setup/wizard.js.map +1 -0
- package/dist/src/cli/utils/index.d.ts +1 -0
- package/dist/src/cli/utils/index.js +6 -0
- package/dist/src/cli/utils/index.js.map +1 -0
- package/dist/src/cli/utils/path-utils.d.ts +1 -0
- package/dist/src/cli/utils/path-utils.js +18 -0
- package/dist/src/cli/utils/path-utils.js.map +1 -0
- package/dist/src/cli-utils.d.ts +19 -0
- package/dist/src/cli-utils.js +183 -0
- package/dist/src/cli-utils.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 +294 -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/config.d.ts +82 -0
- package/dist/src/config.js +379 -0
- package/dist/src/config.js.map +1 -0
- package/dist/src/dashboard/handler.d.ts +4 -0
- package/dist/src/dashboard/handler.js +37 -0
- package/dist/src/dashboard/handler.js.map +1 -0
- package/dist/src/dashboard/html-template.d.ts +2 -0
- package/dist/src/dashboard/html-template.js +443 -0
- package/dist/src/dashboard/html-template.js.map +1 -0
- package/dist/src/dashboard/index.d.ts +4 -0
- package/dist/src/dashboard/index.js +15 -0
- package/dist/src/dashboard/index.js.map +1 -0
- package/dist/src/dashboard/metrics.d.ts +79 -0
- package/dist/src/dashboard/metrics.js +194 -0
- package/dist/src/dashboard/metrics.js.map +1 -0
- package/dist/src/discovery/auto.d.ts +22 -0
- package/dist/src/discovery/auto.js +170 -0
- package/dist/src/discovery/auto.js.map +1 -0
- package/dist/src/discovery/git-remote.d.ts +19 -0
- package/dist/src/discovery/git-remote.js +197 -0
- package/dist/src/discovery/git-remote.js.map +1 -0
- package/dist/src/discovery/index.d.ts +3 -0
- package/dist/src/discovery/index.js +16 -0
- package/dist/src/discovery/index.js.map +1 -0
- package/dist/src/discovery/profile-matcher.d.ts +8 -0
- package/dist/src/discovery/profile-matcher.js +48 -0
- package/dist/src/discovery/profile-matcher.js.map +1 -0
- package/dist/src/entities/context/context-manager.d.ts +31 -0
- package/dist/src/entities/context/context-manager.js +352 -0
- package/dist/src/entities/context/context-manager.js.map +1 -0
- package/dist/src/entities/context/handlers.d.ts +11 -0
- package/dist/src/entities/context/handlers.js +67 -0
- package/dist/src/entities/context/handlers.js.map +1 -0
- package/dist/src/entities/context/index.d.ts +11 -0
- package/dist/src/entities/context/index.js +34 -0
- package/dist/src/entities/context/index.js.map +1 -0
- package/dist/src/entities/context/registry.d.ts +5 -0
- package/dist/src/entities/context/registry.js +66 -0
- package/dist/src/entities/context/registry.js.map +1 -0
- package/dist/src/entities/context/schema.d.ts +60 -0
- package/dist/src/entities/context/schema.js +61 -0
- package/dist/src/entities/context/schema.js.map +1 -0
- package/dist/src/entities/context/types.d.ts +112 -0
- package/dist/src/entities/context/types.js +3 -0
- package/dist/src/entities/context/types.js.map +1 -0
- package/dist/src/entities/context/whoami.d.ts +2 -0
- package/dist/src/entities/context/whoami.js +267 -0
- package/dist/src/entities/context/whoami.js.map +1 -0
- package/dist/src/entities/core/index.d.ts +7 -0
- package/dist/src/entities/core/index.js +31 -0
- package/dist/src/entities/core/index.js.map +1 -0
- package/dist/src/entities/core/registry.d.ts +5 -0
- package/dist/src/entities/core/registry.js +784 -0
- package/dist/src/entities/core/registry.js.map +1 -0
- package/dist/src/entities/core/schema-readonly.d.ts +268 -0
- package/dist/src/entities/core/schema-readonly.js +289 -0
- package/dist/src/entities/core/schema-readonly.js.map +1 -0
- package/dist/src/entities/core/schema.d.ts +116 -0
- package/dist/src/entities/core/schema.js +173 -0
- package/dist/src/entities/core/schema.js.map +1 -0
- package/dist/src/entities/files/index.d.ts +7 -0
- package/dist/src/entities/files/index.js +31 -0
- package/dist/src/entities/files/index.js.map +1 -0
- package/dist/src/entities/files/registry.d.ts +5 -0
- package/dist/src/entities/files/registry.js +267 -0
- package/dist/src/entities/files/registry.js.map +1 -0
- package/dist/src/entities/files/schema-readonly.d.ts +83 -0
- package/dist/src/entities/files/schema-readonly.js +64 -0
- package/dist/src/entities/files/schema-readonly.js.map +1 -0
- package/dist/src/entities/files/schema.d.ts +43 -0
- package/dist/src/entities/files/schema.js +54 -0
- package/dist/src/entities/files/schema.js.map +1 -0
- package/dist/src/entities/index.d.ts +17 -0
- package/dist/src/entities/index.js +34 -0
- package/dist/src/entities/index.js.map +1 -0
- package/dist/src/entities/integrations/index.d.ts +4 -0
- package/dist/src/entities/integrations/index.js +21 -0
- package/dist/src/entities/integrations/index.js.map +1 -0
- package/dist/src/entities/integrations/registry.d.ts +5 -0
- package/dist/src/entities/integrations/registry.js +127 -0
- package/dist/src/entities/integrations/registry.js.map +1 -0
- package/dist/src/entities/integrations/schema-readonly.d.ts +63 -0
- package/dist/src/entities/integrations/schema-readonly.js +22 -0
- package/dist/src/entities/integrations/schema-readonly.js.map +1 -0
- package/dist/src/entities/integrations/schema.d.ts +180 -0
- package/dist/src/entities/integrations/schema.js +106 -0
- package/dist/src/entities/integrations/schema.js.map +1 -0
- package/dist/src/entities/iterations/index.d.ts +2 -0
- package/dist/src/entities/iterations/index.js +19 -0
- package/dist/src/entities/iterations/index.js.map +1 -0
- package/dist/src/entities/iterations/registry.d.ts +5 -0
- package/dist/src/entities/iterations/registry.js +106 -0
- package/dist/src/entities/iterations/registry.js.map +1 -0
- package/dist/src/entities/iterations/schema-readonly.d.ts +21 -0
- package/dist/src/entities/iterations/schema-readonly.js +28 -0
- package/dist/src/entities/iterations/schema-readonly.js.map +1 -0
- package/dist/src/entities/labels/index.d.ts +7 -0
- package/dist/src/entities/labels/index.js +31 -0
- package/dist/src/entities/labels/index.js.map +1 -0
- package/dist/src/entities/labels/registry.d.ts +5 -0
- package/dist/src/entities/labels/registry.js +131 -0
- package/dist/src/entities/labels/registry.js.map +1 -0
- package/dist/src/entities/labels/schema-readonly.d.ts +16 -0
- package/dist/src/entities/labels/schema-readonly.js +28 -0
- package/dist/src/entities/labels/schema-readonly.js.map +1 -0
- package/dist/src/entities/labels/schema.d.ts +23 -0
- package/dist/src/entities/labels/schema.js +46 -0
- package/dist/src/entities/labels/schema.js.map +1 -0
- package/dist/src/entities/members/index.d.ts +3 -0
- package/dist/src/entities/members/index.js +25 -0
- package/dist/src/entities/members/index.js.map +1 -0
- package/dist/src/entities/members/registry.d.ts +5 -0
- package/dist/src/entities/members/registry.js +224 -0
- package/dist/src/entities/members/registry.js.map +1 -0
- package/dist/src/entities/members/schema-readonly.d.ts +53 -0
- package/dist/src/entities/members/schema-readonly.js +79 -0
- package/dist/src/entities/members/schema-readonly.js.map +1 -0
- package/dist/src/entities/members/schema.d.ts +40 -0
- package/dist/src/entities/members/schema.js +80 -0
- package/dist/src/entities/members/schema.js.map +1 -0
- package/dist/src/entities/milestones/index.d.ts +7 -0
- package/dist/src/entities/milestones/index.js +31 -0
- package/dist/src/entities/milestones/index.js.map +1 -0
- package/dist/src/entities/milestones/registry.d.ts +5 -0
- package/dist/src/entities/milestones/registry.js +150 -0
- package/dist/src/entities/milestones/registry.js.map +1 -0
- package/dist/src/entities/milestones/schema-readonly.d.ts +57 -0
- package/dist/src/entities/milestones/schema-readonly.js +81 -0
- package/dist/src/entities/milestones/schema-readonly.js.map +1 -0
- package/dist/src/entities/milestones/schema.d.ts +30 -0
- package/dist/src/entities/milestones/schema.js +47 -0
- package/dist/src/entities/milestones/schema.js.map +1 -0
- package/dist/src/entities/mrs/index.d.ts +7 -0
- package/dist/src/entities/mrs/index.js +31 -0
- package/dist/src/entities/mrs/index.js.map +1 -0
- package/dist/src/entities/mrs/registry.d.ts +22 -0
- package/dist/src/entities/mrs/registry.js +495 -0
- package/dist/src/entities/mrs/registry.js.map +1 -0
- package/dist/src/entities/mrs/schema-readonly.d.ts +135 -0
- package/dist/src/entities/mrs/schema-readonly.js +326 -0
- package/dist/src/entities/mrs/schema-readonly.js.map +1 -0
- package/dist/src/entities/mrs/schema.d.ts +339 -0
- package/dist/src/entities/mrs/schema.js +259 -0
- package/dist/src/entities/mrs/schema.js.map +1 -0
- package/dist/src/entities/pipelines/index.d.ts +7 -0
- package/dist/src/entities/pipelines/index.js +31 -0
- package/dist/src/entities/pipelines/index.js.map +1 -0
- package/dist/src/entities/pipelines/registry.d.ts +5 -0
- package/dist/src/entities/pipelines/registry.js +323 -0
- package/dist/src/entities/pipelines/registry.js.map +1 -0
- package/dist/src/entities/pipelines/schema-readonly.d.ts +239 -0
- package/dist/src/entities/pipelines/schema-readonly.js +278 -0
- package/dist/src/entities/pipelines/schema-readonly.js.map +1 -0
- package/dist/src/entities/pipelines/schema.d.ts +47 -0
- package/dist/src/entities/pipelines/schema.js +73 -0
- package/dist/src/entities/pipelines/schema.js.map +1 -0
- package/dist/src/entities/refs/index.d.ts +3 -0
- package/dist/src/entities/refs/index.js +25 -0
- package/dist/src/entities/refs/index.js.map +1 -0
- package/dist/src/entities/refs/registry.d.ts +5 -0
- package/dist/src/entities/refs/registry.js +233 -0
- package/dist/src/entities/refs/registry.js.map +1 -0
- package/dist/src/entities/refs/schema-readonly.d.ts +48 -0
- package/dist/src/entities/refs/schema-readonly.js +76 -0
- package/dist/src/entities/refs/schema-readonly.js.map +1 -0
- package/dist/src/entities/refs/schema.d.ts +85 -0
- package/dist/src/entities/refs/schema.js +149 -0
- package/dist/src/entities/refs/schema.js.map +1 -0
- package/dist/src/entities/releases/index.d.ts +3 -0
- package/dist/src/entities/releases/index.js +13 -0
- package/dist/src/entities/releases/index.js.map +1 -0
- package/dist/src/entities/releases/registry.d.ts +5 -0
- package/dist/src/entities/releases/registry.js +183 -0
- package/dist/src/entities/releases/registry.js.map +1 -0
- package/dist/src/entities/releases/schema-readonly.d.ts +28 -0
- package/dist/src/entities/releases/schema-readonly.js +56 -0
- package/dist/src/entities/releases/schema-readonly.js.map +1 -0
- package/dist/src/entities/releases/schema.d.ts +56 -0
- package/dist/src/entities/releases/schema.js +97 -0
- package/dist/src/entities/releases/schema.js.map +1 -0
- package/dist/src/entities/search/index.d.ts +2 -0
- package/dist/src/entities/search/index.js +24 -0
- package/dist/src/entities/search/index.js.map +1 -0
- package/dist/src/entities/search/registry.d.ts +5 -0
- package/dist/src/entities/search/registry.js +113 -0
- package/dist/src/entities/search/registry.js.map +1 -0
- package/dist/src/entities/search/schema-readonly.d.ts +228 -0
- package/dist/src/entities/search/schema-readonly.js +64 -0
- package/dist/src/entities/search/schema-readonly.js.map +1 -0
- package/dist/src/entities/shared.d.ts +291 -0
- package/dist/src/entities/shared.js +269 -0
- package/dist/src/entities/shared.js.map +1 -0
- package/dist/src/entities/snippets/index.d.ts +7 -0
- package/dist/src/entities/snippets/index.js +31 -0
- package/dist/src/entities/snippets/index.js.map +1 -0
- package/dist/src/entities/snippets/registry.d.ts +5 -0
- package/dist/src/entities/snippets/registry.js +200 -0
- package/dist/src/entities/snippets/registry.js.map +1 -0
- package/dist/src/entities/snippets/schema-readonly.d.ts +25 -0
- package/dist/src/entities/snippets/schema-readonly.js +45 -0
- package/dist/src/entities/snippets/schema-readonly.js.map +1 -0
- package/dist/src/entities/snippets/schema.d.ts +56 -0
- package/dist/src/entities/snippets/schema.js +89 -0
- package/dist/src/entities/snippets/schema.js.map +1 -0
- package/dist/src/entities/utils.d.ts +16 -0
- package/dist/src/entities/utils.js +57 -0
- package/dist/src/entities/utils.js.map +1 -0
- package/dist/src/entities/variables/index.d.ts +7 -0
- package/dist/src/entities/variables/index.js +31 -0
- package/dist/src/entities/variables/index.js.map +1 -0
- package/dist/src/entities/variables/registry.d.ts +5 -0
- package/dist/src/entities/variables/registry.js +140 -0
- package/dist/src/entities/variables/registry.js.map +1 -0
- package/dist/src/entities/variables/schema-readonly.d.ts +15 -0
- package/dist/src/entities/variables/schema-readonly.js +33 -0
- package/dist/src/entities/variables/schema-readonly.js.map +1 -0
- package/dist/src/entities/variables/schema.d.ts +41 -0
- package/dist/src/entities/variables/schema.js +92 -0
- package/dist/src/entities/variables/schema.js.map +1 -0
- package/dist/src/entities/webhooks/index.d.ts +4 -0
- package/dist/src/entities/webhooks/index.js +21 -0
- package/dist/src/entities/webhooks/index.js.map +1 -0
- package/dist/src/entities/webhooks/registry.d.ts +5 -0
- package/dist/src/entities/webhooks/registry.js +162 -0
- package/dist/src/entities/webhooks/registry.js.map +1 -0
- package/dist/src/entities/webhooks/schema-readonly.d.ts +22 -0
- package/dist/src/entities/webhooks/schema-readonly.js +25 -0
- package/dist/src/entities/webhooks/schema-readonly.js.map +1 -0
- package/dist/src/entities/webhooks/schema.d.ts +101 -0
- package/dist/src/entities/webhooks/schema.js +101 -0
- package/dist/src/entities/webhooks/schema.js.map +1 -0
- package/dist/src/entities/wiki/index.d.ts +7 -0
- package/dist/src/entities/wiki/index.js +31 -0
- package/dist/src/entities/wiki/index.js.map +1 -0
- package/dist/src/entities/wiki/registry.d.ts +5 -0
- package/dist/src/entities/wiki/registry.js +127 -0
- package/dist/src/entities/wiki/registry.js.map +1 -0
- package/dist/src/entities/wiki/schema-readonly.d.ts +22 -0
- package/dist/src/entities/wiki/schema-readonly.js +27 -0
- package/dist/src/entities/wiki/schema-readonly.js.map +1 -0
- package/dist/src/entities/wiki/schema.d.ts +30 -0
- package/dist/src/entities/wiki/schema.js +38 -0
- package/dist/src/entities/wiki/schema.js.map +1 -0
- package/dist/src/entities/workitems/index.d.ts +7 -0
- package/dist/src/entities/workitems/index.js +31 -0
- package/dist/src/entities/workitems/index.js.map +1 -0
- package/dist/src/entities/workitems/registry.d.ts +5 -0
- package/dist/src/entities/workitems/registry.js +725 -0
- package/dist/src/entities/workitems/registry.js.map +1 -0
- package/dist/src/entities/workitems/schema-readonly.d.ts +49 -0
- package/dist/src/entities/workitems/schema-readonly.js +87 -0
- package/dist/src/entities/workitems/schema-readonly.js.map +1 -0
- package/dist/src/entities/workitems/schema.d.ts +97 -0
- package/dist/src/entities/workitems/schema.js +187 -0
- package/dist/src/entities/workitems/schema.js.map +1 -0
- package/dist/src/graphql/DynamicWorkItemsQuery.d.ts +56 -0
- package/dist/src/graphql/DynamicWorkItemsQuery.js +190 -0
- package/dist/src/graphql/DynamicWorkItemsQuery.js.map +1 -0
- package/dist/src/graphql/client.d.ts +17 -0
- package/dist/src/graphql/client.js +56 -0
- package/dist/src/graphql/client.js.map +1 -0
- package/dist/src/graphql/index.d.ts +2 -0
- package/dist/src/graphql/index.js +21 -0
- package/dist/src/graphql/index.js.map +1 -0
- package/dist/src/graphql/workItems.d.ts +659 -0
- package/dist/src/graphql/workItems.js +1545 -0
- package/dist/src/graphql/workItems.js.map +1 -0
- package/dist/src/handlers.d.ts +2 -0
- package/dist/src/handlers.js +346 -0
- package/dist/src/handlers.js.map +1 -0
- package/dist/src/http-client.d.ts +1 -0
- package/dist/src/http-client.js +9 -0
- package/dist/src/http-client.js.map +1 -0
- package/dist/src/logger.d.ts +9 -0
- package/dist/src/logger.js +129 -0
- package/dist/src/logger.js.map +1 -0
- package/dist/src/logging/access-log.d.ts +15 -0
- package/dist/src/logging/access-log.js +157 -0
- package/dist/src/logging/access-log.js.map +1 -0
- package/dist/src/logging/connection-tracker.d.ts +21 -0
- package/dist/src/logging/connection-tracker.js +106 -0
- package/dist/src/logging/connection-tracker.js.map +1 -0
- package/dist/src/logging/index.d.ts +5 -0
- package/dist/src/logging/index.js +27 -0
- package/dist/src/logging/index.js.map +1 -0
- package/dist/src/logging/request-tracker.d.ts +39 -0
- package/dist/src/logging/request-tracker.js +208 -0
- package/dist/src/logging/request-tracker.js.map +1 -0
- package/dist/src/logging/types.d.ts +55 -0
- package/dist/src/logging/types.js +5 -0
- package/dist/src/logging/types.js.map +1 -0
- package/dist/src/main.d.ts +2 -0
- package/dist/src/main.js +219 -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/src/middleware/oauth-auth.d.ts +4 -0
- package/dist/src/middleware/oauth-auth.js +137 -0
- 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 +183 -0
- package/dist/src/middleware/rate-limiter.js.map +1 -0
- package/dist/src/oauth/config.d.ts +25 -0
- package/dist/src/oauth/config.js +109 -0
- package/dist/src/oauth/config.js.map +1 -0
- package/dist/src/oauth/endpoints/authorize.d.ts +3 -0
- package/dist/src/oauth/endpoints/authorize.js +454 -0
- 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 +134 -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 +19 -0
- package/dist/src/oauth/endpoints/index.js.map +1 -0
- package/dist/src/oauth/endpoints/metadata.d.ts +5 -0
- package/dist/src/oauth/endpoints/metadata.js +42 -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.d.ts +2 -0
- package/dist/src/oauth/endpoints/token.js +167 -0
- package/dist/src/oauth/endpoints/token.js.map +1 -0
- package/dist/src/oauth/gitlab-device-flow.d.ts +10 -0
- package/dist/src/oauth/gitlab-device-flow.js +215 -0
- package/dist/src/oauth/gitlab-device-flow.js.map +1 -0
- package/dist/src/oauth/index.d.ts +10 -0
- package/dist/src/oauth/index.js +69 -0
- package/dist/src/oauth/index.js.map +1 -0
- package/dist/src/oauth/session-store.d.ts +54 -0
- package/dist/src/oauth/session-store.js +311 -0
- 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 +73 -0
- package/dist/src/oauth/storage/factory.js.map +1 -0
- package/dist/src/oauth/storage/file.d.ts +48 -0
- package/dist/src/oauth/storage/file.js +307 -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 +280 -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 +444 -0
- package/dist/src/oauth/storage/postgresql.js.map +1 -0
- package/dist/src/oauth/storage/types.d.ts +66 -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.d.ts +10 -0
- package/dist/src/oauth/token-context.js +50 -0
- package/dist/src/oauth/token-context.js.map +1 -0
- package/dist/src/oauth/token-utils.d.ts +14 -0
- package/dist/src/oauth/token-utils.js +148 -0
- package/dist/src/oauth/token-utils.js.map +1 -0
- package/dist/src/oauth/types.d.ts +117 -0
- package/dist/src/oauth/types.js +3 -0
- package/dist/src/oauth/types.js.map +1 -0
- package/dist/src/profiles/applicator.d.ts +19 -0
- package/dist/src/profiles/applicator.js +256 -0
- package/dist/src/profiles/applicator.js.map +1 -0
- package/dist/src/profiles/builtin/admin.yaml +30 -0
- package/dist/src/profiles/builtin/ci.yaml +35 -0
- package/dist/src/profiles/builtin/code-reviewer.yaml +41 -0
- package/dist/src/profiles/builtin/developer.yaml +40 -0
- package/dist/src/profiles/builtin/devops.yaml +33 -0
- package/dist/src/profiles/builtin/full-access.yaml +29 -0
- package/dist/src/profiles/builtin/gitlab-com.yaml +40 -0
- package/dist/src/profiles/builtin/junior-dev.yaml +35 -0
- package/dist/src/profiles/builtin/pm.yaml +36 -0
- package/dist/src/profiles/builtin/readonly.yaml +33 -0
- package/dist/src/profiles/builtin/senior-dev.yaml +41 -0
- package/dist/src/profiles/builtin/team-lead.yaml +42 -0
- package/dist/src/profiles/index.d.ts +5 -0
- package/dist/src/profiles/index.js +34 -0
- package/dist/src/profiles/index.js.map +1 -0
- package/dist/src/profiles/loader.d.ts +32 -0
- package/dist/src/profiles/loader.js +319 -0
- package/dist/src/profiles/loader.js.map +1 -0
- package/dist/src/profiles/project-loader.d.ts +12 -0
- package/dist/src/profiles/project-loader.js +214 -0
- package/dist/src/profiles/project-loader.js.map +1 -0
- package/dist/src/profiles/scope-enforcer.d.ts +28 -0
- package/dist/src/profiles/scope-enforcer.js +236 -0
- package/dist/src/profiles/scope-enforcer.js.map +1 -0
- package/dist/src/profiles/types.d.ts +261 -0
- package/dist/src/profiles/types.js +153 -0
- package/dist/src/profiles/types.js.map +1 -0
- package/dist/src/registry-manager.d.ts +37 -0
- package/dist/src/registry-manager.js +488 -0
- package/dist/src/registry-manager.js.map +1 -0
- package/dist/src/server.d.ts +2 -0
- package/dist/src/server.js +624 -0
- package/dist/src/server.js.map +1 -0
- package/dist/src/services/ConnectionManager.d.ts +41 -0
- package/dist/src/services/ConnectionManager.js +438 -0
- package/dist/src/services/ConnectionManager.js.map +1 -0
- package/dist/src/services/GitLabVersionDetector.d.ts +52 -0
- package/dist/src/services/GitLabVersionDetector.js +215 -0
- package/dist/src/services/GitLabVersionDetector.js.map +1 -0
- package/dist/src/services/InstanceConnectionPool.d.ts +54 -0
- package/dist/src/services/InstanceConnectionPool.js +180 -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/services/SchemaIntrospector.d.ts +39 -0
- package/dist/src/services/SchemaIntrospector.js +190 -0
- package/dist/src/services/SchemaIntrospector.js.map +1 -0
- package/dist/src/services/TokenScopeDetector.d.ts +35 -0
- package/dist/src/services/TokenScopeDetector.js +232 -0
- package/dist/src/services/TokenScopeDetector.js.map +1 -0
- package/dist/src/services/ToolAvailability.d.ts +32 -0
- package/dist/src/services/ToolAvailability.js +410 -0
- package/dist/src/services/ToolAvailability.js.map +1 -0
- package/dist/src/services/WidgetAvailability.d.ts +23 -0
- package/dist/src/services/WidgetAvailability.js +158 -0
- package/dist/src/services/WidgetAvailability.js.map +1 -0
- package/dist/src/session-manager.d.ts +19 -0
- package/dist/src/session-manager.js +131 -0
- package/dist/src/session-manager.js.map +1 -0
- package/dist/src/types.d.ts +28 -0
- package/dist/src/types.js +11 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/utils/description-utils.d.ts +2 -0
- package/dist/src/utils/description-utils.js +25 -0
- package/dist/src/utils/description-utils.js.map +1 -0
- package/dist/src/utils/error-handler.d.ts +93 -0
- package/dist/src/utils/error-handler.js +597 -0
- package/dist/src/utils/error-handler.js.map +1 -0
- package/dist/src/utils/fetch.d.ts +13 -0
- package/dist/src/utils/fetch.js +539 -0
- package/dist/src/utils/fetch.js.map +1 -0
- package/dist/src/utils/gitlab-api.d.ts +24 -0
- package/dist/src/utils/gitlab-api.js +139 -0
- package/dist/src/utils/gitlab-api.js.map +1 -0
- package/dist/src/utils/idConversion.d.ts +81 -0
- package/dist/src/utils/idConversion.js +193 -0
- package/dist/src/utils/idConversion.js.map +1 -0
- package/dist/src/utils/namespace.d.ts +7 -0
- package/dist/src/utils/namespace.js +59 -0
- package/dist/src/utils/namespace.js.map +1 -0
- package/dist/src/utils/projectIdentifier.d.ts +9 -0
- package/dist/src/utils/projectIdentifier.js +59 -0
- package/dist/src/utils/projectIdentifier.js.map +1 -0
- package/dist/src/utils/request-logger.d.ts +24 -0
- package/dist/src/utils/request-logger.js +55 -0
- package/dist/src/utils/request-logger.js.map +1 -0
- package/dist/src/utils/schema-utils.d.ts +31 -0
- package/dist/src/utils/schema-utils.js +288 -0
- package/dist/src/utils/schema-utils.js.map +1 -0
- package/dist/src/utils/smart-user-search.d.ts +33 -0
- package/dist/src/utils/smart-user-search.js +142 -0
- package/dist/src/utils/smart-user-search.js.map +1 -0
- package/dist/src/utils/version.d.ts +1 -0
- package/dist/src/utils/version.js +14 -0
- package/dist/src/utils/version.js.map +1 -0
- package/dist/src/utils/workItemTypes.d.ts +6 -0
- package/dist/src/utils/workItemTypes.js +14 -0
- package/dist/src/utils/workItemTypes.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +511 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SearchScopeSchema: z.ZodEnum<{
|
|
3
|
+
milestones: "milestones";
|
|
4
|
+
projects: "projects";
|
|
5
|
+
groups: "groups";
|
|
6
|
+
issues: "issues";
|
|
7
|
+
commits: "commits";
|
|
8
|
+
users: "users";
|
|
9
|
+
merge_requests: "merge_requests";
|
|
10
|
+
snippet_titles: "snippet_titles";
|
|
11
|
+
blobs: "blobs";
|
|
12
|
+
wiki_blobs: "wiki_blobs";
|
|
13
|
+
notes: "notes";
|
|
14
|
+
}>;
|
|
15
|
+
declare const GlobalSearchSchema: z.ZodObject<{
|
|
16
|
+
action: z.ZodLiteral<"global">;
|
|
17
|
+
scope: z.ZodEnum<{
|
|
18
|
+
milestones: "milestones";
|
|
19
|
+
projects: "projects";
|
|
20
|
+
groups: "groups";
|
|
21
|
+
issues: "issues";
|
|
22
|
+
commits: "commits";
|
|
23
|
+
users: "users";
|
|
24
|
+
merge_requests: "merge_requests";
|
|
25
|
+
snippet_titles: "snippet_titles";
|
|
26
|
+
blobs: "blobs";
|
|
27
|
+
wiki_blobs: "wiki_blobs";
|
|
28
|
+
notes: "notes";
|
|
29
|
+
}>;
|
|
30
|
+
search: z.ZodString;
|
|
31
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
all: "all";
|
|
33
|
+
closed: "closed";
|
|
34
|
+
merged: "merged";
|
|
35
|
+
opened: "opened";
|
|
36
|
+
}>>;
|
|
37
|
+
confidential: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
created_at: "created_at";
|
|
40
|
+
updated_at: "updated_at";
|
|
41
|
+
}>>;
|
|
42
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
asc: "asc";
|
|
44
|
+
desc: "desc";
|
|
45
|
+
}>>;
|
|
46
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
47
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const ProjectSearchSchema: z.ZodObject<{
|
|
50
|
+
action: z.ZodLiteral<"project">;
|
|
51
|
+
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
52
|
+
scope: z.ZodEnum<{
|
|
53
|
+
milestones: "milestones";
|
|
54
|
+
projects: "projects";
|
|
55
|
+
groups: "groups";
|
|
56
|
+
issues: "issues";
|
|
57
|
+
commits: "commits";
|
|
58
|
+
users: "users";
|
|
59
|
+
merge_requests: "merge_requests";
|
|
60
|
+
snippet_titles: "snippet_titles";
|
|
61
|
+
blobs: "blobs";
|
|
62
|
+
wiki_blobs: "wiki_blobs";
|
|
63
|
+
notes: "notes";
|
|
64
|
+
}>;
|
|
65
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
66
|
+
search: z.ZodString;
|
|
67
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
68
|
+
all: "all";
|
|
69
|
+
closed: "closed";
|
|
70
|
+
merged: "merged";
|
|
71
|
+
opened: "opened";
|
|
72
|
+
}>>;
|
|
73
|
+
confidential: z.ZodOptional<z.ZodBoolean>;
|
|
74
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
created_at: "created_at";
|
|
76
|
+
updated_at: "updated_at";
|
|
77
|
+
}>>;
|
|
78
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
asc: "asc";
|
|
80
|
+
desc: "desc";
|
|
81
|
+
}>>;
|
|
82
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
83
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
declare const GroupSearchSchema: z.ZodObject<{
|
|
86
|
+
action: z.ZodLiteral<"group">;
|
|
87
|
+
group_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
88
|
+
scope: z.ZodEnum<{
|
|
89
|
+
milestones: "milestones";
|
|
90
|
+
projects: "projects";
|
|
91
|
+
groups: "groups";
|
|
92
|
+
issues: "issues";
|
|
93
|
+
commits: "commits";
|
|
94
|
+
users: "users";
|
|
95
|
+
merge_requests: "merge_requests";
|
|
96
|
+
snippet_titles: "snippet_titles";
|
|
97
|
+
blobs: "blobs";
|
|
98
|
+
wiki_blobs: "wiki_blobs";
|
|
99
|
+
notes: "notes";
|
|
100
|
+
}>;
|
|
101
|
+
search: z.ZodString;
|
|
102
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
all: "all";
|
|
104
|
+
closed: "closed";
|
|
105
|
+
merged: "merged";
|
|
106
|
+
opened: "opened";
|
|
107
|
+
}>>;
|
|
108
|
+
confidential: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
110
|
+
created_at: "created_at";
|
|
111
|
+
updated_at: "updated_at";
|
|
112
|
+
}>>;
|
|
113
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
114
|
+
asc: "asc";
|
|
115
|
+
desc: "desc";
|
|
116
|
+
}>>;
|
|
117
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
118
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
export declare const BrowseSearchSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
121
|
+
action: z.ZodLiteral<"global">;
|
|
122
|
+
scope: z.ZodEnum<{
|
|
123
|
+
milestones: "milestones";
|
|
124
|
+
projects: "projects";
|
|
125
|
+
groups: "groups";
|
|
126
|
+
issues: "issues";
|
|
127
|
+
commits: "commits";
|
|
128
|
+
users: "users";
|
|
129
|
+
merge_requests: "merge_requests";
|
|
130
|
+
snippet_titles: "snippet_titles";
|
|
131
|
+
blobs: "blobs";
|
|
132
|
+
wiki_blobs: "wiki_blobs";
|
|
133
|
+
notes: "notes";
|
|
134
|
+
}>;
|
|
135
|
+
search: z.ZodString;
|
|
136
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
all: "all";
|
|
138
|
+
closed: "closed";
|
|
139
|
+
merged: "merged";
|
|
140
|
+
opened: "opened";
|
|
141
|
+
}>>;
|
|
142
|
+
confidential: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
created_at: "created_at";
|
|
145
|
+
updated_at: "updated_at";
|
|
146
|
+
}>>;
|
|
147
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
asc: "asc";
|
|
149
|
+
desc: "desc";
|
|
150
|
+
}>>;
|
|
151
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
152
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
154
|
+
action: z.ZodLiteral<"project">;
|
|
155
|
+
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
156
|
+
scope: z.ZodEnum<{
|
|
157
|
+
milestones: "milestones";
|
|
158
|
+
projects: "projects";
|
|
159
|
+
groups: "groups";
|
|
160
|
+
issues: "issues";
|
|
161
|
+
commits: "commits";
|
|
162
|
+
users: "users";
|
|
163
|
+
merge_requests: "merge_requests";
|
|
164
|
+
snippet_titles: "snippet_titles";
|
|
165
|
+
blobs: "blobs";
|
|
166
|
+
wiki_blobs: "wiki_blobs";
|
|
167
|
+
notes: "notes";
|
|
168
|
+
}>;
|
|
169
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
170
|
+
search: z.ZodString;
|
|
171
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
all: "all";
|
|
173
|
+
closed: "closed";
|
|
174
|
+
merged: "merged";
|
|
175
|
+
opened: "opened";
|
|
176
|
+
}>>;
|
|
177
|
+
confidential: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
created_at: "created_at";
|
|
180
|
+
updated_at: "updated_at";
|
|
181
|
+
}>>;
|
|
182
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
183
|
+
asc: "asc";
|
|
184
|
+
desc: "desc";
|
|
185
|
+
}>>;
|
|
186
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
187
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
189
|
+
action: z.ZodLiteral<"group">;
|
|
190
|
+
group_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
191
|
+
scope: z.ZodEnum<{
|
|
192
|
+
milestones: "milestones";
|
|
193
|
+
projects: "projects";
|
|
194
|
+
groups: "groups";
|
|
195
|
+
issues: "issues";
|
|
196
|
+
commits: "commits";
|
|
197
|
+
users: "users";
|
|
198
|
+
merge_requests: "merge_requests";
|
|
199
|
+
snippet_titles: "snippet_titles";
|
|
200
|
+
blobs: "blobs";
|
|
201
|
+
wiki_blobs: "wiki_blobs";
|
|
202
|
+
notes: "notes";
|
|
203
|
+
}>;
|
|
204
|
+
search: z.ZodString;
|
|
205
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
206
|
+
all: "all";
|
|
207
|
+
closed: "closed";
|
|
208
|
+
merged: "merged";
|
|
209
|
+
opened: "opened";
|
|
210
|
+
}>>;
|
|
211
|
+
confidential: z.ZodOptional<z.ZodBoolean>;
|
|
212
|
+
order_by: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
created_at: "created_at";
|
|
214
|
+
updated_at: "updated_at";
|
|
215
|
+
}>>;
|
|
216
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
217
|
+
asc: "asc";
|
|
218
|
+
desc: "desc";
|
|
219
|
+
}>>;
|
|
220
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
221
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
}, z.core.$strip>], "action">;
|
|
223
|
+
export type SearchScope = z.infer<typeof SearchScopeSchema>;
|
|
224
|
+
export type BrowseSearchInput = z.infer<typeof BrowseSearchSchema>;
|
|
225
|
+
export type GlobalSearchInput = z.infer<typeof GlobalSearchSchema>;
|
|
226
|
+
export type ProjectSearchInput = z.infer<typeof ProjectSearchSchema>;
|
|
227
|
+
export type GroupSearchInput = z.infer<typeof GroupSearchSchema>;
|
|
228
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BrowseSearchSchema = exports.SearchScopeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const shared_1 = require("../shared");
|
|
6
|
+
const utils_1 = require("../utils");
|
|
7
|
+
exports.SearchScopeSchema = zod_1.z
|
|
8
|
+
.enum([
|
|
9
|
+
"projects",
|
|
10
|
+
"issues",
|
|
11
|
+
"merge_requests",
|
|
12
|
+
"milestones",
|
|
13
|
+
"snippet_titles",
|
|
14
|
+
"users",
|
|
15
|
+
"groups",
|
|
16
|
+
"blobs",
|
|
17
|
+
"commits",
|
|
18
|
+
"wiki_blobs",
|
|
19
|
+
"notes",
|
|
20
|
+
])
|
|
21
|
+
.describe("Search scope determining what type of resources to search");
|
|
22
|
+
const BaseSearchParams = zod_1.z.object({
|
|
23
|
+
search: zod_1.z.string().min(1).describe("Search query string (minimum 1 character)"),
|
|
24
|
+
state: zod_1.z
|
|
25
|
+
.enum(["opened", "closed", "merged", "all"])
|
|
26
|
+
.optional()
|
|
27
|
+
.describe("Filter by state (for issues and merge_requests scopes)"),
|
|
28
|
+
confidential: zod_1.z
|
|
29
|
+
.boolean()
|
|
30
|
+
.optional()
|
|
31
|
+
.describe("Filter by confidentiality (for issues scope, Premium only)"),
|
|
32
|
+
order_by: zod_1.z.enum(["created_at", "updated_at"]).optional().describe("Sort results by field"),
|
|
33
|
+
sort: zod_1.z.enum(["asc", "desc"]).optional().describe("Sort direction"),
|
|
34
|
+
});
|
|
35
|
+
const GlobalSearchSchema = zod_1.z
|
|
36
|
+
.object({
|
|
37
|
+
action: zod_1.z.literal("global").describe("Search across entire GitLab instance"),
|
|
38
|
+
scope: exports.SearchScopeSchema,
|
|
39
|
+
})
|
|
40
|
+
.merge(BaseSearchParams)
|
|
41
|
+
.merge(shared_1.PaginationOptionsSchema);
|
|
42
|
+
const ProjectSearchSchema = zod_1.z
|
|
43
|
+
.object({
|
|
44
|
+
action: zod_1.z.literal("project").describe("Search within a specific project"),
|
|
45
|
+
project_id: utils_1.requiredId.describe("Project ID or URL-encoded path (e.g., 'group/project' or '123')"),
|
|
46
|
+
scope: exports.SearchScopeSchema,
|
|
47
|
+
ref: zod_1.z.string().optional().describe("Branch/tag reference for code search (blobs, commits)"),
|
|
48
|
+
})
|
|
49
|
+
.merge(BaseSearchParams)
|
|
50
|
+
.merge(shared_1.PaginationOptionsSchema);
|
|
51
|
+
const GroupSearchSchema = zod_1.z
|
|
52
|
+
.object({
|
|
53
|
+
action: zod_1.z.literal("group").describe("Search within a specific group and its subgroups"),
|
|
54
|
+
group_id: utils_1.requiredId.describe("Group ID or URL-encoded path (e.g., 'my-group' or '123')"),
|
|
55
|
+
scope: exports.SearchScopeSchema,
|
|
56
|
+
})
|
|
57
|
+
.merge(BaseSearchParams)
|
|
58
|
+
.merge(shared_1.PaginationOptionsSchema);
|
|
59
|
+
exports.BrowseSearchSchema = zod_1.z.discriminatedUnion("action", [
|
|
60
|
+
GlobalSearchSchema,
|
|
61
|
+
ProjectSearchSchema,
|
|
62
|
+
GroupSearchSchema,
|
|
63
|
+
]);
|
|
64
|
+
//# sourceMappingURL=schema-readonly.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-readonly.js","sourceRoot":"","sources":["../../../../src/entities/search/schema-readonly.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sCAAoD;AACpD,oCAAsC;AAMzB,QAAA,iBAAiB,GAAG,OAAC;KAC/B,IAAI,CAAC;IACJ,UAAU;IACV,QAAQ;IACR,gBAAgB;IAChB,YAAY;IACZ,gBAAgB;IAChB,OAAO;IACP,QAAQ;IACR,OAAO;IACP,SAAS;IACT,YAAY;IACZ,OAAO;CACR,CAAC;KACD,QAAQ,CAAC,2DAA2D,CAAC,CAAC;AAMzE,MAAM,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IAC/E,KAAK,EAAE,OAAC;SACL,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;SAC3C,QAAQ,EAAE;SACV,QAAQ,CAAC,wDAAwD,CAAC;IACrE,YAAY,EAAE,OAAC;SACZ,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,4DAA4D,CAAC;IACzE,QAAQ,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAC3F,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;CACpE,CAAC,CAAC;AASH,MAAM,kBAAkB,GAAG,OAAC;KACzB,MAAM,CAAC;IACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAC5E,KAAK,EAAE,yBAAiB;CACzB,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC;KACvB,KAAK,CAAC,gCAAuB,CAAC,CAAC;AAGlC,MAAM,mBAAmB,GAAG,OAAC;KAC1B,MAAM,CAAC;IACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACzE,UAAU,EAAE,kBAAU,CAAC,QAAQ,CAC7B,iEAAiE,CAClE;IACD,KAAK,EAAE,yBAAiB;IACxB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uDAAuD,CAAC;CAC7F,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC;KACvB,KAAK,CAAC,gCAAuB,CAAC,CAAC;AAGlC,MAAM,iBAAiB,GAAG,OAAC;KACxB,MAAM,CAAC;IACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,kDAAkD,CAAC;IACvF,QAAQ,EAAE,kBAAU,CAAC,QAAQ,CAAC,0DAA0D,CAAC;IACzF,KAAK,EAAE,yBAAiB;CACzB,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC;KACvB,KAAK,CAAC,gCAAuB,CAAC,CAAC;AAGrB,QAAA,kBAAkB,GAAG,OAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC/D,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PaginationOptionsSchema: z.ZodObject<{
|
|
3
|
+
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const GitLabMilestoneSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodCoercedString<unknown>;
|
|
8
|
+
iid: z.ZodCoercedString<unknown>;
|
|
9
|
+
title: z.ZodString;
|
|
10
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
state: z.ZodString;
|
|
12
|
+
web_url: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export declare const GitLabAuthorSchema: z.ZodObject<{
|
|
15
|
+
name: z.ZodString;
|
|
16
|
+
email: z.ZodString;
|
|
17
|
+
date: z.ZodString;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare const GitLabUserSchema: z.ZodObject<{
|
|
20
|
+
id: z.ZodCoercedString<unknown>;
|
|
21
|
+
username: z.ZodString;
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export declare const GitLabNamespaceSchema: z.ZodObject<{
|
|
26
|
+
id: z.ZodCoercedString<unknown>;
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
path: z.ZodString;
|
|
29
|
+
kind: z.ZodString;
|
|
30
|
+
full_path: z.ZodString;
|
|
31
|
+
parent_id: z.ZodNullable<z.ZodCoercedString<unknown>>;
|
|
32
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
web_url: z.ZodString;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export declare const ProjectParamsSchema: z.ZodObject<{
|
|
36
|
+
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export declare const GitLabProjectSchema: z.ZodObject<{
|
|
39
|
+
id: z.ZodCoercedString<unknown>;
|
|
40
|
+
description: z.ZodNullable<z.ZodString>;
|
|
41
|
+
name: z.ZodString;
|
|
42
|
+
name_with_namespace: z.ZodString;
|
|
43
|
+
path: z.ZodString;
|
|
44
|
+
path_with_namespace: z.ZodString;
|
|
45
|
+
created_at: z.ZodString;
|
|
46
|
+
default_branch: z.ZodNullable<z.ZodString>;
|
|
47
|
+
tag_list: z.ZodArray<z.ZodString>;
|
|
48
|
+
topics: z.ZodArray<z.ZodString>;
|
|
49
|
+
ssh_url_to_repo: z.ZodString;
|
|
50
|
+
http_url_to_repo: z.ZodString;
|
|
51
|
+
web_url: z.ZodString;
|
|
52
|
+
readme_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
forks_count: z.ZodNumber;
|
|
54
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
55
|
+
star_count: z.ZodNumber;
|
|
56
|
+
last_activity_at: z.ZodString;
|
|
57
|
+
visibility: z.ZodEnum<{
|
|
58
|
+
public: "public";
|
|
59
|
+
internal: "internal";
|
|
60
|
+
private: "private";
|
|
61
|
+
}>;
|
|
62
|
+
namespace: z.ZodObject<{
|
|
63
|
+
id: z.ZodCoercedString<unknown>;
|
|
64
|
+
name: z.ZodString;
|
|
65
|
+
path: z.ZodString;
|
|
66
|
+
kind: z.ZodString;
|
|
67
|
+
full_path: z.ZodString;
|
|
68
|
+
parent_id: z.ZodNullable<z.ZodCoercedString<unknown>>;
|
|
69
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
+
web_url: z.ZodString;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
repository_storage: z.ZodOptional<z.ZodString>;
|
|
73
|
+
container_registry_image_prefix: z.ZodOptional<z.ZodString>;
|
|
74
|
+
_links: z.ZodObject<{
|
|
75
|
+
self: z.ZodString;
|
|
76
|
+
issues: z.ZodString;
|
|
77
|
+
merge_requests: z.ZodString;
|
|
78
|
+
repo_branches: z.ZodString;
|
|
79
|
+
labels: z.ZodString;
|
|
80
|
+
events: z.ZodString;
|
|
81
|
+
members: z.ZodString;
|
|
82
|
+
cluster_agents: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
marked_for_deletion_at: z.ZodNullable<z.ZodString>;
|
|
85
|
+
marked_for_deletion_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
packages_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
87
|
+
empty_repo: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
88
|
+
archived: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
89
|
+
resolve_outdated_diff_discussions: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
90
|
+
container_expiration_policy: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
cadence: z.ZodString;
|
|
92
|
+
enabled: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
93
|
+
keep_n: z.ZodNumber;
|
|
94
|
+
older_than: z.ZodString;
|
|
95
|
+
name_regex: z.ZodString;
|
|
96
|
+
name_regex_keep: z.ZodNullable<z.ZodString>;
|
|
97
|
+
next_run_at: z.ZodString;
|
|
98
|
+
}, z.core.$strip>>;
|
|
99
|
+
repository_object_format: z.ZodOptional<z.ZodString>;
|
|
100
|
+
issues_enabled: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
101
|
+
merge_requests_enabled: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
102
|
+
wiki_enabled: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
103
|
+
jobs_enabled: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
104
|
+
snippets_enabled: z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
105
|
+
container_registry_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
106
|
+
service_desk_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
107
|
+
service_desk_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
|
+
can_create_merge_request_in: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
109
|
+
issues_access_level: z.ZodString;
|
|
110
|
+
repository_access_level: z.ZodString;
|
|
111
|
+
merge_requests_access_level: z.ZodString;
|
|
112
|
+
forking_access_level: z.ZodOptional<z.ZodString>;
|
|
113
|
+
wiki_access_level: z.ZodString;
|
|
114
|
+
builds_access_level: z.ZodString;
|
|
115
|
+
snippets_access_level: z.ZodString;
|
|
116
|
+
pages_access_level: z.ZodOptional<z.ZodString>;
|
|
117
|
+
analytics_access_level: z.ZodOptional<z.ZodString>;
|
|
118
|
+
container_registry_access_level: z.ZodOptional<z.ZodString>;
|
|
119
|
+
security_and_compliance_access_level: z.ZodOptional<z.ZodString>;
|
|
120
|
+
releases_access_level: z.ZodOptional<z.ZodString>;
|
|
121
|
+
environments_access_level: z.ZodOptional<z.ZodString>;
|
|
122
|
+
feature_flags_access_level: z.ZodOptional<z.ZodString>;
|
|
123
|
+
infrastructure_access_level: z.ZodOptional<z.ZodString>;
|
|
124
|
+
monitor_access_level: z.ZodOptional<z.ZodString>;
|
|
125
|
+
model_experiments_access_level: z.ZodOptional<z.ZodString>;
|
|
126
|
+
model_registry_access_level: z.ZodOptional<z.ZodString>;
|
|
127
|
+
emails_disabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
128
|
+
emails_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
129
|
+
shared_runners_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
130
|
+
lfs_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
131
|
+
creator_id: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
132
|
+
import_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
import_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
|
+
import_status: z.ZodOptional<z.ZodString>;
|
|
135
|
+
import_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
open_issues_count: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
description_html: z.ZodOptional<z.ZodString>;
|
|
138
|
+
updated_at: z.ZodString;
|
|
139
|
+
ci_default_git_depth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
140
|
+
ci_delete_pipelines_in_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
141
|
+
ci_forward_deployment_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
142
|
+
ci_forward_deployment_rollback_allowed: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
143
|
+
ci_job_token_scope_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
144
|
+
ci_separated_caches: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
145
|
+
ci_allow_fork_pipelines_to_run_in_parent_project: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
146
|
+
ci_id_token_sub_claim_components: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
+
build_git_strategy: z.ZodOptional<z.ZodString>;
|
|
148
|
+
keep_latest_artifact: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
149
|
+
restrict_user_defined_variables: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
150
|
+
ci_pipeline_variables_minimum_override_role: z.ZodOptional<z.ZodString>;
|
|
151
|
+
runner_token_expiration_interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
152
|
+
group_runners_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
153
|
+
auto_cancel_pending_pipelines: z.ZodOptional<z.ZodString>;
|
|
154
|
+
build_timeout: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
auto_devops_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
156
|
+
auto_devops_deploy_strategy: z.ZodOptional<z.ZodString>;
|
|
157
|
+
ci_push_repository_for_job_token_allowed: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
158
|
+
runners_token: z.ZodOptional<z.ZodString>;
|
|
159
|
+
ci_config_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
public_jobs: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
161
|
+
shared_with_groups: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
162
|
+
only_allow_merge_if_pipeline_succeeds: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
163
|
+
allow_merge_on_skipped_pipeline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
164
|
+
request_access_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
165
|
+
only_allow_merge_if_all_discussions_are_resolved: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
166
|
+
remove_source_branch_after_merge: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
167
|
+
printing_merge_request_link_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
168
|
+
merge_method: z.ZodOptional<z.ZodString>;
|
|
169
|
+
merge_request_title_regex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
|
+
merge_request_title_regex_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
+
squash_option: z.ZodOptional<z.ZodString>;
|
|
172
|
+
enforce_auth_checks_on_uploads: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
173
|
+
suggestion_commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
|
+
merge_commit_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
squash_commit_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
|
+
issue_branch_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
|
+
warn_about_potentially_unwanted_characters: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
178
|
+
autoclose_referenced_issues: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
179
|
+
max_artifacts_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
180
|
+
approvals_before_merge: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
mirror: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
182
|
+
external_authorization_classification_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
|
+
requirements_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
184
|
+
requirements_access_level: z.ZodOptional<z.ZodString>;
|
|
185
|
+
security_and_compliance_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
186
|
+
secret_push_protection_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
187
|
+
pre_receive_secret_detection_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
188
|
+
compliance_frameworks: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
189
|
+
issues_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
|
+
merge_requests_template: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
|
+
ci_restrict_pipeline_cancellation_role: z.ZodOptional<z.ZodString>;
|
|
192
|
+
merge_pipelines_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
193
|
+
merge_trains_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
194
|
+
merge_trains_skip_train_allowed: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
195
|
+
only_allow_merge_if_all_status_checks_passed: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
196
|
+
allow_pipeline_trigger_approve_deployment: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
197
|
+
prevent_merge_without_jira_issue: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
198
|
+
duo_remote_flows_enabled: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
199
|
+
spp_repository_pipeline_access: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
200
|
+
permissions: z.ZodOptional<z.ZodObject<{
|
|
201
|
+
project_access: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
202
|
+
access_level: z.ZodNumber;
|
|
203
|
+
notification_level: z.ZodNumber;
|
|
204
|
+
}, z.core.$strip>>>;
|
|
205
|
+
group_access: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
206
|
+
access_level: z.ZodNumber;
|
|
207
|
+
notification_level: z.ZodNumber;
|
|
208
|
+
}, z.core.$strip>>>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
210
|
+
}, z.core.$strip>;
|
|
211
|
+
export declare const GitLabLabelSchema: z.ZodObject<{
|
|
212
|
+
id: z.ZodCoercedString<unknown>;
|
|
213
|
+
name: z.ZodString;
|
|
214
|
+
color: z.ZodString;
|
|
215
|
+
text_color: z.ZodOptional<z.ZodString>;
|
|
216
|
+
description: z.ZodNullable<z.ZodString>;
|
|
217
|
+
description_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
open_issues_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
219
|
+
closed_issues_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
220
|
+
open_merge_requests_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
221
|
+
subscribed: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>>;
|
|
222
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
223
|
+
is_project_label: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
export declare const GitLabIssueSchema: z.ZodObject<{
|
|
226
|
+
id: z.ZodCoercedString<unknown>;
|
|
227
|
+
iid: z.ZodCoercedString<unknown>;
|
|
228
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
229
|
+
title: z.ZodString;
|
|
230
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
231
|
+
state: z.ZodString;
|
|
232
|
+
author: z.ZodObject<{
|
|
233
|
+
id: z.ZodCoercedString<unknown>;
|
|
234
|
+
username: z.ZodString;
|
|
235
|
+
name: z.ZodString;
|
|
236
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
assignees: z.ZodArray<z.ZodObject<{
|
|
239
|
+
id: z.ZodCoercedString<unknown>;
|
|
240
|
+
username: z.ZodString;
|
|
241
|
+
name: z.ZodString;
|
|
242
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
labels: z.ZodArray<z.ZodString>;
|
|
245
|
+
milestone: z.ZodNullable<z.ZodObject<{
|
|
246
|
+
id: z.ZodCoercedString<unknown>;
|
|
247
|
+
iid: z.ZodCoercedString<unknown>;
|
|
248
|
+
title: z.ZodString;
|
|
249
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
250
|
+
state: z.ZodString;
|
|
251
|
+
web_url: z.ZodString;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
254
|
+
ISSUE: "ISSUE";
|
|
255
|
+
INCIDENT: "INCIDENT";
|
|
256
|
+
TEST_CASE: "TEST_CASE";
|
|
257
|
+
TASK: "TASK";
|
|
258
|
+
}>>;
|
|
259
|
+
user_notes_count: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
merge_requests_count: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
upvotes: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
downvotes: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
264
|
+
confidential: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
265
|
+
discussion_locked: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>> | z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>>>;
|
|
266
|
+
issue_type: z.ZodOptional<z.ZodString>;
|
|
267
|
+
web_url: z.ZodString;
|
|
268
|
+
time_stats: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
time_estimate: z.ZodNumber;
|
|
270
|
+
total_time_spent: z.ZodNumber;
|
|
271
|
+
human_time_estimate: z.ZodNullable<z.ZodString>;
|
|
272
|
+
human_total_time_spent: z.ZodNullable<z.ZodString>;
|
|
273
|
+
}, z.core.$strip>>;
|
|
274
|
+
task_completion_status: z.ZodOptional<z.ZodObject<{
|
|
275
|
+
count: z.ZodNumber;
|
|
276
|
+
completed_count: z.ZodNumber;
|
|
277
|
+
}, z.core.$strip>>;
|
|
278
|
+
blocking_issues_count: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
has_tasks: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
280
|
+
task_status: z.ZodOptional<z.ZodString>;
|
|
281
|
+
created_at: z.ZodString;
|
|
282
|
+
updated_at: z.ZodString;
|
|
283
|
+
closed_at: z.ZodNullable<z.ZodString>;
|
|
284
|
+
closed_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
285
|
+
id: z.ZodCoercedString<unknown>;
|
|
286
|
+
username: z.ZodString;
|
|
287
|
+
name: z.ZodString;
|
|
288
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
289
|
+
}, z.core.$strip>>>;
|
|
290
|
+
service_desk_reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
|
+
}, z.core.$strip>;
|