@contractspec/example.team-hub 1.56.1 → 1.58.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/announcement/announcement.operations.d.ts +50 -56
- package/dist/announcement/announcement.operations.d.ts.map +1 -1
- package/dist/announcement/announcement.operations.js +70 -51
- package/dist/announcement/announcement.schema.d.ts +50 -55
- package/dist/announcement/announcement.schema.d.ts.map +1 -1
- package/dist/announcement/announcement.schema.js +29 -71
- package/dist/announcement/index.d.ts +6 -3
- package/dist/announcement/index.d.ts.map +1 -0
- package/dist/announcement/index.js +73 -3
- package/dist/browser/announcement/announcement.operations.js +71 -0
- package/dist/browser/announcement/announcement.schema.js +30 -0
- package/dist/browser/announcement/index.js +73 -0
- package/dist/browser/docs/index.js +94 -0
- package/dist/browser/docs/team-hub.docblock.js +94 -0
- package/dist/browser/entities/index.js +231 -0
- package/dist/browser/events.js +134 -0
- package/dist/browser/example.js +42 -0
- package/dist/browser/handlers/index.js +5 -0
- package/dist/browser/index.js +642 -0
- package/dist/browser/presentations/index.js +131 -0
- package/dist/browser/presentations/team-hub.presentation.js +131 -0
- package/dist/browser/presentations.js +148 -0
- package/dist/browser/ritual/index.js +124 -0
- package/dist/browser/ritual/ritual.operations.js +121 -0
- package/dist/browser/ritual/ritual.schema.js +41 -0
- package/dist/browser/space/index.js +66 -0
- package/dist/browser/space/space.operations.js +64 -0
- package/dist/browser/space/space.schema.js +27 -0
- package/dist/browser/task/index.js +171 -0
- package/dist/browser/task/task.operations.js +168 -0
- package/dist/browser/task/task.schema.js +40 -0
- package/dist/browser/team-hub.capability.js +40 -0
- package/dist/browser/team-hub.feature.js +69 -0
- package/dist/docs/index.d.ts +2 -1
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +95 -1
- package/dist/docs/team-hub.docblock.d.ts +2 -1
- package/dist/docs/team-hub.docblock.d.ts.map +1 -0
- package/dist/docs/team-hub.docblock.js +45 -56
- package/dist/entities/index.d.ts +138 -143
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +221 -252
- package/dist/events.d.ts +217 -223
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +122 -201
- package/dist/example.d.ts +2 -6
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +40 -55
- package/dist/handlers/index.d.ts +1 -4
- package/dist/handlers/index.d.ts.map +1 -1
- package/dist/handlers/index.js +5 -8
- package/dist/index.d.ts +12 -15
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +642 -15
- package/dist/node/announcement/announcement.operations.js +71 -0
- package/dist/node/announcement/announcement.schema.js +30 -0
- package/dist/node/announcement/index.js +73 -0
- package/dist/node/docs/index.js +94 -0
- package/dist/node/docs/team-hub.docblock.js +94 -0
- package/dist/node/entities/index.js +231 -0
- package/dist/node/events.js +134 -0
- package/dist/node/example.js +42 -0
- package/dist/node/handlers/index.js +5 -0
- package/dist/node/index.js +642 -0
- package/dist/node/presentations/index.js +131 -0
- package/dist/node/presentations/team-hub.presentation.js +131 -0
- package/dist/node/presentations.js +148 -0
- package/dist/node/ritual/index.js +124 -0
- package/dist/node/ritual/ritual.operations.js +121 -0
- package/dist/node/ritual/ritual.schema.js +41 -0
- package/dist/node/space/index.js +66 -0
- package/dist/node/space/space.operations.js +64 -0
- package/dist/node/space/space.schema.js +27 -0
- package/dist/node/task/index.js +171 -0
- package/dist/node/task/task.operations.js +168 -0
- package/dist/node/task/task.schema.js +40 -0
- package/dist/node/team-hub.capability.js +40 -0
- package/dist/node/team-hub.feature.js +69 -0
- package/dist/presentations/index.d.ts +2 -2
- package/dist/presentations/index.d.ts.map +1 -0
- package/dist/presentations/index.js +132 -3
- package/dist/presentations/team-hub.presentation.d.ts +6 -11
- package/dist/presentations/team-hub.presentation.d.ts.map +1 -1
- package/dist/presentations/team-hub.presentation.js +126 -125
- package/dist/presentations.d.ts +7 -11
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.js +142 -147
- package/dist/ritual/index.d.ts +6 -3
- package/dist/ritual/index.d.ts.map +1 -0
- package/dist/ritual/index.js +124 -3
- package/dist/ritual/ritual.operations.d.ts +92 -98
- package/dist/ritual/ritual.operations.d.ts.map +1 -1
- package/dist/ritual/ritual.operations.js +119 -95
- package/dist/ritual/ritual.schema.d.ts +67 -72
- package/dist/ritual/ritual.schema.d.ts.map +1 -1
- package/dist/ritual/ritual.schema.js +39 -95
- package/dist/space/index.d.ts +6 -3
- package/dist/space/index.d.ts.map +1 -0
- package/dist/space/index.js +66 -3
- package/dist/space/space.operations.d.ts +38 -44
- package/dist/space/space.operations.d.ts.map +1 -1
- package/dist/space/space.operations.js +63 -50
- package/dist/space/space.schema.d.ts +38 -43
- package/dist/space/space.schema.d.ts.map +1 -1
- package/dist/space/space.schema.js +26 -59
- package/dist/task/index.d.ts +6 -3
- package/dist/task/index.d.ts.map +1 -0
- package/dist/task/index.js +171 -3
- package/dist/task/task.operations.d.ts +212 -218
- package/dist/task/task.operations.d.ts.map +1 -1
- package/dist/task/task.operations.js +163 -174
- package/dist/task/task.schema.d.ts +63 -68
- package/dist/task/task.schema.d.ts.map +1 -1
- package/dist/task/task.schema.js +38 -91
- package/dist/team-hub.capability.d.ts +3 -8
- package/dist/team-hub.capability.d.ts.map +1 -1
- package/dist/team-hub.capability.js +41 -38
- package/dist/team-hub.feature.d.ts +1 -6
- package/dist/team-hub.feature.d.ts.map +1 -1
- package/dist/team-hub.feature.js +68 -159
- package/package.json +261 -57
- package/dist/announcement/announcement.operations.js.map +0 -1
- package/dist/announcement/announcement.schema.js.map +0 -1
- package/dist/docs/team-hub.docblock.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/example.js.map +0 -1
- package/dist/handlers/index.js.map +0 -1
- package/dist/presentations/team-hub.presentation.js.map +0 -1
- package/dist/presentations.js.map +0 -1
- package/dist/ritual/ritual.operations.js.map +0 -1
- package/dist/ritual/ritual.schema.js.map +0 -1
- package/dist/space/space.operations.js.map +0 -1
- package/dist/space/space.schema.js.map +0 -1
- package/dist/task/task.operations.js.map +0 -1
- package/dist/task/task.schema.js.map +0 -1
- package/dist/team-hub.capability.js.map +0 -1
- package/dist/team-hub.feature.js.map +0 -1
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
export {
|
|
38
|
-
|
|
1
|
+
// @bun
|
|
2
|
+
// src/team-hub.capability.ts
|
|
3
|
+
import { defineCapability, StabilityEnum } from "@contractspec/lib.contracts";
|
|
4
|
+
var TasksCapability = defineCapability({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "tasks",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
kind: "ui",
|
|
9
|
+
stability: StabilityEnum.Experimental,
|
|
10
|
+
description: "Task management for teams",
|
|
11
|
+
owners: ["platform.core"],
|
|
12
|
+
tags: ["tasks", "collaboration"]
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
var RitualsCapability = defineCapability({
|
|
16
|
+
meta: {
|
|
17
|
+
key: "rituals",
|
|
18
|
+
version: "1.0.0",
|
|
19
|
+
kind: "ui",
|
|
20
|
+
stability: StabilityEnum.Experimental,
|
|
21
|
+
description: "Team rituals like standups and retrospectives",
|
|
22
|
+
owners: ["platform.core"],
|
|
23
|
+
tags: ["rituals", "team", "meetings"]
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
var AnnouncementsCapability = defineCapability({
|
|
27
|
+
meta: {
|
|
28
|
+
key: "announcements",
|
|
29
|
+
version: "1.0.0",
|
|
30
|
+
kind: "ui",
|
|
31
|
+
stability: StabilityEnum.Experimental,
|
|
32
|
+
description: "Team announcements and communications",
|
|
33
|
+
owners: ["platform.messaging"],
|
|
34
|
+
tags: ["announcements", "messaging"]
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
TasksCapability,
|
|
39
|
+
RitualsCapability,
|
|
40
|
+
AnnouncementsCapability
|
|
41
|
+
};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//#region src/team-hub.feature.d.ts
|
|
4
|
-
declare const TeamHubFeature: _contractspec_lib_contracts15.FeatureModuleSpec;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { TeamHubFeature };
|
|
1
|
+
export declare const TeamHubFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
7
2
|
//# sourceMappingURL=team-hub.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-hub.feature.d.ts","
|
|
1
|
+
{"version":3,"file":"team-hub.feature.d.ts","sourceRoot":"","sources":["../src/team-hub.feature.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,yDAgEzB,CAAC"}
|
package/dist/team-hub.feature.js
CHANGED
|
@@ -1,161 +1,70 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/team-hub.feature.ts
|
|
1
3
|
import { defineFeature } from "@contractspec/lib.contracts";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
key: "team.ritual.occurred",
|
|
68
|
-
version: "1.0.0"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
key: "team.announcement.posted",
|
|
72
|
-
version: "1.0.0"
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
presentations: [
|
|
76
|
-
{
|
|
77
|
-
key: "team-hub.dashboard",
|
|
78
|
-
version: "1.0.0"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
key: "team-hub.space.list",
|
|
82
|
-
version: "1.0.0"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
key: "team-hub.task.board",
|
|
86
|
-
version: "1.0.0"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
key: "team-hub.task.detail",
|
|
90
|
-
version: "1.0.0"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
key: "team-hub.ritual.calendar",
|
|
94
|
-
version: "1.0.0"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
key: "team-hub.announcement.feed",
|
|
98
|
-
version: "1.0.0"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
presentationsTargets: [
|
|
102
|
-
{
|
|
103
|
-
key: "team-hub.dashboard",
|
|
104
|
-
version: "1.0.0",
|
|
105
|
-
targets: ["react", "markdown"]
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
key: "team-hub.task.board",
|
|
109
|
-
version: "1.0.0",
|
|
110
|
-
targets: ["react"]
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
key: "team-hub.ritual.calendar",
|
|
114
|
-
version: "1.0.0",
|
|
115
|
-
targets: ["react"]
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
key: "team-hub.announcement.feed",
|
|
119
|
-
version: "1.0.0",
|
|
120
|
-
targets: ["react", "markdown"]
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
capabilities: {
|
|
124
|
-
requires: [
|
|
125
|
-
{
|
|
126
|
-
key: "identity",
|
|
127
|
-
version: "1.0.0"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
key: "audit-trail",
|
|
131
|
-
version: "1.0.0"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
key: "notifications",
|
|
135
|
-
version: "1.0.0"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
key: "feature-flags",
|
|
139
|
-
version: "1.0.0"
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
provides: [
|
|
143
|
-
{
|
|
144
|
-
key: "tasks",
|
|
145
|
-
version: "1.0.0"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
key: "rituals",
|
|
149
|
-
version: "1.0.0"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
key: "announcements",
|
|
153
|
-
version: "1.0.0"
|
|
154
|
-
}
|
|
155
|
-
]
|
|
156
|
-
}
|
|
4
|
+
var TeamHubFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "team-hub",
|
|
7
|
+
title: "Team Hub",
|
|
8
|
+
description: "Tasks, rituals, and announcements for internal teams with ceremonies.",
|
|
9
|
+
domain: "collaboration",
|
|
10
|
+
owners: ["@team-hub"],
|
|
11
|
+
tags: ["tasks", "rituals", "announcements"],
|
|
12
|
+
stability: "experimental",
|
|
13
|
+
version: "1.0.0"
|
|
14
|
+
},
|
|
15
|
+
operations: [
|
|
16
|
+
{ key: "team.space.create", version: "1.0.0" },
|
|
17
|
+
{ key: "team.task.create", version: "1.0.0" },
|
|
18
|
+
{ key: "team.task.updateStatus", version: "1.0.0" },
|
|
19
|
+
{ key: "team.task.list", version: "1.0.0" },
|
|
20
|
+
{ key: "team.ritual.schedule", version: "1.0.0" },
|
|
21
|
+
{ key: "team.ritual.logOccurrence", version: "1.0.0" },
|
|
22
|
+
{ key: "team.announcement.post", version: "1.0.0" }
|
|
23
|
+
],
|
|
24
|
+
events: [
|
|
25
|
+
{ key: "team.space.created", version: "1.0.0" },
|
|
26
|
+
{ key: "team.task.created", version: "1.0.0" },
|
|
27
|
+
{ key: "team.task.status_changed", version: "1.0.0" },
|
|
28
|
+
{ key: "team.ritual.scheduled", version: "1.0.0" },
|
|
29
|
+
{ key: "team.ritual.occurred", version: "1.0.0" },
|
|
30
|
+
{ key: "team.announcement.posted", version: "1.0.0" }
|
|
31
|
+
],
|
|
32
|
+
presentations: [
|
|
33
|
+
{ key: "team-hub.dashboard", version: "1.0.0" },
|
|
34
|
+
{ key: "team-hub.space.list", version: "1.0.0" },
|
|
35
|
+
{ key: "team-hub.task.board", version: "1.0.0" },
|
|
36
|
+
{ key: "team-hub.task.detail", version: "1.0.0" },
|
|
37
|
+
{ key: "team-hub.ritual.calendar", version: "1.0.0" },
|
|
38
|
+
{ key: "team-hub.announcement.feed", version: "1.0.0" }
|
|
39
|
+
],
|
|
40
|
+
presentationsTargets: [
|
|
41
|
+
{
|
|
42
|
+
key: "team-hub.dashboard",
|
|
43
|
+
version: "1.0.0",
|
|
44
|
+
targets: ["react", "markdown"]
|
|
45
|
+
},
|
|
46
|
+
{ key: "team-hub.task.board", version: "1.0.0", targets: ["react"] },
|
|
47
|
+
{ key: "team-hub.ritual.calendar", version: "1.0.0", targets: ["react"] },
|
|
48
|
+
{
|
|
49
|
+
key: "team-hub.announcement.feed",
|
|
50
|
+
version: "1.0.0",
|
|
51
|
+
targets: ["react", "markdown"]
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
capabilities: {
|
|
55
|
+
requires: [
|
|
56
|
+
{ key: "identity", version: "1.0.0" },
|
|
57
|
+
{ key: "audit-trail", version: "1.0.0" },
|
|
58
|
+
{ key: "notifications", version: "1.0.0" },
|
|
59
|
+
{ key: "feature-flags", version: "1.0.0" }
|
|
60
|
+
],
|
|
61
|
+
provides: [
|
|
62
|
+
{ key: "tasks", version: "1.0.0" },
|
|
63
|
+
{ key: "rituals", version: "1.0.0" },
|
|
64
|
+
{ key: "announcements", version: "1.0.0" }
|
|
65
|
+
]
|
|
66
|
+
}
|
|
157
67
|
});
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
//# sourceMappingURL=team-hub.feature.js.map
|
|
68
|
+
export {
|
|
69
|
+
TeamHubFeature
|
|
70
|
+
};
|