@things-factory/font-base 4.0.22 → 4.0.23

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 (35) hide show
  1. package/package.json +4 -4
  2. package/dist-server/entities/font.js +0 -72
  3. package/dist-server/entities/font.js.map +0 -1
  4. package/dist-server/entities/index.js +0 -7
  5. package/dist-server/entities/index.js.map +0 -1
  6. package/dist-server/graphql/index.js +0 -30
  7. package/dist-server/graphql/index.js.map +0 -1
  8. package/dist-server/graphql/resolvers/font/create-font.js +0 -13
  9. package/dist-server/graphql/resolvers/font/create-font.js.map +0 -1
  10. package/dist-server/graphql/resolvers/font/delete-font.js +0 -18
  11. package/dist-server/graphql/resolvers/font/delete-font.js.map +0 -1
  12. package/dist-server/graphql/resolvers/font/font.js +0 -13
  13. package/dist-server/graphql/resolvers/font/font.js.map +0 -1
  14. package/dist-server/graphql/resolvers/font/fonts.js +0 -14
  15. package/dist-server/graphql/resolvers/font/fonts.js.map +0 -1
  16. package/dist-server/graphql/resolvers/font/index.js +0 -13
  17. package/dist-server/graphql/resolvers/font/index.js.map +0 -1
  18. package/dist-server/graphql/resolvers/font/update-font.js +0 -18
  19. package/dist-server/graphql/resolvers/font/update-font.js.map +0 -1
  20. package/dist-server/graphql/resolvers/index.js +0 -14
  21. package/dist-server/graphql/resolvers/index.js.map +0 -1
  22. package/dist-server/graphql/types/font/font-list.js +0 -14
  23. package/dist-server/graphql/types/font/font-list.js.map +0 -1
  24. package/dist-server/graphql/types/font/font-patch.js +0 -18
  25. package/dist-server/graphql/types/font/font-patch.js.map +0 -1
  26. package/dist-server/graphql/types/font/font.js +0 -21
  27. package/dist-server/graphql/types/font/font.js.map +0 -1
  28. package/dist-server/graphql/types/font/index.js +0 -36
  29. package/dist-server/graphql/types/font/index.js.map +0 -1
  30. package/dist-server/graphql/types/font/new-font.js +0 -19
  31. package/dist-server/graphql/types/font/new-font.js.map +0 -1
  32. package/dist-server/graphql/types/index.js +0 -14
  33. package/dist-server/graphql/types/index.js.map +0 -1
  34. package/dist-server/middlewares/index.js +0 -1
  35. package/dist-server/middlewares/index.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/font-base",
3
- "version": "4.0.22",
3
+ "version": "4.0.23",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,8 +24,8 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/auth-base": "^4.0.22",
28
- "@things-factory/shell": "^4.0.22"
27
+ "@things-factory/auth-base": "^4.0.23",
28
+ "@things-factory/shell": "^4.0.23"
29
29
  },
30
- "gitHead": "8267638c3bd77dfc8fa9629b490d681c6854e423"
30
+ "gitHead": "49ba662dea1d349e9608a9a58c8fcfbc1310a5d6"
31
31
  }
