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