@things-factory/product-base 7.0.1-alpha.9 → 7.0.1-alpha.92
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.
- package/client/bootstrap.js +1 -1
- package/dist-server/service/product-combination/product-combination.js +1 -1
- package/dist-server/service/product-combination/product-combination.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/server/service/product-combination/product-combination.ts +1 -1
package/client/bootstrap.js
CHANGED
|
@@ -29,7 +29,7 @@ tslib_1.__decorate([
|
|
|
29
29
|
], ProductCombination.prototype, "id", void 0);
|
|
30
30
|
tslib_1.__decorate([
|
|
31
31
|
(0, typeorm_1.ManyToOne)(type => shell_1.Domain),
|
|
32
|
-
(0, type_graphql_1.Field)(
|
|
32
|
+
(0, type_graphql_1.Field)(type => shell_1.Domain),
|
|
33
33
|
tslib_1.__metadata("design:type", shell_1.Domain)
|
|
34
34
|
], ProductCombination.prototype, "domain", void 0);
|
|
35
35
|
tslib_1.__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-combination.js","sourceRoot":"","sources":["../../../server/service/product-combination/product-combination.ts"],"names":[],"mappings":";;;;AAAA,+CAAsE;AACtE,qCAUgB;AAEhB,yDAAgD;AAChD,iDAA8C;AAE9C,4GAAsG;AACtG,qEAAgE;AAChE,gDAA4C;AAE5C,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,mDAAuB,CAAA;IACvB,+CAAmB,CAAA;IACnB,iDAAqB,CAAA;AACvB,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC;AAED,IAAA,+BAAgB,EAAC,wBAAwB,EAAE;IACzC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,4CAA4C;CAC1D,CAAC,CAAA;AASK,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CA4E9B,CAAA;AA3EC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;8CACC;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IACzB,IAAA,oBAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"product-combination.js","sourceRoot":"","sources":["../../../server/service/product-combination/product-combination.ts"],"names":[],"mappings":";;;;AAAA,+CAAsE;AACtE,qCAUgB;AAEhB,yDAAgD;AAChD,iDAA8C;AAE9C,4GAAsG;AACtG,qEAAgE;AAChE,gDAA4C;AAE5C,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,mDAAuB,CAAA;IACvB,+CAAmB,CAAA;IACnB,iDAAqB,CAAA;AACvB,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC;AAED,IAAA,+BAAgB,EAAC,wBAAwB,EAAE;IACzC,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,4CAA4C;CAC1D,CAAC,CAAA;AASK,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CA4E9B,CAAA;AA3EC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;8CACC;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IACzB,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;sCACb,cAAM;kDAAA;AAEf;IAAC,IAAA,oBAAU,EAAC,CAAC,kBAAsC,EAAE,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC;;oDACjE;AAEjB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,oBAAK,GAAE;;gDACI;AAEZ;IAAC,IAAA,mBAAS,EACR,IAAI,CAAC,EAAE,CAAC,uDAAyB,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,CAAC;GAChD,kBAAkB,CA4E9B;AA5EY,gDAAkB","sourcesContent":["import { Field, ID, ObjectType, registerEnumType } from 'type-graphql'\nimport {\n Column,\n CreateDateColumn,\n Entity,\n Index,\n ManyToOne,\n OneToMany,\n PrimaryGeneratedColumn,\n RelationId,\n UpdateDateColumn\n} from 'typeorm'\n\nimport { User } from '@things-factory/auth-base'\nimport { Domain } from '@things-factory/shell'\n\nimport { ProductCombinationSetting } from '../product-combination-setting/product-combination-setting'\nimport { ProductDetail } from '../product-detail/product-detail'\nimport { Product } from '../product/product'\n\nexport enum ProductCombinationStatus {\n ACTIVE = 'ACTIVE',\n ACTIVATED = 'ACTIVATED',\n DELETED = 'DELETED',\n INACTIVE = 'INACTIVE'\n}\n\nregisterEnumType(ProductCombinationStatus, {\n name: 'ProductCombinationStatus',\n description: 'status enumeration of a productCombination'\n})\n\n@Entity()\n@Index(\n 'ix_product_combination_0',\n (productCombination: ProductCombination) => [productCombination.domain, productCombination.id],\n { unique: true }\n)\n@ObjectType({ description: 'Entity for ProductCombination' })\nexport class ProductCombination {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field(type => Domain)\n domain?: Domain\n\n @RelationId((productCombination: ProductCombination) => productCombination.domain)\n domainId?: string\n\n @Column()\n @Field()\n name: string\n\n @OneToMany(\n type => ProductCombinationSetting,\n productCombinationSetting => productCombinationSetting.productCombination\n )\n @Field(type => [ProductCombinationSetting], { nullable: true })\n productCombinationSettings?: ProductCombinationSetting[]\n\n @ManyToOne(type => Product)\n @Field(type => Product)\n product?: Product\n\n @RelationId((productCombination: ProductCombination) => productCombination.product)\n productId?: string\n\n @ManyToOne(type => ProductDetail, { nullable: false })\n @Field(type => ProductDetail)\n productDetail?: ProductDetail\n\n @RelationId((productCombination: ProductCombination) => productCombination.productDetail)\n productDetailId?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n description?: string\n\n @Column({ nullable: true })\n deletedAt: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field({ nullable: true })\n deletedBy: User\n\n @RelationId((productCombination: ProductCombination) => productCombination.deletedBy)\n deletedById?: string\n\n @Column({ nullable: true })\n @Field({ nullable: true })\n status?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field({ nullable: true })\n creator?: User\n\n @RelationId((productCombination: ProductCombination) => productCombination.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field({ nullable: true })\n updater?: User\n\n @RelationId((productCombination: ProductCombination) => productCombination.updater)\n updaterId?: string\n}\n"]}
|