tering-serieuze-types 2.0.0 → 2.0.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 +2 -2
- package/package.json +1 -1
- package/src/session.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ __decorateClass([
|
|
|
145
145
|
], ApiToken.prototype, "id", 2);
|
|
146
146
|
__decorateClass([
|
|
147
147
|
(0, import_swagger3.ApiProperty)({
|
|
148
|
-
type: User,
|
|
148
|
+
type: () => [User],
|
|
149
149
|
description: "User object"
|
|
150
150
|
})
|
|
151
151
|
], ApiToken.prototype, "user", 2);
|
|
@@ -174,7 +174,7 @@ __decorateClass([
|
|
|
174
174
|
], Session.prototype, "id", 2);
|
|
175
175
|
__decorateClass([
|
|
176
176
|
(0, import_swagger3.ApiProperty)({
|
|
177
|
-
type: User,
|
|
177
|
+
type: () => [User],
|
|
178
178
|
description: "User object"
|
|
179
179
|
})
|
|
180
180
|
], Session.prototype, "user", 2);
|
package/package.json
CHANGED
package/src/session.ts
CHANGED
|
@@ -25,7 +25,7 @@ export class ApiToken {
|
|
|
25
25
|
id: string;
|
|
26
26
|
|
|
27
27
|
@ApiProperty({
|
|
28
|
-
type: User,
|
|
28
|
+
type: () => [User],
|
|
29
29
|
description: 'User object',
|
|
30
30
|
})
|
|
31
31
|
user: User;
|
|
@@ -54,7 +54,7 @@ export class Session {
|
|
|
54
54
|
id: number;
|
|
55
55
|
|
|
56
56
|
@ApiProperty({
|
|
57
|
-
type: User,
|
|
57
|
+
type: () => [User],
|
|
58
58
|
description: 'User object',
|
|
59
59
|
})
|
|
60
60
|
user: User;
|