Skip to content

style: use common utils package (api and app) #2055

style: use common utils package (api and app)

style: use common utils package (api and app) #2055

Triggered via pull request January 16, 2025 18:55
Status Failure
Total duration 2m 33s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
lint
Property 'tiles' does not exist on type 'Document<unknown, any, IDashboard> & Omit<IDashboard & { _id: ObjectId; }, never>'.
lint
Property 'tiles' does not exist on type 'Document<unknown, any, IDashboard> & Omit<IDashboard & { _id: ObjectId; }, never>'.
lint
Property 'id' does not exist on type '{ toString: () => string; charAt: (pos: number) => string; charCodeAt: (index: number) => number; concat: (...strings: string[]) => string; indexOf: (searchString: string, position?: number | undefined) => number; ... 44 more ...; [Symbol.iterator]: () => IterableIterator<...>; }'.
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
lint
Cannot find module '@hyperdx/common-utils/dist/clickhouse' or its corresponding type declarations.
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
lint
Argument of type '{ name: { type: StringConstructor; required: boolean; }; tiles: { type: typeof Schema.Types.Mixed; required: boolean; }; team: { type: typeof Schema.Types.ObjectId; ref: string; }; tags: { ...; }; }' is not assignable to parameter of type 'IDashboard | { team?: SchemaDefinitionProperty<ObjectId> | undefined; } | undefined'.
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.