@puzzlin/models 3.12.0 → 3.13.1

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.
@@ -0,0 +1,5 @@
1
+ import { AssetTagEnum } from '@puzzlin/enums';
2
+ export declare class FindAssetsInput {
3
+ tags?: AssetTagEnum[];
4
+ }
5
+ //# sourceMappingURL=find-assets.input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-assets.input.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/inputs/find-assets.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,qBACa,eAAe;IAI1B,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;CACvB"}
@@ -0,0 +1,27 @@
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.FindAssetsInput = void 0;
13
+ const graphql_1 = require("@nestjs/graphql");
14
+ const enums_1 = require("@puzzlin/enums");
15
+ let FindAssetsInput = class FindAssetsInput {
16
+ };
17
+ exports.FindAssetsInput = FindAssetsInput;
18
+ __decorate([
19
+ (0, graphql_1.Field)(() => [enums_1.AssetTagEnum], {
20
+ nullable: true,
21
+ }),
22
+ __metadata("design:type", Array)
23
+ ], FindAssetsInput.prototype, "tags", void 0);
24
+ exports.FindAssetsInput = FindAssetsInput = __decorate([
25
+ (0, graphql_1.InputType)()
26
+ ], FindAssetsInput);
27
+ //# sourceMappingURL=find-assets.input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-assets.input.js","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/inputs/find-assets.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,0CAA8C;AAGvC,IAAM,eAAe,GAArB,MAAM,eAAe;CAK3B,CAAA;AALY,0CAAe;AAI1B;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,oBAAY,CAAC,EAAE;QAC3B,QAAQ,EAAE,IAAI;KACf,CAAC;;6CACoB;0BAJX,eAAe;IAD3B,IAAA,mBAAS,GAAE;GACC,eAAe,CAK3B"}
@@ -1,4 +1,5 @@
1
1
  export * from './create-asset.input';
2
+ export * from './find-assets.input';
2
3
  export * from './initiate-asset-ownership-transfer.input';
3
4
  export * from './transfer-asset-ownership.input';
4
5
  export * from './update-asset-accesses.input';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,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("./create-asset.input"), exports);
18
+ __exportStar(require("./find-assets.input"), exports);
18
19
  __exportStar(require("./initiate-asset-ownership-transfer.input"), exports);
19
20
  __exportStar(require("./transfer-asset-ownership.input"), exports);
