@puzzlin/models 3.4.0 → 3.5.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,6 +1,8 @@
1
1
  import { CreateExperienceInput } from '../../../models/experiences';
2
2
  import { CreateStorybookInputInput } from './create-storybook-input.input';
3
3
  export declare class CreateStorybookInput extends CreateExperienceInput {
4
+ static idPlaceholder: string;
4
5
  input: CreateStorybookInputInput;
6
+ url: URL;
5
7
  }
6
8
  //# sourceMappingURL=create-storybook.input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-storybook.input.d.ts","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/create-storybook.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,qBACa,oBAAqB,SAAQ,qBAAqB;IAE7D,KAAK,EAAE,yBAAyB,CAAC;CAClC"}
1
+ {"version":3,"file":"create-storybook.input.d.ts","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/create-storybook.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,qBACa,oBAAqB,SAAQ,qBAAqB;IAC7D,MAAM,CAAC,aAAa,SAAsB;IAG1C,KAAK,EAAE,yBAAyB,CAAC;IAKjC,GAAG,EAAE,GAAG,CAAC;CACV"}
@@ -12,14 +12,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreateStorybookInput = void 0;
13
13
  const experiences_1 = require("../../../models/experiences");
14
14
  const graphql_1 = require("@nestjs/graphql");
15
+ const graphql_scalars_1 = require("graphql-scalars");
15
16
  const create_storybook_input_input_1 = require("./create-storybook-input.input");
16
17
  let CreateStorybookInput = class CreateStorybookInput extends experiences_1.CreateExperienceInput {
17
18
  };
18
19
  exports.CreateStorybookInput = CreateStorybookInput;
20
+ CreateStorybookInput.idPlaceholder = '__STORYBOOK_ID__';
19
21
  __decorate([
20
22
  (0, graphql_1.Field)(() => create_storybook_input_input_1.CreateStorybookInputInput),
21
23
  __metadata("design:type", create_storybook_input_input_1.CreateStorybookInputInput)
22
24
  ], CreateStorybookInput.prototype, "input", void 0);
25
+ __decorate([
26
+ (0, graphql_1.Field)(() => graphql_scalars_1.URLResolver, {
27
+ description: `Pass a "${CreateStorybookInput.idPlaceholder}" placeholder. URL to access the storybook from after creation.`,
28
+ }),
29
+ __metadata("design:type", URL)
30
+ ], CreateStorybookInput.prototype, "url", void 0);
23
31
  exports.CreateStorybookInput = CreateStorybookInput = __decorate([
24
32
  (0, graphql_1.InputType)()
25
33
  ], CreateStorybookInput);
@@ -1 +1 @@
1
- {"version":3,"file":"create-storybook.input.js","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/create-storybook.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAA6D;AAC7D,6CAAmD;AACnD,iFAA2E;AAGpE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,mCAAqB;CAG9D,CAAA;AAHY,oDAAoB;AAE/B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wDAAyB,CAAC;8BAChC,wDAAyB;mDAAC;+BAFtB,oBAAoB;IADhC,IAAA,mBAAS,GAAE;GACC,oBAAoB,CAGhC"}
1
+ {"version":3,"file":"create-storybook.input.js","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/create-storybook.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAA6D;AAC7D,6CAAmD;AACnD,qDAA8C;AAC9C,iFAA2E;AAGpE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,mCAAqB;;AAAlD,oDAAoB;AACxB,kCAAa,GAAG,kBAAkB,AAArB,CAAsB;AAG1C;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wDAAyB,CAAC;8BAChC,wDAAyB;mDAAC;AAKjC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,6BAAW,EAAE;QACxB,WAAW,EAAE,WAAW,oBAAoB,CAAC,aAAa,iEAAiE;KAC5H,CAAC;8BACG,GAAG;iDAAC;+BATE,oBAAoB;IADhC,IAAA,mBAAS,GAAE;GACC,oBAAoB,CAUhC"}
@@ -1,5 +1,6 @@
1
1
  export * from './create-storybook-input.input';
2
2
  export * from './create-storybook.input';
3
3
  export * from './delete-storybook.input';
4
+ export * from './render-storybook-scene-images.input';
4
5
  export * from './update-storybook-scene.input';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC"}
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./create-storybook-input.input"), exports);
18
18
  __exportStar(require("./create-storybook.input"), exports);
19
19
  __exportStar(require("./delete-storybook.input"), exports);
