@headless-lms/core 0.4.0 → 0.5.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/assets/events.d.ts +27 -21
- package/dist/assets/file-urls.d.ts +11 -7
- package/dist/assets/file-urls.js +14 -4
- package/dist/assets/file-urls.js.map +1 -1
- package/dist/assets/index.d.ts +4 -4
- package/dist/assets/index.js +3 -3
- package/dist/assets/ports.d.ts +34 -15
- package/dist/assets/service.d.ts +30 -14
- package/dist/assets/service.js +230 -56
- package/dist/assets/service.js.map +1 -1
- package/dist/automations/actions.js.map +1 -1
- package/dist/automations/catalog.js +69 -4
- package/dist/automations/catalog.js.map +1 -1
- package/dist/automations/community-derivations.js +16 -16
- package/dist/automations/community-derivations.js.map +1 -1
- package/dist/automations/community-mail.d.ts +34 -4
- package/dist/automations/community-mail.js +32 -4
- package/dist/automations/community-mail.js.map +1 -1
- package/dist/automations/event-permissions.d.ts +12 -0
- package/dist/automations/event-permissions.js +38 -0
- package/dist/automations/event-permissions.js.map +1 -0
- package/dist/automations/index.d.ts +2 -1
- package/dist/automations/index.js +2 -1
- package/dist/automations/notifications/applicable.d.ts +8 -0
- package/dist/automations/notifications/applicable.js +12 -0
- package/dist/automations/notifications/applicable.js.map +1 -0
- package/dist/automations/notifications/debounce.js +1 -1
- package/dist/automations/notifications/debounce.js.map +1 -1
- package/dist/automations/notifications/defaults.js +33 -3
- package/dist/automations/notifications/defaults.js.map +1 -1
- package/dist/automations/notifications/processor.js +3 -3
- package/dist/automations/notifications/processor.js.map +1 -1
- package/dist/automations/notifications/rules/content.js +60 -3
- package/dist/automations/notifications/rules/content.js.map +1 -1
- package/dist/automations/notifications/rules/discussion.js +29 -29
- package/dist/automations/notifications/rules/discussion.js.map +1 -1
- package/dist/automations/notifications/rules/entitlements.js +36 -9
- package/dist/automations/notifications/rules/entitlements.js.map +1 -1
- package/dist/automations/notifications/rules/events.d.ts +9 -0
- package/dist/automations/notifications/rules/events.js +27 -0
- package/dist/automations/notifications/rules/events.js.map +1 -0
- package/dist/automations/notifications/rules/organizations.js +17 -10
- package/dist/automations/notifications/rules/organizations.js.map +1 -1
- package/dist/automations/notifications/rules/recipients.js +0 -1
- package/dist/automations/notifications/rules/recipients.js.map +1 -1
- package/dist/automations/notifications/service.d.ts +8 -6
- package/dist/automations/notifications/service.js +13 -13
- package/dist/automations/notifications/service.js.map +1 -1
- package/dist/automations/notifications/types.js +94 -7
- package/dist/automations/notifications/types.js.map +1 -1
- package/dist/automations/ports.d.ts +30 -31
- package/dist/automations/service.d.ts +20 -17
- package/dist/automations/service.js +91 -62
- package/dist/automations/service.js.map +1 -1
- package/dist/content/event-sight.d.ts +11 -0
- package/dist/content/event-sight.js +11 -0
- package/dist/content/event-sight.js.map +1 -0
- package/dist/content/events.d.ts +413 -72
- package/dist/content/events.js +34 -1
- package/dist/content/events.js.map +1 -1
- package/dist/content/index.d.ts +6 -4
- package/dist/content/index.js +3 -1
- package/dist/content/jobs.d.ts +16 -0
- package/dist/content/jobs.js +37 -0
- package/dist/content/jobs.js.map +1 -0
- package/dist/content/model.d.ts +2 -2
- package/dist/content/notification-categories.d.ts +5 -4
- package/dist/content/notification-categories.js +15 -6
- package/dist/content/notification-categories.js.map +1 -1
- package/dist/content/ports.d.ts +113 -68
- package/dist/content/service.d.ts +99 -67
- package/dist/content/service.js +680 -139
- package/dist/content/service.js.map +1 -1
- package/dist/content/titles.d.ts +6 -3
- package/dist/content/titles.js +37 -24
- package/dist/content/titles.js.map +1 -1
- package/dist/content/types.d.ts +2 -2
- package/dist/discussion/authors.d.ts +4 -2
- package/dist/discussion/authors.js +9 -5
- package/dist/discussion/authors.js.map +1 -1
- package/dist/discussion/chats.d.ts +56 -37
- package/dist/discussion/chats.js +393 -161
- package/dist/discussion/chats.js.map +1 -1
- package/dist/discussion/events.d.ts +77 -39
- package/dist/discussion/events.js +41 -3
- package/dist/discussion/events.js.map +1 -1
- package/dist/discussion/index.d.ts +8 -5
- package/dist/discussion/index.js +5 -3
- package/dist/discussion/live.d.ts +106 -0
- package/dist/discussion/live.js +642 -0
- package/dist/discussion/live.js.map +1 -0
- package/dist/discussion/mentions.js +2 -2
- package/dist/discussion/mentions.js.map +1 -1
- package/dist/discussion/ports.d.ts +182 -100
- package/dist/discussion/ports.js.map +1 -1
- package/dist/discussion/posts.d.ts +45 -39
- package/dist/discussion/posts.js +268 -154
- package/dist/discussion/posts.js.map +1 -1
- package/dist/discussion/rules.d.ts +18 -0
- package/dist/discussion/rules.js +22 -0
- package/dist/discussion/rules.js.map +1 -0
- package/dist/discussion/service.d.ts +37 -31
- package/dist/discussion/service.js +252 -188
- package/dist/discussion/service.js.map +1 -1
- package/dist/discussion/subscriptions.d.ts +8 -8
- package/dist/discussion/subscriptions.js +29 -13
- package/dist/discussion/subscriptions.js.map +1 -1
- package/dist/discussion/titles.d.ts +4 -2
- package/dist/discussion/titles.js +27 -13
- package/dist/discussion/titles.js.map +1 -1
- package/dist/entitlements/events.d.ts +20 -20
- package/dist/entitlements/index.d.ts +4 -4
- package/dist/entitlements/index.js +2 -2
- package/dist/entitlements/model.d.ts +2 -2
- package/dist/entitlements/ports.d.ts +65 -39
- package/dist/entitlements/rules.d.ts +3 -6
- package/dist/entitlements/rules.js +5 -10
- package/dist/entitlements/rules.js.map +1 -1
- package/dist/entitlements/service.d.ts +40 -28
- package/dist/entitlements/service.js +370 -163
- package/dist/entitlements/service.js.map +1 -1
- package/dist/identity/devices.d.ts +3 -3
- package/dist/identity/devices.js +7 -5
- package/dist/identity/devices.js.map +1 -1
- package/dist/identity/events.d.ts +2 -2
- package/dist/identity/index.d.ts +2 -2
- package/dist/identity/index.js +2 -2
- package/dist/identity/notification-settings.d.ts +1 -1
- package/dist/identity/notification-settings.js +3 -2
- package/dist/identity/notification-settings.js.map +1 -1
- package/dist/identity/ports.d.ts +7 -7
- package/dist/identity/service.d.ts +8 -7
- package/dist/identity/service.js +17 -13
- package/dist/identity/service.js.map +1 -1
- package/dist/integrations/events.d.ts +3 -3
- package/dist/integrations/ports.d.ts +9 -8
- package/dist/integrations/service.d.ts +9 -8
- package/dist/integrations/service.js +33 -16
- package/dist/integrations/service.js.map +1 -1
- package/dist/organizations/default-roles.d.ts +22 -0
- package/dist/organizations/default-roles.js +89 -0
- package/dist/organizations/default-roles.js.map +1 -0
- package/dist/organizations/effective-permissions.d.ts +45 -0
- package/dist/organizations/effective-permissions.js +113 -0
- package/dist/organizations/effective-permissions.js.map +1 -0
- package/dist/organizations/events.d.ts +320 -181
- package/dist/organizations/events.js +90 -18
- package/dist/organizations/events.js.map +1 -1
- package/dist/organizations/index.d.ts +14 -10
- package/dist/organizations/index.js +7 -3
- package/dist/organizations/members.d.ts +66 -8
- package/dist/organizations/members.js.map +1 -1
- package/dist/organizations/notification-catalog.d.ts +31 -0
- package/dist/organizations/notification-catalog.js +32 -0
- package/dist/organizations/notification-catalog.js.map +1 -0
- package/dist/organizations/notification-categories.d.ts +6 -4
- package/dist/organizations/notification-categories.js +25 -10
- package/dist/organizations/notification-categories.js.map +1 -1
- package/dist/organizations/org-roles.d.ts +33 -0
- package/dist/organizations/org-roles.js +49 -0
- package/dist/organizations/org-roles.js.map +1 -0
- package/dist/organizations/permissions.d.ts +311 -0
- package/dist/organizations/permissions.js +327 -0
- package/dist/organizations/permissions.js.map +1 -0
- package/dist/organizations/ports.d.ts +184 -65
- package/dist/organizations/service.d.ts +102 -35
- package/dist/organizations/service.js +1245 -328
- package/dist/organizations/service.js.map +1 -1
- package/dist/organizations/testing.d.ts +18 -0
- package/dist/organizations/testing.js +37 -0
- package/dist/organizations/testing.js.map +1 -0
- package/dist/organizations/types.d.ts +5 -16
- package/dist/progress/events.d.ts +14 -14
- package/dist/progress/index.d.ts +2 -2
- package/dist/progress/ports.d.ts +11 -3
- package/dist/progress/service.d.ts +6 -5
- package/dist/progress/service.js +23 -8
- package/dist/progress/service.js.map +1 -1
- package/dist/reporting/admin/index.d.ts +6 -4
- package/dist/reporting/admin/model.d.ts +36 -3
- package/dist/reporting/admin/ports.d.ts +39 -14
- package/dist/reporting/admin/service.d.ts +32 -11
- package/dist/reporting/admin/service.js +102 -18
- package/dist/reporting/admin/service.js.map +1 -1
- package/dist/reporting/events/index.d.ts +27 -0
- package/dist/reporting/events/index.js +20 -0
- package/dist/reporting/events/index.js.map +1 -0
- package/dist/reporting/member/calendar.d.ts +11 -0
- package/dist/reporting/member/calendar.js +75 -0
- package/dist/reporting/member/calendar.js.map +1 -0
- package/dist/reporting/member/index.d.ts +3 -2
- package/dist/reporting/member/model.d.ts +26 -5
- package/dist/reporting/member/ports.d.ts +48 -29
- package/dist/reporting/member/service.d.ts +56 -29
- package/dist/reporting/member/service.js +328 -113
- package/dist/reporting/member/service.js.map +1 -1
- package/dist/shared/actor.d.ts +22 -3
- package/dist/shared/errors.d.ts +2 -1
- package/dist/shared/errors.js +3 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/id.d.ts +4 -0
- package/dist/shared/id.js +4 -0
- package/dist/shared/id.js.map +1 -1
- package/dist/shared/logger.d.ts +2 -1
- package/dist/shared/logger.js +10 -1
- package/dist/shared/logger.js.map +1 -1
- package/dist/shared/ports.d.ts +25 -5
- package/dist/types/content.d.ts +2 -2
- package/dist/types/discussion.d.ts +4 -5
- package/dist/types/email-templates.d.ts +22 -3
- package/dist/types/entitlements.d.ts +2 -2
- package/dist/types/identity.d.ts +13 -16
- package/dist/types/index.d.ts +9 -9
- package/dist/types/index.js +2 -1
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/organizations.d.ts +3 -2
- package/dist/types/ports.d.ts +8 -1
- package/dist/types/ports.js +7 -1
- package/dist/types/ports.js.map +1 -0
- package/dist/types/schemas/assets.d.ts +5 -5
- package/dist/types/schemas/assets.js +4 -3
- package/dist/types/schemas/assets.js.map +1 -1
- package/dist/types/schemas/content.d.ts +537 -13
- package/dist/types/schemas/content.js +201 -7
- package/dist/types/schemas/content.js.map +1 -1
- package/dist/types/schemas/discussion.d.ts +282 -59
- package/dist/types/schemas/discussion.js +77 -3
- package/dist/types/schemas/discussion.js.map +1 -1
- package/dist/types/schemas/entitlements.d.ts +14 -1
- package/dist/types/schemas/entitlements.js +11 -4
- package/dist/types/schemas/entitlements.js.map +1 -1
- package/dist/types/schemas/index.d.ts +5 -5
- package/dist/types/schemas/index.js +5 -5
- package/dist/types/schemas/notifications.d.ts +13 -12
- package/dist/types/schemas/notifications.js +3 -2
- package/dist/types/schemas/notifications.js.map +1 -1
- package/dist/types/schemas/organizations.d.ts +96 -60
- package/dist/types/schemas/organizations.js +78 -27
- package/dist/types/schemas/organizations.js.map +1 -1
- package/dist/types/schemas/progress.d.ts +3 -4
- package/dist/types/schemas/progress.js +0 -1
- package/dist/types/schemas/progress.js.map +1 -1
- package/package.json +1 -1
- package/dist/organizations/access-scopes.d.ts +0 -19
- package/dist/organizations/access-scopes.js +0 -89
- package/dist/organizations/access-scopes.js.map +0 -1
- package/dist/organizations/roles.d.ts +0 -19
- package/dist/organizations/roles.js +0 -82
- package/dist/organizations/roles.js.map +0 -1
package/dist/content/events.d.ts
CHANGED
|
@@ -47,18 +47,17 @@ declare const contentEvents: {
|
|
|
47
47
|
createdAt: unknown;
|
|
48
48
|
updatedAt: unknown;
|
|
49
49
|
}, z.ZodObject<{
|
|
50
|
-
id: z.ZodString;
|
|
51
50
|
orgId: z.ZodString;
|
|
51
|
+
id: z.ZodString;
|
|
52
|
+
description: z.ZodString;
|
|
53
|
+
type: z.ZodLiteral<"course">;
|
|
52
54
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
53
55
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
54
|
-
type: z.ZodLiteral<"course">;
|
|
55
|
-
title: z.ZodString;
|
|
56
|
-
description: z.ZodString;
|
|
57
56
|
status: z.ZodEnum<{
|
|
58
57
|
draft: "draft";
|
|
59
58
|
published: "published";
|
|
60
59
|
}>;
|
|
61
|
-
|
|
60
|
+
title: z.ZodString;
|
|
62
61
|
settings: z.ZodObject<{
|
|
63
62
|
transcriptDownloads: z.ZodBoolean;
|
|
64
63
|
comments: z.ZodOptional<z.ZodObject<{
|
|
@@ -69,6 +68,7 @@ declare const contentEvents: {
|
|
|
69
68
|
}, z.core.$strict>>;
|
|
70
69
|
}, z.core.$strict>;
|
|
71
70
|
slug: z.ZodString;
|
|
71
|
+
category: z.ZodString;
|
|
72
72
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
73
73
|
}, z.core.$strip>>;
|
|
74
74
|
courseUpdated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
@@ -114,18 +114,17 @@ declare const contentEvents: {
|
|
|
114
114
|
createdAt: unknown;
|
|
115
115
|
updatedAt: unknown;
|
|
116
116
|
}, z.ZodObject<{
|
|
117
|
-
id: z.ZodString;
|
|
118
117
|
orgId: z.ZodString;
|
|
118
|
+
id: z.ZodString;
|
|
119
|
+
description: z.ZodString;
|
|
120
|
+
type: z.ZodLiteral<"course">;
|
|
119
121
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
120
122
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
121
|
-
type: z.ZodLiteral<"course">;
|
|
122
|
-
title: z.ZodString;
|
|
123
|
-
description: z.ZodString;
|
|
124
123
|
status: z.ZodEnum<{
|
|
125
124
|
draft: "draft";
|
|
126
125
|
published: "published";
|
|
127
126
|
}>;
|
|
128
|
-
|
|
127
|
+
title: z.ZodString;
|
|
129
128
|
settings: z.ZodObject<{
|
|
130
129
|
transcriptDownloads: z.ZodBoolean;
|
|
131
130
|
comments: z.ZodOptional<z.ZodObject<{
|
|
@@ -136,6 +135,7 @@ declare const contentEvents: {
|
|
|
136
135
|
}, z.core.$strict>>;
|
|
137
136
|
}, z.core.$strict>;
|
|
138
137
|
slug: z.ZodString;
|
|
138
|
+
category: z.ZodString;
|
|
139
139
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
140
140
|
}, z.core.$strip>>;
|
|
141
141
|
courseDeleted: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
@@ -181,18 +181,17 @@ declare const contentEvents: {
|
|
|
181
181
|
createdAt: unknown;
|
|
182
182
|
updatedAt: unknown;
|
|
183
183
|
}, z.ZodObject<{
|
|
184
|
-
id: z.ZodString;
|
|
185
184
|
orgId: z.ZodString;
|
|
185
|
+
id: z.ZodString;
|
|
186
|
+
description: z.ZodString;
|
|
187
|
+
type: z.ZodLiteral<"course">;
|
|
186
188
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
187
189
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
188
|
-
type: z.ZodLiteral<"course">;
|
|
189
|
-
title: z.ZodString;
|
|
190
|
-
description: z.ZodString;
|
|
191
190
|
status: z.ZodEnum<{
|
|
192
191
|
draft: "draft";
|
|
193
192
|
published: "published";
|
|
194
193
|
}>;
|
|
195
|
-
|
|
194
|
+
title: z.ZodString;
|
|
196
195
|
settings: z.ZodObject<{
|
|
197
196
|
transcriptDownloads: z.ZodBoolean;
|
|
198
197
|
comments: z.ZodOptional<z.ZodObject<{
|
|
@@ -203,6 +202,7 @@ declare const contentEvents: {
|
|
|
203
202
|
}, z.core.$strict>>;
|
|
204
203
|
}, z.core.$strict>;
|
|
205
204
|
slug: z.ZodString;
|
|
205
|
+
category: z.ZodString;
|
|
206
206
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
207
207
|
}, z.core.$strip>>;
|
|
208
208
|
moduleCreated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
@@ -222,8 +222,8 @@ declare const contentEvents: {
|
|
|
222
222
|
createdAt: unknown;
|
|
223
223
|
updatedAt: unknown;
|
|
224
224
|
}, z.ZodObject<{
|
|
225
|
-
id: z.ZodString;
|
|
226
225
|
orgId: z.ZodString;
|
|
226
|
+
id: z.ZodString;
|
|
227
227
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
228
228
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
229
229
|
title: z.ZodString;
|
|
@@ -247,8 +247,8 @@ declare const contentEvents: {
|
|
|
247
247
|
createdAt: unknown;
|
|
248
248
|
updatedAt: unknown;
|
|
249
249
|
}, z.ZodObject<{
|
|
250
|
-
id: z.ZodString;
|
|
251
250
|
orgId: z.ZodString;
|
|
251
|
+
id: z.ZodString;
|
|
252
252
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
253
253
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
254
254
|
title: z.ZodString;
|
|
@@ -272,8 +272,8 @@ declare const contentEvents: {
|
|
|
272
272
|
createdAt: unknown;
|
|
273
273
|
updatedAt: unknown;
|
|
274
274
|
}, z.ZodObject<{
|
|
275
|
-
id: z.ZodString;
|
|
276
275
|
orgId: z.ZodString;
|
|
276
|
+
id: z.ZodString;
|
|
277
277
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
278
278
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
279
279
|
title: z.ZodString;
|
|
@@ -297,8 +297,8 @@ declare const contentEvents: {
|
|
|
297
297
|
createdAt: unknown;
|
|
298
298
|
updatedAt: unknown;
|
|
299
299
|
}[], z.ZodArray<z.ZodObject<{
|
|
300
|
-
id: z.ZodString;
|
|
301
300
|
orgId: z.ZodString;
|
|
301
|
+
id: z.ZodString;
|
|
302
302
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
303
303
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
304
304
|
title: z.ZodString;
|
|
@@ -324,13 +324,13 @@ declare const contentEvents: {
|
|
|
324
324
|
createdAt: unknown;
|
|
325
325
|
updatedAt: unknown;
|
|
326
326
|
}, z.ZodObject<{
|
|
327
|
-
id: z.ZodString;
|
|
328
327
|
orgId: z.ZodString;
|
|
328
|
+
id: z.ZodString;
|
|
329
329
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
330
330
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
331
|
-
moduleId: z.ZodString;
|
|
332
331
|
courseId: z.ZodString;
|
|
333
332
|
seq: z.ZodNumber;
|
|
333
|
+
moduleId: z.ZodString;
|
|
334
334
|
}, z.core.$strip>>;
|
|
335
335
|
activityUpdated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
336
336
|
orgId: string;
|
|
@@ -351,13 +351,13 @@ declare const contentEvents: {
|
|
|
351
351
|
createdAt: unknown;
|
|
352
352
|
updatedAt: unknown;
|
|
353
353
|
}, z.ZodObject<{
|
|
354
|
-
id: z.ZodString;
|
|
355
354
|
orgId: z.ZodString;
|
|
355
|
+
id: z.ZodString;
|
|
356
356
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
357
357
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
358
|
-
moduleId: z.ZodString;
|
|
359
358
|
courseId: z.ZodString;
|
|
360
359
|
seq: z.ZodNumber;
|
|
360
|
+
moduleId: z.ZodString;
|
|
361
361
|
}, z.core.$strip>>;
|
|
362
362
|
activityDeleted: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
363
363
|
orgId: string;
|
|
@@ -378,13 +378,13 @@ declare const contentEvents: {
|
|
|
378
378
|
createdAt: unknown;
|
|
379
379
|
updatedAt: unknown;
|
|
380
380
|
}, z.ZodObject<{
|
|
381
|
-
id: z.ZodString;
|
|
382
381
|
orgId: z.ZodString;
|
|
382
|
+
id: z.ZodString;
|
|
383
383
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
384
384
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
385
|
-
moduleId: z.ZodString;
|
|
386
385
|
courseId: z.ZodString;
|
|
387
386
|
seq: z.ZodNumber;
|
|
387
|
+
moduleId: z.ZodString;
|
|
388
388
|
}, z.core.$strip>>;
|
|
389
389
|
activityPublished: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
390
390
|
activityId: string;
|
|
@@ -416,8 +416,8 @@ declare const contentEvents: {
|
|
|
416
416
|
createdAt: unknown;
|
|
417
417
|
updatedAt: unknown;
|
|
418
418
|
}, z.ZodObject<{
|
|
419
|
-
id: z.ZodString;
|
|
420
419
|
orgId: z.ZodString;
|
|
420
|
+
id: z.ZodString;
|
|
421
421
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
422
422
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
423
423
|
title: z.ZodString;
|
|
@@ -449,19 +449,19 @@ declare const contentEvents: {
|
|
|
449
449
|
createdAt: unknown;
|
|
450
450
|
updatedAt: unknown;
|
|
451
451
|
}, z.ZodObject<{
|
|
452
|
-
id: z.ZodString;
|
|
453
452
|
orgId: z.ZodString;
|
|
453
|
+
id: z.ZodString;
|
|
454
|
+
description: z.ZodString;
|
|
455
|
+
type: z.ZodLiteral<"download">;
|
|
454
456
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
455
457
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
456
|
-
type: z.ZodLiteral<"download">;
|
|
457
|
-
title: z.ZodString;
|
|
458
|
-
description: z.ZodString;
|
|
459
458
|
status: z.ZodEnum<{
|
|
460
459
|
draft: "draft";
|
|
461
460
|
published: "published";
|
|
462
461
|
}>;
|
|
463
|
-
|
|
462
|
+
title: z.ZodString;
|
|
464
463
|
slug: z.ZodString;
|
|
464
|
+
category: z.ZodString;
|
|
465
465
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
466
466
|
}, z.core.$strip>>;
|
|
467
467
|
downloadUpdated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
@@ -489,19 +489,19 @@ declare const contentEvents: {
|
|
|
489
489
|
createdAt: unknown;
|
|
490
490
|
updatedAt: unknown;
|
|
491
491
|
}, z.ZodObject<{
|
|
492
|
-
id: z.ZodString;
|
|
493
492
|
orgId: z.ZodString;
|
|
493
|
+
id: z.ZodString;
|
|
494
|
+
description: z.ZodString;
|
|
495
|
+
type: z.ZodLiteral<"download">;
|
|
494
496
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
495
497
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
496
|
-
type: z.ZodLiteral<"download">;
|
|
497
|
-
title: z.ZodString;
|
|
498
|
-
description: z.ZodString;
|
|
499
498
|
status: z.ZodEnum<{
|
|
500
499
|
draft: "draft";
|
|
501
500
|
published: "published";
|
|
502
501
|
}>;
|
|
503
|
-
|
|
502
|
+
title: z.ZodString;
|
|
504
503
|
slug: z.ZodString;
|
|
504
|
+
category: z.ZodString;
|
|
505
505
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
506
506
|
}, z.core.$strip>>;
|
|
507
507
|
downloadDeleted: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
@@ -529,19 +529,19 @@ declare const contentEvents: {
|
|
|
529
529
|
createdAt: unknown;
|
|
530
530
|
updatedAt: unknown;
|
|
531
531
|
}, z.ZodObject<{
|
|
532
|
-
id: z.ZodString;
|
|
533
532
|
orgId: z.ZodString;
|
|
533
|
+
id: z.ZodString;
|
|
534
|
+
description: z.ZodString;
|
|
535
|
+
type: z.ZodLiteral<"download">;
|
|
534
536
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
535
537
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
536
|
-
type: z.ZodLiteral<"download">;
|
|
537
|
-
title: z.ZodString;
|
|
538
|
-
description: z.ZodString;
|
|
539
538
|
status: z.ZodEnum<{
|
|
540
539
|
draft: "draft";
|
|
541
540
|
published: "published";
|
|
542
541
|
}>;
|
|
543
|
-
|
|
542
|
+
title: z.ZodString;
|
|
544
543
|
slug: z.ZodString;
|
|
544
|
+
category: z.ZodString;
|
|
545
545
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
546
546
|
}, z.core.$strip>>;
|
|
547
547
|
downloadAssetAdded: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
@@ -571,13 +571,13 @@ declare const contentEvents: {
|
|
|
571
571
|
}, z.ZodObject<{
|
|
572
572
|
downloadId: z.ZodString;
|
|
573
573
|
assets: z.ZodArray<z.ZodObject<{
|
|
574
|
-
id: z.ZodString;
|
|
575
574
|
orgId: z.ZodString;
|
|
575
|
+
id: z.ZodString;
|
|
576
576
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
577
577
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
578
578
|
seq: z.ZodNumber;
|
|
579
|
-
assetId: z.ZodString;
|
|
580
579
|
downloadId: z.ZodString;
|
|
580
|
+
assetId: z.ZodString;
|
|
581
581
|
displayName: z.ZodNullable<z.ZodString>;
|
|
582
582
|
}, z.core.$strip>>;
|
|
583
583
|
}, z.core.$strip>>;
|
|
@@ -608,13 +608,13 @@ declare const contentEvents: {
|
|
|
608
608
|
}, z.ZodObject<{
|
|
609
609
|
downloadId: z.ZodString;
|
|
610
610
|
assets: z.ZodArray<z.ZodObject<{
|
|
611
|
-
id: z.ZodString;
|
|
612
611
|
orgId: z.ZodString;
|
|
612
|
+
id: z.ZodString;
|
|
613
613
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
614
614
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
615
615
|
seq: z.ZodNumber;
|
|
616
|
-
assetId: z.ZodString;
|
|
617
616
|
downloadId: z.ZodString;
|
|
617
|
+
assetId: z.ZodString;
|
|
618
618
|
displayName: z.ZodNullable<z.ZodString>;
|
|
619
619
|
}, z.core.$strip>>;
|
|
620
620
|
}, z.core.$strip>>;
|
|
@@ -645,13 +645,13 @@ declare const contentEvents: {
|
|
|
645
645
|
}, z.ZodObject<{
|
|
646
646
|
downloadId: z.ZodString;
|
|
647
647
|
assets: z.ZodArray<z.ZodObject<{
|
|
648
|
-
id: z.ZodString;
|
|
649
648
|
orgId: z.ZodString;
|
|
649
|
+
id: z.ZodString;
|
|
650
650
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
651
651
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
652
652
|
seq: z.ZodNumber;
|
|
653
|
-
assetId: z.ZodString;
|
|
654
653
|
downloadId: z.ZodString;
|
|
654
|
+
assetId: z.ZodString;
|
|
655
655
|
displayName: z.ZodNullable<z.ZodString>;
|
|
656
656
|
}, z.core.$strip>>;
|
|
657
657
|
}, z.core.$strip>>;
|
|
@@ -682,13 +682,13 @@ declare const contentEvents: {
|
|
|
682
682
|
}, z.ZodObject<{
|
|
683
683
|
downloadId: z.ZodString;
|
|
684
684
|
assets: z.ZodArray<z.ZodObject<{
|
|
685
|
-
id: z.ZodString;
|
|
686
685
|
orgId: z.ZodString;
|
|
686
|
+
id: z.ZodString;
|
|
687
687
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
688
688
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
689
689
|
seq: z.ZodNumber;
|
|
690
|
-
assetId: z.ZodString;
|
|
691
690
|
downloadId: z.ZodString;
|
|
691
|
+
assetId: z.ZodString;
|
|
692
692
|
displayName: z.ZodNullable<z.ZodString>;
|
|
693
693
|
}, z.core.$strip>>;
|
|
694
694
|
}, z.core.$strip>>;
|
|
@@ -782,8 +782,8 @@ declare const contentEvents: {
|
|
|
782
782
|
dm: {
|
|
783
783
|
enabled: boolean;
|
|
784
784
|
memberToMember: boolean;
|
|
785
|
-
|
|
786
|
-
|
|
785
|
+
memberToTeam: boolean;
|
|
786
|
+
teamToAnyone: boolean;
|
|
787
787
|
firstMessageIsRequest: boolean;
|
|
788
788
|
groupChats: boolean;
|
|
789
789
|
groupSize: number;
|
|
@@ -810,8 +810,8 @@ declare const contentEvents: {
|
|
|
810
810
|
dm: {
|
|
811
811
|
enabled: boolean;
|
|
812
812
|
memberToMember: boolean;
|
|
813
|
-
|
|
814
|
-
|
|
813
|
+
memberToTeam: boolean;
|
|
814
|
+
teamToAnyone: boolean;
|
|
815
815
|
firstMessageIsRequest: boolean;
|
|
816
816
|
groupChats: boolean;
|
|
817
817
|
groupSize: number;
|
|
@@ -826,17 +826,17 @@ declare const contentEvents: {
|
|
|
826
826
|
createdAt: unknown;
|
|
827
827
|
updatedAt: unknown;
|
|
828
828
|
}, z.ZodObject<{
|
|
829
|
-
id: z.ZodString;
|
|
830
829
|
orgId: z.ZodString;
|
|
830
|
+
id: z.ZodString;
|
|
831
|
+
description: z.ZodString;
|
|
832
|
+
type: z.ZodLiteral<"community">;
|
|
831
833
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
832
834
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
833
|
-
type: z.ZodLiteral<"community">;
|
|
834
|
-
title: z.ZodString;
|
|
835
|
-
description: z.ZodString;
|
|
836
835
|
status: z.ZodEnum<{
|
|
837
836
|
draft: "draft";
|
|
838
837
|
published: "published";
|
|
839
838
|
}>;
|
|
839
|
+
title: z.ZodString;
|
|
840
840
|
slug: z.ZodString;
|
|
841
841
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
842
842
|
}, z.core.$strip>>;
|
|
@@ -853,8 +853,8 @@ declare const contentEvents: {
|
|
|
853
853
|
dm: {
|
|
854
854
|
enabled: boolean;
|
|
855
855
|
memberToMember: boolean;
|
|
856
|
-
|
|
857
|
-
|
|
856
|
+
memberToTeam: boolean;
|
|
857
|
+
teamToAnyone: boolean;
|
|
858
858
|
firstMessageIsRequest: boolean;
|
|
859
859
|
groupChats: boolean;
|
|
860
860
|
groupSize: number;
|
|
@@ -881,8 +881,8 @@ declare const contentEvents: {
|
|
|
881
881
|
dm: {
|
|
882
882
|
enabled: boolean;
|
|
883
883
|
memberToMember: boolean;
|
|
884
|
-
|
|
885
|
-
|
|
884
|
+
memberToTeam: boolean;
|
|
885
|
+
teamToAnyone: boolean;
|
|
886
886
|
firstMessageIsRequest: boolean;
|
|
887
887
|
groupChats: boolean;
|
|
888
888
|
groupSize: number;
|
|
@@ -897,17 +897,17 @@ declare const contentEvents: {
|
|
|
897
897
|
createdAt: unknown;
|
|
898
898
|
updatedAt: unknown;
|
|
899
899
|
}, z.ZodObject<{
|
|
900
|
-
id: z.ZodString;
|
|
901
900
|
orgId: z.ZodString;
|
|
901
|
+
id: z.ZodString;
|
|
902
|
+
description: z.ZodString;
|
|
903
|
+
type: z.ZodLiteral<"community">;
|
|
902
904
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
903
905
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
904
|
-
type: z.ZodLiteral<"community">;
|
|
905
|
-
title: z.ZodString;
|
|
906
|
-
description: z.ZodString;
|
|
907
906
|
status: z.ZodEnum<{
|
|
908
907
|
draft: "draft";
|
|
909
908
|
published: "published";
|
|
910
909
|
}>;
|
|
910
|
+
title: z.ZodString;
|
|
911
911
|
slug: z.ZodString;
|
|
912
912
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
913
913
|
}, z.core.$strip>>;
|
|
@@ -924,8 +924,8 @@ declare const contentEvents: {
|
|
|
924
924
|
dm: {
|
|
925
925
|
enabled: boolean;
|
|
926
926
|
memberToMember: boolean;
|
|
927
|
-
|
|
928
|
-
|
|
927
|
+
memberToTeam: boolean;
|
|
928
|
+
teamToAnyone: boolean;
|
|
929
929
|
firstMessageIsRequest: boolean;
|
|
930
930
|
groupChats: boolean;
|
|
931
931
|
groupSize: number;
|
|
@@ -952,8 +952,8 @@ declare const contentEvents: {
|
|
|
952
952
|
dm: {
|
|
953
953
|
enabled: boolean;
|
|
954
954
|
memberToMember: boolean;
|
|
955
|
-
|
|
956
|
-
|
|
955
|
+
memberToTeam: boolean;
|
|
956
|
+
teamToAnyone: boolean;
|
|
957
957
|
firstMessageIsRequest: boolean;
|
|
958
958
|
groupChats: boolean;
|
|
959
959
|
groupSize: number;
|
|
@@ -968,20 +968,357 @@ declare const contentEvents: {
|
|
|
968
968
|
createdAt: unknown;
|
|
969
969
|
updatedAt: unknown;
|
|
970
970
|
}, z.ZodObject<{
|
|
971
|
+
orgId: z.ZodString;
|
|
972
|
+
id: z.ZodString;
|
|
973
|
+
description: z.ZodString;
|
|
974
|
+
type: z.ZodLiteral<"community">;
|
|
975
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
976
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
977
|
+
status: z.ZodEnum<{
|
|
978
|
+
draft: "draft";
|
|
979
|
+
published: "published";
|
|
980
|
+
}>;
|
|
981
|
+
title: z.ZodString;
|
|
982
|
+
slug: z.ZodString;
|
|
983
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
984
|
+
}, z.core.$strip>>;
|
|
985
|
+
eventCreated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
986
|
+
orgId: string;
|
|
987
|
+
id: string;
|
|
988
|
+
type: "event";
|
|
989
|
+
title: string;
|
|
990
|
+
description: string;
|
|
991
|
+
thumbnailAssetId: string | null;
|
|
992
|
+
status: "draft" | "published" | "canceled";
|
|
993
|
+
startsAt: Date;
|
|
994
|
+
endsAt: Date;
|
|
995
|
+
timeZone: string;
|
|
996
|
+
location: {
|
|
997
|
+
venue: {
|
|
998
|
+
name: string;
|
|
999
|
+
address: {
|
|
1000
|
+
line1: string | null;
|
|
1001
|
+
line2: string | null;
|
|
1002
|
+
city: string | null;
|
|
1003
|
+
region: string | null;
|
|
1004
|
+
postalCode: string | null;
|
|
1005
|
+
country: string | null;
|
|
1006
|
+
} | null;
|
|
1007
|
+
} | null;
|
|
1008
|
+
online: {
|
|
1009
|
+
url: string;
|
|
1010
|
+
details: string | null;
|
|
1011
|
+
} | null;
|
|
1012
|
+
};
|
|
1013
|
+
recording: {
|
|
1014
|
+
url: string;
|
|
1015
|
+
details: string | null;
|
|
1016
|
+
} | null;
|
|
1017
|
+
settings: {
|
|
1018
|
+
type: "public" | "private";
|
|
1019
|
+
capacity: number | null;
|
|
1020
|
+
notifications: boolean;
|
|
1021
|
+
replay: boolean;
|
|
1022
|
+
};
|
|
1023
|
+
createdAt: Date;
|
|
1024
|
+
updatedAt: Date;
|
|
1025
|
+
}, "content.event.created", 1>, {
|
|
1026
|
+
orgId: string;
|
|
1027
|
+
id: string;
|
|
1028
|
+
type: "event";
|
|
1029
|
+
title: string;
|
|
1030
|
+
description: string;
|
|
1031
|
+
thumbnailAssetId: string | null;
|
|
1032
|
+
status: "draft" | "published" | "canceled";
|
|
1033
|
+
startsAt: unknown;
|
|
1034
|
+
endsAt: unknown;
|
|
1035
|
+
timeZone: string;
|
|
1036
|
+
location: {
|
|
1037
|
+
venue: {
|
|
1038
|
+
name: string;
|
|
1039
|
+
address: {
|
|
1040
|
+
line1: string | null;
|
|
1041
|
+
line2: string | null;
|
|
1042
|
+
city: string | null;
|
|
1043
|
+
region: string | null;
|
|
1044
|
+
postalCode: string | null;
|
|
1045
|
+
country: string | null;
|
|
1046
|
+
} | null;
|
|
1047
|
+
} | null;
|
|
1048
|
+
online: {
|
|
1049
|
+
url: string;
|
|
1050
|
+
details: string | null;
|
|
1051
|
+
} | null;
|
|
1052
|
+
};
|
|
1053
|
+
recording: {
|
|
1054
|
+
url: string;
|
|
1055
|
+
details: string | null;
|
|
1056
|
+
} | null;
|
|
1057
|
+
settings: {
|
|
1058
|
+
type: "public" | "private";
|
|
1059
|
+
capacity: number | null;
|
|
1060
|
+
notifications: boolean;
|
|
1061
|
+
replay: boolean;
|
|
1062
|
+
};
|
|
1063
|
+
createdAt: unknown;
|
|
1064
|
+
updatedAt: unknown;
|
|
1065
|
+
}, z.ZodObject<{
|
|
1066
|
+
orgId: z.ZodString;
|
|
971
1067
|
id: z.ZodString;
|
|
1068
|
+
description: z.ZodString;
|
|
1069
|
+
type: z.ZodLiteral<"event">;
|
|
1070
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1071
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
1072
|
+
status: z.ZodEnum<{
|
|
1073
|
+
draft: "draft";
|
|
1074
|
+
published: "published";
|
|
1075
|
+
canceled: "canceled";
|
|
1076
|
+
}>;
|
|
1077
|
+
title: z.ZodString;
|
|
1078
|
+
settings: z.ZodObject<{
|
|
1079
|
+
type: z.ZodEnum<{
|
|
1080
|
+
public: "public";
|
|
1081
|
+
private: "private";
|
|
1082
|
+
}>;
|
|
1083
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1084
|
+
notifications: z.ZodBoolean;
|
|
1085
|
+
replay: z.ZodBoolean;
|
|
1086
|
+
}, z.core.$strict>;
|
|
1087
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1088
|
+
timeZone: z.ZodString;
|
|
1089
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1090
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1091
|
+
}, z.core.$strip>>;
|
|
1092
|
+
eventUpdated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
1093
|
+
orgId: string;
|
|
1094
|
+
id: string;
|
|
1095
|
+
type: "event";
|
|
1096
|
+
title: string;
|
|
1097
|
+
description: string;
|
|
1098
|
+
thumbnailAssetId: string | null;
|
|
1099
|
+
status: "draft" | "published" | "canceled";
|
|
1100
|
+
startsAt: Date;
|
|
1101
|
+
endsAt: Date;
|
|
1102
|
+
timeZone: string;
|
|
1103
|
+
location: {
|
|
1104
|
+
venue: {
|
|
1105
|
+
name: string;
|
|
1106
|
+
address: {
|
|
1107
|
+
line1: string | null;
|
|
1108
|
+
line2: string | null;
|
|
1109
|
+
city: string | null;
|
|
1110
|
+
region: string | null;
|
|
1111
|
+
postalCode: string | null;
|
|
1112
|
+
country: string | null;
|
|
1113
|
+
} | null;
|
|
1114
|
+
} | null;
|
|
1115
|
+
online: {
|
|
1116
|
+
url: string;
|
|
1117
|
+
details: string | null;
|
|
1118
|
+
} | null;
|
|
1119
|
+
};
|
|
1120
|
+
recording: {
|
|
1121
|
+
url: string;
|
|
1122
|
+
details: string | null;
|
|
1123
|
+
} | null;
|
|
1124
|
+
settings: {
|
|
1125
|
+
type: "public" | "private";
|
|
1126
|
+
capacity: number | null;
|
|
1127
|
+
notifications: boolean;
|
|
1128
|
+
replay: boolean;
|
|
1129
|
+
};
|
|
1130
|
+
createdAt: Date;
|
|
1131
|
+
updatedAt: Date;
|
|
1132
|
+
}, "content.event.updated", 1>, {
|
|
1133
|
+
orgId: string;
|
|
1134
|
+
id: string;
|
|
1135
|
+
type: "event";
|
|
1136
|
+
title: string;
|
|
1137
|
+
description: string;
|
|
1138
|
+
thumbnailAssetId: string | null;
|
|
1139
|
+
status: "draft" | "published" | "canceled";
|
|
1140
|
+
startsAt: unknown;
|
|
1141
|
+
endsAt: unknown;
|
|
1142
|
+
timeZone: string;
|
|
1143
|
+
location: {
|
|
1144
|
+
venue: {
|
|
1145
|
+
name: string;
|
|
1146
|
+
address: {
|
|
1147
|
+
line1: string | null;
|
|
1148
|
+
line2: string | null;
|
|
1149
|
+
city: string | null;
|
|
1150
|
+
region: string | null;
|
|
1151
|
+
postalCode: string | null;
|
|
1152
|
+
country: string | null;
|
|
1153
|
+
} | null;
|
|
1154
|
+
} | null;
|
|
1155
|
+
online: {
|
|
1156
|
+
url: string;
|
|
1157
|
+
details: string | null;
|
|
1158
|
+
} | null;
|
|
1159
|
+
};
|
|
1160
|
+
recording: {
|
|
1161
|
+
url: string;
|
|
1162
|
+
details: string | null;
|
|
1163
|
+
} | null;
|
|
1164
|
+
settings: {
|
|
1165
|
+
type: "public" | "private";
|
|
1166
|
+
capacity: number | null;
|
|
1167
|
+
notifications: boolean;
|
|
1168
|
+
replay: boolean;
|
|
1169
|
+
};
|
|
1170
|
+
createdAt: unknown;
|
|
1171
|
+
updatedAt: unknown;
|
|
1172
|
+
}, z.ZodObject<{
|
|
972
1173
|
orgId: z.ZodString;
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
description: z.ZodString;
|
|
1176
|
+
type: z.ZodLiteral<"event">;
|
|
973
1177
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
974
1178
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
975
|
-
|
|
1179
|
+
status: z.ZodEnum<{
|
|
1180
|
+
draft: "draft";
|
|
1181
|
+
published: "published";
|
|
1182
|
+
canceled: "canceled";
|
|
1183
|
+
}>;
|
|
976
1184
|
title: z.ZodString;
|
|
1185
|
+
settings: z.ZodObject<{
|
|
1186
|
+
type: z.ZodEnum<{
|
|
1187
|
+
public: "public";
|
|
1188
|
+
private: "private";
|
|
1189
|
+
}>;
|
|
1190
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1191
|
+
notifications: z.ZodBoolean;
|
|
1192
|
+
replay: z.ZodBoolean;
|
|
1193
|
+
}, z.core.$strict>;
|
|
1194
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1195
|
+
timeZone: z.ZodString;
|
|
1196
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1197
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1198
|
+
}, z.core.$strip>>;
|
|
1199
|
+
eventDeleted: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
1200
|
+
orgId: string;
|
|
1201
|
+
id: string;
|
|
1202
|
+
type: "event";
|
|
1203
|
+
title: string;
|
|
1204
|
+
description: string;
|
|
1205
|
+
thumbnailAssetId: string | null;
|
|
1206
|
+
status: "draft" | "published" | "canceled";
|
|
1207
|
+
startsAt: Date;
|
|
1208
|
+
endsAt: Date;
|
|
1209
|
+
timeZone: string;
|
|
1210
|
+
location: {
|
|
1211
|
+
venue: {
|
|
1212
|
+
name: string;
|
|
1213
|
+
address: {
|
|
1214
|
+
line1: string | null;
|
|
1215
|
+
line2: string | null;
|
|
1216
|
+
city: string | null;
|
|
1217
|
+
region: string | null;
|
|
1218
|
+
postalCode: string | null;
|
|
1219
|
+
country: string | null;
|
|
1220
|
+
} | null;
|
|
1221
|
+
} | null;
|
|
1222
|
+
online: {
|
|
1223
|
+
url: string;
|
|
1224
|
+
details: string | null;
|
|
1225
|
+
} | null;
|
|
1226
|
+
};
|
|
1227
|
+
recording: {
|
|
1228
|
+
url: string;
|
|
1229
|
+
details: string | null;
|
|
1230
|
+
} | null;
|
|
1231
|
+
settings: {
|
|
1232
|
+
type: "public" | "private";
|
|
1233
|
+
capacity: number | null;
|
|
1234
|
+
notifications: boolean;
|
|
1235
|
+
replay: boolean;
|
|
1236
|
+
};
|
|
1237
|
+
createdAt: Date;
|
|
1238
|
+
updatedAt: Date;
|
|
1239
|
+
}, "content.event.deleted", 1>, {
|
|
1240
|
+
orgId: string;
|
|
1241
|
+
id: string;
|
|
1242
|
+
type: "event";
|
|
1243
|
+
title: string;
|
|
1244
|
+
description: string;
|
|
1245
|
+
thumbnailAssetId: string | null;
|
|
1246
|
+
status: "draft" | "published" | "canceled";
|
|
1247
|
+
startsAt: unknown;
|
|
1248
|
+
endsAt: unknown;
|
|
1249
|
+
timeZone: string;
|
|
1250
|
+
location: {
|
|
1251
|
+
venue: {
|
|
1252
|
+
name: string;
|
|
1253
|
+
address: {
|
|
1254
|
+
line1: string | null;
|
|
1255
|
+
line2: string | null;
|
|
1256
|
+
city: string | null;
|
|
1257
|
+
region: string | null;
|
|
1258
|
+
postalCode: string | null;
|
|
1259
|
+
country: string | null;
|
|
1260
|
+
} | null;
|
|
1261
|
+
} | null;
|
|
1262
|
+
online: {
|
|
1263
|
+
url: string;
|
|
1264
|
+
details: string | null;
|
|
1265
|
+
} | null;
|
|
1266
|
+
};
|
|
1267
|
+
recording: {
|
|
1268
|
+
url: string;
|
|
1269
|
+
details: string | null;
|
|
1270
|
+
} | null;
|
|
1271
|
+
settings: {
|
|
1272
|
+
type: "public" | "private";
|
|
1273
|
+
capacity: number | null;
|
|
1274
|
+
notifications: boolean;
|
|
1275
|
+
replay: boolean;
|
|
1276
|
+
};
|
|
1277
|
+
createdAt: unknown;
|
|
1278
|
+
updatedAt: unknown;
|
|
1279
|
+
}, z.ZodObject<{
|
|
1280
|
+
orgId: z.ZodString;
|
|
1281
|
+
id: z.ZodString;
|
|
977
1282
|
description: z.ZodString;
|
|
1283
|
+
type: z.ZodLiteral<"event">;
|
|
1284
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1285
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
978
1286
|
status: z.ZodEnum<{
|
|
979
1287
|
draft: "draft";
|
|
980
1288
|
published: "published";
|
|
1289
|
+
canceled: "canceled";
|
|
981
1290
|
}>;
|
|
982
|
-
|
|
1291
|
+
title: z.ZodString;
|
|
1292
|
+
settings: z.ZodObject<{
|
|
1293
|
+
type: z.ZodEnum<{
|
|
1294
|
+
public: "public";
|
|
1295
|
+
private: "private";
|
|
1296
|
+
}>;
|
|
1297
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1298
|
+
notifications: z.ZodBoolean;
|
|
1299
|
+
replay: z.ZodBoolean;
|
|
1300
|
+
}, z.core.$strict>;
|
|
983
1301
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
timeZone: z.ZodString;
|
|
1303
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1304
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
984
1305
|
}, z.core.$strip>>;
|
|
1306
|
+
eventStartingSoon: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
1307
|
+
eventId: string;
|
|
1308
|
+
lead: "1d" | "1h";
|
|
1309
|
+
startsAt: Date;
|
|
1310
|
+
}, "content.event.starting_soon", 1>, {
|
|
1311
|
+
eventId: string;
|
|
1312
|
+
lead: "1d" | "1h";
|
|
1313
|
+
startsAt: unknown;
|
|
1314
|
+
}, z.ZodObject<{
|
|
1315
|
+
eventId: z.ZodString;
|
|
1316
|
+
lead: z.ZodEnum<{
|
|
1317
|
+
"1d": "1d";
|
|
1318
|
+
"1h": "1h";
|
|
1319
|
+
}>;
|
|
1320
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1321
|
+
}, z.core.$strict>>;
|
|
985
1322
|
spaceCreated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
986
1323
|
orgId: string;
|
|
987
1324
|
id: string;
|
|
@@ -1438,11 +1775,15 @@ type BundleItemRemoved = EventOf<typeof contentEvents.bundleItemRemoved>;
|
|
|
1438
1775
|
type CommunityCreated = EventOf<typeof contentEvents.communityCreated>;
|
|
1439
1776
|
type CommunityUpdated = EventOf<typeof contentEvents.communityUpdated>;
|
|
1440
1777
|
type CommunityDeleted = EventOf<typeof contentEvents.communityDeleted>;
|
|
1778
|
+
type EventCreated = EventOf<typeof contentEvents.eventCreated>;
|
|
1779
|
+
type EventUpdated = EventOf<typeof contentEvents.eventUpdated>;
|
|
1780
|
+
type EventDeleted = EventOf<typeof contentEvents.eventDeleted>;
|
|
1781
|
+
type EventStartingSoon = EventOf<typeof contentEvents.eventStartingSoon>;
|
|
1441
1782
|
type CommunitySpaceCreated = EventOf<typeof contentEvents.spaceCreated>;
|
|
1442
1783
|
type CommunitySpaceUpdated = EventOf<typeof contentEvents.spaceUpdated>;
|
|
1443
1784
|
type CommunitySpaceDeleted = EventOf<typeof contentEvents.spaceDeleted>;
|
|
1444
1785
|
type CommunitySpacesReordered = EventOf<typeof contentEvents.spacesReordered>;
|
|
1445
1786
|
type ContentEvent = EventOfValues<typeof contentEvents>;
|
|
1446
1787
|
//#endregion
|
|
1447
|
-
export { BundleCreated, BundleDeleted, BundleItemAdded, BundleItemRemoved, BundleUpdated, CommunityCreated, CommunityDeleted, CommunitySpaceCreated, CommunitySpaceDeleted, CommunitySpaceUpdated, CommunitySpacesReordered, CommunityUpdated, ContentEvent, CourseActivitiesReordered, CourseActivityCreated, CourseActivityDeleted, CourseActivityPublished, CourseActivityUpdated, CourseCreated, CourseDeleted, CourseModuleCreated, CourseModuleDeleted, CourseModuleUpdated, CourseModulesReordered, CourseUpdated, DownloadAssetAdded, DownloadAssetRemoved, DownloadAssetRenamed, DownloadAssetsReordered, DownloadCreated, DownloadDeleted, DownloadUpdated, contentEvents };
|
|
1788
|
+
export { BundleCreated, BundleDeleted, BundleItemAdded, BundleItemRemoved, BundleUpdated, CommunityCreated, CommunityDeleted, CommunitySpaceCreated, CommunitySpaceDeleted, CommunitySpaceUpdated, CommunitySpacesReordered, CommunityUpdated, ContentEvent, CourseActivitiesReordered, CourseActivityCreated, CourseActivityDeleted, CourseActivityPublished, CourseActivityUpdated, CourseCreated, CourseDeleted, CourseModuleCreated, CourseModuleDeleted, CourseModuleUpdated, CourseModulesReordered, CourseUpdated, DownloadAssetAdded, DownloadAssetRemoved, DownloadAssetRenamed, DownloadAssetsReordered, DownloadCreated, DownloadDeleted, DownloadUpdated, EventCreated, EventDeleted, EventStartingSoon, EventUpdated, contentEvents };
|
|
1448
1789
|
//# sourceMappingURL=events.d.ts.map
|