@open-dpp/dto 3.5.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,46 @@
1
+ import { z } from "zod";
2
+ export declare const ApiKeyExpiryPresetDays: readonly [30, 90, 180, 365];
3
+ export declare const ApiKeyDtoSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ start: z.ZodNullable<z.ZodString>;
7
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
8
+ lastUsedAt: z.ZodNullable<z.ZodISODateTime>;
9
+ createdAt: z.ZodISODateTime;
10
+ }, z.core.$strip>;
11
+ export type ApiKeyDto = z.infer<typeof ApiKeyDtoSchema>;
12
+ export declare const CreatedApiKeyDtoSchema: z.ZodObject<{
13
+ id: z.ZodString;
14
+ name: z.ZodString;
15
+ start: z.ZodNullable<z.ZodString>;
16
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
17
+ lastUsedAt: z.ZodNullable<z.ZodISODateTime>;
18
+ createdAt: z.ZodISODateTime;
19
+ key: z.ZodString;
20
+ }, z.core.$strip>;
21
+ export type CreatedApiKeyDto = z.infer<typeof CreatedApiKeyDtoSchema>;
22
+ export declare const CreateApiKeyDtoSchema: z.ZodObject<{
23
+ name: z.ZodString;
24
+ expiresInDays: z.ZodLiteral<90 | 30 | 180 | 365>;
25
+ }, z.core.$strip>;
26
+ export type CreateApiKeyDto = z.infer<typeof CreateApiKeyDtoSchema>;
27
+ export declare const UpdateApiKeyDtoSchema: z.ZodObject<{
28
+ name: z.ZodString;
29
+ }, z.core.$strip>;
30
+ export type UpdateApiKeyDto = z.infer<typeof UpdateApiKeyDtoSchema>;
31
+ export declare const ApiKeyPaginationDtoSchema: z.ZodObject<{
32
+ result: z.ZodArray<z.ZodObject<{
33
+ id: z.ZodString;
34
+ name: z.ZodString;
35
+ start: z.ZodNullable<z.ZodString>;
36
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
37
+ lastUsedAt: z.ZodNullable<z.ZodISODateTime>;
38
+ createdAt: z.ZodISODateTime;
39
+ }, z.core.$strip>>;
40
+ paging_metadata: z.ZodObject<{
41
+ cursor: z.ZodNullable<z.ZodString>;
42
+ total_count: z.ZodOptional<z.ZodNumber>;
43
+ }, z.core.$strip>;
44
+ }, z.core.$strip>;
45
+ export type ApiKeyPaginationDto = z.infer<typeof ApiKeyPaginationDtoSchema>;
46
+ //# sourceMappingURL=api-key.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key.dto.d.ts","sourceRoot":"","sources":["../../src/api-keys/api-key.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sBAAsB,6BAA8B,CAAC;AAElE,eAAO,MAAM,eAAe;;;;;;;iBAQ1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAGxD,eAAO,MAAM,sBAAsB;;;;;;;;iBAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,qBAAqB;;iBAEhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;iBAKZ,CAAC;AAE3B,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApiKeyPaginationDtoSchema = exports.UpdateApiKeyDtoSchema = exports.CreateApiKeyDtoSchema = exports.CreatedApiKeyDtoSchema = exports.ApiKeyDtoSchema = exports.ApiKeyExpiryPresetDays = void 0;
4
+ const zod_1 = require("zod");
5
+ const pagination_dto_1 = require("../shared/pagination.dto");
6
+ exports.ApiKeyExpiryPresetDays = [30, 90, 180, 365];
7
+ exports.ApiKeyDtoSchema = zod_1.z.object({
8
+ id: zod_1.z.string(),
9
+ name: zod_1.z.string(),
10
+ // First characters of the key (incl. prefix) for masked display; null when not stored.
11
+ start: zod_1.z.string().nullable(),
12
+ expiresAt: zod_1.z.iso.datetime().nullable(),
13
+ lastUsedAt: zod_1.z.iso.datetime().nullable(),
14
+ createdAt: zod_1.z.iso.datetime(),
15
+ });
16
+ // The plain key is only returned once, directly after creation.
17
+ exports.CreatedApiKeyDtoSchema = exports.ApiKeyDtoSchema.extend({
18
+ key: zod_1.z.string(),
19
+ });
20
+ exports.CreateApiKeyDtoSchema = zod_1.z.object({
21
+ name: zod_1.z.string().min(1).max(100),
22
+ expiresInDays: zod_1.z.literal(exports.ApiKeyExpiryPresetDays),
23
+ });
24
+ exports.UpdateApiKeyDtoSchema = zod_1.z.object({
25
+ name: zod_1.z.string().min(1).max(100),
26
+ });
27
+ exports.ApiKeyPaginationDtoSchema = zod_1.z
28
+ .object({
29
+ ...pagination_dto_1.PagingMetadataDtoSchema.shape,
30
+ result: exports.ApiKeyDtoSchema.array(),
31
+ })
32
+ .meta({ id: "ApiKeys" });
package/dist/index.d.ts CHANGED
@@ -76,6 +76,7 @@ export * from "./shared/populate.dto";
76
76
  export * from "./shared/table.dto";
77
77
  export * from "./status/status.dto";
78
78
  export * from "./templates/template.dto";
79
+ export * from "./api-keys/api-key.dto";
79
80
  export * from "./users/create-user.dto";
80
81
  export * from "./users/me.dto";
81
82
  export * from "./users/pending-email-change.dto";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"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kB,CAAC;AAEjC,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,sEAAsE,CAAC;AACrF,cAAc,mEAAmE,CAAC;AAClF,cAAc,4EAA4E,CAAC;AAC3F,cAAc,mEAAmE,CAAC"}
package/dist/index.js CHANGED
@@ -92,6 +92,7 @@ __exportStar(require("./shared/populate.dto"), exports);
92
92
  __exportStar(require("./shared/table.dto"), exports);
93
93
  __exportStar(require("./status/status.dto"), exports);
94
94
  __exportStar(require("./templates/template.dto"), exports);
95
+ __exportStar(require("./api-keys/api-key.dto"), exports);
95
96
  __exportStar(require("./users/create-user.dto"), exports);
96
97
  __exportStar(require("./users/me.dto"), exports);
97
98
  __exportStar(require("./users/pending-email-change.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-dpp/dto",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/open-dpp/open-dpp#readme",
@@ -0,0 +1,88 @@
1
+ import { describe, expect, it } from "@jest/globals";
2
+ import {
3
+ ApiKeyDtoSchema,
4
+ ApiKeyPaginationDtoSchema,
5
+ CreateApiKeyDtoSchema,
6
+ CreatedApiKeyDtoSchema,
7
+ UpdateApiKeyDtoSchema,
8
+ } from "./api-key.dto";
9
+
10
+ const validApiKey = {
11
+ id: "key-1",
12
+ name: "CI pipeline",
13
+ start: "opendpp_ab",
14
+ expiresAt: "2027-01-01T00:00:00.000Z",
15
+ lastUsedAt: null,
16
+ createdAt: "2026-08-21T00:00:00.000Z",
17
+ };
18
+
19
+ describe("ApiKeyDtoSchema", () => {
20
+ it("parses a full api key", () => {
21
+ expect(ApiKeyDtoSchema.parse(validApiKey)).toEqual(validApiKey);
22
+ });
23
+
24
+ it("accepts null start, expiresAt and lastUsedAt", () => {
25
+ const parsed = ApiKeyDtoSchema.parse({
26
+ ...validApiKey,
27
+ start: null,
28
+ expiresAt: null,
29
+ lastUsedAt: null,
30
+ });
31
+ expect(parsed.start).toBeNull();
32
+ expect(parsed.expiresAt).toBeNull();
33
+ });
34
+
35
+ it("rejects a missing id", () => {
36
+ const { id: _id, ...rest } = validApiKey;
37
+ expect(() => ApiKeyDtoSchema.parse(rest)).toThrow();
38
+ });
39
+ });
40
+
41
+ describe("CreateApiKeyDtoSchema", () => {
42
+ it("requires a non-empty name", () => {
43
+ expect(() => CreateApiKeyDtoSchema.parse({ name: "", expiresInDays: 30 })).toThrow();
44
+ expect(CreateApiKeyDtoSchema.parse({ name: "My key", expiresInDays: 30 })).toEqual({
45
+ name: "My key",
46
+ expiresInDays: 30,
47
+ });
48
+ });
49
+
50
+ it("accepts only the expiry presets", () => {
51
+ for (const days of [30, 90, 180, 365]) {
52
+ expect(CreateApiKeyDtoSchema.parse({ name: "k", expiresInDays: days }).expiresInDays).toBe(
53
+ days,
54
+ );
55
+ }
56
+ expect(() => CreateApiKeyDtoSchema.parse({ name: "k", expiresInDays: 7 })).toThrow();
57
+ });
58
+
59
+ it("rejects a missing or null expiry", () => {
60
+ expect(() => CreateApiKeyDtoSchema.parse({ name: "k" })).toThrow();
61
+ expect(() => CreateApiKeyDtoSchema.parse({ name: "k", expiresInDays: null })).toThrow();
62
+ });
63
+ });
64
+
65
+ describe("UpdateApiKeyDtoSchema", () => {
66
+ it("requires a non-empty name", () => {
67
+ expect(() => UpdateApiKeyDtoSchema.parse({ name: "" })).toThrow();
68
+ expect(UpdateApiKeyDtoSchema.parse({ name: "Renamed" })).toEqual({ name: "Renamed" });
69
+ });
70
+ });
71
+
72
+ describe("CreatedApiKeyDtoSchema", () => {
73
+ it("includes the plain key exactly once at creation", () => {
74
+ const parsed = CreatedApiKeyDtoSchema.parse({ ...validApiKey, key: "opendpp_secret" });
75
+ expect(parsed.key).toBe("opendpp_secret");
76
+ });
77
+ });
78
+
79
+ describe("ApiKeyPaginationDtoSchema", () => {
80
+ it("parses a paginated result", () => {
81
+ const parsed = ApiKeyPaginationDtoSchema.parse({
82
+ paging_metadata: { cursor: null },
83
+ result: [validApiKey],
84
+ });
85
+ expect(parsed.result).toHaveLength(1);
86
+ expect(parsed.paging_metadata.cursor).toBeNull();
87
+ });
88
+ });
@@ -0,0 +1,45 @@
1
+ import { z } from "zod";
2
+ import { PagingMetadataDtoSchema } from "../shared/pagination.dto";
3
+
4
+ export const ApiKeyExpiryPresetDays = [30, 90, 180, 365] as const;
5
+
6
+ export const ApiKeyDtoSchema = z.object({
7
+ id: z.string(),
8
+ name: z.string(),
9
+ // First characters of the key (incl. prefix) for masked display; null when not stored.
10
+ start: z.string().nullable(),
11
+ expiresAt: z.iso.datetime().nullable(),
12
+ lastUsedAt: z.iso.datetime().nullable(),
13
+ createdAt: z.iso.datetime(),
14
+ });
15
+
16
+ export type ApiKeyDto = z.infer<typeof ApiKeyDtoSchema>;
17
+
18
+ // The plain key is only returned once, directly after creation.
19
+ export const CreatedApiKeyDtoSchema = ApiKeyDtoSchema.extend({
20
+ key: z.string(),
21
+ });
22
+
23
+ export type CreatedApiKeyDto = z.infer<typeof CreatedApiKeyDtoSchema>;
24
+
25
+ export const CreateApiKeyDtoSchema = z.object({
26
+ name: z.string().min(1).max(100),
27
+ expiresInDays: z.literal(ApiKeyExpiryPresetDays),
28
+ });
29
+
30
+ export type CreateApiKeyDto = z.infer<typeof CreateApiKeyDtoSchema>;
31
+
32
+ export const UpdateApiKeyDtoSchema = z.object({
33
+ name: z.string().min(1).max(100),
34
+ });
35
+
36
+ export type UpdateApiKeyDto = z.infer<typeof UpdateApiKeyDtoSchema>;
37
+
38
+ export const ApiKeyPaginationDtoSchema = z
39
+ .object({
40
+ ...PagingMetadataDtoSchema.shape,
41
+ result: ApiKeyDtoSchema.array(),
42
+ })
43
+ .meta({ id: "ApiKeys" });
44
+
45
+ export type ApiKeyPaginationDto = z.infer<typeof ApiKeyPaginationDtoSchema>;
package/src/index.ts CHANGED
@@ -82,6 +82,7 @@ export * from "./shared/populate.dto";
82
82
  export * from "./shared/table.dto";
83
83
  export * from "./status/status.dto";
84
84
  export * from "./templates/template.dto";
85
+ export * from "./api-keys/api-key.dto";
85
86
  export * from "./users/create-user.dto";
86
87
  export * from "./users/me.dto";
87
88
  export * from "./users/pending-email-change.dto";