@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.
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 +40 -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
package/dist/events.d.ts CHANGED
@@ -1,289 +1,283 @@
1
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
2
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
3
-
4
- //#region src/events.d.ts
5
- declare const SpaceCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
6
- spaceId: {
7
- type: _contractspec_lib_schema0.FieldType<string, string>;
8
- isOptional: false;
9
- };
10
- orgId: {
11
- type: _contractspec_lib_schema0.FieldType<string, string>;
12
- isOptional: false;
13
- };
14
- ownerId: {
15
- type: _contractspec_lib_schema0.FieldType<string, string>;
16
- isOptional: false;
17
- };
18
- timestamp: {
19
- type: _contractspec_lib_schema0.FieldType<Date, string>;
20
- isOptional: false;
21
- };
22
- }>>;
23
- declare const TaskCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
24
- taskId: {
25
- type: _contractspec_lib_schema0.FieldType<string, string>;
26
- isOptional: false;
27
- };
28
- spaceId: {
29
- type: _contractspec_lib_schema0.FieldType<string, string>;
30
- isOptional: false;
31
- };
32
- status: {
33
- type: _contractspec_lib_schema0.FieldType<string, string>;
34
- isOptional: false;
35
- };
36
- assigneeId: {
37
- type: _contractspec_lib_schema0.FieldType<string, string>;
38
- isOptional: true;
39
- };
40
- orgId: {
41
- type: _contractspec_lib_schema0.FieldType<string, string>;
42
- isOptional: false;
43
- };
44
- timestamp: {
45
- type: _contractspec_lib_schema0.FieldType<Date, string>;
46
- isOptional: false;
47
- };
48
- }>>;
49
- declare const TaskStatusChangedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
50
- taskId: {
51
- type: _contractspec_lib_schema0.FieldType<string, string>;
52
- isOptional: false;
53
- };
54
- spaceId: {
55
- type: _contractspec_lib_schema0.FieldType<string, string>;
56
- isOptional: false;
57
- };
58
- status: {
59
- type: _contractspec_lib_schema0.FieldType<string, string>;
60
- isOptional: false;
61
- };
62
- assigneeId: {
63
- type: _contractspec_lib_schema0.FieldType<string, string>;
64
- isOptional: true;
65
- };
66
- orgId: {
67
- type: _contractspec_lib_schema0.FieldType<string, string>;
68
- isOptional: false;
69
- };
70
- timestamp: {
71
- type: _contractspec_lib_schema0.FieldType<Date, string>;
72
- isOptional: false;
73
- };
74
- }>>;
75
- declare const RitualScheduledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
76
- ritualId: {
77
- type: _contractspec_lib_schema0.FieldType<string, string>;
78
- isOptional: false;
79
- };
80
- spaceId: {
81
- type: _contractspec_lib_schema0.FieldType<string, string>;
82
- isOptional: false;
83
- };
84
- scheduledFor: {
85
- type: _contractspec_lib_schema0.FieldType<Date, string>;
86
- isOptional: false;
87
- };
88
- status: {
89
- type: _contractspec_lib_schema0.FieldType<string, string>;
90
- isOptional: false;
91
- };
92
- orgId: {
93
- type: _contractspec_lib_schema0.FieldType<string, string>;
94
- isOptional: false;
95
- };
96
- }>>;
97
- declare const RitualOccurredEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
98
- ritualId: {
99
- type: _contractspec_lib_schema0.FieldType<string, string>;
100
- isOptional: false;
101
- };
102
- spaceId: {
103
- type: _contractspec_lib_schema0.FieldType<string, string>;
104
- isOptional: false;
105
- };
106
- scheduledFor: {
107
- type: _contractspec_lib_schema0.FieldType<Date, string>;
108
- isOptional: false;
109
- };
110
- status: {
111
- type: _contractspec_lib_schema0.FieldType<string, string>;
112
- isOptional: false;
113
- };
114
- orgId: {
115
- type: _contractspec_lib_schema0.FieldType<string, string>;
116
- isOptional: false;
117
- };
118
- }>>;
119
- declare const AnnouncementPostedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
120
- announcementId: {
121
- type: _contractspec_lib_schema0.FieldType<string, string>;
122
- isOptional: false;
123
- };
124
- spaceId: {
125
- type: _contractspec_lib_schema0.FieldType<string, string>;
126
- isOptional: true;
127
- };
128
- audience: {
129
- type: _contractspec_lib_schema0.FieldType<string, string>;
130
- isOptional: false;
131
- };
132
- orgId: {
133
- type: _contractspec_lib_schema0.FieldType<string, string>;
134
- isOptional: false;
135
- };
136
- createdBy: {
137
- type: _contractspec_lib_schema0.FieldType<string, string>;
138
- isOptional: false;
139
- };
140
- createdAt: {
141
- type: _contractspec_lib_schema0.FieldType<Date, string>;
142
- isOptional: false;
143
- };
144
- }>>;
145
- declare const TeamHubEvents: {
146
- SpaceCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
1
+ export declare const SpaceCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
147
2
  spaceId: {
148
- type: _contractspec_lib_schema0.FieldType<string, string>;
149
- isOptional: false;
3
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
4
+ isOptional: false;
150
5
  };
151
6
  orgId: {
152
- type: _contractspec_lib_schema0.FieldType<string, string>;
153
- isOptional: false;
7
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
8
+ isOptional: false;
154
9
  };
155
10
  ownerId: {
156
- type: _contractspec_lib_schema0.FieldType<string, string>;
157
- isOptional: false;
11
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
12
+ isOptional: false;
158
13
  };
159
14
  timestamp: {
160
- type: _contractspec_lib_schema0.FieldType<Date, string>;
161
- isOptional: false;
15
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
16
+ isOptional: false;
162
17
  };
163
- }>>;
164
- TaskCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
18
+ }>>;
19
+ export declare const TaskCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
165
20
  taskId: {
166
- type: _contractspec_lib_schema0.FieldType<string, string>;
167
- isOptional: false;
21
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
22
+ isOptional: false;
168
23
  };
