@fdm-monster/server
Version:
FDM Monster is a bulk OctoPrint, Klipper, PrusaLink and BambuLab manager to set up, configure and monitor 3D printers. Our aim is to provide neat overview over your farm.
19 lines (18 loc) • 418 B
JavaScript
//#region src/services/interfaces/api-key.dto.ts
/** Public DTO. Never includes the cleartext token or the stored hash. */
var ApiKeyDto = class {
id;
createdByUserId;
label;
prefix;
createdAt;
lastUsedAt;
roles;
};
/** Returned exactly once at creation. */
var CreatedApiKeyDto = class extends ApiKeyDto {
token;
};
//#endregion
export { ApiKeyDto, CreatedApiKeyDto };
//# sourceMappingURL=api-key.dto.js.map