mirror of
https://github.com/LogicLabs-OU/OpenArchiver.git
synced 2026-04-06 00:31:57 +02:00
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:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user