@mj-biz-apps/tasks-entities 1.0.0 → 1.1.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.
- package/dist/custom/TaskDependencyEntitySubclass.d.ts +6 -3
- package/dist/custom/TaskDependencyEntitySubclass.d.ts.map +1 -1
- package/dist/custom/TaskDependencyEntitySubclass.js +5 -2
- package/dist/custom/TaskDependencyEntitySubclass.js.map +1 -1
- package/dist/custom/TaskEntitySubclass.d.ts +6 -3
- package/dist/custom/TaskEntitySubclass.d.ts.map +1 -1
- package/dist/custom/TaskEntitySubclass.js +5 -2
- package/dist/custom/TaskEntitySubclass.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +340 -5
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +483 -1
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +7 -5
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValidationResult } from "@memberjunction/core";
|
|
2
|
+
import { mjBizAppsTasksTaskDependencyEntity } from "../generated/entity_subclasses.js";
|
|
2
3
|
/**
|
|
3
4
|
* Custom entity subclass for MJ_BizApps_Tasks: Task Dependencies.
|
|
4
5
|
* Prevents circular dependencies by walking the dependency graph
|
|
5
6
|
* before allowing a save.
|
|
6
7
|
*
|
|
7
|
-
*
|
|
8
|
+
* Extends the CodeGen-generated entity (per MJ convention) so the strongly-typed
|
|
9
|
+
* field accessors are inherited; registered with priority 1 to override the
|
|
10
|
+
* generated base class.
|
|
8
11
|
*/
|
|
9
|
-
export declare class TaskDependencyEntity extends
|
|
12
|
+
export declare class TaskDependencyEntity extends mjBizAppsTasksTaskDependencyEntity {
|
|
10
13
|
Validate(): ValidationResult;
|
|
11
14
|
/**
|
|
12
15
|
* Redundant safety check (also enforced by DB CHECK constraint).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskDependencyEntitySubclass.d.ts","sourceRoot":"","sources":["../../src/custom/TaskDependencyEntitySubclass.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TaskDependencyEntitySubclass.d.ts","sourceRoot":"","sources":["../../src/custom/TaskDependencyEntitySubclass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,gBAAgB,EAA4C,MAAM,sBAAsB,CAAC;AAEjI,OAAO,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC;AAEvF;;;;;;;;GAQG;AACH,qBACa,oBAAqB,SAAQ,kCAAkC;IAExD,QAAQ,IAAI,gBAAgB;IAS5C;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAa/B;;;OAGG;IACmB,aAAa,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAShE;;;;;OAKG;YACW,eAAe;CAwChC"}
|
|
@@ -6,14 +6,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { BaseEntity, RunView, ValidationErrorInfo, ValidationErrorType } from "@memberjunction/core";
|
|
8
8
|
import { RegisterClass } from "@memberjunction/global";
|
|
9
|
+
import { mjBizAppsTasksTaskDependencyEntity } from "../generated/entity_subclasses.js";
|
|
9
10
|
/**
|
|
10
11
|
* Custom entity subclass for MJ_BizApps_Tasks: Task Dependencies.
|
|
11
12
|
* Prevents circular dependencies by walking the dependency graph
|
|
12
13
|
* before allowing a save.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
+
* Extends the CodeGen-generated entity (per MJ convention) so the strongly-typed
|
|
16
|
+
* field accessors are inherited; registered with priority 1 to override the
|
|
17
|
+
* generated base class.
|
|
15
18
|
*/
|
|
16
|
-
let TaskDependencyEntity = class TaskDependencyEntity extends
|
|
19
|
+
let TaskDependencyEntity = class TaskDependencyEntity extends mjBizAppsTasksTaskDependencyEntity {
|
|
17
20
|
Validate() {
|
|
18
21
|
const result = super.Validate();
|
|
19
22
|
this.validateNoSelfReference(result);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskDependencyEntitySubclass.js","sourceRoot":"","sources":["../../src/custom/TaskDependencyEntitySubclass.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAY,OAAO,EAAoB,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACjI,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TaskDependencyEntitySubclass.js","sourceRoot":"","sources":["../../src/custom/TaskDependencyEntitySubclass.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValidationResult } from "@memberjunction/core";
|
|
2
|
+
import { mjBizAppsTasksTaskEntity } from "../generated/entity_subclasses.js";
|
|
2
3
|
/**
|
|
3
4
|
* Custom entity subclass for MJ_BizApps_Tasks: Tasks.
|
|
4
5
|
*
|
|
@@ -6,9 +7,11 @@ import { BaseEntity, ValidationResult } from "@memberjunction/core";
|
|
|
6
7
|
* side-effects (StartedAt/CompletedAt/PercentComplete). Server-only side-effects
|
|
7
8
|
* (activity logging, sub-task rollup) live in TaskEntityServer.
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
+
* Extends the CodeGen-generated entity (per MJ convention) so the strongly-typed
|
|
11
|
+
* field accessors are inherited, and is registered with priority 1 to override the
|
|
12
|
+
* generated base class (priority 0).
|
|
10
13
|
*/
|
|
11
|
-
export declare class TaskEntity extends
|
|
14
|
+
export declare class TaskEntity extends mjBizAppsTasksTaskEntity {
|
|
12
15
|
Validate(): ValidationResult;
|
|
13
16
|
private validatePercentComplete;
|
|
14
17
|
private validateDueAfterStart;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskEntitySubclass.d.ts","sourceRoot":"","sources":["../../src/custom/TaskEntitySubclass.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TaskEntitySubclass.d.ts","sourceRoot":"","sources":["../../src/custom/TaskEntitySubclass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,gBAAgB,EAA4C,MAAM,sBAAsB,CAAC;AAE9G,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAE7E;;;;;;;;;;GAUG;AACH,qBACa,UAAW,SAAQ,wBAAwB;IAMpC,QAAQ,IAAI,gBAAgB;IAW5C,OAAO,CAAC,uBAAuB;IAY/B,OAAO,CAAC,qBAAqB;IAiB7B,OAAO,CAAC,gCAAgC;CA4B3C"}
|
|
@@ -6,6 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { BaseEntity, ValidationErrorInfo, ValidationErrorType } from "@memberjunction/core";
|
|
8
8
|
import { RegisterClass } from "@memberjunction/global";
|
|
9
|
+
import { mjBizAppsTasksTaskEntity } from "../generated/entity_subclasses.js";
|
|
9
10
|
/**
|
|
10
11
|
* Custom entity subclass for MJ_BizApps_Tasks: Tasks.
|
|
11
12
|
*
|
|
@@ -13,9 +14,11 @@ import { RegisterClass } from "@memberjunction/global";
|
|
|
13
14
|
* side-effects (StartedAt/CompletedAt/PercentComplete). Server-only side-effects
|
|
14
15
|
* (activity logging, sub-task rollup) live in TaskEntityServer.
|
|
15
16
|
*
|
|
16
|
-
*
|
|
17
|
+
* Extends the CodeGen-generated entity (per MJ convention) so the strongly-typed
|
|
18
|
+
* field accessors are inherited, and is registered with priority 1 to override the
|
|
19
|
+
* generated base class (priority 0).
|
|
17
20
|
*/
|
|
18
|
-
let TaskEntity = class TaskEntity extends
|
|
21
|
+
let TaskEntity = class TaskEntity extends mjBizAppsTasksTaskEntity {
|
|
19
22
|
// ---------------------------------------------------------------
|
|
20
23
|
// Validation
|
|
21
24
|
// ---------------------------------------------------------------
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskEntitySubclass.js","sourceRoot":"","sources":["../../src/custom/TaskEntitySubclass.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAoB,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC9G,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TaskEntitySubclass.js","sourceRoot":"","sources":["../../src/custom/TaskEntitySubclass.ts"],"names":[],"mappings":"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"}
|
|
@@ -8,7 +8,7 @@ export declare const mjBizAppsTasksTaskActivitySchema: z.ZodObject<{
|
|
|
8
8
|
ID: z.ZodString;
|
|
9
9
|
TaskID: z.ZodString;
|
|
10
10
|
PersonID: z.ZodNullable<z.ZodString>;
|
|
11
|
-
ActivityType: z.ZodUnion<[z.ZodLiteral<"AssignmentAdded">, z.ZodLiteral<"AssignmentRemoved">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Created">, z.ZodLiteral<"DependencyAdded">, z.ZodLiteral<"DependencyRemoved">, z.ZodLiteral<"DueDateChanged">, z.ZodLiteral<"PercentCompleteChanged">, z.ZodLiteral<"PriorityChanged">, z.ZodLiteral<"StatusChange">]>;
|
|
11
|
+
ActivityType: z.ZodUnion<[z.ZodLiteral<"AssignmentAdded">, z.ZodLiteral<"AssignmentRemoved">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Created">, z.ZodLiteral<"DecisionRecorded">, z.ZodLiteral<"DependencyAdded">, z.ZodLiteral<"DependencyRemoved">, z.ZodLiteral<"DueDateChanged">, z.ZodLiteral<"PercentCompleteChanged">, z.ZodLiteral<"PriorityChanged">, z.ZodLiteral<"StatusChange">]>;
|
|
12
12
|
PreviousValue: z.ZodNullable<z.ZodString>;
|
|
13
13
|
NewValue: z.ZodNullable<z.ZodString>;
|
|
14
14
|
Description: z.ZodNullable<z.ZodString>;
|
|
@@ -20,7 +20,7 @@ export declare const mjBizAppsTasksTaskActivitySchema: z.ZodObject<{
|
|
|
20
20
|
ID?: string;
|
|
21
21
|
TaskID?: string;
|
|
22
22
|
PersonID?: string;
|
|
23
|
-
ActivityType?: "AssignmentAdded" | "AssignmentRemoved" | "Completed" | "Created" | "DependencyAdded" | "DependencyRemoved" | "DueDateChanged" | "PercentCompleteChanged" | "PriorityChanged" | "StatusChange";
|
|
23
|
+
ActivityType?: "AssignmentAdded" | "AssignmentRemoved" | "Completed" | "Created" | "DecisionRecorded" | "DependencyAdded" | "DependencyRemoved" | "DueDateChanged" | "PercentCompleteChanged" | "PriorityChanged" | "StatusChange";
|
|
24
24
|
PreviousValue?: string;
|
|
25
25
|
NewValue?: string;
|
|
26
26
|
Description?: string;
|
|
@@ -32,7 +32,7 @@ export declare const mjBizAppsTasksTaskActivitySchema: z.ZodObject<{
|
|
|
32
32
|
ID?: string;
|
|
33
33
|
TaskID?: string;
|
|
34
34
|
PersonID?: string;
|
|
35
|
-
ActivityType?: "AssignmentAdded" | "AssignmentRemoved" | "Completed" | "Created" | "DependencyAdded" | "DependencyRemoved" | "DueDateChanged" | "PercentCompleteChanged" | "PriorityChanged" | "StatusChange";
|
|
35
|
+
ActivityType?: "AssignmentAdded" | "AssignmentRemoved" | "Completed" | "Created" | "DecisionRecorded" | "DependencyAdded" | "DependencyRemoved" | "DueDateChanged" | "PercentCompleteChanged" | "PriorityChanged" | "StatusChange";
|
|
36
36
|
PreviousValue?: string;
|
|
37
37
|
NewValue?: string;
|
|
38
38
|
Description?: string;
|
|
@@ -177,6 +177,85 @@ export declare const mjBizAppsTasksTaskCommentSchema: z.ZodObject<{
|
|
|
177
177
|
IsEdited?: boolean;
|
|
178
178
|
}>;
|
|
179
179
|
export type mjBizAppsTasksTaskCommentEntityType = z.infer<typeof mjBizAppsTasksTaskCommentSchema>;
|
|
180
|
+
/**
|
|
181
|
+
* zod schema definition for the entity MJ_BizApps_Tasks: Task Decision Outcomes
|
|
182
|
+
*/
|
|
183
|
+
export declare const mjBizAppsTasksTaskDecisionOutcomeSchema: z.ZodObject<{
|
|
184
|
+
ID: z.ZodString;
|
|
185
|
+
Name: z.ZodString;
|
|
186
|
+
Code: z.ZodString;
|
|
187
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
188
|
+
Sequence: z.ZodNumber;
|
|
189
|
+
IsTerminal: z.ZodBoolean;
|
|
190
|
+
IsActive: z.ZodBoolean;
|
|
191
|
+
__mj_CreatedAt: z.ZodDate;
|
|
192
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
ID?: string;
|
|
195
|
+
Description?: string;
|
|
196
|
+
__mj_CreatedAt?: Date;
|
|
197
|
+
__mj_UpdatedAt?: Date;
|
|
198
|
+
Name?: string;
|
|
199
|
+
Sequence?: number;
|
|
200
|
+
IsActive?: boolean;
|
|
201
|
+
Code?: string;
|
|
202
|
+
IsTerminal?: boolean;
|
|
203
|
+
}, {
|
|
204
|
+
ID?: string;
|
|
205
|
+
Description?: string;
|
|
206
|
+
__mj_CreatedAt?: Date;
|
|
207
|
+
__mj_UpdatedAt?: Date;
|
|
208
|
+
Name?: string;
|
|
209
|
+
Sequence?: number;
|
|
210
|
+
IsActive?: boolean;
|
|
211
|
+
Code?: string;
|
|
212
|
+
IsTerminal?: boolean;
|
|
213
|
+
}>;
|
|
214
|
+
export type mjBizAppsTasksTaskDecisionOutcomeEntityType = z.infer<typeof mjBizAppsTasksTaskDecisionOutcomeSchema>;
|
|
215
|
+
/**
|
|
216
|
+
* zod schema definition for the entity MJ_BizApps_Tasks: Task Decisions
|
|
217
|
+
*/
|
|
218
|
+
export declare const mjBizAppsTasksTaskDecisionSchema: z.ZodObject<{
|
|
219
|
+
ID: z.ZodString;
|
|
220
|
+
TaskID: z.ZodString;
|
|
221
|
+
OutcomeID: z.ZodString;
|
|
222
|
+
DecidedByPersonID: z.ZodNullable<z.ZodString>;
|
|
223
|
+
DecidedAt: z.ZodDate;
|
|
224
|
+
DecisionNotes: z.ZodNullable<z.ZodString>;
|
|
225
|
+
TaskAssignmentID: z.ZodNullable<z.ZodString>;
|
|
226
|
+
__mj_CreatedAt: z.ZodDate;
|
|
227
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
228
|
+
Task: z.ZodString;
|
|
229
|
+
Outcome: z.ZodString;
|
|
230
|
+
DecidedByPerson: z.ZodNullable<z.ZodString>;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
ID?: string;
|
|
233
|
+
TaskID?: string;
|
|
234
|
+
__mj_CreatedAt?: Date;
|
|
235
|
+
__mj_UpdatedAt?: Date;
|
|
236
|
+
Task?: string;
|
|
237
|
+
OutcomeID?: string;
|
|
238
|
+
DecidedByPersonID?: string;
|
|
239
|
+
DecidedAt?: Date;
|
|
240
|
+
DecisionNotes?: string;
|
|
241
|
+
TaskAssignmentID?: string;
|
|
242
|
+
Outcome?: string;
|
|
243
|
+
DecidedByPerson?: string;
|
|
244
|
+
}, {
|
|
245
|
+
ID?: string;
|
|
246
|
+
TaskID?: string;
|
|
247
|
+
__mj_CreatedAt?: Date;
|
|
248
|
+
__mj_UpdatedAt?: Date;
|
|
249
|
+
Task?: string;
|
|
250
|
+
OutcomeID?: string;
|
|
251
|
+
DecidedByPersonID?: string;
|
|
252
|
+
DecidedAt?: Date;
|
|
253
|
+
DecisionNotes?: string;
|
|
254
|
+
TaskAssignmentID?: string;
|
|
255
|
+
Outcome?: string;
|
|
256
|
+
DecidedByPerson?: string;
|
|
257
|
+
}>;
|
|
258
|
+
export type mjBizAppsTasksTaskDecisionEntityType = z.infer<typeof mjBizAppsTasksTaskDecisionSchema>;
|
|
180
259
|
/**
|
|
181
260
|
* zod schema definition for the entity MJ_BizApps_Tasks: Task Dependencies
|
|
182
261
|
*/
|
|
@@ -569,10 +648,14 @@ export declare const mjBizAppsTasksTaskTypeSchema: z.ZodObject<{
|
|
|
569
648
|
IsActive: z.ZodBoolean;
|
|
570
649
|
__mj_CreatedAt: z.ZodDate;
|
|
571
650
|
__mj_UpdatedAt: z.ZodDate;
|
|
651
|
+
OnRejectActionID: z.ZodNullable<z.ZodString>;
|
|
652
|
+
OnCancelActionID: z.ZodNullable<z.ZodString>;
|
|
572
653
|
OnAssignAction: z.ZodNullable<z.ZodString>;
|
|
573
654
|
OnCompleteAction: z.ZodNullable<z.ZodString>;
|
|
574
655
|
OnOverdueAction: z.ZodNullable<z.ZodString>;
|
|
575
656
|
OnPercentChangeAction: z.ZodNullable<z.ZodString>;
|
|
657
|
+
OnRejectAction: z.ZodNullable<z.ZodString>;
|
|
658
|
+
OnCancelAction: z.ZodNullable<z.ZodString>;
|
|
576
659
|
}, "strip", z.ZodTypeAny, {
|
|
577
660
|
ID?: string;
|
|
578
661
|
Description?: string;
|
|
@@ -586,10 +669,14 @@ export declare const mjBizAppsTasksTaskTypeSchema: z.ZodObject<{
|
|
|
586
669
|
OnCompleteActionID?: string;
|
|
587
670
|
OnOverdueActionID?: string;
|
|
588
671
|
OnPercentChangeActionID?: string;
|
|
672
|
+
OnRejectActionID?: string;
|
|
673
|
+
OnCancelActionID?: string;
|
|
589
674
|
OnAssignAction?: string;
|
|
590
675
|
OnCompleteAction?: string;
|
|
591
676
|
OnOverdueAction?: string;
|
|
592
677
|
OnPercentChangeAction?: string;
|
|
678
|
+
OnRejectAction?: string;
|
|
679
|
+
OnCancelAction?: string;
|
|
593
680
|
}, {
|
|
594
681
|
ID?: string;
|
|
595
682
|
Description?: string;
|
|
@@ -603,10 +690,14 @@ export declare const mjBizAppsTasksTaskTypeSchema: z.ZodObject<{
|
|
|
603
690
|
OnCompleteActionID?: string;
|
|
604
691
|
OnOverdueActionID?: string;
|
|
605
692
|
OnPercentChangeActionID?: string;
|
|
693
|
+
OnRejectActionID?: string;
|
|
694
|
+
OnCancelActionID?: string;
|
|
606
695
|
OnAssignAction?: string;
|
|
607
696
|
OnCompleteAction?: string;
|
|
608
697
|
OnOverdueAction?: string;
|
|
609
698
|
OnPercentChangeAction?: string;
|
|
699
|
+
OnRejectAction?: string;
|
|
700
|
+
OnCancelAction?: string;
|
|
610
701
|
}>;
|
|
611
702
|
export type mjBizAppsTasksTaskTypeEntityType = z.infer<typeof mjBizAppsTasksTaskTypeSchema>;
|
|
612
703
|
/**
|
|
@@ -752,6 +843,7 @@ export declare class mjBizAppsTasksTaskActivityEntity extends BaseEntity<mjBizAp
|
|
|
752
843
|
* * AssignmentRemoved
|
|
753
844
|
* * Completed
|
|
754
845
|
* * Created
|
|
846
|
+
* * DecisionRecorded
|
|
755
847
|
* * DependencyAdded
|
|
756
848
|
* * DependencyRemoved
|
|
757
849
|
* * DueDateChanged
|
|
@@ -759,8 +851,8 @@ export declare class mjBizAppsTasksTaskActivityEntity extends BaseEntity<mjBizAp
|
|
|
759
851
|
* * PriorityChanged
|
|
760
852
|
* * StatusChange
|
|
761
853
|
*/
|
|
762
|
-
get ActivityType(): 'AssignmentAdded' | 'AssignmentRemoved' | 'Completed' | 'Created' | 'DependencyAdded' | 'DependencyRemoved' | 'DueDateChanged' | 'PercentCompleteChanged' | 'PriorityChanged' | 'StatusChange';
|
|
763
|
-
set ActivityType(value: 'AssignmentAdded' | 'AssignmentRemoved' | 'Completed' | 'Created' | 'DependencyAdded' | 'DependencyRemoved' | 'DueDateChanged' | 'PercentCompleteChanged' | 'PriorityChanged' | 'StatusChange');
|
|
854
|
+
get ActivityType(): 'AssignmentAdded' | 'AssignmentRemoved' | 'Completed' | 'Created' | 'DecisionRecorded' | 'DependencyAdded' | 'DependencyRemoved' | 'DueDateChanged' | 'PercentCompleteChanged' | 'PriorityChanged' | 'StatusChange';
|
|
855
|
+
set ActivityType(value: 'AssignmentAdded' | 'AssignmentRemoved' | 'Completed' | 'Created' | 'DecisionRecorded' | 'DependencyAdded' | 'DependencyRemoved' | 'DueDateChanged' | 'PercentCompleteChanged' | 'PriorityChanged' | 'StatusChange');
|
|
764
856
|
/**
|
|
765
857
|
* * Field Name: PreviousValue
|
|
766
858
|
* * Display Name: Previous Value
|
|
@@ -1152,6 +1244,219 @@ export declare class mjBizAppsTasksTaskCommentEntity extends BaseEntity<mjBizApp
|
|
|
1152
1244
|
*/
|
|
1153
1245
|
get RootParentID(): string | null;
|
|
1154
1246
|
}
|
|
1247
|
+
/**
|
|
1248
|
+
* MJ_BizApps_Tasks: Task Decision Outcomes - strongly typed entity sub-class
|
|
1249
|
+
* * Schema: __mj_BizAppsTasks
|
|
1250
|
+
* * Base Table: TaskDecisionOutcome
|
|
1251
|
+
* * Base View: vwTaskDecisionOutcomes
|
|
1252
|
+
* * Primary Key: ID
|
|
1253
|
+
* @extends {BaseEntity}
|
|
1254
|
+
* @class
|
|
1255
|
+
* @public
|
|
1256
|
+
*/
|
|
1257
|
+
export declare class mjBizAppsTasksTaskDecisionOutcomeEntity extends BaseEntity<mjBizAppsTasksTaskDecisionOutcomeEntityType> {
|
|
1258
|
+
/**
|
|
1259
|
+
* Loads the MJ_BizApps_Tasks: Task Decision Outcomes record from the database
|
|
1260
|
+
* @param ID: string - primary key value to load the MJ_BizApps_Tasks: Task Decision Outcomes record.
|
|
1261
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
1262
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
1263
|
+
* @public
|
|
1264
|
+
* @async
|
|
1265
|
+
* @memberof mjBizAppsTasksTaskDecisionOutcomeEntity
|
|
1266
|
+
* @method
|
|
1267
|
+
* @override
|
|
1268
|
+
*/
|
|
1269
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
1270
|
+
/**
|
|
1271
|
+
* * Field Name: ID
|
|
1272
|
+
* * Display Name: ID
|
|
1273
|
+
* * SQL Data Type: uniqueidentifier
|
|
1274
|
+
* * Default Value: newsequentialid()
|
|
1275
|
+
*/
|
|
1276
|
+
get ID(): string;
|
|
1277
|
+
set ID(value: string);
|
|
1278
|
+
/**
|
|
1279
|
+
* * Field Name: Name
|
|
1280
|
+
* * Display Name: Name
|
|
1281
|
+
* * SQL Data Type: nvarchar(100)
|
|
1282
|
+
* * Description: Human-readable outcome label (e.g. Approved, Rejected, Approved With Conditions).
|
|
1283
|
+
*/
|
|
1284
|
+
get Name(): string;
|
|
1285
|
+
set Name(value: string);
|
|
1286
|
+
/**
|
|
1287
|
+
* * Field Name: Code
|
|
1288
|
+
* * Display Name: Code
|
|
1289
|
+
* * SQL Data Type: nvarchar(50)
|
|
1290
|
+
* * Description: Stable machine code for the outcome, used by orchestration code to map outcome to task status (e.g. Approved, Rejected, ApprovedWithConditions).
|
|
1291
|
+
*/
|
|
1292
|
+
get Code(): string;
|
|
1293
|
+
set Code(value: string);
|
|
1294
|
+
/**
|
|
1295
|
+
* * Field Name: Description
|
|
1296
|
+
* * Display Name: Description
|
|
1297
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1298
|
+
*/
|
|
1299
|
+
get Description(): string | null;
|
|
1300
|
+
set Description(value: string | null);
|
|
1301
|
+
/**
|
|
1302
|
+
* * Field Name: Sequence
|
|
1303
|
+
* * Display Name: Sequence
|
|
1304
|
+
* * SQL Data Type: int
|
|
1305
|
+
* * Default Value: 100
|
|
1306
|
+
* * Description: Display ordering for the outcome in decision pickers.
|
|
1307
|
+
*/
|
|
1308
|
+
get Sequence(): number;
|
|
1309
|
+
set Sequence(value: number);
|
|
1310
|
+
/**
|
|
1311
|
+
* * Field Name: IsTerminal
|
|
1312
|
+
* * Display Name: Is Terminal
|
|
1313
|
+
* * SQL Data Type: bit
|
|
1314
|
+
* * Default Value: 1
|
|
1315
|
+
* * Description: When 1, recording this outcome closes the approval (terminal). When 0, the decision is interim and the task remains open.
|
|
1316
|
+
*/
|
|
1317
|
+
get IsTerminal(): boolean;
|
|
1318
|
+
set IsTerminal(value: boolean);
|
|
1319
|
+
/**
|
|
1320
|
+
* * Field Name: IsActive
|
|
1321
|
+
* * Display Name: Is Active
|
|
1322
|
+
* * SQL Data Type: bit
|
|
1323
|
+
* * Default Value: 1
|
|
1324
|
+
* * Description: When 0, the outcome is hidden from new decision pickers but preserved on historical decisions.
|
|
1325
|
+
*/
|
|
1326
|
+
get IsActive(): boolean;
|
|
1327
|
+
set IsActive(value: boolean);
|
|
1328
|
+
/**
|
|
1329
|
+
* * Field Name: __mj_CreatedAt
|
|
1330
|
+
* * Display Name: Created At
|
|
1331
|
+
* * SQL Data Type: datetimeoffset
|
|
1332
|
+
* * Default Value: getutcdate()
|
|
1333
|
+
*/
|
|
1334
|
+
get __mj_CreatedAt(): Date;
|
|
1335
|
+
/**
|
|
1336
|
+
* * Field Name: __mj_UpdatedAt
|
|
1337
|
+
* * Display Name: Updated At
|
|
1338
|
+
* * SQL Data Type: datetimeoffset
|
|
1339
|
+
* * Default Value: getutcdate()
|
|
1340
|
+
*/
|
|
1341
|
+
get __mj_UpdatedAt(): Date;
|
|
1342
|
+
}
|
|
1343
|
+
/**
|
|
1344
|
+
* MJ_BizApps_Tasks: Task Decisions - strongly typed entity sub-class
|
|
1345
|
+
* * Schema: __mj_BizAppsTasks
|
|
1346
|
+
* * Base Table: TaskDecision
|
|
1347
|
+
* * Base View: vwTaskDecisions
|
|
1348
|
+
* * Primary Key: ID
|
|
1349
|
+
* @extends {BaseEntity}
|
|
1350
|
+
* @class
|
|
1351
|
+
* @public
|
|
1352
|
+
*/
|
|
1353
|
+
export declare class mjBizAppsTasksTaskDecisionEntity extends BaseEntity<mjBizAppsTasksTaskDecisionEntityType> {
|
|
1354
|
+
/**
|
|
1355
|
+
* Loads the MJ_BizApps_Tasks: Task Decisions record from the database
|
|
1356
|
+
* @param ID: string - primary key value to load the MJ_BizApps_Tasks: Task Decisions record.
|
|
1357
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
1358
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
1359
|
+
* @public
|
|
1360
|
+
* @async
|
|
1361
|
+
* @memberof mjBizAppsTasksTaskDecisionEntity
|
|
1362
|
+
* @method
|
|
1363
|
+
* @override
|
|
1364
|
+
*/
|
|
1365
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
1366
|
+
/**
|
|
1367
|
+
* * Field Name: ID
|
|
1368
|
+
* * Display Name: ID
|
|
1369
|
+
* * SQL Data Type: uniqueidentifier
|
|
1370
|
+
* * Default Value: newsequentialid()
|
|
1371
|
+
*/
|
|
1372
|
+
get ID(): string;
|
|
1373
|
+
set ID(value: string);
|
|
1374
|
+
/**
|
|
1375
|
+
* * Field Name: TaskID
|
|
1376
|
+
* * Display Name: Task ID
|
|
1377
|
+
* * SQL Data Type: uniqueidentifier
|
|
1378
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Tasks: Tasks (vwTasks.ID)
|
|
1379
|
+
* * Description: The task this decision was recorded against.
|
|
1380
|
+
*/
|
|
1381
|
+
get TaskID(): string;
|
|
1382
|
+
set TaskID(value: string);
|
|
1383
|
+
/**
|
|
1384
|
+
* * Field Name: OutcomeID
|
|
1385
|
+
* * Display Name: Outcome ID
|
|
1386
|
+
* * SQL Data Type: uniqueidentifier
|
|
1387
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Tasks: Task Decision Outcomes (vwTaskDecisionOutcomes.ID)
|
|
1388
|
+
* * Description: The decision outcome (FK to TaskDecisionOutcome).
|
|
1389
|
+
*/
|
|
1390
|
+
get OutcomeID(): string;
|
|
1391
|
+
set OutcomeID(value: string);
|
|
1392
|
+
/**
|
|
1393
|
+
* * Field Name: DecidedByPersonID
|
|
1394
|
+
* * Display Name: Decided By Person ID
|
|
1395
|
+
* * SQL Data Type: uniqueidentifier
|
|
1396
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
1397
|
+
* * Description: The Person who made the decision.
|
|
1398
|
+
*/
|
|
1399
|
+
get DecidedByPersonID(): string | null;
|
|
1400
|
+
set DecidedByPersonID(value: string | null);
|
|
1401
|
+
/**
|
|
1402
|
+
* * Field Name: DecidedAt
|
|
1403
|
+
* * Display Name: Decided At
|
|
1404
|
+
* * SQL Data Type: datetimeoffset
|
|
1405
|
+
* * Default Value: getutcdate()
|
|
1406
|
+
* * Description: When the decision was recorded.
|
|
1407
|
+
*/
|
|
1408
|
+
get DecidedAt(): Date;
|
|
1409
|
+
set DecidedAt(value: Date);
|
|
1410
|
+
/**
|
|
1411
|
+
* * Field Name: DecisionNotes
|
|
1412
|
+
* * Display Name: Decision Notes
|
|
1413
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1414
|
+
* * Description: Free-text rationale or conditions attached to the decision.
|
|
1415
|
+
*/
|
|
1416
|
+
get DecisionNotes(): string | null;
|
|
1417
|
+
set DecisionNotes(value: string | null);
|
|
1418
|
+
/**
|
|
1419
|
+
* * Field Name: TaskAssignmentID
|
|
1420
|
+
* * Display Name: Task Assignment ID
|
|
1421
|
+
* * SQL Data Type: uniqueidentifier
|
|
1422
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Tasks: Task Assignments (vwTaskAssignments.ID)
|
|
1423
|
+
* * Description: Optional link to the specific TaskAssignment this decision belongs to, for per-assignee decisions in multi-approver flows. Null for a task-level decision.
|
|
1424
|
+
*/
|
|
1425
|
+
get TaskAssignmentID(): string | null;
|
|
1426
|
+
set TaskAssignmentID(value: string | null);
|
|
1427
|
+
/**
|
|
1428
|
+
* * Field Name: __mj_CreatedAt
|
|
1429
|
+
* * Display Name: Created At
|
|
1430
|
+
* * SQL Data Type: datetimeoffset
|
|
1431
|
+
* * Default Value: getutcdate()
|
|
1432
|
+
*/
|
|
1433
|
+
get __mj_CreatedAt(): Date;
|
|
1434
|
+
/**
|
|
1435
|
+
* * Field Name: __mj_UpdatedAt
|
|
1436
|
+
* * Display Name: Updated At
|
|
1437
|
+
* * SQL Data Type: datetimeoffset
|
|
1438
|
+
* * Default Value: getutcdate()
|
|
1439
|
+
*/
|
|
1440
|
+
get __mj_UpdatedAt(): Date;
|
|
1441
|
+
/**
|
|
1442
|
+
* * Field Name: Task
|
|
1443
|
+
* * Display Name: Task
|
|
1444
|
+
* * SQL Data Type: nvarchar(255)
|
|
1445
|
+
*/
|
|
1446
|
+
get Task(): string;
|
|
1447
|
+
/**
|
|
1448
|
+
* * Field Name: Outcome
|
|
1449
|
+
* * Display Name: Outcome
|
|
1450
|
+
* * SQL Data Type: nvarchar(100)
|
|
1451
|
+
*/
|
|
1452
|
+
get Outcome(): string;
|
|
1453
|
+
/**
|
|
1454
|
+
* * Field Name: DecidedByPerson
|
|
1455
|
+
* * Display Name: Decided By Person
|
|
1456
|
+
* * SQL Data Type: nvarchar(201)
|
|
1457
|
+
*/
|
|
1458
|
+
get DecidedByPerson(): string | null;
|
|
1459
|
+
}
|
|
1155
1460
|
/**
|
|
1156
1461
|
* MJ_BizApps_Tasks: Task Dependencies - strongly typed entity sub-class
|
|
1157
1462
|
* * Schema: __mj_BizAppsTasks
|
|
@@ -2252,6 +2557,24 @@ export declare class mjBizAppsTasksTaskTypeEntity extends BaseEntity<mjBizAppsTa
|
|
|
2252
2557
|
*/
|
|
2253
2558
|
get __mj_UpdatedAt(): Date;
|
|
2254
2559
|
/**
|
|
2560
|
+
* * Field Name: OnRejectActionID
|
|
2561
|
+
* * Display Name: On Reject Action ID
|
|
2562
|
+
* * SQL Data Type: uniqueidentifier
|
|
2563
|
+
* * Related Entity/Foreign Key: MJ: Actions (vwActions.ID)
|
|
2564
|
+
* * Description: Action invoked when a task of this type transitions to a rejected decision (post-commit, non-blocking). Used by approval workflows.
|
|
2565
|
+
*/
|
|
2566
|
+
get OnRejectActionID(): string | null;
|
|
2567
|
+
set OnRejectActionID(value: string | null);
|
|
2568
|
+
/**
|
|
2569
|
+
* * Field Name: OnCancelActionID
|
|
2570
|
+
* * Display Name: On Cancel Action ID
|
|
2571
|
+
* * SQL Data Type: uniqueidentifier
|
|
2572
|
+
* * Related Entity/Foreign Key: MJ: Actions (vwActions.ID)
|
|
2573
|
+
* * Description: Action invoked when a task of this type transitions to Cancelled (post-commit, non-blocking).
|
|
2574
|
+
*/
|
|
2575
|
+
get OnCancelActionID(): string | null;
|
|
2576
|
+
set OnCancelActionID(value: string | null);
|
|
2577
|
+
/**
|
|
2255
2578
|
* * Field Name: OnAssignAction
|
|
2256
2579
|
* * Display Name: On Assign Action
|
|
2257
2580
|
* * SQL Data Type: nvarchar(425)
|
|
@@ -2275,6 +2598,18 @@ export declare class mjBizAppsTasksTaskTypeEntity extends BaseEntity<mjBizAppsTa
|
|
|
2275
2598
|
* * SQL Data Type: nvarchar(425)
|
|
2276
2599
|
*/
|
|
2277
2600
|
get OnPercentChangeAction(): string | null;
|
|
2601
|
+
/**
|
|
2602
|
+
* * Field Name: OnRejectAction
|
|
2603
|
+
* * Display Name: On Reject Action
|
|
2604
|
+
* * SQL Data Type: nvarchar(425)
|
|
2605
|
+
*/
|
|
2606
|
+
get OnRejectAction(): string | null;
|
|
2607
|
+
/**
|
|
2608
|
+
* * Field Name: OnCancelAction
|
|
2609
|
+
* * Display Name: On Cancel Action
|
|
2610
|
+
* * SQL Data Type: nvarchar(425)
|
|
2611
|
+
*/
|
|
2612
|
+
get OnCancelAction(): string | null;
|
|
2278
2613
|
}
|
|
2279
2614
|
/**
|
|
2280
2615
|
* MJ_BizApps_Tasks: Tasks - strongly typed entity sub-class
|