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,659 @@
|
|
|
1
|
+
import { TypedDocumentNode } from "@graphql-typed-document-node/core";
|
|
2
|
+
export interface WorkItem {
|
|
3
|
+
id: string;
|
|
4
|
+
iid: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
state: WorkItemState;
|
|
8
|
+
workItemType: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
widgets: WorkItemWidget[];
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
closedAt?: string;
|
|
16
|
+
webUrl: string;
|
|
17
|
+
}
|
|
18
|
+
export interface WorkItemUpdateInput {
|
|
19
|
+
id: string;
|
|
20
|
+
title?: string;
|
|
21
|
+
stateEvent?: string;
|
|
22
|
+
descriptionWidget?: {
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
assigneesWidget?: {
|
|
26
|
+
assigneeIds: string[];
|
|
27
|
+
};
|
|
28
|
+
labelsWidget?: {
|
|
29
|
+
addLabelIds?: string[];
|
|
30
|
+
removeLabelIds?: string[];
|
|
31
|
+
};
|
|
32
|
+
milestoneWidget?: {
|
|
33
|
+
milestoneId: string;
|
|
34
|
+
};
|
|
35
|
+
startAndDueDateWidget?: {
|
|
36
|
+
startDate?: string | null;
|
|
37
|
+
dueDate?: string | null;
|
|
38
|
+
isFixed?: boolean;
|
|
39
|
+
};
|
|
40
|
+
hierarchyWidget?: {
|
|
41
|
+
parentId?: string | null;
|
|
42
|
+
childrenIds?: string[];
|
|
43
|
+
adjacentWorkItemId?: string;
|
|
44
|
+
relativePosition?: "BEFORE" | "AFTER";
|
|
45
|
+
};
|
|
46
|
+
timeTrackingWidget?: {
|
|
47
|
+
timeEstimate?: string;
|
|
48
|
+
timelog?: {
|
|
49
|
+
timeSpent: string;
|
|
50
|
+
spentAt?: string;
|
|
51
|
+
summary?: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
weightWidget?: {
|
|
55
|
+
weight?: number | null;
|
|
56
|
+
};
|
|
57
|
+
iterationWidget?: {
|
|
58
|
+
iterationId?: string | null;
|
|
59
|
+
};
|
|
60
|
+
healthStatusWidget?: {
|
|
61
|
+
healthStatus?: string | null;
|
|
62
|
+
};
|
|
63
|
+
progressWidget?: {
|
|
64
|
+
currentValue: number;
|
|
65
|
+
};
|
|
66
|
+
colorWidget?: {
|
|
67
|
+
color: string;
|
|
68
|
+
};
|
|
69
|
+
verificationStatusWidget?: {
|
|
70
|
+
verificationStatus: "PASSED" | "FAILED";
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export type WorkItemState = "OPEN" | "CLOSED";
|
|
74
|
+
export type WorkItemTypeEnum = "EPIC" | "ISSUE" | "TASK" | "INCIDENT" | "TEST_CASE" | "REQUIREMENT" | "OBJECTIVE" | "KEY_RESULT";
|
|
75
|
+
export declare const WorkItemWidgetTypes: {
|
|
76
|
+
readonly ASSIGNEES: "ASSIGNEES";
|
|
77
|
+
readonly DESCRIPTION: "DESCRIPTION";
|
|
78
|
+
readonly HIERARCHY: "HIERARCHY";
|
|
79
|
+
readonly LABELS: "LABELS";
|
|
80
|
+
readonly MILESTONE: "MILESTONE";
|
|
81
|
+
readonly NOTES: "NOTES";
|
|
82
|
+
readonly START_AND_DUE_DATE: "START_AND_DUE_DATE";
|
|
83
|
+
readonly HEALTH_STATUS: "HEALTH_STATUS";
|
|
84
|
+
readonly WEIGHT: "WEIGHT";
|
|
85
|
+
readonly ITERATION: "ITERATION";
|
|
86
|
+
readonly PROGRESS: "PROGRESS";
|
|
87
|
+
readonly STATUS: "STATUS";
|
|
88
|
+
readonly REQUIREMENT_LEGACY: "REQUIREMENT_LEGACY";
|
|
89
|
+
readonly TEST_REPORTS: "TEST_REPORTS";
|
|
90
|
+
readonly NOTIFICATIONS: "NOTIFICATIONS";
|
|
91
|
+
readonly CURRENT_USER_TODOS: "CURRENT_USER_TODOS";
|
|
92
|
+
readonly AWARD_EMOJI: "AWARD_EMOJI";
|
|
93
|
+
readonly LINKED_ITEMS: "LINKED_ITEMS";
|
|
94
|
+
readonly COLOR: "COLOR";
|
|
95
|
+
readonly PARTICIPANTS: "PARTICIPANTS";
|
|
96
|
+
readonly DESIGNS: "DESIGNS";
|
|
97
|
+
readonly DEVELOPMENT: "DEVELOPMENT";
|
|
98
|
+
readonly CRM_CONTACTS: "CRM_CONTACTS";
|
|
99
|
+
readonly TIME_TRACKING: "TIME_TRACKING";
|
|
100
|
+
readonly EMAIL_PARTICIPANTS: "EMAIL_PARTICIPANTS";
|
|
101
|
+
readonly CUSTOM_FIELDS: "CUSTOM_FIELDS";
|
|
102
|
+
readonly ERROR_TRACKING: "ERROR_TRACKING";
|
|
103
|
+
readonly LINKED_RESOURCES: "LINKED_RESOURCES";
|
|
104
|
+
readonly VULNERABILITIES: "VULNERABILITIES";
|
|
105
|
+
readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
|
|
106
|
+
};
|
|
107
|
+
export type WorkItemWidgetType = (typeof WorkItemWidgetTypes)[keyof typeof WorkItemWidgetTypes];
|
|
108
|
+
export interface WorkItemWidget {
|
|
109
|
+
type: WorkItemWidgetType;
|
|
110
|
+
}
|
|
111
|
+
export interface WorkItemAssigneesWidget extends WorkItemWidget {
|
|
112
|
+
type: "ASSIGNEES";
|
|
113
|
+
allowsMultipleAssignees: boolean;
|
|
114
|
+
canInviteMembers: boolean;
|
|
115
|
+
assignees: {
|
|
116
|
+
nodes: User[];
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
export interface WorkItemDescriptionWidget extends WorkItemWidget {
|
|
120
|
+
type: "DESCRIPTION";
|
|
121
|
+
description: string;
|
|
122
|
+
descriptionHtml: string;
|
|
123
|
+
edited: boolean;
|
|
124
|
+
lastEditedAt?: string;
|
|
125
|
+
lastEditedBy?: User;
|
|
126
|
+
}
|
|
127
|
+
export interface WorkItemHierarchyWidget extends WorkItemWidget {
|
|
128
|
+
type: "HIERARCHY";
|
|
129
|
+
parent?: WorkItem;
|
|
130
|
+
children: {
|
|
131
|
+
nodes: WorkItem[];
|
|
132
|
+
};
|
|
133
|
+
hasChildren: boolean;
|
|
134
|
+
}
|
|
135
|
+
export interface WorkItemLabelsWidget extends WorkItemWidget {
|
|
136
|
+
type: "LABELS";
|
|
137
|
+
allowsScopedLabels: boolean;
|
|
138
|
+
labels: {
|
|
139
|
+
nodes: Label[];
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
export interface User {
|
|
143
|
+
id: string;
|
|
144
|
+
username: string;
|
|
145
|
+
name: string;
|
|
146
|
+
avatarUrl?: string;
|
|
147
|
+
webUrl: string;
|
|
148
|
+
}
|
|
149
|
+
export interface Label {
|
|
150
|
+
id: string;
|
|
151
|
+
title: string;
|
|
152
|
+
description?: string;
|
|
153
|
+
color: string;
|
|
154
|
+
textColor: string;
|
|
155
|
+
}
|
|
156
|
+
export interface Milestone {
|
|
157
|
+
id: string;
|
|
158
|
+
title: string;
|
|
159
|
+
description?: string;
|
|
160
|
+
state: MilestoneStateEnum;
|
|
161
|
+
dueDate?: string;
|
|
162
|
+
startDate?: string;
|
|
163
|
+
webUrl: string;
|
|
164
|
+
}
|
|
165
|
+
export type MilestoneStateEnum = "active" | "closed";
|
|
166
|
+
export interface WorkItemMilestoneWidget extends WorkItemWidget {
|
|
167
|
+
type: "MILESTONE";
|
|
168
|
+
milestone?: Milestone;
|
|
169
|
+
}
|
|
170
|
+
export interface WorkItemNotesWidget extends WorkItemWidget {
|
|
171
|
+
type: "NOTES";
|
|
172
|
+
discussions: {
|
|
173
|
+
nodes: Discussion[];
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
export interface WorkItemStartAndDueDateWidget extends WorkItemWidget {
|
|
177
|
+
type: "START_AND_DUE_DATE";
|
|
178
|
+
startDate?: string;
|
|
179
|
+
dueDate?: string;
|
|
180
|
+
isFixed: boolean;
|
|
181
|
+
}
|
|
182
|
+
export interface WorkItemHealthStatusWidget extends WorkItemWidget {
|
|
183
|
+
type: "HEALTH_STATUS";
|
|
184
|
+
healthStatus?: HealthStatusEnum;
|
|
185
|
+
}
|
|
186
|
+
export interface WorkItemWeightWidget extends WorkItemWidget {
|
|
187
|
+
type: "WEIGHT";
|
|
188
|
+
weight?: number;
|
|
189
|
+
}
|
|
190
|
+
export interface WorkItemStatusWidget extends WorkItemWidget {
|
|
191
|
+
type: "STATUS";
|
|
192
|
+
status?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface WorkItemTimelog {
|
|
195
|
+
id: string;
|
|
196
|
+
timeSpent: number;
|
|
197
|
+
spentAt?: string;
|
|
198
|
+
summary?: string;
|
|
199
|
+
user?: {
|
|
200
|
+
id: string;
|
|
201
|
+
username: string;
|
|
202
|
+
};
|
|
203
|
+
note?: {
|
|
204
|
+
body: string;
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
export interface WorkItemTimeTrackingWidget extends WorkItemWidget {
|
|
208
|
+
type: "TIME_TRACKING";
|
|
209
|
+
timeEstimate?: number;
|
|
210
|
+
totalTimeSpent?: number;
|
|
211
|
+
humanTimeEstimate?: string;
|
|
212
|
+
humanTotalTimeSpent?: string;
|
|
213
|
+
timelogs?: {
|
|
214
|
+
nodes: WorkItemTimelog[];
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
export interface WorkItemParticipantsWidget extends WorkItemWidget {
|
|
218
|
+
type: "PARTICIPANTS";
|
|
219
|
+
participants: {
|
|
220
|
+
nodes: User[];
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
export interface WorkItemProgressWidget extends WorkItemWidget {
|
|
224
|
+
type: "PROGRESS";
|
|
225
|
+
currentValue?: number;
|
|
226
|
+
endValue?: number;
|
|
227
|
+
progress?: number;
|
|
228
|
+
startValue?: number;
|
|
229
|
+
}
|
|
230
|
+
export interface WorkItemIterationWidget extends WorkItemWidget {
|
|
231
|
+
type: "ITERATION";
|
|
232
|
+
iteration?: {
|
|
233
|
+
id: string;
|
|
234
|
+
title: string;
|
|
235
|
+
startDate?: string;
|
|
236
|
+
dueDate?: string;
|
|
237
|
+
webUrl?: string;
|
|
238
|
+
iterationCadence?: {
|
|
239
|
+
id: string;
|
|
240
|
+
title: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
export interface WorkItemRequirementLegacyWidget extends WorkItemWidget {
|
|
245
|
+
type: "REQUIREMENT_LEGACY";
|
|
246
|
+
}
|
|
247
|
+
export interface WorkItemTestReportsWidget extends WorkItemWidget {
|
|
248
|
+
type: "TEST_REPORTS";
|
|
249
|
+
testReports?: {
|
|
250
|
+
nodes: TestReport[];
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
export interface WorkItemVerificationStatusWidget extends WorkItemWidget {
|
|
254
|
+
type: "VERIFICATION_STATUS";
|
|
255
|
+
verificationStatus?: string;
|
|
256
|
+
}
|
|
257
|
+
export interface WorkItemNotificationsWidget extends WorkItemWidget {
|
|
258
|
+
type: "NOTIFICATIONS";
|
|
259
|
+
subscribed: boolean;
|
|
260
|
+
emailsDisabled: boolean;
|
|
261
|
+
}
|
|
262
|
+
export interface WorkItemCurrentUserTodosWidget extends WorkItemWidget {
|
|
263
|
+
type: "CURRENT_USER_TODOS";
|
|
264
|
+
currentUserTodos: {
|
|
265
|
+
nodes: Todo[];
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
export interface WorkItemAwardEmojiWidget extends WorkItemWidget {
|
|
269
|
+
type: "AWARD_EMOJI";
|
|
270
|
+
awardEmoji: {
|
|
271
|
+
nodes: AwardEmoji[];
|
|
272
|
+
};
|
|
273
|
+
upvotes: number;
|
|
274
|
+
downvotes: number;
|
|
275
|
+
}
|
|
276
|
+
export interface WorkItemLinkedItemNode {
|
|
277
|
+
linkType: string;
|
|
278
|
+
workItem: WorkItem;
|
|
279
|
+
}
|
|
280
|
+
export interface WorkItemLinkedItemsWidget extends WorkItemWidget {
|
|
281
|
+
type: "LINKED_ITEMS";
|
|
282
|
+
linkedItems: {
|
|
283
|
+
nodes: WorkItemLinkedItemNode[];
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
export interface WorkItemColorWidget extends WorkItemWidget {
|
|
287
|
+
type: "COLOR";
|
|
288
|
+
color?: string;
|
|
289
|
+
}
|
|
290
|
+
export interface WorkItemDesignsWidget extends WorkItemWidget {
|
|
291
|
+
type: "DESIGNS";
|
|
292
|
+
designs: {
|
|
293
|
+
nodes: Design[];
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
export interface WorkItemDevelopmentWidget extends WorkItemWidget {
|
|
297
|
+
type: "DEVELOPMENT";
|
|
298
|
+
closingMergeRequests: {
|
|
299
|
+
nodes: MergeRequest[];
|
|
300
|
+
};
|
|
301
|
+
featureFlags: {
|
|
302
|
+
nodes: FeatureFlag[];
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
export interface WorkItemCrmContactsWidget extends WorkItemWidget {
|
|
306
|
+
type: "CRM_CONTACTS";
|
|
307
|
+
contacts: {
|
|
308
|
+
nodes: Contact[];
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
export interface WorkItemEmailParticipantsWidget extends WorkItemWidget {
|
|
312
|
+
type: "EMAIL_PARTICIPANTS";
|
|
313
|
+
emailParticipants: {
|
|
314
|
+
nodes: Array<{
|
|
315
|
+
email: string;
|
|
316
|
+
}>;
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
export interface WorkItemCustomFieldsWidget extends WorkItemWidget {
|
|
320
|
+
type: "CUSTOM_FIELDS";
|
|
321
|
+
customFields: {
|
|
322
|
+
nodes: CustomField[];
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
export interface WorkItemErrorTrackingWidget extends WorkItemWidget {
|
|
326
|
+
type: "ERROR_TRACKING";
|
|
327
|
+
errorTrackingEnabled: boolean;
|
|
328
|
+
errors: {
|
|
329
|
+
nodes: Error[];
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
export interface WorkItemLinkedResourcesWidget extends WorkItemWidget {
|
|
333
|
+
type: "LINKED_RESOURCES";
|
|
334
|
+
linkedResources: {
|
|
335
|
+
nodes: LinkedResource[];
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
export interface WorkItemVulnerabilitiesWidget extends WorkItemWidget {
|
|
339
|
+
type: "VULNERABILITIES";
|
|
340
|
+
relatedVulnerabilities: {
|
|
341
|
+
nodes: Vulnerability[];
|
|
342
|
+
pageInfo: {
|
|
343
|
+
hasNextPage: boolean;
|
|
344
|
+
endCursor?: string;
|
|
345
|
+
};
|
|
346
|
+
count: number;
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
export interface Discussion {
|
|
350
|
+
id: string;
|
|
351
|
+
resolvable: boolean;
|
|
352
|
+
resolved: boolean;
|
|
353
|
+
notes: {
|
|
354
|
+
nodes: Note[];
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
export interface Note {
|
|
358
|
+
id: string;
|
|
359
|
+
body: string;
|
|
360
|
+
author: User;
|
|
361
|
+
createdAt: string;
|
|
362
|
+
updatedAt: string;
|
|
363
|
+
system: boolean;
|
|
364
|
+
}
|
|
365
|
+
export type HealthStatusEnum = "onTrack" | "needsAttention" | "atRisk";
|
|
366
|
+
export interface TestReport {
|
|
367
|
+
id: string;
|
|
368
|
+
state: string;
|
|
369
|
+
createdAt: string;
|
|
370
|
+
author?: {
|
|
371
|
+
id: string;
|
|
372
|
+
username: string;
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
export interface Todo {
|
|
376
|
+
id: string;
|
|
377
|
+
action: string;
|
|
378
|
+
author: User;
|
|
379
|
+
createdAt: string;
|
|
380
|
+
state: string;
|
|
381
|
+
}
|
|
382
|
+
export interface AwardEmoji {
|
|
383
|
+
name: string;
|
|
384
|
+
emoji: string;
|
|
385
|
+
description: string;
|
|
386
|
+
user: User;
|
|
387
|
+
}
|
|
388
|
+
export interface Design {
|
|
389
|
+
id: string;
|
|
390
|
+
filename: string;
|
|
391
|
+
fullPath: string;
|
|
392
|
+
image: string;
|
|
393
|
+
imageV432x230: string;
|
|
394
|
+
}
|
|
395
|
+
export interface MergeRequest {
|
|
396
|
+
id: string;
|
|
397
|
+
iid: string;
|
|
398
|
+
title: string;
|
|
399
|
+
state: string;
|
|
400
|
+
webUrl: string;
|
|
401
|
+
}
|
|
402
|
+
export interface FeatureFlag {
|
|
403
|
+
id: string;
|
|
404
|
+
name: string;
|
|
405
|
+
description?: string;
|
|
406
|
+
active: boolean;
|
|
407
|
+
}
|
|
408
|
+
export interface Contact {
|
|
409
|
+
id: string;
|
|
410
|
+
firstName: string;
|
|
411
|
+
lastName: string;
|
|
412
|
+
email: string;
|
|
413
|
+
phone?: string;
|
|
414
|
+
organization?: string;
|
|
415
|
+
}
|
|
416
|
+
export interface CustomField {
|
|
417
|
+
id: string;
|
|
418
|
+
name: string;
|
|
419
|
+
value: string;
|
|
420
|
+
type: string;
|
|
421
|
+
}
|
|
422
|
+
export interface Error {
|
|
423
|
+
id: string;
|
|
424
|
+
title: string;
|
|
425
|
+
message: string;
|
|
426
|
+
count: number;
|
|
427
|
+
firstSeen: string;
|
|
428
|
+
lastSeen: string;
|
|
429
|
+
}
|
|
430
|
+
export interface LinkedResource {
|
|
431
|
+
id: string;
|
|
432
|
+
url: string;
|
|
433
|
+
type: string;
|
|
434
|
+
title?: string;
|
|
435
|
+
}
|
|
436
|
+
export interface Vulnerability {
|
|
437
|
+
id: string;
|
|
438
|
+
state: string;
|
|
439
|
+
severity: string;
|
|
440
|
+
name: string;
|
|
441
|
+
webUrl: string;
|
|
442
|
+
}
|
|
443
|
+
export declare const GET_GROUP_PROJECTS: TypedDocumentNode<{
|
|
444
|
+
group: {
|
|
445
|
+
projects: {
|
|
446
|
+
nodes: Array<{
|
|
447
|
+
id: string;
|
|
448
|
+
fullPath: string;
|
|
449
|
+
archived: boolean;
|
|
450
|
+
}>;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
}, {
|
|
454
|
+
groupPath: string;
|
|
455
|
+
includeSubgroups?: boolean;
|
|
456
|
+
}>;
|
|
457
|
+
export declare const GET_NAMESPACE_TYPE: TypedDocumentNode<{
|
|
458
|
+
namespace: {
|
|
459
|
+
__typename: string;
|
|
460
|
+
fullPath: string;
|
|
461
|
+
};
|
|
462
|
+
}, {
|
|
463
|
+
namespacePath: string;
|
|
464
|
+
}>;
|
|
465
|
+
export declare const GET_NAMESPACE_WORK_ITEMS: TypedDocumentNode<{
|
|
466
|
+
namespace: {
|
|
467
|
+
__typename: string;
|
|
468
|
+
fullPath: string;
|
|
469
|
+
workItems?: {
|
|
470
|
+
nodes: WorkItem[];
|
|
471
|
+
pageInfo: {
|
|
472
|
+
hasNextPage: boolean;
|
|
473
|
+
endCursor?: string;
|
|
474
|
+
};
|
|
475
|
+
} | null;
|
|
476
|
+
} | null;
|
|
477
|
+
}, {
|
|
478
|
+
namespacePath: string;
|
|
479
|
+
types?: string[];
|
|
480
|
+
first?: number;
|
|
481
|
+
after?: string;
|
|
482
|
+
}>;
|
|
483
|
+
export declare const GET_WORK_ITEMS: TypedDocumentNode<{
|
|
484
|
+
group: {
|
|
485
|
+
workItems: {
|
|
486
|
+
nodes: WorkItem[];
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
}, {
|
|
490
|
+
groupPath: string;
|
|
491
|
+
types?: string[];
|
|
492
|
+
first?: number;
|
|
493
|
+
after?: string;
|
|
494
|
+
}>;
|
|
495
|
+
export declare const GET_PROJECT_WORK_ITEMS: TypedDocumentNode<{
|
|
496
|
+
project: {
|
|
497
|
+
workItems: {
|
|
498
|
+
nodes: WorkItem[];
|
|
499
|
+
pageInfo: {
|
|
500
|
+
hasNextPage: boolean;
|
|
501
|
+
endCursor?: string;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
}, {
|
|
506
|
+
projectPath: string;
|
|
507
|
+
types?: string[];
|
|
508
|
+
first?: number;
|
|
509
|
+
after?: string;
|
|
510
|
+
}>;
|
|
511
|
+
export declare const GET_WORK_ITEM_BY_IID: TypedDocumentNode<{
|
|
512
|
+
namespace: {
|
|
513
|
+
workItem: WorkItem | null;
|
|
514
|
+
} | null;
|
|
515
|
+
}, {
|
|
516
|
+
namespacePath: string;
|
|
517
|
+
iid: string;
|
|
518
|
+
}>;
|
|
519
|
+
export declare const GET_WORK_ITEM: TypedDocumentNode<{
|
|
520
|
+
workItem: WorkItem;
|
|
521
|
+
}, {
|
|
522
|
+
id: string;
|
|
523
|
+
}>;
|
|
524
|
+
export declare const CREATE_WORK_ITEM: TypedDocumentNode<{
|
|
525
|
+
workItemCreate: {
|
|
526
|
+
workItem: WorkItem;
|
|
527
|
+
errors: string[];
|
|
528
|
+
};
|
|
529
|
+
}, {
|
|
530
|
+
namespacePath: string;
|
|
531
|
+
title: string;
|
|
532
|
+
workItemTypeId: string;
|
|
533
|
+
}>;
|
|
534
|
+
export declare const CREATE_WORK_ITEM_WITH_DESCRIPTION: TypedDocumentNode<{
|
|
535
|
+
workItemCreate: {
|
|
536
|
+
workItem: WorkItem;
|
|
537
|
+
errors: string[];
|
|
538
|
+
};
|
|
539
|
+
}, {
|
|
540
|
+
namespacePath: string;
|
|
541
|
+
title: string;
|
|
542
|
+
workItemTypeId: string;
|
|
543
|
+
description: string;
|
|
544
|
+
}>;
|
|
545
|
+
export declare const UPDATE_WORK_ITEM: TypedDocumentNode<{
|
|
546
|
+
workItemUpdate: {
|
|
547
|
+
workItem: WorkItem;
|
|
548
|
+
errors: string[];
|
|
549
|
+
};
|
|
550
|
+
}, {
|
|
551
|
+
input: WorkItemUpdateInput;
|
|
552
|
+
}>;
|
|
553
|
+
export declare const DELETE_WORK_ITEM: TypedDocumentNode<{
|
|
554
|
+
workItemDelete: {
|
|
555
|
+
errors: string[];
|
|
556
|
+
};
|
|
557
|
+
}, {
|
|
558
|
+
id: string;
|
|
559
|
+
}>;
|
|
560
|
+
export declare const TIMELOG_DELETE: TypedDocumentNode<{
|
|
561
|
+
timelogDelete: {
|
|
562
|
+
timelog: {
|
|
563
|
+
id: string;
|
|
564
|
+
timeSpent: number;
|
|
565
|
+
spentAt: string;
|
|
566
|
+
summary: string | null;
|
|
567
|
+
} | null;
|
|
568
|
+
errors: string[];
|
|
569
|
+
};
|
|
570
|
+
}, {
|
|
571
|
+
id: string;
|
|
572
|
+
}>;
|
|
573
|
+
export declare const GET_WORK_ITEM_TYPES: TypedDocumentNode<{
|
|
574
|
+
namespace: {
|
|
575
|
+
workItemTypes: {
|
|
576
|
+
nodes: {
|
|
577
|
+
id: string;
|
|
578
|
+
name: string;
|
|
579
|
+
}[];
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
}, {
|
|
583
|
+
namespacePath: string;
|
|
584
|
+
}>;
|
|
585
|
+
export interface WorkItemCreateInput {
|
|
586
|
+
namespacePath: string;
|
|
587
|
+
title: string;
|
|
588
|
+
workItemTypeId: string;
|
|
589
|
+
description?: string;
|
|
590
|
+
assigneesWidget?: {
|
|
591
|
+
assigneeIds: string[];
|
|
592
|
+
};
|
|
593
|
+
labelsWidget?: {
|
|
594
|
+
labelIds: string[];
|
|
595
|
+
};
|
|
596
|
+
milestoneWidget?: {
|
|
597
|
+
milestoneId: string;
|
|
598
|
+
};
|
|
599
|
+
startAndDueDateWidget?: {
|
|
600
|
+
startDate?: string | null;
|
|
601
|
+
dueDate?: string | null;
|
|
602
|
+
isFixed?: boolean;
|
|
603
|
+
};
|
|
604
|
+
hierarchyWidget?: {
|
|
605
|
+
parentId?: string | null;
|
|
606
|
+
childrenIds?: string[];
|
|
607
|
+
};
|
|
608
|
+
weightWidget?: {
|
|
609
|
+
weight?: number | null;
|
|
610
|
+
};
|
|
611
|
+
iterationWidget?: {
|
|
612
|
+
iterationId?: string | null;
|
|
613
|
+
};
|
|
614
|
+
healthStatusWidget?: {
|
|
615
|
+
healthStatus?: string | null;
|
|
616
|
+
};
|
|
617
|
+
progressWidget?: {
|
|
618
|
+
currentValue: number;
|
|
619
|
+
};
|
|
620
|
+
colorWidget?: {
|
|
621
|
+
color: string;
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
export declare const CREATE_WORK_ITEM_WITH_WIDGETS: TypedDocumentNode<{
|
|
625
|
+
workItemCreate: {
|
|
626
|
+
workItem: WorkItem;
|
|
627
|
+
errors: string[];
|
|
628
|
+
};
|
|
629
|
+
}, {
|
|
630
|
+
input: WorkItemCreateInput;
|
|
631
|
+
}>;
|
|
632
|
+
export type WorkItemLinkType = "RELATED" | "BLOCKS" | "BLOCKED_BY";
|
|
633
|
+
export interface WorkItemAddLinkedItemsInput {
|
|
634
|
+
id: string;
|
|
635
|
+
workItemsIds: string[];
|
|
636
|
+
linkType: WorkItemLinkType;
|
|
637
|
+
}
|
|
638
|
+
export interface WorkItemRemoveLinkedItemsInput {
|
|
639
|
+
id: string;
|
|
640
|
+
workItemsIds: string[];
|
|
641
|
+
}
|
|
642
|
+
export declare const WORK_ITEM_ADD_LINKED_ITEMS: TypedDocumentNode<{
|
|
643
|
+
workItemAddLinkedItems: {
|
|
644
|
+
workItem: WorkItem;
|
|
645
|
+
errors: string[];
|
|
646
|
+
message?: string;
|
|
647
|
+
};
|
|
648
|
+
}, {
|
|
649
|
+
input: WorkItemAddLinkedItemsInput;
|
|
650
|
+
}>;
|
|
651
|
+
export declare const WORK_ITEM_REMOVE_LINKED_ITEMS: TypedDocumentNode<{
|
|
652
|
+
workItemRemoveLinkedItems: {
|
|
653
|
+
workItem: WorkItem;
|
|
654
|
+
errors: string[];
|
|
655
|
+
message?: string;
|
|
656
|
+
};
|
|
657
|
+
}, {
|
|
658
|
+
input: WorkItemRemoveLinkedItemsInput;
|
|
659
|
+
}>;
|