V0.4.3 dev (#324)

* feat(types): update license types and prepare @open-archiver/types for public publish

- Add `LicensePingRequest` and `LicensePingResponse` interfaces for the license server ping endpoint
- Update `LicenseStatusPayload` to include `lastCheckedAt` and `planSeats` fields, and change status from `REVOKED` to `INVALID`
- Update `ConsolidatedLicenseStatus` to reflect `INVALID` status and add `lastCheckedAt`
- Bump `@open-archiver/types` version from 0.1.0 to 0.1.2, set license to MIT, make package public, and add `files` field

* update license types
This commit is contained in:
Wei S.
2026-03-06 13:29:42 +01:00
committed by GitHub
parent 9b303c963e
commit c5672d0f81
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@open-archiver/types",
"version": "0.1.2",
"version": "0.1.4",
"license": "MIT License",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -43,10 +43,13 @@ export interface LicensePingRequest {
*/
export interface LicensePingResponse {
status: 'VALID' | 'INVALID';
// ISO 8601 UTC timestamp.
expirationDate: string;
/** ISO 8601 UTC timestamp. Present only when status is "VALID" and activeSeats > planSeats. */
gracePeriodEnds?: string;
/** The current plan seat limit from the license server. */
planSeats?: number;
message?: string;
}
/**