@@ -1,72 +0,0 @@
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
- var _a, _b, _c;
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.Font = void 0;
14
- const typeorm_1 = require("typeorm");
15
- const shell_1 = require("@things-factory/shell");
16
- const auth_base_1 = require("@things-factory/auth-base");
17
- let Font = class Font {
18
- };
19
- __decorate([
20
- typeorm_1.PrimaryGeneratedColumn('uuid'),
21
- __metadata("design:type", String)
22
- ], Font.prototype, "id", void 0);
23
- __decorate([
24
- typeorm_1.ManyToOne(type => shell_1.Domain),
25
- __metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
26
- ], Font.prototype, "domain", void 0);
27
- __decorate([
28
- typeorm_1.Column(),
29
- __metadata("design:type", String)
30
- ], Font.prototype, "name", void 0);
31
- __decorate([
32
- typeorm_1.Column(),
33
- __metadata("design:type", String)
34
- ], Font.prototype, "provider", void 0);
35
- __decorate([
36
- typeorm_1.Column({
37
- nullable: true
38
- }),
39
- __metadata("design:type", String)
40
- ], Font.prototype, "uri", void 0);
41
- __decorate([
42
- typeorm_1.Column({
43
- nullable: true
44
- }),
45
- __metadata("design:type", String)
46
- ], Font.prototype, "path", void 0);
47
- __decorate([
48
- typeorm_1.Column(),
49
- __metadata("design:type", Boolean)
50
- ], Font.prototype, "active", void 0);
51
- __decorate([
52
- typeorm_1.CreateDateColumn(),
53
- __metadata("design:type", Date)
54
- ], Font.prototype, "createdAt", void 0);
55
- __decorate([
56
- typeorm_1.UpdateDateColumn(),
57
- __metadata("design:type", Date)
58
- ], Font.prototype, "updatedAt", void 0);
59
- __decorate([
60
- typeorm_1.ManyToOne(type => auth_base_1.User),
61
- __metadata("design:type", typeof (_b = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _b : Object)
62
- ], Font.prototype, "creator", void 0);
63
- __decorate([
64
- typeorm_1.ManyToOne(type => auth_base_1.User),
65
- __metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
66
- ], Font.prototype, "updater", void 0);
67
- Font = __decorate([
68
- typeorm_1.Entity(),
69
- typeorm_1.Index('ix_font_0', (font) => [font.domain, font.name], { unique: true })
70
- ], Font);
71
- exports.Font = Font;
72
- //# sourceMappingURL=font.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font.js","sourceRoot":"","sources":["../../server/entities/font.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAsH;AACtH,iDAA8C;AAC9C,yDAAgD;AAIhD,IAAa,IAAI,GAAjB,MAAa,IAAI;CAqChB,CAAA;AAnCC;IADC,gCAAsB,CAAC,MAAM,CAAC;;gCACrB;AAGV;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;kDAClB,cAAM,oBAAN,cAAM;oCAAA;AAGd;IADC,gBAAM,EAAE;;kCACG;AAGZ;IADC,gBAAM,EAAE;;sCACO;AAKhB;IAHC,gBAAM,CAAC;QACN,QAAQ,EAAE,IAAI;KACf,CAAC;;iCACS;AAKX;IAHC,gBAAM,CAAC;QACN,QAAQ,EAAE,IAAI;KACf,CAAC;;kCACU;AAGZ;IADC,gBAAM,EAAE;;oCACM;AAGf;IADC,0BAAgB,EAAE;8BACR,IAAI;uCAAA;AAGf;IADC,0BAAgB,EAAE;8BACR,IAAI;uCAAA;AAGf;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;kDACf,gBAAI,oBAAJ,gBAAI;qCAAA;AAGb;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,CAAC;kDACf,gBAAI,oBAAJ,gBAAI;qCAAA;AApCF,IAAI;IAFhB,gBAAM,EAAE;IACR,eAAK,CAAC,WAAW,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAClE,IAAI,CAqChB;AArCY,oBAAI"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Font = exports.entities = void 0;
4
- const font_1 = require("./font");
5
- Object.defineProperty(exports, "Font", { enumerable: true, get: function () { return font_1.Font; } });
6
- exports.entities = [font_1.Font];
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/entities/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAIpB,qFAJA,WAAI,OAIA;AAFA,QAAA,QAAQ,GAAG,CAAC,WAAI,CAAC,CAAA"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.schema = void 0;
23
- const utils_1 = require("@things-factory/utils");
24
- const resolvers = __importStar(require("./resolvers"));
25
- const typeDefs = __importStar(require("./types"));
26
- exports.schema = {
27
- typeDefs,
28
- resolvers: utils_1.deepMerge.apply(null, Object.values(resolvers))
29
- };
30
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAiD;AAEjD,uDAAwC;AACxC,kDAAmC;AAEtB,QAAA,MAAM,GAAG;IACpB,QAAQ;IACR,SAAS,EAAE,iBAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;CAC3D,CAAA"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createFont = void 0;
4
- const typeorm_1 = require("typeorm");
5
- const entities_1 = require("../../../entities");
6
- exports.createFont = {
7
- /* TODO 첨부파일이 있다면, attachment에 추가하고, 저장해야 한다. */
8
- async createFont(_, { font }, context) {
9
- const repository = typeorm_1.getRepository(entities_1.Font);
10
- return await repository.save(Object.assign({ domain: context.state.domain, creator: context.state.user, updater: context.state.user }, font));
11
- }
12
- };
13
- //# sourceMappingURL=create-font.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-font.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/font/create-font.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AACvC,gDAAwC;AAE3B,QAAA,UAAU,GAAG;IACxB,gDAAgD;IAChD,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,OAAY;QACxC,MAAM,UAAU,GAAG,uBAAa,CAAC,eAAI,CAAC,CAAA;QAEtC,OAAO,MAAM,UAAU,CAAC,IAAI,iBAC1B,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,EAC5B,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,EAC3B,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,IACxB,IAAI,EACP,CAAA;IACJ,CAAC;CACF,CAAA"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deleteFont = void 0;
4
- const typeorm_1 = require("typeorm");
5
- const entities_1 = require("../../../entities");
6
- exports.deleteFont = {
7
- async deleteFont(_, { id }, context) {
8
- const repository = typeorm_1.getRepository(entities_1.Font);
9
- const font = await repository.findOne({
10
- where: { domain: context.state.domain, id }
11
- });
12
- if (font) {
13
- await repository.remove(font);
14
- return font;
15
- }
16
- }
17
- };
18
- //# sourceMappingURL=delete-font.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete-font.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/font/delete-font.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AACvC,gDAAwC;AAE3B,QAAA,UAAU,GAAG;IACxB,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAY;QACtC,MAAM,UAAU,GAAG,uBAAa,CAAC,eAAI,CAAC,CAAA;QACtC,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC;YACpC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE;SAC5C,CAAC,CAAA;QAEF,IAAI,IAAI,EAAE;YACR,MAAM,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;YAC7B,OAAO,IAAI,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fontResolver = void 0;
4
- const typeorm_1 = require("typeorm");
5
- const entities_1 = require("../../../entities");
6
- exports.fontResolver = {
7
- async font(_, { id }, context, info) {
8
- return await typeorm_1.getRepository(entities_1.Font).findOne({
9
- where: { domain: context.state.domain, id, relations: ['domain', 'creator', 'updater'] }
10
- });
11
- }
12
- };
13
- //# sourceMappingURL=font.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/font/font.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AACvC,gDAAwC;AAE3B,QAAA,YAAY,GAAG;IAC1B,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI;QACjC,OAAO,MAAM,uBAAa,CAAC,eAAI,CAAC,CAAC,OAAO,CAAC;YACvC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE;SACzF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fontsResolver = void 0;
4
- const shell_1 = require("@things-factory/shell");
5
- const typeorm_1 = require("typeorm");
6
- const entities_1 = require("../../../entities");
7
- exports.fontsResolver = {
8
- async fonts(_, params, context) {
9
- const convertedParams = shell_1.convertListParams(params, context.state.domain.id);
10
- const [items, total] = await typeorm_1.getRepository(entities_1.Font).findAndCount(Object.assign(Object.assign({}, convertedParams), { relations: ['domain', 'creator', 'updater'] }));
11
- return { items, total };
12
- }
13
- };
14
- //# sourceMappingURL=fonts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fonts.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/font/fonts.ts"],"names":[],"mappings":";;;AAAA,iDAAoE;AACpE,qCAAuC;AACvC,gDAAwC;AAE3B,QAAA,aAAa,GAAG;IAC3B,KAAK,CAAC,KAAK,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACjD,MAAM,eAAe,GAAG,yBAAiB,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;QAC1E,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,MAAM,uBAAa,CAAC,eAAI,CAAC,CAAC,YAAY,iCACxD,eAAe,KAClB,SAAS,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,IAC3C,CAAA;QAEF,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;IACzB,CAAC;CACF,CAAA"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FontResolver = void 0;
4
- const font_1 = require("./font");
5
- const fonts_1 = require("./fonts");
6
- const update_font_1 = require("./update-font");
7
- const create_font_1 = require("./create-font");
8
- const delete_font_1 = require("./delete-font");
9
- exports.FontResolver = {
10
- Query: Object.assign(Object.assign({}, fonts_1.fontsResolver), font_1.fontResolver),
11
- Mutation: Object.assign(Object.assign(Object.assign({}, update_font_1.updateFont), create_font_1.createFont), delete_font_1.deleteFont)
12
- };
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/font/index.ts"],"names":[],"mappings":";;;AAAA,iCAAqC;AACrC,mCAAuC;AAEvC,+CAA0C;AAC1C,+CAA0C;AAC1C,+CAA0C;AAE7B,QAAA,YAAY,GAAG;IAC1B,KAAK,kCACA,qBAAa,GACb,mBAAY,CAChB;IAED,QAAQ,gDACH,wBAAU,GACV,wBAAU,GACV,wBAAU,CACd;CACF,CAAA"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateFont = void 0;
4
- const typeorm_1 = require("typeorm");
5
- const entities_1 = require("../../../entities");
6
- exports.updateFont = {
7
- async updateFont(_, { id, patch }, context) {
8
- const repository = typeorm_1.getRepository(entities_1.Font);
9
- const font = await repository.findOne({
10
- where: {
11
- domain: context.state.domain,
12
- id
13
- }
14
- });
15
- return await repository.save(Object.assign(Object.assign(Object.assign({}, font), patch), { updater: context.state.user }));
16
- }
17
- };
18
- //# sourceMappingURL=update-font.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-font.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/font/update-font.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AACvC,gDAAwC;AAE3B,QAAA,UAAU,GAAG;IACxB,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,OAAY;QAC7C,MAAM,UAAU,GAAG,uBAAa,CAAC,eAAI,CAAC,CAAA;QACtC,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC;YACpC,KAAK,EAAE;gBACL,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM;gBAC5B,EAAE;aACH;SACF,CAAC,CAAA;QAEF,OAAO,MAAM,UAAU,CAAC,IAAI,+CACvB,IAAI,GACJ,KAAK,KACR,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,IAC3B,CAAA;IACJ,CAAC;CACF,CAAA"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./font"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/resolvers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsB"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FontList = void 0;
7
- const graphql_tag_1 = __importDefault(require("graphql-tag"));
8
- exports.FontList = graphql_tag_1.default `
9
- type FontList {
10
- items: [Font]
11
- total: Int
12
- }
13
- `;
14
- //# sourceMappingURL=font-list.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font-list.js","sourceRoot":"","sources":["../../../../server/graphql/types/font/font-list.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,QAAQ,GAAG,qBAAG,CAAA;;;;;CAK1B,CAAA"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FontPatch = void 0;
7
- const graphql_tag_1 = __importDefault(require("graphql-tag"));
8
- exports.FontPatch = graphql_tag_1.default `
9
- input FontPatch {
10
- name: String
11
- domain: String
12
- provider: String
13
- uri: String
14
- path: String
15
- active: Boolean
16
- }
17
- `;
18
- //# sourceMappingURL=font-patch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font-patch.js","sourceRoot":"","sources":["../../../../server/graphql/types/font/font-patch.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,SAAS,GAAG,qBAAG,CAAA;;;;;;;;;CAS3B,CAAA"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Font = void 0;
7
- const graphql_tag_1 = __importDefault(require("graphql-tag"));
8
- exports.Font = graphql_tag_1.default `
9
- type Font {
10
- id: String
11
- domain: Domain
12
- name: String
13
- provider: String
14
- uri: String
15
- path: String
16
- active: Boolean
17
- createdAt: String
18
- updatedAt: String
19
- }
20
- `;
21
- //# sourceMappingURL=font.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font.js","sourceRoot":"","sources":["../../../../server/graphql/types/font/font.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,IAAI,GAAG,qBAAG,CAAA;;;;;;;;;;;;CAYtB,CAAA"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
12
- var __importDefault = (this && this.__importDefault) || function (mod) {
13
- return (mod && mod.__esModule) ? mod : { "default": mod };
14
- };
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.FontResolver = void 0;
17
- const graphql_tag_1 = __importDefault(require("graphql-tag"));
18
- __exportStar(require("./font"), exports);
19
- __exportStar(require("./new-font"), exports);
20
- __exportStar(require("./font-patch"), exports);
21
- __exportStar(require("./font-list"), exports);
22
- exports.FontResolver = graphql_tag_1.default `
23
- extend type Mutation {
24
- createFont(font: NewFont!): Font
25
-
26
- updateFont(id: String!, patch: FontPatch!): Font
27
-
28
- deleteFont(id: String!): Font
29
- }
30
-
31
- extend type Query {
32
- fonts(filters: [Filter], pagination: Pagination, sortings: [Sorting]): FontList
33
- font(id: String!): Font
34
- }
35
- `;
36
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../server/graphql/types/font/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA6B;AAE7B,yCAAsB;AACtB,6CAA0B;AAC1B,+CAA4B;AAC5B,8CAA2B;AAEd,QAAA,YAAY,GAAG,qBAAG,CAAA;;;;;;;;;;;;;CAa9B,CAAA"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.NewFont = void 0;
7
- const graphql_tag_1 = __importDefault(require("graphql-tag"));
8
- exports.NewFont = graphql_tag_1.default `
9
- input NewFont {
10
- id: String
11
- name: String!
12
- domain: String
13
- provider: String!
14
- uri: String
15
- path: String
16
- active: Boolean
17
- }
18
- `;
19
- //# sourceMappingURL=new-font.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"new-font.js","sourceRoot":"","sources":["../../../../server/graphql/types/font/new-font.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,OAAO,GAAG,qBAAG,CAAA;;;;;;;;;;CAUzB,CAAA"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./font"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/graphql/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsB"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/middlewares/index.ts"],"names":[],"mappings":""}