@puzzlin/models 3.16.0 → 3.17.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.
@@ -1,4 +1,5 @@
1
1
  export * from './tarot-card-draw.object';
2
+ export * from './tarot-card.object';
2
3
  export * from './tarot-reading.object';
3
4
  export * from './tarot-spread-position-layout.object';
4
5
  export * from './tarot-spread-position.object';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC"}
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./tarot-card-draw.object"), exports);
18
+ __exportStar(require("./tarot-card.object"), exports);
18
19
  __exportStar(require("./tarot-reading.object"), exports);
19
20
  __exportStar(require("./tarot-spread-position-layout.object"), exports);
20
21
  __exportStar(require("./tarot-spread-position.object"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,yDAAuC;AACvC,wEAAsD;AACtD,iEAA+C;AAC/C,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,sDAAoC;AACpC,yDAAuC;AACvC,wEAAsD;AACtD,iEAA+C;AAC/C,wDAAsC"}
@@ -1,7 +1,9 @@
1
1
  import { Node, Timestamp } from '../../../shared';
2
2
  import { TarotCardOrientationEnum } from '@puzzlin/enums';
3
+ import { TarotCard } from './tarot-card.object';
3
4
  declare const TarotCardDraw_base: import("@nestjs/common").Type<Node & Timestamp>;
4
5
  export declare class TarotCardDraw extends TarotCardDraw_base {
6
+ card?: TarotCard;
5
7
  cardRef: string;
6
8
  orientation: TarotCardOrientationEnum;
7
9
  positionId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tarot-card-draw.object.d.ts","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/tarot-card-draw.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;;AAG1D,qBAGa,aAAc,SAAQ,kBAAiC;IAIlE,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,wBAAwB,CAAC;IAGtC,UAAU,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"tarot-card-draw.object.d.ts","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/tarot-card-draw.object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;;AAEhD,qBAGa,aAAc,SAAQ,kBAAiC;IAElE,IAAI,CAAC,EAAE,SAAS,CAAC;IAKjB,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,wBAAwB,CAAC;IAGtC,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -14,9 +14,14 @@ const shared_1 = require("../../../shared");
14
14
  const graphql_1 = require("@nestjs/graphql");
15
15
  const enums_1 = require("@puzzlin/enums");
16
16
  const graphql_scalars_1 = require("graphql-scalars");
17
+ const tarot_card_object_1 = require("./tarot-card.object");
17
18
  let TarotCardDraw = class TarotCardDraw extends (0, graphql_1.IntersectionType)(shared_1.Node, shared_1.Timestamp) {
18
19
  };
19
20
  exports.TarotCardDraw = TarotCardDraw;
21
+ __decorate([
22
+ (0, graphql_1.Field)(() => tarot_card_object_1.TarotCard),
23
+ __metadata("design:type", tarot_card_object_1.TarotCard)
24
+ ], TarotCardDraw.prototype, "card", void 0);
20
25
  __decorate([
21
26
  (0, graphql_1.Field)(() => graphql_scalars_1.NonEmptyStringResolver, {
22
27
  description: 'Deterministic key for persistence, e.g. "rws:major:07", "rws:cups:03", "rws:wands:13" (queen)',
@@ -1 +1 @@
1
- {"version":3,"file":"tarot-card-draw.object.js","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/tarot-card-draw.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2C;AAC3C,6CAA0E;AAC1E,0CAA0D;AAC1D,qDAAyD;AAKlD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,IAAA,0BAAgB,EAAC,aAAI,EAAE,kBAAS,CAAC;CAWnE,CAAA;AAXY,sCAAa;AAIxB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,WAAW,EAAE,+FAA+F;KAC7G,CAAC;;8CACc;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;;kDACA;AAGtC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;iDACG;wBAVR,aAAa;IAHzB,IAAA,oBAAU,EAAC;QACV,UAAU,EAAE,aAAI;KACjB,CAAC;GACW,aAAa,CAWzB"}
1
+ {"version":3,"file":"tarot-card-draw.object.js","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/tarot-card-draw.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2C;AAC3C,6CAA0E;AAC1E,0CAA0D;AAC1D,qDAAyD;AACzD,2DAAgD;AAKzC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,IAAA,0BAAgB,EAAC,aAAI,EAAE,kBAAS,CAAC;CAcnE,CAAA;AAdY,sCAAa;AAExB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,6BAAS,CAAC;8BAChB,6BAAS;2CAAC;AAKjB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,WAAW,EAAE,+FAA+F;KAC7G,CAAC;;8CACc;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;;kDACA;AAGtC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;iDACG;wBAbR,aAAa;IAHzB,IAAA,oBAAU,EAAC;QACV,UAAU,EAAE,aAAI;KACjB,CAAC;GACW,aAAa,CAczB"}
@@ -0,0 +1,11 @@
1
+ import { TarotArcanaEnum, TarotDeckEnum, TarotMinorSuitEnum } from '@puzzlin/enums';
2
+ export declare class TarotCard {
3
+ arcana: TarotArcanaEnum;
4
+ deck: TarotDeckEnum;
5
+ imageUrl: URL;
6
+ number: string;
7
+ ref: string;
8
+ suit?: TarotMinorSuitEnum;
9
+ title: string;
10
+ }
11
+ //# sourceMappingURL=tarot-card.object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tarot-card.object.d.ts","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/tarot-card.object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpF,qBACa,SAAS;IAEpB,MAAM,EAAE,eAAe,CAAC;IAGxB,IAAI,EAAE,aAAa,CAAC;IAGpB,QAAQ,EAAE,GAAG,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAKf,GAAG,EAAE,MAAM,CAAC;IAKZ,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAG1B,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,54 @@
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.TarotCard = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const enums_1 = require("@puzzlin/enums");
15
+ const graphql_scalars_1 = require("graphql-scalars");
16
+ let TarotCard = class TarotCard {
17
+ };
18
+ exports.TarotCard = TarotCard;
19
+ __decorate([
20
+ (0, graphql_1.Field)(() => enums_1.TarotArcanaEnum),
21
+ __metadata("design:type", String)
22
+ ], TarotCard.prototype, "arcana", void 0);
23
+ __decorate([
24
+ (0, graphql_1.Field)(() => enums_1.TarotDeckEnum),
25
+ __metadata("design:type", String)
26
+ ], TarotCard.prototype, "deck", void 0);
27
+ __decorate([
28
+ (0, graphql_1.Field)(() => graphql_scalars_1.URLResolver),
29
+ __metadata("design:type", URL)
30
+ ], TarotCard.prototype, "imageUrl", void 0);
31
+ __decorate([
32
+ (0, graphql_1.Field)(() => graphql_scalars_1.NonEmptyStringResolver),
33
+ __metadata("design:type", String)
34
+ ], TarotCard.prototype, "number", void 0);
35
+ __decorate([
36
+ (0, graphql_1.Field)(() => graphql_scalars_1.NonEmptyStringResolver, {
37
+ description: 'Deterministic key for persistence, e.g. "rws:major:07", "rws:cups:03", "rws:wands:13" (queen)',
38
+ }),
39
+ __metadata("design:type", String)
40
+ ], TarotCard.prototype, "ref", void 0);
41
+ __decorate([
42
+ (0, graphql_1.Field)(() => enums_1.TarotMinorSuitEnum, {
43
+ nullable: true,
44
+ }),
45
+ __metadata("design:type", String)
46
+ ], TarotCard.prototype, "suit", void 0);
47
+ __decorate([
48
+ (0, graphql_1.Field)(() => graphql_scalars_1.NonEmptyStringResolver),
49
+ __metadata("design:type", String)
50
+ ], TarotCard.prototype, "title", void 0);
51
+ exports.TarotCard = TarotCard = __decorate([
52
+ (0, graphql_1.ObjectType)()
53
+ ], TarotCard);
54
+ //# sourceMappingURL=tarot-card.object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tarot-card.object.js","sourceRoot":"","sources":["../../../../src/apps/tarot/objects/tarot-card.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,0CAAoF;AACpF,qDAAsE;AAG/D,IAAM,SAAS,GAAf,MAAM,SAAS;CAyBrB,CAAA;AAzBY,8BAAS;AAEpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,uBAAe,CAAC;;yCACL;AAGxB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,qBAAa,CAAC;;uCACP;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,6BAAW,CAAC;8BACf,GAAG;2CAAC;AAGd;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;yCACrB;AAKf;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,WAAW,EAAE,+FAA+F;KAC7G,CAAC;;sCACU;AAKZ;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAkB,EAAE;QAC/B,QAAQ,EAAE,IAAI;KACf,CAAC;;uCACwB;AAG1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;wCACtB;oBAxBH,SAAS;IADrB,IAAA,oBAAU,GAAE;GACA,SAAS,CAyBrB"}