20
+ __exportStar(require("./render-storybook-scene-images.input"), exports);
20
21
  __exportStar(require("./update-storybook-scene.input"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,2DAAyC;AACzC,2DAAyC;AACzC,iEAA+C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,2DAAyC;AACzC,2DAAyC;AACzC,wEAAsD;AACtD,iEAA+C"}
@@ -0,0 +1,5 @@
1
+ import { NodeInput } from '../../../utils';
2
+ export declare class RenderStorybookSceneImagesInput extends NodeInput {
3
+ url: URL;
4
+ }
5
+ //# sourceMappingURL=render-storybook-scene-images.input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-storybook-scene-images.input.d.ts","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/render-storybook-scene-images.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC,qBACa,+BAAgC,SAAQ,SAAS;IAI5D,GAAG,EAAE,GAAG,CAAC;CACV"}
@@ -0,0 +1,28 @@
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.RenderStorybookSceneImagesInput = void 0;
13
+ const utils_1 = require("../../../utils");
14
+ const graphql_1 = require("@nestjs/graphql");
15
+ const graphql_scalars_1 = require("graphql-scalars");
16
+ let RenderStorybookSceneImagesInput = class RenderStorybookSceneImagesInput extends utils_1.NodeInput {
17
+ };
18
+ exports.RenderStorybookSceneImagesInput = RenderStorybookSceneImagesInput;
19
+ __decorate([
20
+ (0, graphql_1.Field)(() => graphql_scalars_1.URLResolver, {
21
+ description: 'URL to access the storybook from after rendering.',
22
+ }),
23
+ __metadata("design:type", URL)
24
+ ], RenderStorybookSceneImagesInput.prototype, "url", void 0);
25
+ exports.RenderStorybookSceneImagesInput = RenderStorybookSceneImagesInput = __decorate([
26
+ (0, graphql_1.InputType)()
27
+ ], RenderStorybookSceneImagesInput);
28
+ //# sourceMappingURL=render-storybook-scene-images.input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-storybook-scene-images.input.js","sourceRoot":"","sources":["../../../../src/models/storybooks/inputs/render-storybook-scene-images.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAAoC;AACpC,6CAAmD;AACnD,qDAA8C;AAGvC,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,iBAAS;CAK7D,CAAA;AALY,0EAA+B;AAI1C;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,6BAAW,EAAE;QACxB,WAAW,EAAE,mDAAmD;KACjE,CAAC;8BACG,GAAG;4DAAC;0CAJE,+BAA+B;IAD3C,IAAA,mBAAS,GAAE;GACC,+BAA+B,CAK3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.input.d.ts","sourceRoot":"","sources":["../../../../src/models/users/inputs/create-user.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAKrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBACa,eAAe;IAE1B,OAAO,EAAE,sBAAsB,CAAC;IAKhC,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,KAAK,EAAE,MAAM,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC"}
1
+ {"version":3,"file":"create-user.input.d.ts","sourceRoot":"","sources":["../../../../src/models/users/inputs/create-user.input.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBACa,eAAe;IAE1B,OAAO,EAAE,sBAAsB,CAAC;IAKhC,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,KAAK,EAAE,MAAM,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC"}
@@ -10,11 +10,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreateUserInput = void 0;
13
- const create_user_account_input_1 = require("./create-user-account.input");
14
13
  const utils_1 = require("../../../utils");
15
14
  const graphql_1 = require("@nestjs/graphql");
16
15
  const class_validator_1 = require("class-validator");
17
16
  const graphql_scalars_1 = require("graphql-scalars");
17
+ const create_user_account_input_1 = require("./create-user-account.input");
18
18
  const create_user_profile_input_1 = require("./create-user-profile.input");
19
19
  let CreateUserInput = class CreateUserInput {
20
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.input.js","sourceRoot":"","sources":["../../../../src/models/users/inputs/create-user.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2EAAqE;AACrE,mCAA+C;AAC/C,6CAAmD;AACnD,qDAAuD;AACvD,qDAA+E;AAC/E,2EAAqE;AAG9D,IAAM,eAAe,GAArB,MAAM,eAAe;CA8B3B,CAAA;AA9BY,0CAAe;AAE1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,kDAAsB,CAAC;8BAC3B,kDAAsB;gDAAC;AAKhC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACiB;AAInB;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAoB,CAAC;IACjC,IAAA,sBAAc,GAAE;;8CACH;AAId;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;IACnC,IAAA,YAAI,GAAE;;kDACW;AAIlB;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;IACnC,IAAA,YAAI,GAAE;;iDACU;AAKjB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;IACnC,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,2BAAS,EAAC,CAAC,CAAC;;iDACI;AAKjB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,kDAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;8BACQ,kDAAsB;gDAAC;0BA7BtB,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CA8B3B"}
1
+ {"version":3,"file":"create-user.input.js","sourceRoot":"","sources":["../../../../src/models/users/inputs/create-user.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mCAA+C;AAC/C,6CAAmD;AACnD,qDAAuD;AACvD,qDAA+E;AAC/E,2EAAqE;AACrE,2EAAqE;AAG9D,IAAM,eAAe,GAArB,MAAM,eAAe;CA8B3B,CAAA;AA9BY,0CAAe;AAE1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,kDAAsB,CAAC;8BAC3B,kDAAsB;gDAAC;AAKhC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACiB;AAInB;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sCAAoB,CAAC;IACjC,IAAA,sBAAc,GAAE;;8CACH;AAId;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;IACnC,IAAA,YAAI,GAAE;;kDACW;AAIlB;IAFC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;IACnC,IAAA,YAAI,GAAE;;iDACU;AAKjB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;IACnC,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,2BAAS,EAAC,CAAC,CAAC;;iDACI;AAKjB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,kDAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;8BACQ,kDAAsB;gDAAC;0BA7BtB,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CA8B3B"}