@things-factory/shell 6.0.107 → 6.0.113
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/dist-server/service/domain/domain-resolver.d.ts +1 -0
- package/dist-server/service/domain/domain-resolver.js +16 -0
- package/dist-server/service/domain/domain-resolver.js.map +1 -1
- package/dist-server/service/domain/domain-types.d.ts +3 -0
- package/dist-server/service/domain/domain-types.js +8 -0
- package/dist-server/service/domain/domain-types.js.map +1 -1
- package/dist-server/service/domain/domain.d.ts +2 -0
- package/dist-server/service/domain/domain.js +23 -32
- package/dist-server/service/domain/domain.js.map +1 -1
- package/dist-server/service/index.d.ts +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/server/service/domain/domain-resolver.ts +14 -1
- package/server/service/domain/domain-types.ts +7 -1
- package/server/service/domain/domain.ts +20 -32
- package/dist-server/service/attribute/attribute-item-type.d.ts +0 -29
- package/dist-server/service/attribute/attribute-item-type.js +0 -81
- package/dist-server/service/attribute/attribute-item-type.js.map +0 -1
- package/dist-server/service/attribute/attribute-mutation.d.ts +0 -10
- package/dist-server/service/attribute/attribute-mutation.js +0 -130
- package/dist-server/service/attribute/attribute-mutation.js.map +0 -1
- package/dist-server/service/attribute/attribute-query.d.ts +0 -8
- package/dist-server/service/attribute/attribute-query.js +0 -60
- package/dist-server/service/attribute/attribute-query.js.map +0 -1
- package/dist-server/service/attribute/attribute-type.d.ts +0 -19
- package/dist-server/service/attribute/attribute-type.js +0 -70
- package/dist-server/service/attribute/attribute-type.js.map +0 -1
- package/dist-server/service/attribute/attribute.d.ts +0 -9
- package/dist-server/service/attribute/attribute.js +0 -52
- package/dist-server/service/attribute/attribute.js.map +0 -1
- package/dist-server/service/attribute/index.d.ts +0 -5
- package/dist-server/service/attribute/index.js +0 -9
- package/dist-server/service/attribute/index.js.map +0 -1
@@ -1,52 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Attribute = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const typeorm_1 = require("typeorm");
|
6
|
-
const type_graphql_1 = require("type-graphql");
|
7
|
-
const attribute_item_type_1 = require("./attribute-item-type");
|
8
|
-
let Attribute = class Attribute {
|
9
|
-
constructor() {
|
10
|
-
this.entity = '';
|
11
|
-
this.description = '';
|
12
|
-
}
|
13
|
-
};
|
14
|
-
tslib_1.__decorate([
|
15
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
16
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
17
|
-
tslib_1.__metadata("design:type", String)
|
18
|
-
], Attribute.prototype, "id", void 0);
|
19
|
-
tslib_1.__decorate([
|
20
|
-
(0, typeorm_1.Column)({ nullable: true, default: '' }),
|
21
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
22
|
-
tslib_1.__metadata("design:type", String)
|
23
|
-
], Attribute.prototype, "entity", void 0);
|
24
|
-
tslib_1.__decorate([
|
25
|
-
(0, typeorm_1.Column)({ nullable: true, default: '' }),
|
26
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
27
|
-
tslib_1.__metadata("design:type", String)
|
28
|
-
], Attribute.prototype, "description", void 0);
|
29
|
-
tslib_1.__decorate([
|
30
|
-
(0, typeorm_1.Column)('simple-json', { nullable: true }),
|
31
|
-
(0, type_graphql_1.Field)(type => [attribute_item_type_1.AttributeItem], { nullable: true }),
|
32
|
-
tslib_1.__metadata("design:type", Array)
|
33
|
-
], Attribute.prototype, "items", void 0);
|
34
|
-
tslib_1.__decorate([
|
35
|
-
(0, typeorm_1.CreateDateColumn)(),
|
36
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
37
|
-
tslib_1.__metadata("design:type", Date)
|
38
|
-
], Attribute.prototype, "createdAt", void 0);
|
39
|
-
tslib_1.__decorate([
|
40
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
41
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
42
|
-
tslib_1.__metadata("design:type", Date)
|
43
|
-
], Attribute.prototype, "updatedAt", void 0);
|
44
|
-
Attribute = tslib_1.__decorate([
|
45
|
-
(0, typeorm_1.Entity)(),
|
46
|
-
(0, typeorm_1.Index)('ix_attribute_0', (attribute) => [attribute.entity], {
|
47
|
-
unique: true
|
48
|
-
}),
|
49
|
-
(0, type_graphql_1.ObjectType)({ description: 'Entity for Attribute' })
|
50
|
-
], Attribute);
|
51
|
-
exports.Attribute = Attribute;
|
52
|
-
//# sourceMappingURL=attribute.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"attribute.js","sourceRoot":"","sources":["../../../server/service/attribute/attribute.ts"],"names":[],"mappings":";;;;AAAA,qCAA2G;AAC3G,+CAAoD;AAEpD,+DAAqD;AAO9C,IAAM,SAAS,GAAf,MAAM,SAAS;IAAf;QAOL,WAAM,GAAW,EAAE,CAAA;QAInB,gBAAW,GAAW,EAAE,CAAA;IAa1B,CAAC;CAAA,CAAA;AAvBC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;qCACC;AAEnB;IAAC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACvC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACP;AAEnB;IAAC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACvC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACF;AAExB;IAAC,IAAA,gBAAM,EAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,mCAAa,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCAC7B;AAEtB;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACd,IAAI;4CAAA;AAEhB;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACd,IAAI;4CAAA;AAvBL,SAAS;IALrB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,gBAAgB,EAAE,CAAC,SAAoB,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE;QACrE,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;GACvC,SAAS,CAwBrB;AAxBY,8BAAS","sourcesContent":["import { CreateDateColumn, UpdateDateColumn, Entity, Index, Column, PrimaryGeneratedColumn } from 'typeorm'\nimport { ObjectType, Field, ID } from 'type-graphql'\n\nimport { AttributeItem } from './attribute-item-type'\n\n@Entity()\n@Index('ix_attribute_0', (attribute: Attribute) => [attribute.entity], {\n unique: true\n})\n@ObjectType({ description: 'Entity for Attribute' })\nexport class Attribute {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID)\n readonly id: string\n\n @Column({ nullable: true, default: '' })\n @Field({ nullable: true })\n entity: string = ''\n\n @Column({ nullable: true, default: '' })\n @Field({ nullable: true })\n description: string = ''\n\n @Column('simple-json', { nullable: true })\n @Field(type => [AttributeItem], { nullable: true })\n items: AttributeItem[]\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n}\n"]}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { Attribute } from './attribute';
|
2
|
-
import { AttributeQuery } from './attribute-query';
|
3
|
-
import { AttributeMutation } from './attribute-mutation';
|
4
|
-
export declare const entities: (typeof Attribute)[];
|
5
|
-
export declare const resolvers: (typeof AttributeMutation | typeof AttributeQuery)[];
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.resolvers = exports.entities = void 0;
|
4
|
-
const attribute_1 = require("./attribute");
|
5
|
-
const attribute_query_1 = require("./attribute-query");
|
6
|
-
const attribute_mutation_1 = require("./attribute-mutation");
|
7
|
-
exports.entities = [attribute_1.Attribute];
|
8
|
-
exports.resolvers = [attribute_query_1.AttributeQuery, attribute_mutation_1.AttributeMutation];
|
9
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/attribute/index.ts"],"names":[],"mappings":";;;AAAA,2CAAuC;AACvC,uDAAkD;AAClD,6DAAwD;AAE3C,QAAA,QAAQ,GAAG,CAAC,qBAAS,CAAC,CAAA;AACtB,QAAA,SAAS,GAAG,CAAC,gCAAc,EAAE,sCAAiB,CAAC,CAAA","sourcesContent":["import { Attribute } from './attribute'\nimport { AttributeQuery } from './attribute-query'\nimport { AttributeMutation } from './attribute-mutation'\n\nexport const entities = [Attribute]\nexport const resolvers = [AttributeQuery, AttributeMutation]\n"]}
|