tering-serieuze-types 1.8.0 → 1.8.1
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 +25 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,6 +31,8 @@ __export(src_exports, {
|
|
|
31
31
|
AddUserDto: () => AddUserDto,
|
|
32
32
|
Application: () => Application,
|
|
33
33
|
Button: () => Button,
|
|
34
|
+
Cities: () => Cities,
|
|
35
|
+
EmulateFireDepartmentDto: () => EmulateFireDepartmentDto,
|
|
34
36
|
Jingle: () => Jingle,
|
|
35
37
|
JingleFolder: () => JingleFolder,
|
|
36
38
|
PlayJingleDto: () => PlayJingleDto,
|
|
@@ -203,37 +205,52 @@ __decorateClass([
|
|
|
203
205
|
(0, import_swagger3.ApiProperty)({ type: Number, nullable: true })
|
|
204
206
|
], Button.prototype, "batteryState", 2);
|
|
205
207
|
|
|
206
|
-
// src/
|
|
208
|
+
// src/emulator.ts
|
|
207
209
|
var import_swagger4 = require("@nestjs/swagger");
|
|
210
|
+
var Cities = /* @__PURE__ */ ((Cities2) => {
|
|
211
|
+
Cities2["Waalwijk"] = "Waalwijk";
|
|
212
|
+
Cities2["Sprang"] = "Sprang-Capelle";
|
|
213
|
+
return Cities2;
|
|
214
|
+
})(Cities || {});
|
|
215
|
+
var EmulateFireDepartmentDto = class {
|
|
216
|
+
};
|
|
217
|
+
__decorateClass([
|
|
218
|
+
(0, import_swagger4.ApiProperty)({ type: String, enum: Cities, example: `'${"Waalwijk" /* Waalwijk */}' or '${"Sprang-Capelle" /* Sprang */}'` })
|
|
219
|
+
], EmulateFireDepartmentDto.prototype, "city", 2);
|
|
220
|
+
|
|
221
|
+
// src/jingle.ts
|
|
222
|
+
var import_swagger5 = require("@nestjs/swagger");
|
|
208
223
|
var Jingle = class {
|
|
209
224
|
};
|
|
210
225
|
__decorateClass([
|
|
211
|
-
(0,
|
|
226
|
+
(0, import_swagger5.ApiProperty)({ type: String, example: "internet-gekkies" })
|
|
212
227
|
], Jingle.prototype, "folder", 2);
|
|
213
228
|
__decorateClass([
|
|
214
|
-
(0,
|
|
229
|
+
(0, import_swagger5.ApiProperty)({ type: String, example: "mand.mp3" })
|
|
215
230
|
], Jingle.prototype, "file", 2);
|
|
216
231
|
__decorateClass([
|
|
217
|
-
(0,
|
|
232
|
+
(0, import_swagger5.ApiProperty)({ type: [String], examples: ["internet", "gekkies", "mand"] })
|
|
218
233
|
], Jingle.prototype, "keywords", 2);
|
|
219
234
|
__decorateClass([
|
|
220
|
-
(0,
|
|
235
|
+
(0, import_swagger5.ApiProperty)({ type: String, example: "1475909a5bbe100" })
|
|
221
236
|
], Jingle.prototype, "hash", 2);
|
|
222
237
|
var JingleFolder = class {
|
|
223
238
|
};
|
|
224
239
|
__decorateClass([
|
|
225
|
-
(0,
|
|
240
|
+
(0, import_swagger5.ApiProperty)({ type: String, example: "internet-gekkies" })
|
|
226
241
|
], JingleFolder.prototype, "folder", 2);
|
|
227
242
|
__decorateClass([
|
|
228
|
-
(0,
|
|
243
|
+
(0, import_swagger5.ApiProperty)({ type: [Jingle] })
|
|
229
244
|
], JingleFolder.prototype, "jingles", 2);
|
|
230
|
-
var PlayJingleDto = class extends (0,
|
|
245
|
+
var PlayJingleDto = class extends (0, import_swagger5.PickType)(Jingle, ["folder", "file"]) {
|
|
231
246
|
};
|
|
232
247
|
// Annotate the CommonJS export names for ESM import in node:
|
|
233
248
|
0 && (module.exports = {
|
|
234
249
|
AddUserDto,
|
|
235
250
|
Application,
|
|
236
251
|
Button,
|
|
252
|
+
Cities,
|
|
253
|
+
EmulateFireDepartmentDto,
|
|
237
254
|
Jingle,
|
|
238
255
|
JingleFolder,
|
|
239
256
|
PlayJingleDto,
|