tering-serieuze-types 2.0.5 → 2.1.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 -2
- package/package.json +1 -1
- package/src/user.ts +10 -0
package/dist/index.js
CHANGED
|
@@ -54,7 +54,9 @@ __export(src_exports, {
|
|
|
54
54
|
VerificationResponseDto: () => VerificationResponseDto,
|
|
55
55
|
WebsocketAction: () => WebsocketAction,
|
|
56
56
|
WindowState: () => WindowState,
|
|
57
|
-
WindowStateApplication: () => WindowStateApplication
|
|
57
|
+
WindowStateApplication: () => WindowStateApplication,
|
|
58
|
+
WsUpdateStoreDto: () => WsUpdateStoreDto,
|
|
59
|
+
WsUpdateStoreSetAccount: () => WsUpdateStoreSetAccount
|
|
58
60
|
});
|
|
59
61
|
module.exports = __toCommonJS(src_exports);
|
|
60
62
|
|
|
@@ -277,6 +279,10 @@ __decorateClass([
|
|
|
277
279
|
__decorateClass([
|
|
278
280
|
(0, import_swagger4.ApiProperty)({ enum: ToggleAbleUserPropertyEnum, description: "The property to toggle" })
|
|
279
281
|
], ToggleBoolDto.prototype, "field", 2);
|
|
282
|
+
var WsUpdateStoreDto = class {
|
|
283
|
+
};
|
|
284
|
+
var WsUpdateStoreSetAccount = class extends WsUpdateStoreDto {
|
|
285
|
+
};
|
|
280
286
|
|
|
281
287
|
// src/button.ts
|
|
282
288
|
var WebsocketAction = class {
|
|
@@ -430,5 +436,7 @@ var P2000Payload = class {
|
|
|
430
436
|
VerificationResponseDto,
|
|
431
437
|
WebsocketAction,
|
|
432
438
|
WindowState,
|
|
433
|
-
WindowStateApplication
|
|
439
|
+
WindowStateApplication,
|
|
440
|
+
WsUpdateStoreDto,
|
|
441
|
+
WsUpdateStoreSetAccount
|
|
434
442
|
});
|
package/package.json
CHANGED
package/src/user.ts
CHANGED
|
@@ -86,3 +86,13 @@ export class ToggleBoolDto {
|
|
|
86
86
|
@ApiProperty({ enum: ToggleAbleUserPropertyEnum, description: 'The property to toggle' })
|
|
87
87
|
field: keyof ToggleableUserProperties;
|
|
88
88
|
}
|
|
89
|
+
|
|
90
|
+
export class WsUpdateStoreDto {
|
|
91
|
+
mutation: string;
|
|
92
|
+
|
|
93
|
+
payload: any;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export class WsUpdateStoreSetAccount extends WsUpdateStoreDto {
|
|
97
|
+
payload: User;
|
|
98
|
+
}
|