Add create observation endpoint #37
Annotations
2 errors and 1 warning
Run npm test
Argument of type '{ attachments: { name: string; driveDiscoveryId: string; type: "photo" | "audio"; }[]; tags: { [x: string]: string | number | boolean | (string | number | boolean | null)[] | null; }; metadata: { manualLocation: boolean; position: { mocked: boolean; timestamp: string; coords: { latitude: number; longitude: number; }; }; }; lat: number; lon: number; schemaName: string; }' is not assignable to parameter of type 'ExactObject<{ schemaName: "observation"; lat?: number | undefined; lon?: number | undefined; attachments: { driveDiscoveryId: string; name: string; type: "photo" | "audio" | "UNRECOGNIZED" | "attachment_type_unspecified" | "video"; hash: string; }[]; tags: { [k: string]: string | number | boolean | (string | number | boolean | null)[] | null; }; metadata?: { manualLocation?: boolean | undefined; position?: Position | undefined; lastSavedPosition?: Position | undefined; positionProvider?: { gpsAvailable?: boolean | undefined; passiveAvailable?: boolean | undefined; locationServicesEnabled: boolean; networkAvailable?: boolean | undefined; } | undefined; } | undefined; presetRef?: { docId: string; versionId: string; } | undefined; }, { attachments: { name: string; driveDiscoveryId: string; type: "photo" | "audio"; }[]; tags: { [x: string]: string | number | boolean | (string | number | boolean | null)[] | null; }; metadata: { manualLocation: boolean; position: { mocked: boolean; timestamp: string; coords: { latitude: number; longitude: number; }; }; }; lat: number; lon: number; schemaName: string; }>'.
|
Run npm test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading