tering-serieuze-types 1.14.1 → 1.15.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.
- package/dist/index.js +23 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/k8s.ts +17 -0
package/dist/index.js
CHANGED
|
@@ -34,11 +34,13 @@ __export(src_exports, {
|
|
|
34
34
|
BigBrotherItem: () => BigBrotherItem,
|
|
35
35
|
Button: () => Button,
|
|
36
36
|
City: () => City,
|
|
37
|
+
DeletePodDto: () => DeletePodDto,
|
|
37
38
|
EmulateFireDepartmentDto: () => EmulateFireDepartmentDto,
|
|
38
39
|
Jingle: () => Jingle,
|
|
39
40
|
JingleFolder: () => JingleFolder,
|
|
40
41
|
P2000Payload: () => P2000Payload,
|
|
41
42
|
PlayJingleDto: () => PlayJingleDto,
|
|
43
|
+
Pod: () => Pod,
|
|
42
44
|
RemoveUserDto: () => RemoveUserDto,
|
|
43
45
|
SetWindowStateDto: () => SetWindowStateDto,
|
|
44
46
|
ToggleAbleUserPropertyEnum: () => ToggleAbleUserPropertyEnum,
|
|
@@ -270,6 +272,25 @@ __decorateClass([
|
|
|
270
272
|
(0, import_swagger6.ApiProperty)({ type: Number, example: 1679694523189, description: "Timestamp in milliseconds" })
|
|
271
273
|
], BigBrotherItem.prototype, "time", 2);
|
|
272
274
|
|
|
275
|
+
// src/k8s.ts
|
|
276
|
+
var import_swagger7 = require("@nestjs/swagger");
|
|
277
|
+
var Pod = class {
|
|
278
|
+
};
|
|
279
|
+
__decorateClass([
|
|
280
|
+
(0, import_swagger7.ApiProperty)({ type: String })
|
|
281
|
+
], Pod.prototype, "app", 2);
|
|
282
|
+
__decorateClass([
|
|
283
|
+
(0, import_swagger7.ApiProperty)({ type: String })
|
|
284
|
+
], Pod.prototype, "name", 2);
|
|
285
|
+
__decorateClass([
|
|
286
|
+
(0, import_swagger7.ApiProperty)({ type: String })
|
|
287
|
+
], Pod.prototype, "status", 2);
|
|
288
|
+
__decorateClass([
|
|
289
|
+
(0, import_swagger7.ApiProperty)({ type: Number })
|
|
290
|
+
], Pod.prototype, "restarts", 2);
|
|
291
|
+
var DeletePodDto = class extends (0, import_swagger7.PickType)(Pod, ["name"]) {
|
|
292
|
+
};
|
|
293
|
+
|
|
273
294
|
// src/index.ts
|
|
274
295
|
var P2000Payload = class {
|
|
275
296
|
};
|
|
@@ -281,11 +302,13 @@ var P2000Payload = class {
|
|
|
281
302
|
BigBrotherItem,
|
|
282
303
|
Button,
|
|
283
304
|
City,
|
|
305
|
+
DeletePodDto,
|
|
284
306
|
EmulateFireDepartmentDto,
|
|
285
307
|
Jingle,
|
|
286
308
|
JingleFolder,
|
|
287
309
|
P2000Payload,
|
|
288
310
|
PlayJingleDto,
|
|
311
|
+
Pod,
|
|
289
312
|
RemoveUserDto,
|
|
290
313
|
SetWindowStateDto,
|
|
291
314
|
ToggleAbleUserPropertyEnum,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/k8s.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ApiProperty, PickType } from '@nestjs/swagger';
|
|
2
|
+
|
|
3
|
+
export class Pod {
|
|
4
|
+
@ApiProperty({ type: String })
|
|
5
|
+
app: string;
|
|
6
|
+
|
|
7
|
+
@ApiProperty({ type: String })
|
|
8
|
+
name: string;
|
|
9
|
+
|
|
10
|
+
@ApiProperty({ type: String })
|
|
11
|
+
status: string;
|
|
12
|
+
|
|
13
|
+
@ApiProperty({ type: Number })
|
|
14
|
+
restarts: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class DeletePodDto extends PickType(Pod, ['name'] as const) {}
|