@lssm/example.team-hub 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060433
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/announcement/announcement.contracts.d.ts +60 -0
- package/dist/announcement/announcement.schema.d.ts +63 -0
- package/dist/announcement/index.d.ts +3 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/docs/team-hub.docblock.d.ts +1 -0
- package/dist/entities/index.d.ts +149 -0
- package/dist/events.d.ts +288 -0
- package/dist/example.d.ts +39 -0
- package/dist/handlers/index.d.ts +7 -0
- package/dist/index.d.ts +13 -0
- package/dist/presentations/index.d.ts +4 -0
- package/dist/presentations.d.ts +11 -0
- package/dist/ritual/index.d.ts +3 -0
- package/dist/ritual/ritual.contracts.d.ts +106 -0
- package/dist/ritual/ritual.schema.d.ts +84 -0
- package/dist/space/index.d.ts +3 -0
- package/dist/space/space.contracts.d.ts +48 -0
- package/dist/space/space.schema.d.ts +51 -0
- package/dist/task/index.d.ts +3 -0
- package/dist/task/task.contracts.d.ts +229 -0
- package/dist/task/task.schema.d.ts +80 -0
- package/dist/team-hub.feature.d.ts +6 -0
- package/package.json +31 -31
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as _lssm_lib_schema94 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts11 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/ritual/ritual.contracts.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Schedule a ritual.
|
|
7
|
+
*/
|
|
8
|
+
declare const ScheduleRitualContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema94.SchemaModel<{
|
|
9
|
+
spaceId: {
|
|
10
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
11
|
+
isOptional: false;
|
|
12
|
+
};
|
|
13
|
+
title: {
|
|
14
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
15
|
+
isOptional: false;
|
|
16
|
+
};
|
|
17
|
+
cadence: {
|
|
18
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
dayOfWeek: {
|
|
22
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
23
|
+
isOptional: true;
|
|
24
|
+
};
|
|
25
|
+
time: {
|
|
26
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
27
|
+
isOptional: true;
|
|
28
|
+
};
|
|
29
|
+
facilitatorId: {
|
|
30
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
31
|
+
isOptional: true;
|
|
32
|
+
};
|
|
33
|
+
}>, _lssm_lib_schema94.SchemaModel<{
|
|
34
|
+
id: {
|
|
35
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
36
|
+
isOptional: false;
|
|
37
|
+
};
|
|
38
|
+
spaceId: {
|
|
39
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
40
|
+
isOptional: false;
|
|
41
|
+
};
|
|
42
|
+
title: {
|
|
43
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
44
|
+
isOptional: false;
|
|
45
|
+
};
|
|
46
|
+
cadence: {
|
|
47
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
dayOfWeek: {
|
|
51
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
52
|
+
isOptional: true;
|
|
53
|
+
};
|
|
54
|
+
time: {
|
|
55
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
56
|
+
isOptional: true;
|
|
57
|
+
};
|
|
58
|
+
}>, undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Log ritual occurrence.
|
|
61
|
+
*/
|
|
62
|
+
declare const LogRitualOccurrenceContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema94.SchemaModel<{
|
|
63
|
+
ritualId: {
|
|
64
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
65
|
+
isOptional: false;
|
|
66
|
+
};
|
|
67
|
+
scheduledFor: {
|
|
68
|
+
type: _lssm_lib_schema94.FieldType<Date, string>;
|
|
69
|
+
isOptional: false;
|
|
70
|
+
};
|
|
71
|
+
status: {
|
|
72
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
73
|
+
isOptional: false;
|
|
74
|
+
};
|
|
75
|
+
summary: {
|
|
76
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
77
|
+
isOptional: true;
|
|
78
|
+
};
|
|
79
|
+
}>, _lssm_lib_schema94.SchemaModel<{
|
|
80
|
+
id: {
|
|
81
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
spaceId: {
|
|
85
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
title: {
|
|
89
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
cadence: {
|
|
93
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
dayOfWeek: {
|
|
97
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
98
|
+
isOptional: true;
|
|
99
|
+
};
|
|
100
|
+
time: {
|
|
101
|
+
type: _lssm_lib_schema94.FieldType<string, string>;
|
|
102
|
+
isOptional: true;
|
|
103
|
+
};
|
|
104
|
+
}>, undefined>;
|
|
105
|
+
//#endregion
|
|
106
|
+
export { LogRitualOccurrenceContract, ScheduleRitualContract };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as _lssm_lib_schema75 from "@lssm/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/ritual/ritual.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Recurring ritual.
|
|
6
|
+
*/
|
|
7
|
+
declare const RitualModel: _lssm_lib_schema75.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
spaceId: {
|
|
13
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
cadence: {
|
|
21
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
dayOfWeek: {
|
|
25
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
26
|
+
isOptional: true;
|
|
27
|
+
};
|
|
28
|
+
time: {
|
|
29
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
30
|
+
isOptional: true;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Input for scheduling a ritual.
|
|
35
|
+
*/
|
|
36
|
+
declare const ScheduleRitualInputModel: _lssm_lib_schema75.SchemaModel<{
|
|
37
|
+
spaceId: {
|
|
38
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
39
|
+
isOptional: false;
|
|
40
|
+
};
|
|
41
|
+
title: {
|
|
42
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
43
|
+
isOptional: false;
|
|
44
|
+
};
|
|
45
|
+
cadence: {
|
|
46
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
47
|
+
isOptional: false;
|
|
48
|
+
};
|
|
49
|
+
dayOfWeek: {
|
|
50
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
51
|
+
isOptional: true;
|
|
52
|
+
};
|
|
53
|
+
time: {
|
|
54
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
55
|
+
isOptional: true;
|
|
56
|
+
};
|
|
57
|
+
facilitatorId: {
|
|
58
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
59
|
+
isOptional: true;
|
|
60
|
+
};
|
|
61
|
+
}>;
|
|
62
|
+
/**
|
|
63
|
+
* Input for logging ritual occurrence.
|
|
64
|
+
*/
|
|
65
|
+
declare const LogRitualOccurrenceInputModel: _lssm_lib_schema75.SchemaModel<{
|
|
66
|
+
ritualId: {
|
|
67
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
68
|
+
isOptional: false;
|
|
69
|
+
};
|
|
70
|
+
scheduledFor: {
|
|
71
|
+
type: _lssm_lib_schema75.FieldType<Date, string>;
|
|
72
|
+
isOptional: false;
|
|
73
|
+
};
|
|
74
|
+
status: {
|
|
75
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
76
|
+
isOptional: false;
|
|
77
|
+
};
|
|
78
|
+
summary: {
|
|
79
|
+
type: _lssm_lib_schema75.FieldType<string, string>;
|
|
80
|
+
isOptional: true;
|
|
81
|
+
};
|
|
82
|
+
}>;
|
|
83
|
+
//#endregion
|
|
84
|
+
export { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as _lssm_lib_schema267 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts13 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/space/space.contracts.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Create a new team space.
|
|
7
|
+
*/
|
|
8
|
+
declare const CreateSpaceContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema267.SchemaModel<{
|
|
9
|
+
name: {
|
|
10
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
11
|
+
isOptional: false;
|
|
12
|
+
};
|
|
13
|
+
description: {
|
|
14
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
15
|
+
isOptional: true;
|
|
16
|
+
};
|
|
17
|
+
orgId: {
|
|
18
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
ownerId: {
|
|
22
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
23
|
+
isOptional: false;
|
|
24
|
+
};
|
|
25
|
+
}>, _lssm_lib_schema267.SchemaModel<{
|
|
26
|
+
id: {
|
|
27
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
28
|
+
isOptional: false;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
32
|
+
isOptional: false;
|
|
33
|
+
};
|
|
34
|
+
description: {
|
|
35
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
36
|
+
isOptional: true;
|
|
37
|
+
};
|
|
38
|
+
orgId: {
|
|
39
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
40
|
+
isOptional: false;
|
|
41
|
+
};
|
|
42
|
+
ownerId: {
|
|
43
|
+
type: _lssm_lib_schema267.FieldType<string, string>;
|
|
44
|
+
isOptional: false;
|
|
45
|
+
};
|
|
46
|
+
}>, undefined>;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { CreateSpaceContract };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as _lssm_lib_schema120 from "@lssm/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/space/space.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Team space/project.
|
|
6
|
+
*/
|
|
7
|
+
declare const SpaceModel: _lssm_lib_schema120.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
name: {
|
|
13
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
description: {
|
|
17
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
18
|
+
isOptional: true;
|
|
19
|
+
};
|
|
20
|
+
orgId: {
|
|
21
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
ownerId: {
|
|
25
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
26
|
+
isOptional: false;
|
|
27
|
+
};
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Input for creating a space.
|
|
31
|
+
*/
|
|
32
|
+
declare const CreateSpaceInputModel: _lssm_lib_schema120.SchemaModel<{
|
|
33
|
+
name: {
|
|
34
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
35
|
+
isOptional: false;
|
|
36
|
+
};
|
|
37
|
+
description: {
|
|
38
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
39
|
+
isOptional: true;
|
|
40
|
+
};
|
|
41
|
+
orgId: {
|
|
42
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
43
|
+
isOptional: false;
|
|
44
|
+
};
|
|
45
|
+
ownerId: {
|
|
46
|
+
type: _lssm_lib_schema120.FieldType<string, string>;
|
|
47
|
+
isOptional: false;
|
|
48
|
+
};
|
|
49
|
+
}>;
|
|
50
|
+
//#endregion
|
|
51
|
+
export { CreateSpaceInputModel, SpaceModel };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CreateTaskInputModel, TaskModel, UpdateTaskStatusInputModel } from "./task.schema.js";
|
|
2
|
+
import { CreateTaskContract, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, UpdateTaskStatusContract } from "./task.contracts.js";
|
|
3
|
+
export { CreateTaskContract, CreateTaskInputModel, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, TaskModel, UpdateTaskStatusContract, UpdateTaskStatusInputModel };
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import * as _lssm_lib_schema296 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts14 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/task/task.contracts.d.ts
|
|
5
|
+
declare const ListTasksInputModel: _lssm_lib_schema296.SchemaModel<{
|
|
6
|
+
spaceId: {
|
|
7
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
8
|
+
isOptional: true;
|
|
9
|
+
};
|
|
10
|
+
status: {
|
|
11
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
12
|
+
isOptional: true;
|
|
13
|
+
};
|
|
14
|
+
assigneeId: {
|
|
15
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
16
|
+
isOptional: true;
|
|
17
|
+
};
|
|
18
|
+
limit: {
|
|
19
|
+
type: _lssm_lib_schema296.FieldType<number, number>;
|
|
20
|
+
isOptional: true;
|
|
21
|
+
};
|
|
22
|
+
offset: {
|
|
23
|
+
type: _lssm_lib_schema296.FieldType<number, number>;
|
|
24
|
+
isOptional: true;
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
declare const ListTasksOutputModel: _lssm_lib_schema296.SchemaModel<{
|
|
28
|
+
tasks: {
|
|
29
|
+
type: _lssm_lib_schema296.SchemaModel<{
|
|
30
|
+
id: {
|
|
31
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
32
|
+
isOptional: false;
|
|
33
|
+
};
|
|
34
|
+
spaceId: {
|
|
35
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
36
|
+
isOptional: false;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
40
|
+
isOptional: false;
|
|
41
|
+
};
|
|
42
|
+
status: {
|
|
43
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
44
|
+
isOptional: false;
|
|
45
|
+
};
|
|
46
|
+
priority: {
|
|
47
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
assigneeId: {
|
|
51
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
52
|
+
isOptional: true;
|
|
53
|
+
};
|
|
54
|
+
dueDate: {
|
|
55
|
+
type: _lssm_lib_schema296.FieldType<Date, string>;
|
|
56
|
+
isOptional: true;
|
|
57
|
+
};
|
|
58
|
+
}>;
|
|
59
|
+
isOptional: false;
|
|
60
|
+
isList: boolean;
|
|
61
|
+
};
|
|
62
|
+
total: {
|
|
63
|
+
type: _lssm_lib_schema296.FieldType<number, number>;
|
|
64
|
+
isOptional: false;
|
|
65
|
+
};
|
|
66
|
+
}>;
|
|
67
|
+
declare const ListTasksOperation: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema296.SchemaModel<{
|
|
68
|
+
spaceId: {
|
|
69
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
70
|
+
isOptional: true;
|
|
71
|
+
};
|
|
72
|
+
status: {
|
|
73
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
74
|
+
isOptional: true;
|
|
75
|
+
};
|
|
76
|
+
assigneeId: {
|
|
77
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
78
|
+
isOptional: true;
|
|
79
|
+
};
|
|
80
|
+
limit: {
|
|
81
|
+
type: _lssm_lib_schema296.FieldType<number, number>;
|
|
82
|
+
isOptional: true;
|
|
83
|
+
};
|
|
84
|
+
offset: {
|
|
85
|
+
type: _lssm_lib_schema296.FieldType<number, number>;
|
|
86
|
+
isOptional: true;
|
|
87
|
+
};
|
|
88
|
+
}>, _lssm_lib_schema296.SchemaModel<{
|
|
89
|
+
tasks: {
|
|
90
|
+
type: _lssm_lib_schema296.SchemaModel<{
|
|
91
|
+
id: {
|
|
92
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
93
|
+
isOptional: false;
|
|
94
|
+
};
|
|
95
|
+
spaceId: {
|
|
96
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
97
|
+
isOptional: false;
|
|
98
|
+
};
|
|
99
|
+
title: {
|
|
100
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
101
|
+
isOptional: false;
|
|
102
|
+
};
|
|
103
|
+
status: {
|
|
104
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
105
|
+
isOptional: false;
|
|
106
|
+
};
|
|
107
|
+
priority: {
|
|
108
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
109
|
+
isOptional: false;
|
|
110
|
+
};
|
|
111
|
+
assigneeId: {
|
|
112
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
113
|
+
isOptional: true;
|
|
114
|
+
};
|
|
115
|
+
dueDate: {
|
|
116
|
+
type: _lssm_lib_schema296.FieldType<Date, string>;
|
|
117
|
+
isOptional: true;
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
isOptional: false;
|
|
121
|
+
isList: boolean;
|
|
122
|
+
};
|
|
123
|
+
total: {
|
|
124
|
+
type: _lssm_lib_schema296.FieldType<number, number>;
|
|
125
|
+
isOptional: false;
|
|
126
|
+
};
|
|
127
|
+
}>, undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Create a task.
|
|
130
|
+
*/
|
|
131
|
+
declare const CreateTaskContract: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema296.SchemaModel<{
|
|
132
|
+
spaceId: {
|
|
133
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
134
|
+
isOptional: false;
|
|
135
|
+
};
|
|
136
|
+
title: {
|
|
137
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
138
|
+
isOptional: false;
|
|
139
|
+
};
|
|
140
|
+
description: {
|
|
141
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
142
|
+
isOptional: true;
|
|
143
|
+
};
|
|
144
|
+
priority: {
|
|
145
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
146
|
+
isOptional: true;
|
|
147
|
+
};
|
|
148
|
+
assigneeId: {
|
|
149
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
150
|
+
isOptional: true;
|
|
151
|
+
};
|
|
152
|
+
dueDate: {
|
|
153
|
+
type: _lssm_lib_schema296.FieldType<Date, string>;
|
|
154
|
+
isOptional: true;
|
|
155
|
+
};
|
|
156
|
+
}>, _lssm_lib_schema296.SchemaModel<{
|
|
157
|
+
id: {
|
|
158
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
159
|
+
isOptional: false;
|
|
160
|
+
};
|
|
161
|
+
spaceId: {
|
|
162
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
163
|
+
isOptional: false;
|
|
164
|
+
};
|
|
165
|
+
title: {
|
|
166
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
167
|
+
isOptional: false;
|
|
168
|
+
};
|
|
169
|
+
status: {
|
|
170
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
171
|
+
isOptional: false;
|
|
172
|
+
};
|
|
173
|
+
priority: {
|
|
174
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
175
|
+
isOptional: false;
|
|
176
|
+
};
|
|
177
|
+
assigneeId: {
|
|
178
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
179
|
+
isOptional: true;
|
|
180
|
+
};
|
|
181
|
+
dueDate: {
|
|
182
|
+
type: _lssm_lib_schema296.FieldType<Date, string>;
|
|
183
|
+
isOptional: true;
|
|
184
|
+
};
|
|
185
|
+
}>, undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* Update task status.
|
|
188
|
+
*/
|
|
189
|
+
declare const UpdateTaskStatusContract: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema296.SchemaModel<{
|
|
190
|
+
taskId: {
|
|
191
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
192
|
+
isOptional: false;
|
|
193
|
+
};
|
|
194
|
+
status: {
|
|
195
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
196
|
+
isOptional: false;
|
|
197
|
+
};
|
|
198
|
+
}>, _lssm_lib_schema296.SchemaModel<{
|
|
199
|
+
id: {
|
|
200
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
201
|
+
isOptional: false;
|
|
202
|
+
};
|
|
203
|
+
spaceId: {
|
|
204
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
205
|
+
isOptional: false;
|
|
206
|
+
};
|
|
207
|
+
title: {
|
|
208
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
209
|
+
isOptional: false;
|
|
210
|
+
};
|
|
211
|
+
status: {
|
|
212
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
213
|
+
isOptional: false;
|
|
214
|
+
};
|
|
215
|
+
priority: {
|
|
216
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
217
|
+
isOptional: false;
|
|
218
|
+
};
|
|
219
|
+
assigneeId: {
|
|
220
|
+
type: _lssm_lib_schema296.FieldType<string, string>;
|
|
221
|
+
isOptional: true;
|
|
222
|
+
};
|
|
223
|
+
dueDate: {
|
|
224
|
+
type: _lssm_lib_schema296.FieldType<Date, string>;
|
|
225
|
+
isOptional: true;
|
|
226
|
+
};
|
|
227
|
+
}>, undefined>;
|
|
228
|
+
//#endregion
|
|
229
|
+
export { CreateTaskContract, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, UpdateTaskStatusContract };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as _lssm_lib_schema278 from "@lssm/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/task/task.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Task in a space.
|
|
6
|
+
*/
|
|
7
|
+
declare const TaskModel: _lssm_lib_schema278.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
spaceId: {
|
|
13
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
status: {
|
|
21
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
priority: {
|
|
25
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
26
|
+
isOptional: false;
|
|
27
|
+
};
|
|
28
|
+
assigneeId: {
|
|
29
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
30
|
+
isOptional: true;
|
|
31
|
+
};
|
|
32
|
+
dueDate: {
|
|
33
|
+
type: _lssm_lib_schema278.FieldType<Date, string>;
|
|
34
|
+
isOptional: true;
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
/**
|
|
38
|
+
* Input for creating a task.
|
|
39
|
+
*/
|
|
40
|
+
declare const CreateTaskInputModel: _lssm_lib_schema278.SchemaModel<{
|
|
41
|
+
spaceId: {
|
|
42
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
43
|
+
isOptional: false;
|
|
44
|
+
};
|
|
45
|
+
title: {
|
|
46
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
47
|
+
isOptional: false;
|
|
48
|
+
};
|
|
49
|
+
description: {
|
|
50
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
51
|
+
isOptional: true;
|
|
52
|
+
};
|
|
53
|
+
priority: {
|
|
54
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
55
|
+
isOptional: true;
|
|
56
|
+
};
|
|
57
|
+
assigneeId: {
|
|
58
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
59
|
+
isOptional: true;
|
|
60
|
+
};
|
|
61
|
+
dueDate: {
|
|
62
|
+
type: _lssm_lib_schema278.FieldType<Date, string>;
|
|
63
|
+
isOptional: true;
|
|
64
|
+
};
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* Input for updating task status.
|
|
68
|
+
*/
|
|
69
|
+
declare const UpdateTaskStatusInputModel: _lssm_lib_schema278.SchemaModel<{
|
|
70
|
+
taskId: {
|
|
71
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
72
|
+
isOptional: false;
|
|
73
|
+
};
|
|
74
|
+
status: {
|
|
75
|
+
type: _lssm_lib_schema278.FieldType<string, string>;
|
|
76
|
+
isOptional: false;
|
|
77
|
+
};
|
|
78
|
+
}>;
|
|
79
|
+
//#endregion
|
|
80
|
+
export { CreateTaskInputModel, TaskModel, UpdateTaskStatusInputModel };
|