tering-serieuze-types 1.10.1 → 1.11.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 +10 -0
- package/package.json +1 -1
- package/src/jingle.ts +8 -0
package/dist/index.js
CHANGED
|
@@ -30,6 +30,7 @@ var src_exports = {};
|
|
|
30
30
|
__export(src_exports, {
|
|
31
31
|
AddUserDto: () => AddUserDto,
|
|
32
32
|
Application: () => Application,
|
|
33
|
+
BigBrotherItem: () => BigBrotherItem,
|
|
33
34
|
Button: () => Button,
|
|
34
35
|
City: () => City,
|
|
35
36
|
EmulateFireDepartmentDto: () => EmulateFireDepartmentDto,
|
|
@@ -245,6 +246,14 @@ __decorateClass([
|
|
|
245
246
|
], JingleFolder.prototype, "jingles", 2);
|
|
246
247
|
var PlayJingleDto = class extends (0, import_swagger5.PickType)(Jingle, ["folder", "file"]) {
|
|
247
248
|
};
|
|
249
|
+
var BigBrotherItem = class {
|
|
250
|
+
};
|
|
251
|
+
__decorateClass([
|
|
252
|
+
(0, import_swagger5.ApiProperty)({ type: String, example: "frank@maxserv.com", description: "User's email" })
|
|
253
|
+
], BigBrotherItem.prototype, "user", 2);
|
|
254
|
+
__decorateClass([
|
|
255
|
+
(0, import_swagger5.ApiProperty)({ type: Number, example: 1679694523189, description: "Timestamp in milliseconds" })
|
|
256
|
+
], BigBrotherItem.prototype, "time", 2);
|
|
248
257
|
|
|
249
258
|
// src/index.ts
|
|
250
259
|
var P2000Payload = class {
|
|
@@ -253,6 +262,7 @@ var P2000Payload = class {
|
|
|
253
262
|
0 && (module.exports = {
|
|
254
263
|
AddUserDto,
|
|
255
264
|
Application,
|
|
265
|
+
BigBrotherItem,
|
|
256
266
|
Button,
|
|
257
267
|
City,
|
|
258
268
|
EmulateFireDepartmentDto,
|
package/package.json
CHANGED
package/src/jingle.ts
CHANGED
|
@@ -23,3 +23,11 @@ export class JingleFolder {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export class PlayJingleDto extends PickType(Jingle, ['folder', 'file'] as const) {}
|
|
26
|
+
|
|
27
|
+
export class BigBrotherItem {
|
|
28
|
+
@ApiProperty({ type: String, example: 'frank@maxserv.com', description: "User's email" })
|
|
29
|
+
user: string;
|
|
30
|
+
|
|
31
|
+
@ApiProperty({ type: Number, example: 1679694523189, description: 'Timestamp in milliseconds' })
|
|
32
|
+
time: number;
|
|
33
|
+
}
|