@things-factory/organization 6.0.12 → 6.0.17

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,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApprovalLineItemPatch = exports.ApprovalLineItem = exports.ApproverTarget = exports.ObjectRefApprover = exports.ApprovalLineItemType = void 0;
3
+ exports.ApprovalLineItem = exports.ApproverTarget = exports.ApprovalLineItemType = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const type_graphql_1 = require("type-graphql");
6
- const shell_1 = require("@things-factory/shell");
7
6
  var ApprovalLineItemType;
8
7
  (function (ApprovalLineItemType) {
9
8
  ApprovalLineItemType["Employee"] = "Employee";
@@ -14,16 +13,11 @@ var ApprovalLineItemType;
14
13
  name: 'ApprovalLineItemType',
15
14
  description: 'type enumeration of a approval line item'
16
15
  });
17
- let ObjectRefApprover = class ObjectRefApprover extends shell_1.ObjectRef {
18
- };
19
- tslib_1.__decorate([
20
- (0, type_graphql_1.Field)({ nullable: true }),
21
- tslib_1.__metadata("design:type", String)
22
- ], ObjectRefApprover.prototype, "controlNo", void 0);
23
- ObjectRefApprover = tslib_1.__decorate([
24
- (0, type_graphql_1.InputType)()
25
- ], ObjectRefApprover);
26
- exports.ObjectRefApprover = ObjectRefApprover;
16
+ // @InputType()
17
+ // export class ObjectRefApprover extends ObjectRef {
18
+ // @Field({ nullable: true })
19
+ // controlNo?: string
20
+ // }
27
21
  let ApproverTarget = class ApproverTarget {
28
22
  };
