Last active
August 28, 2025 16:25
-
-
Save nickboldt/2ebfcb2c65d1a875b8f4ef33695aa875 to your computer and use it in GitHub Desktop.
backstage plugin build failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plugins/catalog-backend-module-github/src/analyzers/GithubLocationAnalyzer.ts:25:25 - error TS7016: Could not find a declaration file for module 'git-url-parse'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/git-url-parse/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/git-url-parse` if it exists or add a new declaration (.d.ts) file containing `declare module 'git-url-parse';` | |
| 25 import parseGitUrl from 'git-url-parse'; | |
| ~~~~~~~~~~~~~~~ | |
| plugins/kubernetes-backend/src/auth/ServiceAccountStrategy.ts:24:16 - error TS7016: Could not find a declaration file for module 'fs-extra'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/fs-extra/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/fs-extra` if it exists or add a new declaration (.d.ts) file containing `declare module 'fs-extra';` | |
| 24 import fs from 'fs-extra'; | |
| ~~~~~~~~~~ | |
| plugins/kubernetes-backend/src/service/KubernetesFetcher.ts:26:3 - error TS2305: Module '"@backstage/plugin-kubernetes-common"' has no exported member 'SERVICEACCOUNT_CA_PATH'. | |
| 26 SERVICEACCOUNT_CA_PATH, | |
| ~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/kubernetes-backend/src/service/KubernetesFetcher.ts:34:16 - error TS7016: Could not find a declaration file for module 'fs-extra'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/fs-extra/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/fs-extra` if it exists or add a new declaration (.d.ts) file containing `declare module 'fs-extra';` | |
| 34 import fs from 'fs-extra'; | |
| ~~~~~~~~~~ | |
| plugins/kubernetes-backend/src/service/KubernetesProxy.ts:25:3 - error TS2305: Module '"@backstage/plugin-kubernetes-common"' has no exported member 'SERVICEACCOUNT_CA_PATH'. | |
| 25 SERVICEACCOUNT_CA_PATH, | |
| ~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/kubernetes-backend/src/service/KubernetesProxy.ts:32:16 - error TS7016: Could not find a declaration file for module 'fs-extra'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/fs-extra/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/fs-extra` if it exists or add a new declaration (.d.ts) file containing `declare module 'fs-extra';` | |
| 32 import fs from 'fs-extra'; | |
| ~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/entityContents.tsx:21:14 - error TS2742: The inferred type of 'entityKubernetesContent' cannot be named without a reference to '@backstage/plugin-catalog-react/node_modules/@backstage/frontend-plugin-api'. This is likely not portable. A type annotation is necessary. | |
| 21 export const entityKubernetesContent = EntityContentBlueprint.make({ | |
| ~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/entityContents.tsx:24:5 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'path' param instead"]'. | |
| 24 defaultPath: '/kubernetes', | |
| ~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/entityContents.tsx:25:5 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'title' param instead"]'. | |
| 25 defaultTitle: 'Kubernetes', | |
| ~~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/entityContents.tsx:26:5 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'group' param instead"]'. | |
| 26 defaultGroup: 'deployment', | |
| ~~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/plugin.tsx:33:5 - error TS2769: No overload matches this call. | |
| Overload 1 of 2, '(options: PluginOptions<"kubernetes", { kubernetes: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<ExtensionDefinitionParameters>[]>): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ kind: "entity-content"; name: "kubernetes"; config: { path: string | undefined; title: string | undefined; filter: EntityPredicate | undefined; group: string | false | undefined; }; configInput: { ...; }; output: ExtensionDataRef<...> | ... 5 more ... | ExtensionDataRef<...>; inputs: {}; params...' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| Overload 2 of 2, '(options: Omit<PluginOptions<string, { kubernetes: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<ExtensionDefinitionParameters>[]>, "pluginId"> & { ...; }): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ kind: "entity-content"; name: "kubernetes"; config: { path: string | undefined; title: string | undefined; filter: EntityPredicate | undefined; group: string | false | undefined; }; configInput: { ...; }; output: ExtensionDataRef<...> | ... 5 more ... | ExtensionDataRef<...>; inputs: {}; params...' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| 33 entityKubernetesContent, | |
| ~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.ts:28:16 - error TS7016: Could not find a declaration file for module 'fs-extra'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/fs-extra/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/fs-extra` if it exists or add a new declaration (.d.ts) file containing `declare module 'fs-extra';` | |
| 28 import fs from 'fs-extra'; | |
| ~~~~~~~~~~ | |
| plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.ts:416:19 - error TS7006: Parameter 'path' implicitly has an 'any' type. | |
| 416 filter: path => { | |
| ~~~~ | |
| plugins/scaffolder-backend-module-bitbucket-server/src/actions/bitbucketServerPullRequest.ts:31:16 - error TS7016: Could not find a declaration file for module 'fs-extra'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/fs-extra/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/fs-extra` if it exists or add a new declaration (.d.ts) file containing `declare module 'fs-extra';` | |
| 31 import fs from 'fs-extra'; | |
| ~~~~~~~~~~ | |
| plugins/scaffolder-backend-module-bitbucket-server/src/actions/bitbucketServerPullRequest.ts:456:19 - error TS7006: Parameter 'path' implicitly has an 'any' type. | |
| 456 filter: path => { | |
| ~~~~ | |
| plugins/scaffolder-backend-module-github/src/actions/githubPullRequest.test.ts:26:16 - error TS7016: Could not find a declaration file for module 'fs-extra'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/fs-extra/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/fs-extra` if it exists or add a new declaration (.d.ts) file containing `declare module 'fs-extra';` | |
| 26 import fs from 'fs-extra'; | |
| ~~~~~~~~~~ | |
| plugins/techdocs-backend/src/DocsBuilder/builder.ts:32:16 - error TS7016: Could not find a declaration file for module 'fs-extra'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/fs-extra/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/fs-extra` if it exists or add a new declaration (.d.ts) file containing `declare module 'fs-extra';` | |
| 32 import fs from 'fs-extra'; | |
| ~~~~~~~~~~ | |
| plugins/techdocs-backend/src/DocsBuilder/builder.ts:186:9 - error TS2322: Type 'string | undefined' is not assignable to type 'string'. | |
| Type 'undefined' is not assignable to type 'string'. | |
| 186 outputDir, | |
| ~~~~~~~~~ | |
| node_modules/@backstage/plugin-techdocs-node/dist/index.d.ts:162:5 | |
| 162 outputDir: string; | |
| ~~~~~~~~~ | |
| The expected type comes from property 'outputDir' which is declared here on type 'GeneratorRunOptions' | |
| plugins/techdocs-backend/src/DocsBuilder/builder.ts:208:9 - error TS2322: Type 'string | undefined' is not assignable to type 'string'. | |
| Type 'undefined' is not assignable to type 'string'. | |
| 208 directory: outputDir, | |
| ~~~~~~~~~ | |
| node_modules/@backstage/plugin-techdocs-node/dist/index.d.ts:417:5 | |
| 417 directory: string; | |
| ~~~~~~~~~ | |
| The expected type comes from property 'directory' which is declared here on type 'PublishRequest' | |
| plugins/techdocs-backend/src/service/router.test.ts:393:9 - error TS2339: Property 'flush' does not exist on type 'Mocked<Response<any, Record<string, any>>>'. | |
| 393 res.flush = jest.fn(); | |
| ~~~~~ | |
| plugins/techdocs-backend/src/service/router.test.ts:402:16 - error TS2339: Property 'flush' does not exist on type 'Mocked<Response<any, Record<string, any>>>'. | |
| 402 expect(res.flush).toHaveBeenCalledTimes(1); | |
| ~~~~~ | |
| plugins/techdocs-backend/src/service/router.ts:359:13 - error TS2339: Property 'flush' does not exist on type 'Response<any, any>'. | |
| 359 if (res.flush) { | |
| ~~~~~ | |
| plugins/techdocs-backend/src/service/router.ts:360:11 - error TS2339: Property 'flush' does not exist on type 'Response<any, any>'. | |
| 360 res.flush(); | |
| ~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/ReportIssue/hooks.ts:17:25 - error TS7016: Could not find a declaration file for module 'git-url-parse'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/git-url-parse/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/git-url-parse` if it exists or add a new declaration (.d.ts) file containing `declare module 'git-url-parse';` | |
| 17 import parseGitUrl from 'git-url-parse'; | |
| ~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:37:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "expandable-navigation"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 37 extensions: [techDocsExpandableNavigationAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:53:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "report-issue"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 53 extensions: [techDocsReportIssueAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:69:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "text-size"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 69 extensions: [techDocsTextSizeAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:85:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "light-box"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 85 extensions: [techDocsLightBoxAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:97:14 - error TS2742: The inferred type of 'techDocsSearchResultListItemExtension' cannot be named without a reference to '@backstage/plugin-catalog-react/node_modules/@backstage/frontend-plugin-api'. This is likely not portable. A type annotation is necessary. | |
| 97 export const techDocsSearchResultListItemExtension = | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:192:9 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'path' param instead"]'. | |
| 192 defaultPath: 'docs', | |
| ~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:193:9 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'title' param instead"]'. | |
| 193 defaultTitle: 'TechDocs', | |
| ~~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:237:16 - error TS2769: No overload matches this call. | |
| Overload 2 of 2, '(options: Omit<PluginOptions<string, { root: RouteRef<undefined>; docRoot: RouteRef<{ kind: string; name: string; namespace: string; }>; entityContent: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<...>[]>, "pluginId"> & { ...; }): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ config: { path: string | undefined; title: string | undefined; filter: EntityPredicate | undefined; group: string | false | undefined; }; configInput: { filter?: EntityPredicate | undefined; title?: string | undefined; path?: string | undefined; group?: string | ... 1 more ... | undefined; }; ....' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { addons?: "Error: Input 'addons' is already defined in parent definition" | undefined; emptyState?: "Error: Input 'emptyState' is already defined in parent definition" | undefined; }) | undefined; output?: ...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { addons?: "Error: Input 'addons' is already defined in parent definition" | undefined; emptyState?: "Error: Input 'emptyState' is already defined in parent definition" | undefined; }) | undefined; output?: ...'. | |
| Overload 2 of 2, '(options: Omit<PluginOptions<string, { root: RouteRef<undefined>; docRoot: RouteRef<{ kind: string; name: string; namespace: string; }>; entityContent: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<...>[]>, "pluginId"> & { ...; }): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ config: { title: string | undefined; lineClamp: number; asLink: boolean; asListItem: boolean; } & { noTrack: boolean; }; configInput: { title?: string | undefined; lineClamp?: number | undefined; asListItem?: boolean | undefined; asLink?: boolean | undefined; } & { ...; }; ... 4 more ...; param...' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { [x: string]: `Error: Input '${string}' is already defined in parent definition` | undefined; }) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { [x: string]: `Error: Input '${string}' is already defined in parent definition` | undefined; }) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <...'. | |
| 237 export default createFrontendPlugin({ | |
| ~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/reader/components/TechDocsReaderPageHeader/TechDocsReaderPageHeader.tsx:18:20 - error TS7016: Could not find a declaration file for module 'react-helmet'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/react-helmet/lib/Helmet.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/react-helmet` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-helmet';` | |
| 18 import Helmet from 'react-helmet'; | |
| ~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/reader/transformers/addGitFeedbackLink.ts:24:25 - error TS7016: Could not find a declaration file for module 'git-url-parse'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/git-url-parse/lib/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/git-url-parse` if it exists or add a new declaration (.d.ts) file containing `declare module 'git-url-parse';` | |
| 24 import parseGitUrl from 'git-url-parse'; | |
| ~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/reader/transformers/renderReactElement.ts:18:17 - error TS7016: Could not find a declaration file for module 'react-dom'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/react-dom/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/react-dom` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-dom';` | |
| 18 typeof import('react-dom') | typeof import('react-dom/client') | |
| ~~~~~~~~~~~ | |
| plugins/techdocs/src/reader/transformers/renderReactElement.ts:18:46 - error TS7016: Could not find a declaration file for module 'react-dom/client'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/react-dom/client.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/react-dom` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-dom/client';` | |
| 18 typeof import('react-dom') | typeof import('react-dom/client') | |
| ~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/reader/transformers/renderReactElement.ts:21:28 - error TS7016: Could not find a declaration file for module 'react-dom/client'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/react-dom/client.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/react-dom` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-dom/client';` | |
| 21 ReactDOMPromise = import('react-dom/client'); | |
| ~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/reader/transformers/renderReactElement.ts:23:28 - error TS7016: Could not find a declaration file for module 'react-dom'. '/home/nboldt/RHDH/DH/4/4-rhdh-plugin-catalog_17/workspaces/backstage/node_modules/react-dom/index.js' implicitly has an 'any' type. | |
| Try `npm i --save-dev @types/react-dom` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-dom';` | |
| 23 ReactDOMPromise = import('react-dom'); | |
| ~~~~~~~~~~~ | |
| Found 38 errors in 18 files. | |
| Errors Files | |
| 1 plugins/catalog-backend-module-github/src/analyzers/GithubLocationAnalyzer.ts:25 | |
| 1 plugins/kubernetes-backend/src/auth/ServiceAccountStrategy.ts:24 | |
| 2 plugins/kubernetes-backend/src/service/KubernetesFetcher.ts:26 | |
| 2 plugins/kubernetes-backend/src/service/KubernetesProxy.ts:25 | |
| 4 plugins/kubernetes/src/alpha/entityContents.tsx:21 | |
| 1 plugins/kubernetes/src/alpha/plugin.tsx:33 | |
| 2 plugins/scaffolder-backend-module-bitbucket-cloud/src/actions/bitbucketCloudPullRequest.ts:28 | |
| 2 plugins/scaffolder-backend-module-bitbucket-server/src/actions/bitbucketServerPullRequest.ts:31 | |
| 1 plugins/scaffolder-backend-module-github/src/actions/githubPullRequest.test.ts:26 | |
| 3 plugins/techdocs-backend/src/DocsBuilder/builder.ts:32 | |
| 2 plugins/techdocs-backend/src/service/router.test.ts:393 | |
| 2 plugins/techdocs-backend/src/service/router.ts:359 | |
| 1 plugins/techdocs-module-addons-contrib/src/ReportIssue/hooks.ts:17 | |
| 4 plugins/techdocs-module-addons-contrib/src/alpha.ts:37 | |
| 4 plugins/techdocs/src/alpha.tsx:97 | |
| 1 plugins/techdocs/src/reader/components/TechDocsReaderPageHeader/TechDocsReaderPageHeader.tsx:18 | |
| 1 plugins/techdocs/src/reader/transformers/addGitFeedbackLink.ts:24 | |
| 4 plugins/techdocs/src/reader/transformers/renderReactElement.ts:18 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plugins/kubernetes/src/alpha/entityContents.tsx:21:14 - error TS2742: The inferred type of 'entityKubernetesContent' cannot be named without a reference to '@backstage/plugin-catalog-react/node_modules/@backstage/frontend-plugin-api'. This is likely not portable. A type annotation is necessary. | |
| 21 export const entityKubernetesContent = EntityContentBlueprint.make({ | |
| ~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/entityContents.tsx:24:5 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'path' param instead"]'. | |
| 24 defaultPath: '/kubernetes', | |
| ~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/entityContents.tsx:25:5 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'title' param instead"]'. | |
| 25 defaultTitle: 'Kubernetes', | |
| ~~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/entityContents.tsx:26:5 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'group' param instead"]'. | |
| 26 defaultGroup: 'deployment', | |
| ~~~~~~~~~~~~ | |
| plugins/kubernetes/src/alpha/plugin.tsx:33:5 - error TS2769: No overload matches this call. | |
| Overload 1 of 2, '(options: PluginOptions<"kubernetes", { kubernetes: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<ExtensionDefinitionParameters>[]>): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ kind: "entity-content"; name: "kubernetes"; config: { path: string | undefined; title: string | undefined; filter: EntityPredicate | undefined; group: string | false | undefined; }; configInput: { ...; }; output: ExtensionDataRef<...> | ... 5 more ... | ExtensionDataRef<...>; inputs: {}; params...' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| Overload 2 of 2, '(options: Omit<PluginOptions<string, { kubernetes: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<ExtensionDefinitionParameters>[]>, "pluginId"> & { ...; }): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ kind: "entity-content"; name: "kubernetes"; config: { path: string | undefined; title: string | undefined; filter: EntityPredicate | undefined; group: string | false | undefined; }; configInput: { ...; }; output: ExtensionDataRef<...> | ... 5 more ... | ExtensionDataRef<...>; inputs: {}; params...' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends { ...; } | ((define: ExtensionBlueprintDefineParams<...>) => Exte...'. | |
| 33 entityKubernetesContent, | |
| ~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:37:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "expandable-navigation"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 37 extensions: [techDocsExpandableNavigationAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:53:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "report-issue"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 53 extensions: [techDocsReportIssueAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:69:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "text-size"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 69 extensions: [techDocsTextSizeAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs-module-addons-contrib/src/alpha.ts:85:16 - error TS2322: Type 'ExtensionDefinition<{ kind: "addon"; name: "light-box"; config: {}; configInput: {}; output: ExtensionDataRef<TechDocsAddonOptions, "techdocs.addon", {}>; inputs: {}; params: TechDocsAddonOptions; }>' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <TFactoryParamsReturn extends TechDocsAddonOptions | ((define: ExtensionBlueprintDefineParams<....'. | |
| 85 extensions: [techDocsLightBoxAddon], | |
| ~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:97:14 - error TS2742: The inferred type of 'techDocsSearchResultListItemExtension' cannot be named without a reference to '@backstage/plugin-catalog-react/node_modules/@backstage/frontend-plugin-api'. This is likely not portable. A type annotation is necessary. | |
| 97 export const techDocsSearchResultListItemExtension = | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:192:9 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'path' param instead"]'. | |
| 192 defaultPath: 'docs', | |
| ~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:193:9 - error TS2322: Type 'string' is not assignable to type '[Error: "Use the 'title' param instead"]'. | |
| 193 defaultTitle: 'TechDocs', | |
| ~~~~~~~~~~~~ | |
| plugins/techdocs/src/alpha.tsx:237:16 - error TS2769: No overload matches this call. | |
| Overload 2 of 2, '(options: Omit<PluginOptions<string, { root: RouteRef<undefined>; docRoot: RouteRef<{ kind: string; name: string; namespace: string; }>; entityContent: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<...>[]>, "pluginId"> & { ...; }): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ config: { path: string | undefined; title: string | undefined; filter: EntityPredicate | undefined; group: string | false | undefined; }; configInput: { filter?: EntityPredicate | undefined; title?: string | undefined; path?: string | undefined; group?: string | ... 1 more ... | undefined; }; ....' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { addons?: "Error: Input 'addons' is already defined in parent definition" | undefined; emptyState?: "Error: Input 'emptyState' is already defined in parent definition" | undefined; }) | undefined; output?: ...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { addons?: "Error: Input 'addons' is already defined in parent definition" | undefined; emptyState?: "Error: Input 'emptyState' is already defined in parent definition" | undefined; }) | undefined; output?: ...'. | |
| Overload 2 of 2, '(options: Omit<PluginOptions<string, { root: RouteRef<undefined>; docRoot: RouteRef<{ kind: string; name: string; namespace: string; }>; entityContent: RouteRef<undefined>; }, {}, readonly ExtensionDefinition<...>[]>, "pluginId"> & { ...; }): FrontendPlugin<...>', gave the following error. | |
| Type 'ExtensionDefinition<{ config: { title: string | undefined; lineClamp: number; asLink: boolean; asListItem: boolean; } & { noTrack: boolean; }; configInput: { title?: string | undefined; lineClamp?: number | undefined; asListItem?: boolean | undefined; asLink?: boolean | undefined; } & { ...; }; ... 4 more ...; param...' is not assignable to type 'ExtensionDefinition<ExtensionDefinitionParameters>'. | |
| Types of property 'override' are incompatible. | |
| Type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends ExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<ExtensionDataRef, { optional: boolean; singleton: boolean; }>; }, TParamsInput e...' is not assignable to type '<TExtensionConfigSchema extends { [key in string]: (zImpl: typeof z) => z.ZodType; }, UFactoryOutput extends ExtensionDataValue<any, any>, UNewOutput extends AnyExtensionDataRef, TExtraInputs extends { [inputName in string]: ExtensionInput<AnyExtensionDataRef, { optional: boolean; singleton: boolean; }>; }>(args: { ...'. | |
| Types of parameters 'args' and 'args' are incompatible. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { [x: string]: `Error: Input '${string}' is already defined in parent definition` | undefined; }) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <...'. | |
| Type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {}) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: (context?: { ...; } | undefined) => ExtensionDataContainer<...>, context: { ...; }) => Iterable<...>...' is not assignable to type '{ attachTo?: ExtensionAttachToSpec | undefined; disabled?: boolean | undefined; inputs?: (TExtraInputs & {} & { [x: string]: `Error: Input '${string}' is already defined in parent definition` | undefined; }) | undefined; output?: UNewOutput[] | undefined; config?: { ...; } | undefined; factory?: ((originalFactory: <...'. | |
| 237 export default createFrontendPlugin({ | |
| ~~~~~~~~~~~~~~~~~~~~ | |
| Found 13 errors in 4 files. | |
| Errors Files | |
| 4 plugins/kubernetes/src/alpha/entityContents.tsx:21 | |
| 1 plugins/kubernetes/src/alpha/plugin.tsx:33 | |
| 4 plugins/techdocs-module-addons-contrib/src/alpha.ts:37 | |
| 4 plugins/techdocs/src/alpha.tsx:97 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment