tering-serieuze-types 2.14.0 → 2.14.2
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 +1 -1
- package/interfaces/mopidy.ts +2 -0
- package/package.json +1 -1
- package/src/mopidy.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -559,7 +559,7 @@ var SetAlarmschijfDto = class {
|
|
|
559
559
|
uri;
|
|
560
560
|
};
|
|
561
561
|
__decorateClass([
|
|
562
|
-
(0, import_swagger10.ApiProperty)({ description: "URI of the track to set as alarmschijf" }),
|
|
562
|
+
(0, import_swagger10.ApiProperty)({ description: "URI of the track to set as alarmschijf", type: String }),
|
|
563
563
|
(0, import_class_validator7.IsString)(),
|
|
564
564
|
(0, import_class_validator7.IsNotEmpty)(),
|
|
565
565
|
(0, import_class_validator7.Matches)(/^spotify:track:[a-zA-Z0-9]{22}$/, { message: "URI must be a valid Spotify track URI" })
|
package/interfaces/mopidy.ts
CHANGED
|
@@ -2,6 +2,8 @@ import type Mopidy = require('mopidy');
|
|
|
2
2
|
import { type URLTrack } from './webamp';
|
|
3
3
|
|
|
4
4
|
type Track = Mopidy.models.Track;
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6
|
+
type TlTrack = Mopidy.models.TlTrack;
|
|
5
7
|
type Artist = Mopidy.models.Artist;
|
|
6
8
|
type Image = Mopidy.models.Image;
|
|
7
9
|
type SearchResult = Mopidy.models.SearchResult;
|
package/package.json
CHANGED
package/src/mopidy.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ApiProperty } from '@nestjs/swagger';
|
|
|
2
2
|
import { IsNotEmpty, IsString, Matches } from 'class-validator';
|
|
3
3
|
|
|
4
4
|
export class SetAlarmschijfDto {
|
|
5
|
-
@ApiProperty({ description: 'URI of the track to set as alarmschijf' })
|
|
5
|
+
@ApiProperty({ description: 'URI of the track to set as alarmschijf', type: String })
|
|
6
6
|
@IsString()
|
|
7
7
|
@IsNotEmpty()
|
|
8
8
|
@Matches(/^spotify:track:[a-zA-Z0-9]{22}$/, { message: 'URI must be a valid Spotify track URI' })
|