Compare commits

...

3 Commits

Author SHA1 Message Date
Wei S.
1795b76004 Merge branch 'main' into v0.4.3-dev 2026-03-06 13:29:10 +01:00
wayneshn
531eabb96e update license types 2026-03-06 13:27:15 +01:00
wayneshn
a0f8cd5d05 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
2026-03-02 13:49:46 +01:00
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;
}
/**