@puzzlin/models 1.2.0 → 1.4.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/models/index.d.ts +1 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -0
- package/dist/models/index.js.map +1 -1
- package/dist/models/transcriptions/index.d.ts +4 -0
- package/dist/models/transcriptions/index.d.ts.map +1 -0
- package/dist/models/transcriptions/index.js +20 -0
- package/dist/models/transcriptions/index.js.map +1 -0
- package/dist/models/transcriptions/inputs/index.d.ts +2 -0
- package/dist/models/transcriptions/inputs/index.d.ts.map +1 -0
- package/dist/models/transcriptions/inputs/index.js +18 -0
- package/dist/models/transcriptions/inputs/index.js.map +1 -0
- package/dist/models/transcriptions/inputs/transcribe.input.d.ts +6 -0
- package/dist/models/transcriptions/inputs/transcribe.input.d.ts.map +1 -0
- package/dist/models/transcriptions/inputs/transcribe.input.js +32 -0
- package/dist/models/transcriptions/inputs/transcribe.input.js.map +1 -0
- package/dist/models/transcriptions/objects/index.d.ts +2 -0
- package/dist/models/transcriptions/objects/index.d.ts.map +1 -0
- package/dist/models/transcriptions/objects/index.js +18 -0
- package/dist/models/transcriptions/objects/index.js.map +1 -0
- package/dist/models/transcriptions/objects/transcription.object.d.ts +4 -0
- package/dist/models/transcriptions/objects/transcription.object.d.ts.map +1 -0
- package/dist/models/transcriptions/objects/transcription.object.js +23 -0
- package/dist/models/transcriptions/objects/transcription.object.js.map +1 -0
- package/dist/models/transcriptions/payloads/index.d.ts +2 -0
- package/dist/models/transcriptions/payloads/index.d.ts.map +1 -0
- package/dist/models/transcriptions/payloads/index.js +18 -0
- package/dist/models/transcriptions/payloads/index.js.map +1 -0
- package/dist/models/transcriptions/payloads/transcribe.payload.d.ts +4 -0
- package/dist/models/transcriptions/payloads/transcribe.payload.d.ts.map +1 -0
- package/dist/models/transcriptions/payloads/transcribe.payload.js +17 -0
- package/dist/models/transcriptions/payloads/transcribe.payload.js.map +1 -0
- package/dist/models/users/inputs/update-user.input.d.ts +3 -2
- package/dist/models/users/inputs/update-user.input.d.ts.map +1 -1
- package/dist/models/users/inputs/update-user.input.js +8 -1
- package/dist/models/users/inputs/update-user.input.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
|
package/dist/models/index.js
CHANGED
|
@@ -19,5 +19,6 @@ __exportStar(require("./brain-imaging"), exports);
|
|
|
19
19
|
__exportStar(require("./emails"), exports);
|
|
20
20
|
__exportStar(require("./life-experiences"), exports);
|
|
21
21
|
__exportStar(require("./pagination"), exports);
|
|
22
|
+
__exportStar(require("./transcriptions"), exports);
|
|
22
23
|
__exportStar(require("./users"), exports);
|
|
23
24
|
//# sourceMappingURL=index.js.map
|
package/dist/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,kDAAgC;AAChC,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,kDAAgC;AAChC,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/transcriptions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./inputs"), exports);
|
|
18
|
+
__exportStar(require("./objects"), exports);
|
|
19
|
+
__exportStar(require("./payloads"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/transcriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/transcriptions/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./transcribe.input"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/transcriptions/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcribe.input.d.ts","sourceRoot":"","sources":["../../../../src/models/transcriptions/inputs/transcribe.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,qBACa,eAAe;IAI1B,SAAS,CAAC,EAAE,UAAU,CAAC;IAKvB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TranscribeInput = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const Upload = require("graphql-upload/GraphQLUpload.js");
|
|
15
|
+
let TranscribeInput = exports.TranscribeInput = class TranscribeInput {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, graphql_1.Field)(() => Upload, {
|
|
19
|
+
nullable: true,
|
|
20
|
+
}),
|
|
21
|
+
__metadata("design:type", Object)
|
|
22
|
+
], TranscribeInput.prototype, "audioFile", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, graphql_1.Field)(() => Upload, {
|
|
25
|
+
nullable: true,
|
|
26
|
+
}),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], TranscribeInput.prototype, "videoFile", void 0);
|
|
29
|
+
exports.TranscribeInput = TranscribeInput = __decorate([
|
|
30
|
+
(0, graphql_1.InputType)()
|
|
31
|
+
], TranscribeInput);
|
|
32
|
+
//# sourceMappingURL=transcribe.input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcribe.input.js","sourceRoot":"","sources":["../../../../src/models/transcriptions/inputs/transcribe.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,6CAAmD;AACnD,0DAA0D;AAGnD,IAAM,eAAe,6BAArB,MAAM,eAAe;CAU3B,CAAA;AANC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACqB;AAKvB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACqB;0BATZ,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAU3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/transcriptions/objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./transcription.object"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/transcriptions/objects/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcription.object.d.ts","sourceRoot":"","sources":["../../../../src/models/transcriptions/objects/transcription.object.ts"],"names":[],"mappings":"AAEA,qBACa,aAAa;IAExB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Transcription = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
let Transcription = exports.Transcription = class Transcription {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, graphql_1.Field)(() => String),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], Transcription.prototype, "text", void 0);
|
|
20
|
+
exports.Transcription = Transcription = __decorate([
|
|
21
|
+
(0, graphql_1.ObjectType)()
|
|
22
|
+
], Transcription);
|
|
23
|
+
//# sourceMappingURL=transcription.object.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcription.object.js","sourceRoot":"","sources":["../../../../src/models/transcriptions/objects/transcription.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AAG7C,IAAM,aAAa,2BAAnB,MAAM,aAAa;CAGzB,CAAA;AADC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;2CACP;wBAFF,aAAa;IADzB,IAAA,oBAAU,GAAE;GACA,aAAa,CAGzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/transcriptions/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./transcribe.payload"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/transcriptions/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcribe.payload.d.ts","sourceRoot":"","sources":["../../../../src/models/transcriptions/payloads/transcribe.payload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,qBACa,iBAAkB,SAAQ,aAAa;CAAG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.TranscribePayload = void 0;
|
|
10
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
11
|
+
const objects_1 = require("../objects");
|
|
12
|
+
let TranscribePayload = exports.TranscribePayload = class TranscribePayload extends objects_1.Transcription {
|
|
13
|
+
};
|
|
14
|
+
exports.TranscribePayload = TranscribePayload = __decorate([
|
|
15
|
+
(0, graphql_1.ObjectType)()
|
|
16
|
+
], TranscribePayload);
|
|
17
|
+
//# sourceMappingURL=transcribe.payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcribe.payload.js","sourceRoot":"","sources":["../../../../src/models/transcriptions/payloads/transcribe.payload.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAAoD;AACpD,wCAA2C;AAGpC,IAAM,iBAAiB,+BAAvB,MAAM,iBAAkB,SAAQ,uBAAa;CAAG,CAAA;4BAA1C,iBAAiB;IAD7B,IAAA,oBAAU,GAAE;GACA,iBAAiB,CAAyB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NodeInput } from '../../../utils';
|
|
1
|
+
import { FileUpload, NodeInput } from '../../../utils';
|
|
3
2
|
import { UserRoleEnum } from '@puzzlin/enums';
|
|
3
|
+
import { UpdateUserAccountInput } from './update-user-account.input';
|
|
4
4
|
export declare class UpdateUserInput extends NodeInput {
|
|
5
5
|
account?: UpdateUserAccountInput;
|
|
6
|
+
avatar?: FileUpload;
|
|
6
7
|
avatarUrl?: string;
|
|
7
8
|
firstName?: string;
|
|
8
9
|
lastName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.input.d.ts","sourceRoot":"","sources":["../../../../src/models/users/inputs/update-user.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"update-user.input.d.ts","sourceRoot":"","sources":["../../../../src/models/users/inputs/update-user.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAQ,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBACa,eAAgB,SAAQ,SAAS;IAI5C,OAAO,CAAC,EAAE,sBAAsB,CAAC;IAKjC,MAAM,CAAC,EAAE,UAAU,CAAC;IAKpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;CACxB"}
|
|
@@ -10,11 +10,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateUserInput = void 0;
|
|
13
|
-
const update_user_account_input_1 = require("./update-user-account.input");
|
|
14
13
|
const utils_1 = require("../../../utils");
|
|
15
14
|
const graphql_1 = require("@nestjs/graphql");
|
|
16
15
|
const enums_1 = require("@puzzlin/enums");
|
|
17
16
|
const graphql_scalars_1 = require("graphql-scalars");
|
|
17
|
+
const Upload = require("graphql-upload/GraphQLUpload.js");
|
|
18
|
+
const update_user_account_input_1 = require("./update-user-account.input");
|
|
18
19
|
let UpdateUserInput = exports.UpdateUserInput = class UpdateUserInput extends utils_1.NodeInput {
|
|
19
20
|
};
|
|
20
21
|
__decorate([
|
|
@@ -23,6 +24,12 @@ __decorate([
|
|
|
23
24
|
}),
|
|
24
25
|
__metadata("design:type", update_user_account_input_1.UpdateUserAccountInput)
|
|
25
26
|
], UpdateUserInput.prototype, "account", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, graphql_1.Field)(() => Upload, {
|
|
29
|
+
nullable: true,
|
|
30
|
+
}),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], UpdateUserInput.prototype, "avatar", void 0);
|
|
26
33
|
__decorate([
|
|
27
34
|
(0, graphql_1.Field)(() => String, {
|
|
28
35
|
nullable: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.input.js","sourceRoot":"","sources":["../../../../src/models/users/inputs/update-user.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"update-user.input.js","sourceRoot":"","sources":["../../../../src/models/users/inputs/update-user.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAAsD;AACtD,6CAAmD;AACnD,0CAA8C;AAC9C,qDAAyD;AACzD,0DAA0D;AAC1D,2EAAqE;AAG9D,IAAM,eAAe,6BAArB,MAAM,eAAgB,SAAQ,iBAAS;CAgC7C,CAAA;AA5BC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,kDAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;8BACQ,kDAAsB;gDAAC;AAKjC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;+CACkB;AAKpB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACiB;AAMnB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,YAAI,GAAE;;kDACY;AAMnB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,YAAI,GAAE;;iDACW;AAKlB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,oBAAY,CAAC,EAAE;QAC3B,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACqB;0BA/BZ,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAgC3B"}
|