tering-serieuze-types 1.13.0 → 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 +26 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/jingle.ts +3 -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,
|
|
@@ -248,6 +250,9 @@ __decorateClass([
|
|
|
248
250
|
__decorateClass([
|
|
249
251
|
(0, import_swagger6.ApiProperty)({ type: String, example: "1475909a5bbe100" })
|
|
250
252
|
], Jingle.prototype, "hash", 2);
|
|
253
|
+
__decorateClass([
|
|
254
|
+
(0, import_swagger6.ApiProperty)({ type: Number, example: 1599223250, description: "Timestamp in seconds" })
|
|
255
|
+
], Jingle.prototype, "mtime", 2);
|
|
251
256
|
var JingleFolder = class {
|
|
252
257
|
};
|
|
253
258
|
__decorateClass([
|
|
@@ -267,6 +272,25 @@ __decorateClass([
|
|
|
267
272
|
(0, import_swagger6.ApiProperty)({ type: Number, example: 1679694523189, description: "Timestamp in milliseconds" })
|
|
268
273
|
], BigBrotherItem.prototype, "time", 2);
|
|
269
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
|
+
|
|
270
294
|
// src/index.ts
|
|
271
295
|
var P2000Payload = class {
|
|
272
296
|
};
|
|
@@ -278,11 +302,13 @@ var P2000Payload = class {
|
|
|
278
302
|
BigBrotherItem,
|
|
279
303
|
Button,
|
|
280
304
|
City,
|
|
305
|
+
DeletePodDto,
|
|
281
306
|
EmulateFireDepartmentDto,
|
|
282
307
|
Jingle,
|
|
283
308
|
JingleFolder,
|
|
284
309
|
P2000Payload,
|
|
285
310
|
PlayJingleDto,
|
|
311
|
+
Pod,
|
|
286
312
|
RemoveUserDto,
|
|
287
313
|
SetWindowStateDto,
|
|
288
314
|
ToggleAbleUserPropertyEnum,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/jingle.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) {}
|