isomed-cameras TypeChecking report
src/Server.js:78:53: error TS2345: Argument of type '{ definition: { info: { title: string; description: string; contact: { name: string; url?: string | undefined; email?: string | undefined; } | undefined; }; basePath: string; }; }' is not assignable to parameter of type 'Options'.
src/auth.js:64:7: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
src/auth.js:66:24: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
src/auth.js:67:36: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
src/config.js:34:7: error TS2322: Type 'Config | { title: string; basePath: string; beta: boolean; auth: { clientID: string; clientSecret: string; callbackURL: string; logoutURL: string; }; camApp: { groups: { page1: { description: string; cameras: ({ ...; } | { ...; })[]; }; page2: { ...; }; }; credentials: { ...; }; }; stubs: { ...; }; }' is not assignable to type 'Config'.
../src/Server.js:78:53: error TS2345: Argument of type '{ definition: { info: { title: string; description: string; contact: { name: string; url?: string | undefined; email?: string | undefined; } | undefined; }; basePath: string; }; }' is not assignable to parameter of type 'Options'.
../src/auth.js:64:7: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
../src/auth.js:66:24: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
../src/auth.js:67:36: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
../src/config.js:34:7: error TS2322: Type 'Config | { title: string; basePath: string; beta: boolean; auth: { clientID: string; clientSecret: string; callbackURL: string; logoutURL: string; }; camApp: { groups: { page1: { description: string; cameras: ({ ...; } | { ...; })[]; }; page2: { ...; }; }; credentials: { ...; }; }; stubs: { ...; }; }' is not assignable to type 'Config'.
src/App.vue.js:26:11: error TS2322: Type 'string | (string | null)[]' is not assignable to type 'string'.
src/App.vue.js:34:25: error TS2339: Property 'cam' does not exist on type 'StoreSources'.
src/App.vue.js:49:21: error TS2769: No overload matches this call.
src/App.vue.js:51:11: error TS2532: Object is possibly 'undefined'.
src/components/CameraControl.vue.js:60:10: error TS2339: Property 'wheelMove' does not exist on type '{ selected: CameraInfo | null; refreshing: boolean; advanced: boolean; position: any; limits: any; paused: boolean; screenshot: string; screenshotName: string; showControls: boolean; isFocused: boolean; } & { ...; } & { ...; } & { ...; } & ExtVue<...>'.
src/components/CameraControl.vue.js:125:12: error TS2339: Property 'wheelMove' does not exist on type '{ selected: CameraInfo | null; refreshing: boolean; advanced: boolean; position: any; limits: any; paused: boolean; screenshot: string; screenshotName: string; showControls: boolean; isFocused: boolean; } & { ...; } & { ...; } & { ...; } & ExtVue<...>'.
src/components/CameraControl.vue.js:133:26: error TS2339: Property 'editValue' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
src/components/CameraControl.vue.js:136:26: error TS2339: Property 'editValue' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
src/components/CameraControl.vue.js:140:28: error TS2339: Property 'value' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>> | Element | Vue<...>[] | Element[]'.
src/components/CameraControl.vue.js:170:52: error TS2339: Property 'editValue' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>> | Element | Vue<...>[] | Element[]'.
src/components/UserInfo.vue.js:12:24: error TS2694: Namespace 'Iface' has no exported member 'User'.
src/store/index.js:41:22: error TS2345: Argument of type 'Store' is not assignable to parameter of type 'Store'.
test/karma_index.js:16:20: error TS7016: Could not find a declaration file for module '@cern/karma-server-side'. 'www/node_modules/@cern/karma-server-side/index.js' implicitly has an 'any' type.
test/karma_init.js:21:10: error TS2339: Property 'autoReload' does not exist on type 'BaseLoggerClass'.
test/test_App.js:10:20: error TS7016: Could not find a declaration file for module '@cern/karma-server-side'. 'www/node_modules/@cern/karma-server-side/index.js' implicitly has an 'any' type.
test/test_App.js:177:26: error TS2339: Property 'showControls' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
test/test_App.js:217:20: error TS2339: Property 'isSelected' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
test/test_router.js:9:20: error TS7016: Could not find a declaration file for module '@cern/karma-server-side'. 'www/node_modules/@cern/karma-server-side/index.js' implicitly has an 'any' type.
test/utils.js:54:52: error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'. ../src/Server.js:78:53: error TS2345: Argument of type '{ definition: { info: { title: string; description: string; contact: { name: string; url?: string | undefined; email?: string | undefined; } | undefined; }; basePath: string; }; }' is not assignable to parameter of type 'Options'.
../src/auth.js:64:7: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
../src/auth.js:66:24: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
../src/auth.js:67:36: error TS2322: Type 'string | undefined' is not assignable to type 'string'.
../src/config.js:34:7: error TS2322: Type 'Config | { title: string; basePath: string; beta: boolean; auth: { clientID: string; clientSecret: string; callbackURL: string; logoutURL: string; }; camApp: { groups: { page1: { description: string; cameras: ({ ...; } | { ...; })[]; }; page2: { ...; }; }; credentials: { ...; }; }; stubs: { ...; }; }' is not assignable to type 'Config'.
src/App.vue.js:26:11: error TS2322: Type 'string | (string | null)[]' is not assignable to type 'string'.
src/App.vue.js:34:25: error TS2339: Property 'cam' does not exist on type 'StoreSources'.
src/App.vue.js:49:21: error TS2769: No overload matches this call.
src/App.vue.js:51:11: error TS2532: Object is possibly 'undefined'.
src/components/CameraControl.vue.js:60:10: error TS2339: Property 'wheelMove' does not exist on type '{ selected: CameraInfo | null; refreshing: boolean; advanced: boolean; position: any; limits: any; paused: boolean; screenshot: string; screenshotName: string; showControls: boolean; isFocused: boolean; } & { ...; } & { ...; } & { ...; } & ExtVue<...>'.
src/components/CameraControl.vue.js:125:12: error TS2339: Property 'wheelMove' does not exist on type '{ selected: CameraInfo | null; refreshing: boolean; advanced: boolean; position: any; limits: any; paused: boolean; screenshot: string; screenshotName: string; showControls: boolean; isFocused: boolean; } & { ...; } & { ...; } & { ...; } & ExtVue<...>'.
src/components/CameraControl.vue.js:133:26: error TS2339: Property 'editValue' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
src/components/CameraControl.vue.js:136:26: error TS2339: Property 'editValue' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
src/components/CameraControl.vue.js:140:28: error TS2339: Property 'value' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>> | Element | Vue<...>[] | Element[]'.
src/components/CameraControl.vue.js:170:52: error TS2339: Property 'editValue' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>> | Element | Vue<...>[] | Element[]'.
src/components/UserInfo.vue.js:12:24: error TS2694: Namespace 'Iface' has no exported member 'User'.
src/store/index.js:41:22: error TS2345: Argument of type 'Store' is not assignable to parameter of type 'Store'.
test/karma_index.js:16:20: error TS7016: Could not find a declaration file for module '@cern/karma-server-side'. 'www/node_modules/@cern/karma-server-side/index.js' implicitly has an 'any' type.
test/karma_init.js:21:10: error TS2339: Property 'autoReload' does not exist on type 'BaseLoggerClass'.
test/test_App.js:10:20: error TS7016: Could not find a declaration file for module '@cern/karma-server-side'. 'www/node_modules/@cern/karma-server-side/index.js' implicitly has an 'any' type.
test/test_App.js:177:26: error TS2339: Property 'showControls' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
test/test_App.js:217:20: error TS2339: Property 'isSelected' does not exist on type 'Vue, Record, never, never, (event: string, ...args: any[]) => Vue, Record, never, never, ...>>'.
test/test_router.js:9:20: error TS7016: Could not find a declaration file for module '@cern/karma-server-side'. 'www/node_modules/@cern/karma-server-side/index.js' implicitly has an 'any' type.
test/utils.js:54:52: error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'.