169
24
  spaceId: {
170
- type: _contractspec_lib_schema0.FieldType<string, string>;
171
- isOptional: false;
25
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
26
+ isOptional: false;
172
27
  };
173
28
  status: {
174
- type: _contractspec_lib_schema0.FieldType<string, string>;
175
- isOptional: false;
29
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
30
+ isOptional: false;
176
31
  };
177
32
  assigneeId: {
178
- type: _contractspec_lib_schema0.FieldType<string, string>;
179
- isOptional: true;
33
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
34
+ isOptional: true;
180
35
  };
181
36
  orgId: {
182
- type: _contractspec_lib_schema0.FieldType<string, string>;
183
- isOptional: false;
37
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
38
+ isOptional: false;
184
39
  };
185
40
  timestamp: {
186
- type: _contractspec_lib_schema0.FieldType<Date, string>;
187
- isOptional: false;
41
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
42
+ isOptional: false;
188
43
  };
189
- }>>;
190
- TaskStatusChangedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
44
+ }>>;
45
+ export declare const TaskStatusChangedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
191
46
  taskId: {
192
- type: _contractspec_lib_schema0.FieldType<string, string>;
193
- isOptional: false;
47
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
48
+ isOptional: false;
194
49
  };
195
50
  spaceId: {
196
- type: _contractspec_lib_schema0.FieldType<string, string>;
197
- isOptional: false;
51
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
52
+ isOptional: false;
198
53
  };
199
54
  status: {
200
- type: _contractspec_lib_schema0.FieldType<string, string>;
201
- isOptional: false;
55
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
56
+ isOptional: false;
202
57
  };
203
58
  assigneeId: {
204
- type: _contractspec_lib_schema0.FieldType<string, string>;
205
- isOptional: true;
59
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
60
+ isOptional: true;
206
61
  };
207
62
  orgId: {
208
- type: _contractspec_lib_schema0.FieldType<string, string>;
209
- isOptional: false;
63
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
64
+ isOptional: false;
210
65
  };
211
66
  timestamp: {
212
- type: _contractspec_lib_schema0.FieldType<Date, string>;
213
- isOptional: false;
67
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
68
+ isOptional: false;
214
69
  };
215
- }>>;
216
- RitualScheduledEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
70
+ }>>;
71
+ export declare const RitualScheduledEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
217
72
  ritualId: {
218
- type: _contractspec_lib_schema0.FieldType<string, string>;
219
- isOptional: false;
73
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
74
+ isOptional: false;
220
75
  };
221
76
  spaceId: {
222
- type: _contractspec_lib_schema0.FieldType<string, string>;
223
- isOptional: false;
77
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
78
+ isOptional: false;
224
79
  };
225
80
  scheduledFor: {
226
- type: _contractspec_lib_schema0.FieldType<Date, string>;
227
- isOptional: false;
81
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
82
+ isOptional: false;
228
83
  };
229
84
  status: {
230
- type: _contractspec_lib_schema0.FieldType<string, string>;
231
- isOptional: false;
85
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
86
+ isOptional: false;
232
87
  };
233
88
  orgId: {
234
- type: _contractspec_lib_schema0.FieldType<string, string>;
235
- isOptional: false;
89
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
90
+ isOptional: false;
236
91
  };
237
- }>>;
238
- RitualOccurredEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
92
+ }>>;
93
+ export declare const RitualOccurredEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
239
94
  ritualId: {
240
- type: _contractspec_lib_schema0.FieldType<string, string>;
241
- isOptional: false;
95
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
96
+ isOptional: false;
242
97
  };
243
98
  spaceId: {
244
- type: _contractspec_lib_schema0.FieldType<string, string>;
245
- isOptional: false;
99
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
100
+ isOptional: false;
246
101
  };
247
102
  scheduledFor: {
248
- type: _contractspec_lib_schema0.FieldType<Date, string>;
249
- isOptional: false;
103
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
104
+ isOptional: false;
250
105
  };