20
21
  __exportStar(require("./update-asset-accesses.input"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,4EAA0D;AAC1D,mEAAiD;AACjD,gEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/apps/platform/assets/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,sDAAoC;AACpC,4EAA0D;AAC1D,mEAAiD;AACjD,gEAA8C"}
@@ -1,5 +1,7 @@
1
+ import { FindAssetsInput } from '../../../apps/platform';
1
2
  import { PaginationArgs } from '../../../shared';
2
3
  export declare class StorybooksArgs extends PaginationArgs {
4
+ asset?: FindAssetsInput;
3
5
  userId?: string;
4
6
  }
5
7
  //# sourceMappingURL=storybooks.args.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storybooks.args.d.ts","sourceRoot":"","sources":["../../../../src/apps/storybooks/args/storybooks.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,qBACa,cAAe,SAAQ,cAAc;IAKhD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"storybooks.args.d.ts","sourceRoot":"","sources":["../../../../src/apps/storybooks/args/storybooks.args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,qBACa,cAAe,SAAQ,cAAc;IAKhD,KAAK,CAAC,EAAE,eAAe,CAAC;IAMxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -10,11 +10,19 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.StorybooksArgs = void 0;
13
+ const platform_1 = require("../../../apps/platform");
13
14
  const shared_1 = require("../../../shared");
14
15
  const graphql_1 = require("@nestjs/graphql");
15
16
  let StorybooksArgs = class StorybooksArgs extends shared_1.PaginationArgs {
16
17
  };
17
18
  exports.StorybooksArgs = StorybooksArgs;
19
+ __decorate([
20
+ (0, graphql_1.Field)(() => platform_1.FindAssetsInput, {
21
+ description: 'Select storybooks by linked asset fields',
22
+ nullable: true,
23
+ }),
24
+ __metadata("design:type", platform_1.FindAssetsInput)
25
+ ], StorybooksArgs.prototype, "asset", void 0);
18
26
  __decorate([
19
27
  (0, graphql_1.Field)(() => graphql_1.ID, {
20
28
  description: 'Select storybooks for a user.',
@@ -1 +1 @@
1
- {"version":3,"file":"storybooks.args.js","sourceRoot":"","sources":["../../../../src/apps/storybooks/args/storybooks.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA0C;AAC1C,6CAAsD;AAG/C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,uBAAc;CAMjD,CAAA;AANY,wCAAc;AAKzB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACc;yBALL,cAAc;IAD1B,IAAA,kBAAQ,GAAE;GACE,cAAc,CAM1B"}
1
+ {"version":3,"file":"storybooks.args.js","sourceRoot":"","sources":["../../../../src/apps/storybooks/args/storybooks.args.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAAkD;AAClD,qCAA0C;AAC1C,6CAAsD;AAG/C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,uBAAc;CAYjD,CAAA;AAZY,wCAAc;AAKzB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAe,EAAE;QAC5B,WAAW,EAAE,0CAA0C;QACvD,QAAQ,EAAE,IAAI;KACf,CAAC;8BACM,0BAAe;6CAAC;AAMxB;IAJC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,EAAE;QACf,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACc;yBAXL,cAAc;IAD1B,IAAA,kBAAQ,GAAE;GACE,cAAc,CAY1B"}
@@ -1,7 +1,6 @@
1
1
  import { StorybookStyleEnum } from '@puzzlin/enums';
2
2
  export declare class CreateStorybookInputInput {
3
3
  customStyle?: string;
4
- experiencedAt: string;
5
4
  instructions?: string;
6
5
  style: StorybookStyleEnum;
7
6
  text: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-storybook-input.input.d.ts","sourceRoot":"","sources":["../../../../src/apps/storybooks/inputs/create-storybook-input.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpD,qBACa,yBAAyB;IAIpC,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,aAAa,EAAE,MAAM,CAAC;IAKtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,kBAAkB,CAAC;IAG1B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"create-storybook-input.input.d.ts","sourceRoot":"","sources":["../../../../src/apps/storybooks/inputs/create-storybook-input.input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpD,qBACa,yBAAyB;IAIpC,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,kBAAkB,CAAC;IAG1B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -22,10 +22,6 @@ __decorate([
22
22
  }),
23
23
  __metadata("design:type", String)
24
24
  ], CreateStorybookInputInput.prototype, "customStyle", void 0);
25
- __decorate([
26
- (0, graphql_1.Field)(() => graphql_scalars_1.GraphQLDateTimeISO),
27
- __metadata("design:type", String)
28
- ], CreateStorybookInputInput.prototype, "experiencedAt", void 0);
29
25
  __decorate([
30
26
  (0, graphql_1.Field)(() => graphql_scalars_1.NonEmptyStringResolver, {
31
27
  nullable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"create-storybook-input.input.js","sourceRoot":"","sources":["../../../../src/apps/storybooks/inputs/create-storybook-input.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,0CAAoD;AACpD,qDAA6E;AAGtE,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAsBrC,CAAA;AAtBY,8DAAyB;AAIpC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;8DACmB;AAGrB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAkB,CAAC;;gEACV;AAKtB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;+DACoB;AAGtB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;;wDACN;AAG1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;uDACvB;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;wDACtB;oCArBH,yBAAyB;IADrC,IAAA,mBAAS,GAAE;GACC,yBAAyB,CAsBrC"}
1
+ {"version":3,"file":"create-storybook-input.input.js","sourceRoot":"","sources":["../../../../src/apps/storybooks/inputs/create-storybook-input.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmD;AACnD,0CAAoD;AACpD,qDAAyD;AAGlD,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAmBrC,CAAA;AAnBY,8DAAyB;AAIpC;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;8DACmB;AAKrB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;+DACoB;AAGtB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;;wDACN;AAG1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;uDACvB;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;wDACtB;oCAlBH,yBAAyB;IADrC,IAAA,mBAAS,GAAE;GACC,yBAAyB,CAmBrC"}
@@ -1,7 +1,6 @@
1
1
  import { StorybookStyleEnum } from '@puzzlin/enums';
2
2
  export declare class StorybookInput {
3
3
  customStyle?: string;
4
- experiencedAt: string;
5
4
  instructions?: string;
6
5
  style: StorybookStyleEnum;
7
6
  text: string;
@@ -1 +1 @@
1
- {"version":3,"file":"storybook-input.object.d.ts","sourceRoot":"","sources":["../../../../src/apps/storybooks/objects/storybook-input.object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpD,qBACa,cAAc;IAIzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,aAAa,EAAE,MAAM,CAAC;IAKtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,kBAAkB,CAAC;IAG1B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"storybook-input.object.d.ts","sourceRoot":"","sources":["../../../../src/apps/storybooks/objects/storybook-input.object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpD,qBACa,cAAc;IAIzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,kBAAkB,CAAC;IAG1B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -22,10 +22,6 @@ __decorate([
22
22
  }),
23
23
  __metadata("design:type", String)
24
24
  ], StorybookInput.prototype, "customStyle", void 0);
25
- __decorate([
26
- (0, graphql_1.Field)(() => graphql_scalars_1.GraphQLDateTimeISO),
27
- __metadata("design:type", String)
28
- ], StorybookInput.prototype, "experiencedAt", void 0);
29
25
  __decorate([
30
26
  (0, graphql_1.Field)(() => graphql_scalars_1.NonEmptyStringResolver, {
31
27
  nullable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"storybook-input.object.js","sourceRoot":"","sources":["../../../../src/apps/storybooks/objects/storybook-input.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,0CAAoD;AACpD,qDAA6E;AAGtE,IAAM,cAAc,GAApB,MAAM,cAAc;CAsB1B,CAAA;AAtBY,wCAAc;AAIzB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;mDACmB;AAGrB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,oCAAkB,CAAC;;qDACV;AAKtB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;oDACoB;AAGtB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;;6CACN;AAG1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;4CACvB;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;6CACtB;yBArBH,cAAc;IAD1B,IAAA,oBAAU,GAAE;GACA,cAAc,CAsB1B"}
1
+ {"version":3,"file":"storybook-input.object.js","sourceRoot":"","sources":["../../../../src/apps/storybooks/objects/storybook-input.object.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAoD;AACpD,0CAAoD;AACpD,qDAAyD;AAGlD,IAAM,cAAc,GAApB,MAAM,cAAc;CAmB1B,CAAA;AAnBY,wCAAc;AAIzB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;mDACmB;AAKrB;IAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,EAAE;QACnC,QAAQ,EAAE,IAAI;KACf,CAAC;;oDACoB;AAGtB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;;6CACN;AAG1B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;4CACvB;AAGb;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wCAAsB,CAAC;;6CACtB;yBAlBH,cAAc;IAD1B,IAAA,oBAAU,GAAE;GACA,cAAc,CAmB1B"}