tering-serieuze-types 1.8.3 → 1.9.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 CHANGED
@@ -31,7 +31,7 @@ __export(src_exports, {
31
31
  AddUserDto: () => AddUserDto,
32
32
  Application: () => Application,
33
33
  Button: () => Button,
34
- Cities: () => Cities,
34
+ City: () => City,
35
35
  EmulateFireDepartmentDto: () => EmulateFireDepartmentDto,
36
36
  Jingle: () => Jingle,
37
37
  JingleFolder: () => JingleFolder,
@@ -207,15 +207,15 @@ __decorateClass([
207
207
 
208
208
  // src/emulator.ts
209
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 || {});
210
+ var City = /* @__PURE__ */ ((City2) => {
211
+ City2["Waalwijk"] = "Waalwijk";
212
+ City2["Sprang"] = "Sprang-Capelle";
213
+ return City2;
214
+ })(City || {});
215
215
  var EmulateFireDepartmentDto = class {
216
216
  };
217
217
  __decorateClass([
218
- (0, import_swagger4.ApiProperty)({ type: String, enum: Cities, example: `'${"Waalwijk" /* Waalwijk */}' or '${"Sprang-Capelle" /* Sprang */}'` })
218
+ (0, import_swagger4.ApiProperty)({ enum: City })
219
219
  ], EmulateFireDepartmentDto.prototype, "city", 2);
220
220
 
221
221
  // src/jingle.ts
@@ -249,7 +249,7 @@ var PlayJingleDto = class extends (0, import_swagger5.PickType)(Jingle, ["folder
249
249
  AddUserDto,
250
250
  Application,
251
251
  Button,
252
- Cities,
252
+ City,
253
253
  EmulateFireDepartmentDto,
254
254
  Jingle,
255
255
  JingleFolder,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tering-serieuze-types",
3
- "version": "1.8.3",
3
+ "version": "1.9.0",
4
4
  "description": "Tering serieuze types",
5
5
  "author": "Frank",
6
6
  "repository": {
package/src/emulator.ts CHANGED
@@ -6,6 +6,6 @@ export enum City {
6
6
  }
7
7
 
8
8
  export class EmulateFireDepartmentDto {
9
- @ApiProperty({ enum: City, example: `'${City.Waalwijk}' or '${City.Sprang}'` })
9
+ @ApiProperty({ enum: City })
10
10
  city: City;
11
11
  }
package/src/index.ts CHANGED
@@ -3,3 +3,5 @@ export * from './button';
3
3
  export * from './emulator';
4
4
  export * from './jingle';
5
5
  export * from './user';
6
+
7
+ export interface Dto {}