29
23
  tslib_1.__decorate([
@@ -64,18 +58,11 @@ ApprovalLineItem = tslib_1.__decorate([
64
58
  (0, type_graphql_1.ObjectType)({ description: 'Entity for approval line item' })
65
59
  ], ApprovalLineItem);
66
60
  exports.ApprovalLineItem = ApprovalLineItem;
67
- let ApprovalLineItemPatch = class ApprovalLineItemPatch {
68
- };
69
- tslib_1.__decorate([
70
- (0, type_graphql_1.Field)({ nullable: true }),
71
- tslib_1.__metadata("design:type", String)
72
- ], ApprovalLineItemPatch.prototype, "type", void 0);
73
- tslib_1.__decorate([
74
- (0, type_graphql_1.Field)(type => ObjectRefApprover, { nullable: true }),
75
- tslib_1.__metadata("design:type", ObjectRefApprover)
76
- ], ApprovalLineItemPatch.prototype, "approver", void 0);
77
- ApprovalLineItemPatch = tslib_1.__decorate([
78
- (0, type_graphql_1.InputType)()
79
- ], ApprovalLineItemPatch);
80
- exports.ApprovalLineItemPatch = ApprovalLineItemPatch;
61
+ // @InputType()
62
+ // export class ApprovalLineItemPatch {
63
+ // @Field({ nullable: true })
64
+ // type?: ApprovalLineItemType
65
+ // @Field(type => ObjectRefApprover, { nullable: true })
66
+ // approver?: ObjectRefApprover
67
+ // }
81
68
  //# sourceMappingURL=approval-line-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"approval-line-item.js","sourceRoot":"","sources":["../../../server/service/approval-line/approval-line-item.ts"],"names":[],"mappings":";;;;AAAA,+CAAiF;AAEjF,iDAAiD;AAEjD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,iDAAyB,CAAA;IACzB,qCAAa,CAAA;AACf,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAA,+BAAgB,EAAC,oBAAoB,EAAE;IACrC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,0CAA0C;CACxD,CAAC,CAAA;AAGK,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,iBAAS;CAG/C,CAAA;AAFC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACR;AAFP,iBAAiB;IAD7B,IAAA,wBAAS,GAAE;GACC,iBAAiB,CAG7B;AAHY,8CAAiB;AAMvB,IAAM,cAAc,GAApB,MAAM,cAAc;CAY1B,CAAA;AAXC;IAAC,IAAA,oBAAK,EAAC,GAAG,EAAE,C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B","sourcesContent":["import { ObjectType, Field, ID, InputType, registerEnumType } from 'type-graphql'\n\nimport { ObjectRef } from '@things-factory/shell'\n\nexport enum ApprovalLineItemType {\n Employee = 'Employee',\n Department = 'Department',\n Role = 'Role'\n}\n\nregisterEnumType(ApprovalLineItemType, {\n name: 'ApprovalLineItemType',\n description: 'type enumeration of a approval line item'\n})\n\n@InputType()\nexport class ObjectRefApprover extends ObjectRef {\n @Field({ nullable: true })\n controlNo?: string\n}\n\n@ObjectType()\nexport class ApproverTarget {\n @Field(() => ID, { description: 'Field id' })\n id?: string\n\n @Field({ nullable: true, description: 'Field name' })\n name?: string\n\n @Field({ nullable: true, description: 'Field description' })\n description?: string\n\n @Field({ nullable: true })\n controlNo?: string\n}\n\n@ObjectType({ description: 'Entity for approval line item' })\nexport class ApprovalLineItem {\n @Field({ nullable: true })\n type?: ApprovalLineItemType\n\n @Field(type => String, { nullable: true })\n value?: string\n\n @Field(type => ApproverTarget, { nullable: true })\n approver?: ApproverTarget\n}\n\n@InputType()\nexport class ApprovalLineItemPatch {\n @Field({ nullable: true })\n type?: ApprovalLineItemType\n\n @Field(type => ObjectRefApprover, { nullable: true })\n approver?: ObjectRefApprover\n}\n"]}
1
+ {"version":3,"file":"approval-line-item.js","sourceRoot":"","sources":["../../../server/service/approval-line/approval-line-item.ts"],"names":[],"mappings":";;;;AAAA,+CAAiF;AAIjF,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,iDAAyB,CAAA;IACzB,qCAAa,CAAA;AACf,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAA,+BAAgB,EAAC,oBAAoB,EAAE;IACrC,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,0CAA0C;CACxD,CAAC,CAAA;AAEF,eAAe;AACf,qDAAqD;AACrD,+BAA+B;AAC/B,uBAAuB;AACvB,IAAI;AAGG,IAAM,cAAc,GAApB,MAAM,cAAc;CAY1B,CAAA;AAXC;IAAC,IAAA,oBAAK,EAAC,GAAG,EAAE,CAAC,iBAAE,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;;0CAClC;AAEX;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;;4CACxC;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;;mDACxC;AAEpB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACR;AAXP,cAAc;IAD1B,IAAA,yBAAU,GAAE;GACA,cAAc,CAY1B;AAZY,wCAAc;AAepB,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAS5B,CAAA;AARC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACC;AAE3B;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC5B;AAEd;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACvC,cAAc;kDAAA;AARd,gBAAgB;IAD5B,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;GAChD,gBAAgB,CAS5B;AATY,4CAAgB;AAW7B,eAAe;AACf,uCAAuC;AACvC,+BAA+B;AAC/B,gCAAgC;AAEhC,0DAA0D;AAC1D,iCAAiC;AACjC,IAAI","sourcesContent":["import { ObjectType, Field, ID, InputType, registerEnumType } from 'type-graphql'\n\nimport { ObjectRef } from '@things-factory/shell'\n\nexport enum ApprovalLineItemType {\n Employee = 'Employee',\n Department = 'Department',\n Role = 'Role'\n}\n\nregisterEnumType(ApprovalLineItemType, {\n name: 'ApprovalLineItemType',\n description: 'type enumeration of a approval line item'\n})\n\n// @InputType()\n// export class ObjectRefApprover extends ObjectRef {\n// @Field({ nullable: true })\n// controlNo?: string\n// }\n\n@ObjectType()\nexport class ApproverTarget {\n @Field(() => ID, { description: 'Field id' })\n id?: string\n\n @Field({ nullable: true, description: 'Field name' })\n name?: string\n\n @Field({ nullable: true, description: 'Field description' })\n description?: string\n\n @Field({ nullable: true })\n controlNo?: string\n}\n\n@ObjectType({ description: 'Entity for approval line item' })\nexport class ApprovalLineItem {\n @Field({ nullable: true })\n type?: ApprovalLineItemType\n\n @Field(type => String, { nullable: true })\n value?: string\n\n @Field(type => ApproverTarget, { nullable: true })\n approver?: ApproverTarget\n}\n\n// @InputType()\n// export class ApprovalLineItemPatch {\n// @Field({ nullable: true })\n// type?: ApprovalLineItemType\n\n// @Field(type => ObjectRefApprover, { nullable: true })\n// approver?: ObjectRefApprover\n// }\n"]}