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