tering-serieuze-types 1.23.0 → 1.24.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 CHANGED
@@ -50,7 +50,6 @@ __export(src_exports, {
50
50
  ToggleBoolDto: () => ToggleBoolDto,
51
51
  ToggleableUserProperties: () => ToggleableUserProperties,
52
52
  TokenType: () => TokenType,
53
- Type: () => import_common.Type,
54
53
  User: () => User,
55
54
  VerificationResponseDto: () => VerificationResponseDto,
56
55
  WebsocketAction: () => WebsocketAction,
@@ -384,7 +383,6 @@ var DeletePodDto = class extends (0, import_swagger8.PickType)(Pod, ["name"]) {
384
383
  };
385
384
 
386
385
  // src/index.ts
387
- var import_common = require("@nestjs/common");
388
386
  var P2000Payload = class {
389
387
  };
390
388
  // Annotate the CommonJS export names for ESM import in node:
@@ -411,7 +409,6 @@ var P2000Payload = class {
411
409
  ToggleBoolDto,
412
410
  ToggleableUserProperties,
413
411
  TokenType,
414
- Type,
415
412
  User,
416
413
  VerificationResponseDto,
417
414
  WebsocketAction,
@@ -1,6 +1,10 @@
1
- import { URLTrack } from './webamp';
1
+ import { type URLTrack } from './webamp';
2
2
 
3
- export type PlaybackState = 'playing' | 'paused' | 'stopped';
3
+ export enum PlaybackState {
4
+ playing = 'playing',
5
+ paused = 'paused',
6
+ stopped = 'stopped',
7
+ }
4
8
 
5
9
  export interface MopidyData {
6
10
  tracklist: URLTrack[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tering-serieuze-types",
3
- "version": "1.23.0",
3
+ "version": "1.24.1",
4
4
  "description": "Tering serieuze types",
5
5
  "author": "Frank",
6
6
  "repository": {
@@ -1,4 +1,4 @@
1
- import {
1
+ import type {
2
2
  AuthenticatorDevice,
3
3
  CredentialDeviceType,
4
4
  PublicKeyCredentialRequestOptionsJSON,
package/src/index.ts CHANGED
@@ -8,7 +8,7 @@ export * from './session';
8
8
  export * from './user';
9
9
 
10
10
  // Prevent 'Inferred type cannot be named' error
11
- export { Type } from '@nestjs/common';
11
+ export type { Type } from '@nestjs/common';
12
12
 
13
13
  export interface Dto {}
14
14
 
package/src/user.ts CHANGED
@@ -2,7 +2,7 @@ import { ApiProperty, PickType } from '@nestjs/swagger';
2
2
  import { IsEmail } from 'class-validator';
3
3
  import { Button } from './button';
4
4
  import { WindowState } from './application';
5
- import { DbAuthenticator } from './authenticator';
5
+ import { type DbAuthenticator } from './authenticator';
6
6
  import { ApiToken, Session } from './session';
7
7
 
8
8
  export class User {