@lssm/example.team-hub 0.0.0-canary-20251217052941 → 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,60 @@
|
|
|
1
|
+
import * as _lssm_lib_schema368 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts17 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/announcement/announcement.contracts.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Post an announcement.
|
|
7
|
+
*/
|
|
8
|
+
declare const PostAnnouncementContract: _lssm_lib_contracts17.ContractSpec<_lssm_lib_schema368.SchemaModel<{
|
|
9
|
+
title: {
|
|
10
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
11
|
+
isOptional: false;
|
|
12
|
+
};
|
|
13
|
+
body: {
|
|
14
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
15
|
+
isOptional: false;
|
|
16
|
+
};
|
|
17
|
+
audience: {
|
|
18
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
audienceRole: {
|
|
22
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
23
|
+
isOptional: true;
|
|
24
|
+
};
|
|
25
|
+
spaceId: {
|
|
26
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
27
|
+
isOptional: true;
|
|
28
|
+
};
|
|
29
|
+
expiresAt: {
|
|
30
|
+
type: _lssm_lib_schema368.FieldType<Date, string>;
|
|
31
|
+
isOptional: true;
|
|
32
|
+
};
|
|
33
|
+
}>, _lssm_lib_schema368.SchemaModel<{
|
|
34
|
+
id: {
|
|
35
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
36
|
+
isOptional: false;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
40
|
+
isOptional: false;
|
|
41
|
+
};
|
|
42
|
+
body: {
|
|
43
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
44
|
+
isOptional: false;
|
|
45
|
+
};
|
|
46
|
+
audience: {
|
|
47
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
audienceRole: {
|
|
51
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
52
|
+
isOptional: true;
|
|
53
|
+
};
|
|
54
|
+
spaceId: {
|
|
55
|
+
type: _lssm_lib_schema368.FieldType<string, string>;
|
|
56
|
+
isOptional: true;
|
|
57
|
+
};
|
|
58
|
+
}>, undefined>;
|
|
59
|
+
//#endregion
|
|
60
|
+
export { PostAnnouncementContract };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as _lssm_lib_schema354 from "@lssm/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/announcement/announcement.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Announcement to spaces/org.
|
|
6
|
+
*/
|
|
7
|
+
declare const AnnouncementModel: _lssm_lib_schema354.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
body: {
|
|
17
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
audience: {
|
|
21
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
audienceRole: {
|
|
25
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
26
|
+
isOptional: true;
|
|
27
|
+
};
|
|
28
|
+
spaceId: {
|
|
29
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
30
|
+
isOptional: true;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Input for posting an announcement.
|
|
35
|
+
*/
|
|
36
|
+
declare const PostAnnouncementInputModel: _lssm_lib_schema354.SchemaModel<{
|
|
37
|
+
title: {
|
|
38
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
39
|
+
isOptional: false;
|
|
40
|
+
};
|
|
41
|
+
body: {
|
|
42
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
43
|
+
isOptional: false;
|
|
44
|
+
};
|
|
45
|
+
audience: {
|
|
46
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
47
|
+
isOptional: false;
|
|
48
|
+
};
|
|
49
|
+
audienceRole: {
|
|
50
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
51
|
+
isOptional: true;
|
|
52
|
+
};
|
|
53
|
+
spaceId: {
|
|
54
|
+
type: _lssm_lib_schema354.FieldType<string, string>;
|
|
55
|
+
isOptional: true;
|
|
56
|
+
};
|
|
57
|
+
expiresAt: {
|
|
58
|
+
type: _lssm_lib_schema354.FieldType<Date, string>;
|
|
59
|
+
isOptional: true;
|
|
60
|
+
};
|
|
61
|
+
}>;
|
|
62
|
+
//#endregion
|
|
63
|
+
export { AnnouncementModel, PostAnnouncementInputModel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as _lssm_lib_schema131 from "@lssm/lib.schema";
|
|
2
|
+
import { ModuleSchemaContribution } from "@lssm/lib.schema";
|
|
3
|
+
|
|
4
|
+
//#region src/entities/index.d.ts
|
|
5
|
+
declare const TaskStatusEnum: _lssm_lib_schema131.EntityEnumDef;
|
|
6
|
+
declare const TaskPriorityEnum: _lssm_lib_schema131.EntityEnumDef;
|
|
7
|
+
declare const RitualCadenceEnum: _lssm_lib_schema131.EntityEnumDef;
|
|
8
|
+
declare const AnnouncementAudienceEnum: _lssm_lib_schema131.EntityEnumDef;
|
|
9
|
+
declare const SpaceEntity: _lssm_lib_schema131.EntitySpec<{
|
|
10
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
11
|
+
name: _lssm_lib_schema131.EntityScalarField;
|
|
12
|
+
description: _lssm_lib_schema131.EntityScalarField;
|
|
13
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
14
|
+
ownerId: _lssm_lib_schema131.EntityScalarField;
|
|
15
|
+
members: _lssm_lib_schema131.EntityScalarField;
|
|
16
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
17
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
18
|
+
tasks: _lssm_lib_schema131.EntityRelationField;
|
|
19
|
+
rituals: _lssm_lib_schema131.EntityRelationField;
|
|
20
|
+
announcements: _lssm_lib_schema131.EntityRelationField;
|
|
21
|
+
}>;
|
|
22
|
+
declare const TaskEntity: _lssm_lib_schema131.EntitySpec<{
|
|
23
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
24
|
+
spaceId: _lssm_lib_schema131.EntityScalarField;
|
|
25
|
+
title: _lssm_lib_schema131.EntityScalarField;
|
|
26
|
+
description: _lssm_lib_schema131.EntityScalarField;
|
|
27
|
+
status: _lssm_lib_schema131.EntityEnumField;
|
|
28
|
+
priority: _lssm_lib_schema131.EntityEnumField;
|
|
29
|
+
assigneeId: _lssm_lib_schema131.EntityScalarField;
|
|
30
|
+
dueDate: _lssm_lib_schema131.EntityScalarField;
|
|
31
|
+
tags: _lssm_lib_schema131.EntityScalarField;
|
|
32
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
33
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
34
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
35
|
+
space: _lssm_lib_schema131.EntityRelationField;
|
|
36
|
+
}>;
|
|
37
|
+
declare const RitualEntity: _lssm_lib_schema131.EntitySpec<{
|
|
38
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
39
|
+
spaceId: _lssm_lib_schema131.EntityScalarField;
|
|
40
|
+
title: _lssm_lib_schema131.EntityScalarField;
|
|
41
|
+
cadence: _lssm_lib_schema131.EntityEnumField;
|
|
42
|
+
dayOfWeek: _lssm_lib_schema131.EntityScalarField;
|
|
43
|
+
time: _lssm_lib_schema131.EntityScalarField;
|
|
44
|
+
facilitatorId: _lssm_lib_schema131.EntityScalarField;
|
|
45
|
+
participants: _lssm_lib_schema131.EntityScalarField;
|
|
46
|
+
location: _lssm_lib_schema131.EntityScalarField;
|
|
47
|
+
agendaTemplate: _lssm_lib_schema131.EntityScalarField;
|
|
48
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
49
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
50
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
51
|
+
occurrences: _lssm_lib_schema131.EntityRelationField;
|
|
52
|
+
space: _lssm_lib_schema131.EntityRelationField;
|
|
53
|
+
}>;
|
|
54
|
+
declare const RitualOccurrenceEntity: _lssm_lib_schema131.EntitySpec<{
|
|
55
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
56
|
+
ritualId: _lssm_lib_schema131.EntityScalarField;
|
|
57
|
+
scheduledFor: _lssm_lib_schema131.EntityScalarField;
|
|
58
|
+
status: _lssm_lib_schema131.EntityScalarField;
|
|
59
|
+
summary: _lssm_lib_schema131.EntityScalarField;
|
|
60
|
+
attendance: _lssm_lib_schema131.EntityScalarField;
|
|
61
|
+
recordingUrl: _lssm_lib_schema131.EntityScalarField;
|
|
62
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
63
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
64
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
65
|
+
ritual: _lssm_lib_schema131.EntityRelationField;
|
|
66
|
+
}>;
|
|
67
|
+
declare const AnnouncementEntity: _lssm_lib_schema131.EntitySpec<{
|
|
68
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
69
|
+
spaceId: _lssm_lib_schema131.EntityScalarField;
|
|
70
|
+
title: _lssm_lib_schema131.EntityScalarField;
|
|
71
|
+
body: _lssm_lib_schema131.EntityScalarField;
|
|
72
|
+
audience: _lssm_lib_schema131.EntityEnumField;
|
|
73
|
+
audienceRole: _lssm_lib_schema131.EntityScalarField;
|
|
74
|
+
pinnedUntil: _lssm_lib_schema131.EntityScalarField;
|
|
75
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
76
|
+
createdBy: _lssm_lib_schema131.EntityScalarField;
|
|
77
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
78
|
+
expiresAt: _lssm_lib_schema131.EntityScalarField;
|
|
79
|
+
}>;
|
|
80
|
+
declare const teamHubEntities: (_lssm_lib_schema131.EntitySpec<{
|
|
81
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
82
|
+
name: _lssm_lib_schema131.EntityScalarField;
|
|
83
|
+
description: _lssm_lib_schema131.EntityScalarField;
|
|
84
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
85
|
+
ownerId: _lssm_lib_schema131.EntityScalarField;
|
|
86
|
+
members: _lssm_lib_schema131.EntityScalarField;
|
|
87
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
88
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
89
|
+
tasks: _lssm_lib_schema131.EntityRelationField;
|
|
90
|
+
rituals: _lssm_lib_schema131.EntityRelationField;
|
|
91
|
+
announcements: _lssm_lib_schema131.EntityRelationField;
|
|
92
|
+
}> | _lssm_lib_schema131.EntitySpec<{
|
|
93
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
94
|
+
spaceId: _lssm_lib_schema131.EntityScalarField;
|
|
95
|
+
title: _lssm_lib_schema131.EntityScalarField;
|
|
96
|
+
description: _lssm_lib_schema131.EntityScalarField;
|
|
97
|
+
status: _lssm_lib_schema131.EntityEnumField;
|
|
98
|
+
priority: _lssm_lib_schema131.EntityEnumField;
|
|
99
|
+
assigneeId: _lssm_lib_schema131.EntityScalarField;
|
|
100
|
+
dueDate: _lssm_lib_schema131.EntityScalarField;
|
|
101
|
+
tags: _lssm_lib_schema131.EntityScalarField;
|
|
102
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
103
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
104
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
105
|
+
space: _lssm_lib_schema131.EntityRelationField;
|
|
106
|
+
}> | _lssm_lib_schema131.EntitySpec<{
|
|
107
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
108
|
+
spaceId: _lssm_lib_schema131.EntityScalarField;
|
|
109
|
+
title: _lssm_lib_schema131.EntityScalarField;
|
|
110
|
+
cadence: _lssm_lib_schema131.EntityEnumField;
|
|
111
|
+
dayOfWeek: _lssm_lib_schema131.EntityScalarField;
|
|
112
|
+
time: _lssm_lib_schema131.EntityScalarField;
|
|
113
|
+
facilitatorId: _lssm_lib_schema131.EntityScalarField;
|
|
114
|
+
participants: _lssm_lib_schema131.EntityScalarField;
|
|
115
|
+
location: _lssm_lib_schema131.EntityScalarField;
|
|
116
|
+
agendaTemplate: _lssm_lib_schema131.EntityScalarField;
|
|
117
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
118
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
119
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
120
|
+
occurrences: _lssm_lib_schema131.EntityRelationField;
|
|
121
|
+
space: _lssm_lib_schema131.EntityRelationField;
|
|
122
|
+
}> | _lssm_lib_schema131.EntitySpec<{
|
|
123
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
124
|
+
ritualId: _lssm_lib_schema131.EntityScalarField;
|
|
125
|
+
scheduledFor: _lssm_lib_schema131.EntityScalarField;
|
|
126
|
+
status: _lssm_lib_schema131.EntityScalarField;
|
|
127
|
+
summary: _lssm_lib_schema131.EntityScalarField;
|
|
128
|
+
attendance: _lssm_lib_schema131.EntityScalarField;
|
|
129
|
+
recordingUrl: _lssm_lib_schema131.EntityScalarField;
|
|
130
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
131
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
132
|
+
updatedAt: _lssm_lib_schema131.EntityScalarField;
|
|
133
|
+
ritual: _lssm_lib_schema131.EntityRelationField;
|
|
134
|
+
}> | _lssm_lib_schema131.EntitySpec<{
|
|
135
|
+
id: _lssm_lib_schema131.EntityScalarField;
|
|
136
|
+
spaceId: _lssm_lib_schema131.EntityScalarField;
|
|
137
|
+
title: _lssm_lib_schema131.EntityScalarField;
|
|
138
|
+
body: _lssm_lib_schema131.EntityScalarField;
|
|
139
|
+
audience: _lssm_lib_schema131.EntityEnumField;
|
|
140
|
+
audienceRole: _lssm_lib_schema131.EntityScalarField;
|
|
141
|
+
pinnedUntil: _lssm_lib_schema131.EntityScalarField;
|
|
142
|
+
orgId: _lssm_lib_schema131.EntityScalarField;
|
|
143
|
+
createdBy: _lssm_lib_schema131.EntityScalarField;
|
|
144
|
+
createdAt: _lssm_lib_schema131.EntityScalarField;
|
|
145
|
+
expiresAt: _lssm_lib_schema131.EntityScalarField;
|
|
146
|
+
}>)[];
|
|
147
|
+
declare const teamHubSchemaContribution: ModuleSchemaContribution;
|
|
148
|
+
//#endregion
|
|
149
|
+
export { AnnouncementAudienceEnum, AnnouncementEntity, RitualCadenceEnum, RitualEntity, RitualOccurrenceEntity, SpaceEntity, TaskEntity, TaskPriorityEnum, TaskStatusEnum, teamHubEntities, teamHubSchemaContribution };
|
package/dist/events.d.ts
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
|
+
|
|
4
|
+
//#region src/events.d.ts
|
|
5
|
+
declare const SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
6
|
+
spaceId: {
|
|
7
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
8
|
+
isOptional: false;
|
|
9
|
+
};
|
|
10
|
+
orgId: {
|
|
11
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
12
|
+
isOptional: false;
|
|
13
|
+
};
|
|
14
|
+
ownerId: {
|
|
15
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
16
|
+
isOptional: false;
|
|
17
|
+
};
|
|
18
|
+
timestamp: {
|
|
19
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
20
|
+
isOptional: false;
|
|
21
|
+
};
|
|
22
|
+
}>>;
|
|
23
|
+
declare const TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
24
|
+
taskId: {
|
|
25
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
26
|
+
isOptional: false;
|
|
27
|
+
};
|
|
28
|
+
spaceId: {
|
|
29
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
30
|
+
isOptional: false;
|
|
31
|
+
};
|
|
32
|
+
status: {
|
|
33
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
34
|
+
isOptional: false;
|
|
35
|
+
};
|
|
36
|
+
assigneeId: {
|
|
37
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
38
|
+
isOptional: true;
|
|
39
|
+
};
|
|
40
|
+
orgId: {
|
|
41
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
42
|
+
isOptional: false;
|
|
43
|
+
};
|
|
44
|
+
timestamp: {
|
|
45
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
46
|
+
isOptional: false;
|
|
47
|
+
};
|
|
48
|
+
}>>;
|
|
49
|
+
declare const TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
50
|
+
taskId: {
|
|
51
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
spaceId: {
|
|
55
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
56
|
+
isOptional: false;
|
|
57
|
+
};
|
|
58
|
+
status: {
|
|
59
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
60
|
+
isOptional: false;
|
|
61
|
+
};
|
|
62
|
+
assigneeId: {
|
|
63
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
64
|
+
isOptional: true;
|
|
65
|
+
};
|
|
66
|
+
orgId: {
|
|
67
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
68
|
+
isOptional: false;
|
|
69
|
+
};
|
|
70
|
+
timestamp: {
|
|
71
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
72
|
+
isOptional: false;
|
|
73
|
+
};
|
|
74
|
+
}>>;
|
|
75
|
+
declare const RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
76
|
+
ritualId: {
|
|
77
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
spaceId: {
|
|
81
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
scheduledFor: {
|
|
85
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
status: {
|
|
89
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
orgId: {
|
|
93
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
}>>;
|
|
97
|
+
declare const RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
98
|
+
ritualId: {
|
|
99
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
100
|
+
isOptional: false;
|
|
101
|
+
};
|
|
102
|
+
spaceId: {
|
|
103
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
104
|
+
isOptional: false;
|
|
105
|
+
};
|
|
106
|
+
scheduledFor: {
|
|
107
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
108
|
+
isOptional: false;
|
|
109
|
+
};
|
|
110
|
+
status: {
|
|
111
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
112
|
+
isOptional: false;
|
|
113
|
+
};
|
|
114
|
+
orgId: {
|
|
115
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
116
|
+
isOptional: false;
|
|
117
|
+
};
|
|
118
|
+
}>>;
|
|
119
|
+
declare const AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
120
|
+
announcementId: {
|
|
121
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
122
|
+
isOptional: false;
|
|
123
|
+
};
|
|
124
|
+
spaceId: {
|
|
125
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
126
|
+
isOptional: true;
|
|
127
|
+
};
|
|
128
|
+
audience: {
|
|
129
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
130
|
+
isOptional: false;
|
|
131
|
+
};
|
|
132
|
+
orgId: {
|
|
133
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
134
|
+
isOptional: false;
|
|
135
|
+
};
|
|
136
|
+
createdBy: {
|
|
137
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
138
|
+
isOptional: false;
|
|
139
|
+
};
|
|
140
|
+
createdAt: {
|
|
141
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
142
|
+
isOptional: false;
|
|
143
|
+
};
|
|
144
|
+
}>>;
|
|
145
|
+
declare const TeamHubEvents: {
|
|
146
|
+
SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
147
|
+
spaceId: {
|
|
148
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
149
|
+
isOptional: false;
|
|
150
|
+
};
|
|
151
|
+
orgId: {
|
|
152
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
153
|
+
isOptional: false;
|
|
154
|
+
};
|
|
155
|
+
ownerId: {
|
|
156
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
157
|
+
isOptional: false;
|
|
158
|
+
};
|
|
159
|
+
timestamp: {
|
|
160
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
161
|
+
isOptional: false;
|
|
162
|
+
};
|
|
163
|
+
}>>;
|
|
164
|
+
TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
165
|
+
taskId: {
|
|
166
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
167
|
+
isOptional: false;
|
|
168
|
+
};
|
|
169
|
+
spaceId: {
|
|
170
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
171
|
+
isOptional: false;
|
|
172
|
+
};
|
|
173
|
+
status: {
|
|
174
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
175
|
+
isOptional: false;
|
|
176
|
+
};
|
|
177
|
+
assigneeId: {
|
|
178
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
179
|
+
isOptional: true;
|
|
180
|
+
};
|
|
181
|
+
orgId: {
|
|
182
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
183
|
+
isOptional: false;
|
|
184
|
+
};
|
|
185
|
+
timestamp: {
|
|
186
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
187
|
+
isOptional: false;
|
|
188
|
+
};
|
|
189
|
+
}>>;
|
|
190
|
+
TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
191
|
+
taskId: {
|
|
192
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
193
|
+
isOptional: false;
|
|
194
|
+
};
|
|
195
|
+
spaceId: {
|
|
196
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
197
|
+
isOptional: false;
|
|
198
|
+
};
|
|
199
|
+
status: {
|
|
200
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
201
|
+
isOptional: false;
|
|
202
|
+
};
|
|
203
|
+
assigneeId: {
|
|
204
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
205
|
+
isOptional: true;
|
|
206
|
+
};
|
|
207
|
+
orgId: {
|
|
208
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
209
|
+
isOptional: false;
|
|
210
|
+
};
|
|
211
|
+
timestamp: {
|
|
212
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
213
|
+
isOptional: false;
|
|
214
|
+
};
|
|
215
|
+
}>>;
|
|
216
|
+
RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
217
|
+
ritualId: {
|
|
218
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
219
|
+
isOptional: false;
|
|
220
|
+
};
|
|
221
|
+
spaceId: {
|
|
222
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
223
|
+
isOptional: false;
|
|
224
|
+
};
|
|
225
|
+
scheduledFor: {
|
|
226
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
227
|
+
isOptional: false;
|
|
228
|
+
};
|
|
229
|
+
status: {
|
|
230
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
231
|
+
isOptional: false;
|
|
232
|
+
};
|
|
233
|
+
orgId: {
|
|
234
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
235
|
+
isOptional: false;
|
|
236
|
+
};
|
|
237
|
+
}>>;
|
|
238
|
+
RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
239
|
+
ritualId: {
|
|
240
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
241
|
+
isOptional: false;
|
|
242
|
+
};
|
|
243
|
+
spaceId: {
|
|
244
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
245
|
+
isOptional: false;
|
|
246
|
+
};
|
|
247
|
+
scheduledFor: {
|
|
248
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
249
|
+
isOptional: false;
|
|
250
|
+
};
|
|
251
|
+
status: {
|
|
252
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
253
|
+
isOptional: false;
|
|
254
|
+
};
|
|
255
|
+
orgId: {
|
|
256
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
257
|
+
isOptional: false;
|
|
258
|
+
};
|
|
259
|
+
}>>;
|
|
260
|
+
AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
261
|
+
announcementId: {
|
|
262
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
263
|
+
isOptional: false;
|
|
264
|
+
};
|
|
265
|
+
spaceId: {
|
|
266
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
267
|
+
isOptional: true;
|
|
268
|
+
};
|
|
269
|
+
audience: {
|
|
270
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
271
|
+
isOptional: false;
|
|
272
|
+
};
|
|
273
|
+
orgId: {
|
|
274
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
275
|
+
isOptional: false;
|
|
276
|
+
};
|
|
277
|
+
createdBy: {
|
|
278
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
279
|
+
isOptional: false;
|
|
280
|
+
};
|
|
281
|
+
createdAt: {
|
|
282
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
283
|
+
isOptional: false;
|
|
284
|
+
};
|
|
285
|
+
}>>;
|
|
286
|
+
};
|
|
287
|
+
//#endregion
|
|
288
|
+
export { AnnouncementPostedEvent, RitualOccurredEvent, RitualScheduledEvent, SpaceCreatedEvent, TaskCreatedEvent, TaskStatusChangedEvent, TeamHubEvents };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//#region src/example.d.ts
|
|
2
|
+
declare const example: {
|
|
3
|
+
readonly id: "team-hub";
|
|
4
|
+
readonly title: "Team Hub";
|
|
5
|
+
readonly summary: "Internal collaboration hub with spaces, tasks, rituals, and announcements.";
|
|
6
|
+
readonly tags: readonly ["tasks", "rituals", "announcements", "collaboration"];
|
|
7
|
+
readonly kind: "template";
|
|
8
|
+
readonly visibility: "public";
|
|
9
|
+
readonly docs: {
|
|
10
|
+
readonly rootDocId: "docs.examples.team-hub";
|
|
11
|
+
readonly goalDocId: "docs.examples.team-hub.goal";
|
|
12
|
+
readonly usageDocId: "docs.examples.team-hub.usage";
|
|
13
|
+
readonly constraintsDocId: "docs.examples.team-hub.constraints";
|
|
14
|
+
};
|
|
15
|
+
readonly entrypoints: {
|
|
16
|
+
readonly packageName: "@lssm/example.team-hub";
|
|
17
|
+
readonly feature: "./feature";
|
|
18
|
+
readonly contracts: "./contracts";
|
|
19
|
+
readonly presentations: "./presentations";
|
|
20
|
+
readonly handlers: "./handlers";
|
|
21
|
+
readonly docs: "./docs";
|
|
22
|
+
};
|
|
23
|
+
readonly surfaces: {
|
|
24
|
+
readonly templates: true;
|
|
25
|
+
readonly sandbox: {
|
|
26
|
+
readonly enabled: true;
|
|
27
|
+
readonly modes: readonly ["playground", "specs", "builder", "markdown", "evolution"];
|
|
28
|
+
};
|
|
29
|
+
readonly studio: {
|
|
30
|
+
readonly enabled: true;
|
|
31
|
+
readonly installable: true;
|
|
32
|
+
};
|
|
33
|
+
readonly mcp: {
|
|
34
|
+
readonly enabled: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { example as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PostAnnouncementContract } from "./announcement/announcement.contracts.js";
|
|
2
|
+
import { AnnouncementModel, PostAnnouncementInputModel } from "./announcement/announcement.schema.js";
|
|
3
|
+
import "./announcement/index.js";
|
|
4
|
+
import { CreateSpaceInputModel, SpaceModel } from "./space/space.schema.js";
|
|
5
|
+
import { CreateSpaceContract } from "./space/space.contracts.js";
|
|
6
|
+
import "./space/index.js";
|
|
7
|
+
import { CreateTaskInputModel, TaskModel, UpdateTaskStatusInputModel } from "./task/task.schema.js";
|
|
8
|
+
import { CreateTaskContract, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, UpdateTaskStatusContract } from "./task/task.contracts.js";
|
|
9
|
+
import "./task/index.js";
|
|
10
|
+
import { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel } from "./ritual/ritual.schema.js";
|
|
11
|
+
import { LogRitualOccurrenceContract, ScheduleRitualContract } from "./ritual/ritual.contracts.js";
|
|
12
|
+
import "./ritual/index.js";
|
|
13
|
+
export { AnnouncementModel, CreateSpaceContract, CreateSpaceInputModel, CreateTaskContract, CreateTaskInputModel, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, LogRitualOccurrenceContract, LogRitualOccurrenceInputModel, PostAnnouncementContract, PostAnnouncementInputModel, RitualModel, ScheduleRitualContract, ScheduleRitualInputModel, SpaceModel, TaskModel, UpdateTaskStatusContract, UpdateTaskStatusInputModel };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/presentations.d.ts
|
|
4
|
+
declare const TeamDashboardPresentation: PresentationDescriptorV2;
|
|
5
|
+
declare const SpaceListPresentation: PresentationDescriptorV2;
|
|
6
|
+
declare const TaskBoardPresentation: PresentationDescriptorV2;
|
|
7
|
+
declare const TaskDetailPresentation: PresentationDescriptorV2;
|
|
8
|
+
declare const RitualCalendarPresentation: PresentationDescriptorV2;
|
|
9
|
+
declare const AnnouncementFeedPresentation: PresentationDescriptorV2;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { AnnouncementFeedPresentation, RitualCalendarPresentation, SpaceListPresentation, TaskBoardPresentation, TaskDetailPresentation, TeamDashboardPresentation };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel } from "./ritual.schema.js";
|
|
2
|
+
import { LogRitualOccurrenceContract, ScheduleRitualContract } from "./ritual.contracts.js";
|
|
3
|
+
export { LogRitualOccurrenceContract, LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualContract, ScheduleRitualInputModel };
|