ADD: Payload category to support Actions #52
Annotations
6 errors and 3 warnings
lint:
src/class/GroundControlToMajorTom.ts#L1
Property 'txid' does not exist on type '{ type: 2 | 1 | 3 | 4 | 5; token: string; os: "android" | "ios"; badge?: number; level: "transactions" | "news" | "price" | "tips"; aps?: { "content-available"?: 1; }; } & { type?: 5; text: string; }'.
|
lint:
src/controller/GroundController.ts#L1
Type '{ sat: number; badge: number; type: 1; level: "transactions"; os: "android" | "ios"; token: any; hash: any; memo: string; }' is not assignable to type '{ type: 2 | 1 | 3 | 4 | 5; token: string; os: "android" | "ios"; badge?: number; level: "transactions" | "news" | "price" | "tips"; aps?: { "content-available"?: 1; }; } & { type?: 1; level?: "transactions"; ... 4 more ...; "interruption-level": "time-sensitive"; }'.
|
lint:
src/worker-blockprocessor.ts#L1
Type '{ address: any; txid: any; sat: number; type: 2; level: "transactions"; token: string; os: "ios"; }' is not assignable to type '{ type: 2 | 1 | 3 | 4 | 5; token: string; os: "android" | "ios"; badge?: number; level: "transactions" | "news" | "price" | "tips"; aps?: { "content-available"?: 1; }; } & { type?: 2; level?: "transactions"; ... 5 more ...; "interruption-level": "active"; }'.
|
lint:
src/worker-blockprocessor.ts#L1
Type '{ txid: string; type: 4; level: "transactions"; token: string; os: "android" | "ios"; badge: number; }' is not assignable to type '{ type: 2 | 1 | 3 | 4 | 5; token: string; os: "android" | "ios"; badge?: number; level: "transactions" | "news" | "price" | "tips"; aps?: { "content-available"?: 1; }; } & { type?: 4; level?: "transactions"; txid: string; aps?: { ...; }; category: string; "interruption-level": "time-sensitive"; }'.
|
lint:
src/worker-processmempool.ts#L1
Type '{ address: any; txid: any; sat: number; type: 3; level: "transactions"; token: string; os: "ios"; }' is not assignable to type '{ type: 2 | 1 | 3 | 4 | 5; token: string; os: "android" | "ios"; badge?: number; level: "transactions" | "news" | "price" | "tips"; aps?: { "content-available"?: 1; }; } & { type?: 3; level?: "transactions"; ... 5 more ...; "interruption-level": "active"; }'.
|
lint
Process completed with exit code 2.
|
lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2-beta, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2-beta, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|