251
106
  status: {
252
- type: _contractspec_lib_schema0.FieldType<string, string>;
253
- isOptional: false;
107
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
108
+ isOptional: false;
254
109
  };
255
110
  orgId: {
256
- type: _contractspec_lib_schema0.FieldType<string, string>;
257
- isOptional: false;
111
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
112
+ isOptional: false;
258
113
  };
259
- }>>;
260
- AnnouncementPostedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
114
+ }>>;
115
+ export declare const AnnouncementPostedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
261
116
  announcementId: {
262
- type: _contractspec_lib_schema0.FieldType<string, string>;
263
- isOptional: false;
117
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
118
+ isOptional: false;
264
119
  };
265
120
  spaceId: {
266
- type: _contractspec_lib_schema0.FieldType<string, string>;
267
- isOptional: true;
121
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
122
+ isOptional: true;
268
123
  };
269
124
  audience: {
270
- type: _contractspec_lib_schema0.FieldType<string, string>;
271
- isOptional: false;
125
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
126
+ isOptional: false;
272
127
  };
273
128
  orgId: {
274
- type: _contractspec_lib_schema0.FieldType<string, string>;
275
- isOptional: false;
129
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
130
+ isOptional: false;
276
131
  };
277
132
  createdBy: {
278
- type: _contractspec_lib_schema0.FieldType<string, string>;
279
- isOptional: false;
133
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
134
+ isOptional: false;
280
135
  };
281
136
  createdAt: {
282
- type: _contractspec_lib_schema0.FieldType<Date, string>;
283
- isOptional: false;
137
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
138
+ isOptional: false;
284
139
  };
285
- }>>;
140
+ }>>;
141
+ export declare const TeamHubEvents: {
142
+ SpaceCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
143
+ spaceId: {
144
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
145
+ isOptional: false;
146
+ };
147
+ orgId: {
148
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
149
+ isOptional: false;
150
+ };
151
+ ownerId: {
152
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
153
+ isOptional: false;
154
+ };
155
+ timestamp: {
156
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
157
+ isOptional: false;
158
+ };
159
+ }>>;
160
+ TaskCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
161
+ taskId: {
162
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
163
+ isOptional: false;
164
+ };
165
+ spaceId: {
166
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
167
+ isOptional: false;
168
+ };
169
+ status: {
170
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
171
+ isOptional: false;
172
+ };
173
+ assigneeId: {
174
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
175
+ isOptional: true;
176
+ };
177
+ orgId: {
178
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
179
+ isOptional: false;
180
+ };
181
+ timestamp: {
182
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
183
+ isOptional: false;
184
+ };
185
+ }>>;
186
+ TaskStatusChangedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
187
+ taskId: {
188
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
189
+ isOptional: false;
190
+ };
191
+ spaceId: {
192
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
193
+ isOptional: false;
194
+ };
195
+ status: {
196
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
197
+ isOptional: false;
198
+ };
199
+ assigneeId: {
200
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
201
+ isOptional: true;
202
+ };
203
+ orgId: {
204
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
205
+ isOptional: false;
206
+ };
207
+ timestamp: {
208
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
209
+ isOptional: false;
210
+ };
211
+ }>>;
212
+ RitualScheduledEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
213
+ ritualId: {
214
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
215
+ isOptional: false;
216
+ };
217
+ spaceId: {
218
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
219
+ isOptional: false;
220
+ };
221
+ scheduledFor: {
222
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
223
+ isOptional: false;
224
+ };
225
+ status: {
226
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
227
+ isOptional: false;
228
+ };
229
+ orgId: {
230
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
231
+ isOptional: false;
232
+ };
233
+ }>>;
234
+ RitualOccurredEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
235
+ ritualId: {
236
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
237
+ isOptional: false;
238
+ };
239
+ spaceId: {
240
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
241
+ isOptional: false;
242
+ };
243
+ scheduledFor: {
244
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
245
+ isOptional: false;
246
+ };
247
+ status: {
248
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
249
+ isOptional: false;
250
+ };
251
+ orgId: {
252
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
253
+ isOptional: false;
254
+ };
255
+ }>>;
256
+ AnnouncementPostedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
257
+ announcementId: {
258
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
259
+ isOptional: false;
260
+ };
261
+ spaceId: {
262
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
263
+ isOptional: true;
264
+ };
265
+ audience: {
266
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
267
+ isOptional: false;
268
+ };
269
+ orgId: {
270
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
271
+ isOptional: false;
272
+ };
273
+ createdBy: {
274
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
275
+ isOptional: false;
276
+ };
277
+ createdAt: {
278
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
279
+ isOptional: false;
280
+ };
281
+ }>>;
286
282
  };
287
- //#endregion
288
- export { AnnouncementPostedEvent, RitualOccurredEvent, RitualScheduledEvent, SpaceCreatedEvent, TaskCreatedEvent, TaskStatus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