@puzzlin/models 1.2.0 → 1.3.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.
Files changed (34) hide show
  1. package/dist/models/index.d.ts +1 -0
  2. package/dist/models/index.d.ts.map +1 -1
  3. package/dist/models/index.js +1 -0
  4. package/dist/models/index.js.map +1 -1
  5. package/dist/models/transcriptions/index.d.ts +4 -0
  6. package/dist/models/transcriptions/index.d.ts.map +1 -0
  7. package/dist/models/transcriptions/index.js +20 -0
  8. package/dist/models/transcriptions/index.js.map +1 -0
  9. package/dist/models/transcriptions/inputs/index.d.ts +2 -0
  10. package/dist/models/transcriptions/inputs/index.d.ts.map +1 -0
  11. package/dist/models/transcriptions/inputs/index.js +18 -0
  12. package/dist/models/transcriptions/inputs/index.js.map +1 -0
  13. package/dist/models/transcriptions/inputs/transcribe.input.d.ts +6 -0
  14. package/dist/models/transcriptions/inputs/transcribe.input.d.ts.map +1 -0
  15. package/dist/models/transcriptions/inputs/transcribe.input.js +32 -0
  16. package/dist/models/transcriptions/inputs/transcribe.input.js.map +1 -0
  17. package/dist/models/transcriptions/objects/index.d.ts +2 -0
  18. package/dist/models/transcriptions/objects/index.d.ts.map +1 -0
  19. package/dist/models/transcriptions/objects/index.js +18 -0
  20. package/dist/models/transcriptions/objects/index.js.map +1 -0
  21. package/dist/models/transcriptions/objects/transcription.object.d.ts +4 -0
  22. package/dist/models/transcriptions/objects/transcription.object.d.ts.map +1 -0
  23. package/dist/models/transcriptions/objects/transcription.object.js +23 -0
  24. package/dist/models/transcriptions/objects/transcription.object.js.map +1 -0
  25. package/dist/models/transcriptions/payloads/index.d.ts +2 -0
  26. package/dist/models/transcriptions/payloads/index.d.ts.map +1 -0
  27. package/dist/models/transcriptions/payloads/index.js +18 -0
  28. package/dist/models/transcriptions/payloads/index.js.map +1 -0
  29. package/dist/models/transcriptions/payloads/transcribe.payload.d.ts +4 -0
  30. package/dist/models/transcriptions/payloads/transcribe.payload.d.ts.map +1 -0
  31. package/dist/models/transcriptions/payloads/transcribe.payload.js +17 -0
  32. package/dist/models/transcriptions/payloads/transcribe.payload.js.map +1 -0
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +1 -1
@@ -3,5 +3,6 @@ export * from './brain-imaging';
3
3
  export * from './emails';
4
4
  export * from './life-experiences';
5
5
  export * from './pagination';
6
+ export * from './transcriptions';
6
7
  export * from './users';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -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
@@ -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,4 @@
1
+ export * from './inputs';
2
+ export * from './objects';
3
+ export * from './payloads';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -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,2 @@
1
+ export * from './transcribe.input';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,6 @@
1
+ import { FileUpload } from '../../../utils';
2
+ export declare class TranscribeInput {
3
+ audioFile?: FileUpload;
4
+ videoFile?: FileUpload;
5
+ }
6
+ //# sourceMappingURL=transcribe.input.d.ts.map
@@ -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,2 @@
1
+ export * from './transcription.object';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,4 @@
1
+ export declare class Transcription {
2
+ text: string;
3
+ }
4
+ //# sourceMappingURL=transcription.object.d.ts.map
@@ -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,2 @@
1
+ export * from './transcribe.payload';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,4 @@
1
+ import { Transcription } from '../objects';
2
+ export declare class TranscribePayload extends Transcription {
3
+ }
4
+ //# sourceMappingURL=transcribe.payload.d.ts.map
@@ -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"}