@headless-lms/server 0.2.0 → 0.4.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/_virtual/_rolldown/runtime.js +5 -0
- package/dist/app/community-mail.d.ts +24 -0
- package/dist/app/community-mail.js +92 -0
- package/dist/app/community-mail.js.map +1 -0
- package/dist/app/container.d.ts +40 -19
- package/dist/app/container.js +294 -45
- package/dist/app/container.js.map +1 -1
- package/dist/app/mcp-endpoints.d.ts +13 -0
- package/dist/app/mcp-endpoints.js +25 -0
- package/dist/app/mcp-endpoints.js.map +1 -0
- package/dist/app/notification-channels.d.ts +47 -0
- package/dist/app/notification-channels.js +174 -0
- package/dist/app/notification-channels.js.map +1 -0
- package/dist/app/notification-reads.d.ts +23 -0
- package/dist/app/notification-reads.js +95 -0
- package/dist/app/notification-reads.js.map +1 -0
- package/dist/http/config.d.ts +2 -1
- package/dist/http/errors.d.ts +15 -0
- package/dist/http/errors.js +162 -0
- package/dist/http/errors.js.map +1 -0
- package/dist/http/mcp/catalogue.d.ts +37 -0
- package/dist/http/mcp/catalogue.js +69 -0
- package/dist/http/mcp/catalogue.js.map +1 -0
- package/dist/http/mcp/challenge.d.ts +7 -0
- package/dist/http/mcp/challenge.js +35 -0
- package/dist/http/mcp/challenge.js.map +1 -0
- package/dist/http/mcp/input-schema.d.ts +7 -0
- package/dist/http/mcp/input-schema.js +28 -0
- package/dist/http/mcp/input-schema.js.map +1 -0
- package/dist/http/mcp/route.d.ts +8 -0
- package/dist/http/mcp/route.js +75 -0
- package/dist/http/mcp/route.js.map +1 -0
- package/dist/http/mcp/server.d.ts +8 -0
- package/dist/http/mcp/server.js +31 -0
- package/dist/http/mcp/server.js.map +1 -0
- package/dist/http/mcp/test-support.d.ts +55 -0
- package/dist/http/mcp/test-support.js +151 -0
- package/dist/http/mcp/test-support.js.map +1 -0
- package/dist/http/mcp/tool.d.ts +48 -0
- package/dist/http/mcp/tool.js +58 -0
- package/dist/http/mcp/tool.js.map +1 -0
- package/dist/http/mcp/tools/automations.d.ts +6 -0
- package/dist/http/mcp/tools/automations.js +120 -0
- package/dist/http/mcp/tools/automations.js.map +1 -0
- package/dist/http/mcp/tools/catalog.d.ts +6 -0
- package/dist/http/mcp/tools/catalog.js +200 -0
- package/dist/http/mcp/tools/catalog.js.map +1 -0
- package/dist/http/mcp/tools/comments.d.ts +6 -0
- package/dist/http/mcp/tools/comments.js +70 -0
- package/dist/http/mcp/tools/comments.js.map +1 -0
- package/dist/http/mcp/tools/communities.d.ts +6 -0
- package/dist/http/mcp/tools/communities.js +175 -0
- package/dist/http/mcp/tools/communities.js.map +1 -0
- package/dist/http/mcp/tools/community-members.d.ts +6 -0
- package/dist/http/mcp/tools/community-members.js +89 -0
- package/dist/http/mcp/tools/community-members.js.map +1 -0
- package/dist/http/mcp/tools/community-moderation.d.ts +6 -0
- package/dist/http/mcp/tools/community-moderation.js +144 -0
- package/dist/http/mcp/tools/community-moderation.js.map +1 -0
- package/dist/http/mcp/tools/courses.d.ts +6 -0
- package/dist/http/mcp/tools/courses.js +121 -0
- package/dist/http/mcp/tools/courses.js.map +1 -0
- package/dist/http/mcp/tools/index.d.ts +6 -0
- package/dist/http/mcp/tools/index.js +23 -0
- package/dist/http/mcp/tools/index.js.map +1 -0
- package/dist/http/mcp/tools/people.d.ts +6 -0
- package/dist/http/mcp/tools/people.js +145 -0
- package/dist/http/mcp/tools/people.js.map +1 -0
- package/dist/http/plugins/auth.js +13 -5
- package/dist/http/plugins/auth.js.map +1 -1
- package/dist/http/plugins/error-handler.d.ts +2 -1
- package/dist/http/plugins/error-handler.js +51 -65
- package/dist/http/plugins/error-handler.js.map +1 -1
- package/dist/http/plugins/openapi.js +49 -2
- package/dist/http/plugins/openapi.js.map +1 -1
- package/dist/http/routes/access.d.ts +7 -0
- package/dist/http/routes/access.js +140 -0
- package/dist/http/routes/access.js.map +1 -0
- package/dist/http/routes/activities.js +68 -23
- package/dist/http/routes/activities.js.map +1 -1
- package/dist/http/routes/assets.js +60 -55
- package/dist/http/routes/assets.js.map +1 -1
- package/dist/http/routes/automations.js +44 -24
- package/dist/http/routes/automations.js.map +1 -1
- package/dist/http/routes/bundles.js +29 -18
- package/dist/http/routes/bundles.js.map +1 -1
- package/dist/http/routes/communities.d.ts +7 -0
- package/dist/http/routes/communities.js +522 -0
- package/dist/http/routes/communities.js.map +1 -0
- package/dist/http/routes/community-moderation.d.ts +7 -0
- package/dist/http/routes/community-moderation.js +425 -0
- package/dist/http/routes/community-moderation.js.map +1 -0
- package/dist/http/routes/course-analytics.js +9 -7
- package/dist/http/routes/course-analytics.js.map +1 -1
- package/dist/http/routes/courses.js +30 -15
- package/dist/http/routes/courses.js.map +1 -1
- package/dist/http/routes/dashboard.js +15 -6
- package/dist/http/routes/dashboard.js.map +1 -1
- package/dist/http/routes/discussion.js +34 -26
- package/dist/http/routes/discussion.js.map +1 -1
- package/dist/http/routes/downloads.js +48 -30
- package/dist/http/routes/downloads.js.map +1 -1
- package/dist/http/routes/entitlements.js +16 -7
- package/dist/http/routes/entitlements.js.map +1 -1
- package/dist/http/routes/integrations.js +38 -41
- package/dist/http/routes/integrations.js.map +1 -1
- package/dist/http/routes/member/actor.d.ts +14 -0
- package/dist/http/routes/member/actor.js +11 -0
- package/dist/http/routes/member/actor.js.map +1 -0
- package/dist/http/routes/member/assets.d.ts +7 -0
- package/dist/http/routes/member/assets.js +79 -0
- package/dist/http/routes/member/assets.js.map +1 -0
- package/dist/http/routes/member/chats.d.ts +7 -0
- package/dist/http/routes/member/chats.js +435 -0
- package/dist/http/routes/member/chats.js.map +1 -0
- package/dist/http/routes/member/comments.d.ts +7 -0
- package/dist/http/routes/member/comments.js +187 -0
- package/dist/http/routes/member/comments.js.map +1 -0
- package/dist/http/routes/member/community.d.ts +7 -0
- package/dist/http/routes/member/community.js +312 -0
- package/dist/http/routes/member/community.js.map +1 -0
- package/dist/http/routes/member/courses.d.ts +7 -0
- package/dist/http/routes/member/courses.js +101 -0
- package/dist/http/routes/member/courses.js.map +1 -0
- package/dist/http/routes/member/devices.d.ts +7 -0
- package/dist/http/routes/member/devices.js +98 -0
- package/dist/http/routes/member/devices.js.map +1 -0
- package/dist/http/routes/member/downloads.d.ts +7 -0
- package/dist/http/routes/member/downloads.js +56 -0
- package/dist/http/routes/member/downloads.js.map +1 -0
- package/dist/http/routes/member/files.d.ts +7 -0
- package/dist/http/routes/member/files.js +184 -0
- package/dist/http/routes/member/files.js.map +1 -0
- package/dist/http/routes/member/index.d.ts +7 -0
- package/dist/http/routes/member/index.js +35 -0
- package/dist/http/routes/member/index.js.map +1 -0
- package/dist/http/routes/member/notification-settings.d.ts +7 -0
- package/dist/http/routes/member/notification-settings.js +108 -0
- package/dist/http/routes/member/notification-settings.js.map +1 -0
- package/dist/http/routes/member/notifications.d.ts +7 -0
- package/dist/http/routes/member/notifications.js +125 -0
- package/dist/http/routes/member/notifications.js.map +1 -0
- package/dist/http/routes/member/org.d.ts +7 -0
- package/dist/http/routes/member/org.js +56 -0
- package/dist/http/routes/member/org.js.map +1 -0
- package/dist/http/routes/member/posts.d.ts +7 -0
- package/dist/http/routes/member/posts.js +612 -0
- package/dist/http/routes/member/posts.js.map +1 -0
- package/dist/http/routes/member/profile.d.ts +7 -0
- package/dist/http/routes/member/profile.js +48 -0
- package/dist/http/routes/member/profile.js.map +1 -0
- package/dist/http/routes/member/progress.d.ts +7 -0
- package/dist/http/routes/member/progress.js +60 -0
- package/dist/http/routes/member/progress.js.map +1 -0
- package/dist/http/routes/organizations.js +171 -25
- package/dist/http/routes/organizations.js.map +1 -1
- package/dist/http/routes/students.js +32 -47
- package/dist/http/routes/students.js.map +1 -1
- package/dist/http/routes/webhooks.js +26 -18
- package/dist/http/routes/webhooks.js.map +1 -1
- package/dist/http/routes.js +8 -2
- package/dist/http/routes.js.map +1 -1
- package/dist/http/schemas/access.d.ts +146 -0
- package/dist/http/schemas/access.js +36 -0
- package/dist/http/schemas/access.js.map +1 -0
- package/dist/http/schemas/activities.d.ts +3 -1
- package/dist/http/schemas/activities.js +4 -4
- package/dist/http/schemas/activities.js.map +1 -1
- package/dist/http/schemas/assets.d.ts +79 -80
- package/dist/http/schemas/assets.js +23 -13
- package/dist/http/schemas/assets.js.map +1 -1
- package/dist/http/schemas/automations.d.ts +6 -0
- package/dist/http/schemas/bundles.js +6 -6
- package/dist/http/schemas/bundles.js.map +1 -1
- package/dist/http/schemas/chats.d.ts +409 -0
- package/dist/http/schemas/chats.js +56 -0
- package/dist/http/schemas/chats.js.map +1 -0
- package/dist/http/schemas/community.d.ts +597 -0
- package/dist/http/schemas/community.js +132 -0
- package/dist/http/schemas/community.js.map +1 -0
- package/dist/http/schemas/content.d.ts +4 -2
- package/dist/http/schemas/content.js +11 -8
- package/dist/http/schemas/content.js.map +1 -1
- package/dist/http/schemas/discussion.d.ts +98 -14
- package/dist/http/schemas/discussion.js +25 -12
- package/dist/http/schemas/discussion.js.map +1 -1
- package/dist/http/schemas/downloads.d.ts +11 -5
- package/dist/http/schemas/downloads.js +14 -11
- package/dist/http/schemas/downloads.js.map +1 -1
- package/dist/http/schemas/entitlements.d.ts +6 -6
- package/dist/http/schemas/entitlements.js +6 -6
- package/dist/http/schemas/entitlements.js.map +1 -1
- package/dist/http/schemas/files.d.ts +45 -0
- package/dist/http/schemas/files.js +25 -0
- package/dist/http/schemas/files.js.map +1 -0
- package/dist/http/schemas/index.d.ts +15 -8
- package/dist/http/schemas/index.js +15 -8
- package/dist/http/schemas/integrations.d.ts +4 -4
- package/dist/http/schemas/invites.d.ts +4 -0
- package/dist/http/schemas/invites.js +1 -0
- package/dist/http/schemas/invites.js.map +1 -1
- package/dist/http/schemas/{learn.d.ts → member.d.ts} +31 -18
- package/dist/http/schemas/{learn.js → member.js} +17 -13
- package/dist/http/schemas/member.js.map +1 -0
- package/dist/http/schemas/members.d.ts +35 -2
- package/dist/http/schemas/members.js +17 -3
- package/dist/http/schemas/members.js.map +1 -1
- package/dist/http/schemas/notifications.d.ts +550 -0
- package/dist/http/schemas/notifications.js +164 -0
- package/dist/http/schemas/notifications.js.map +1 -0
- package/dist/http/schemas/posts.d.ts +350 -0
- package/dist/http/schemas/posts.js +47 -0
- package/dist/http/schemas/posts.js.map +1 -0
- package/dist/http/schemas/profile.d.ts +23 -0
- package/dist/http/schemas/profile.js +15 -0
- package/dist/http/schemas/profile.js.map +1 -0
- package/dist/http/schemas/shared.d.ts +32 -1
- package/dist/http/schemas/shared.js +20 -2
- package/dist/http/schemas/shared.js.map +1 -1
- package/dist/http/schemas/students.d.ts +1 -7
- package/dist/http/schemas/students.js +1 -7
- package/dist/http/schemas/students.js.map +1 -1
- package/dist/http/scope.d.ts +3 -1
- package/dist/http/scope.js +26 -4
- package/dist/http/scope.js.map +1 -1
- package/dist/http/server.js +6 -1
- package/dist/http/server.js.map +1 -1
- package/dist/http/web-bridge.d.ts +1 -1
- package/dist/http/web-bridge.js +2 -2
- package/dist/http/web-bridge.js.map +1 -1
- package/dist/http/well-known.d.ts +7 -0
- package/dist/http/well-known.js +22 -0
- package/dist/http/well-known.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +78 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_expect@2.1.9/node_modules/@vitest/expect/dist/index.js +1267 -0
- package/dist/node_modules/.pnpm/@vitest_expect@2.1.9/node_modules/@vitest/expect/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_pretty-format@2.1.9/node_modules/@vitest/pretty-format/dist/index.js +814 -0
- package/dist/node_modules/.pnpm/@vitest_pretty-format@2.1.9/node_modules/@vitest/pretty-format/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_runner@2.1.9/node_modules/@vitest/runner/dist/chunk-tasks.js +43 -0
- package/dist/node_modules/.pnpm/@vitest_runner@2.1.9/node_modules/@vitest/runner/dist/chunk-tasks.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_runner@2.1.9/node_modules/@vitest/runner/dist/index.js +527 -0
- package/dist/node_modules/.pnpm/@vitest_runner@2.1.9/node_modules/@vitest/runner/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_runner@2.1.9/node_modules/@vitest/runner/dist/utils.js +2 -0
- package/dist/node_modules/.pnpm/@vitest_snapshot@2.1.9/node_modules/@vitest/snapshot/dist/index.js +1737 -0
- package/dist/node_modules/.pnpm/@vitest_snapshot@2.1.9/node_modules/@vitest/snapshot/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_spy@2.1.9/node_modules/@vitest/spy/dist/index.js +137 -0
- package/dist/node_modules/.pnpm/@vitest_spy@2.1.9/node_modules/@vitest/spy/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +118 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/diff.js +1222 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/diff.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/error.js +91 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/error.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/helpers.js +113 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/helpers.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/index.js +449 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/source-map.js +163 -0
- package/dist/node_modules/.pnpm/@vitest_utils@2.1.9/node_modules/@vitest/utils/dist/source-map.js.map +1 -0
- package/dist/node_modules/.pnpm/chai@5.3.3/node_modules/chai/index.js +3187 -0
- package/dist/node_modules/.pnpm/chai@5.3.3/node_modules/chai/index.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js +11 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js +16 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js +11 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js +15 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js +13 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js +34 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js +12 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js +122 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +39 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +99 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js +25 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js +14 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js +21 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +6 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js +12 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js +18 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js +24 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js +9 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js.map +1 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js +30 -0
- package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js.map +1 -0
- package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js +939 -0
- package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js.map +1 -0
- package/dist/node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.js +82 -0
- package/dist/node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.js.map +1 -0
- package/dist/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +82 -0
- package/dist/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js.map +1 -0
- package/dist/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/node.js +8 -0
- package/dist/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/node.js.map +1 -0
- package/dist/node_modules/.pnpm/tinyspy@3.0.2/node_modules/tinyspy/dist/index.js +83 -0
- package/dist/node_modules/.pnpm/tinyspy@3.0.2/node_modules/tinyspy/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +9 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js.map +1 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/date.W2xKR2qe.js +51 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/date.W2xKR2qe.js.map +1 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js +48 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/utils.C8RiOc4B.js.map +1 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/vi.DgezovHB.js +2426 -0
- package/dist/node_modules/.pnpm/vitest@2.1.9_@types_node@22.20.0_jsdom@25.0.1_lightningcss@1.32.0/node_modules/vitest/dist/chunks/vi.DgezovHB.js.map +1 -0
- package/dist/packages/server/package.js +6 -0
- package/dist/packages/server/package.js.map +1 -0
- package/package.json +9 -7
- package/dist/app/notifications.d.ts +0 -7
- package/dist/app/notifications.js +0 -26
- package/dist/app/notifications.js.map +0 -1
- package/dist/http/routes/learn/assets.d.ts +0 -8
- package/dist/http/routes/learn/assets.js +0 -32
- package/dist/http/routes/learn/assets.js.map +0 -1
- package/dist/http/routes/learn/comments.d.ts +0 -7
- package/dist/http/routes/learn/comments.js +0 -175
- package/dist/http/routes/learn/comments.js.map +0 -1
- package/dist/http/routes/learn/courses.d.ts +0 -7
- package/dist/http/routes/learn/courses.js +0 -98
- package/dist/http/routes/learn/courses.js.map +0 -1
- package/dist/http/routes/learn/downloads.d.ts +0 -7
- package/dist/http/routes/learn/downloads.js +0 -76
- package/dist/http/routes/learn/downloads.js.map +0 -1
- package/dist/http/routes/learn/index.d.ts +0 -7
- package/dist/http/routes/learn/index.js +0 -19
- package/dist/http/routes/learn/index.js.map +0 -1
- package/dist/http/routes/learn/org.d.ts +0 -7
- package/dist/http/routes/learn/org.js +0 -50
- package/dist/http/routes/learn/org.js.map +0 -1
- package/dist/http/routes/learn/progress.d.ts +0 -7
- package/dist/http/routes/learn/progress.js +0 -63
- package/dist/http/routes/learn/progress.js.map +0 -1
- package/dist/http/schemas/learn.js.map +0 -1
- package/dist/package.js +0 -6
- package/dist/package.js.map +0 -1
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/http/schemas/community.d.ts
|
|
3
|
+
declare const Community: z.ZodObject<{
|
|
4
|
+
orgId: z.ZodString;
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
type: z.ZodLiteral<"community">;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
slug: z.ZodString;
|
|
9
|
+
description: z.ZodString;
|
|
10
|
+
status: z.ZodEnum<{
|
|
11
|
+
draft: "draft";
|
|
12
|
+
published: "published";
|
|
13
|
+
}>;
|
|
14
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
15
|
+
settings: z.ZodObject<{
|
|
16
|
+
dm: z.ZodObject<{
|
|
17
|
+
enabled: z.ZodBoolean;
|
|
18
|
+
memberToMember: z.ZodBoolean;
|
|
19
|
+
memberToStaff: z.ZodBoolean;
|
|
20
|
+
staffToAnyone: z.ZodBoolean;
|
|
21
|
+
firstMessageIsRequest: z.ZodBoolean;
|
|
22
|
+
groupChats: z.ZodBoolean;
|
|
23
|
+
groupSize: z.ZodNumber;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
digest: z.ZodNullable<z.ZodObject<{
|
|
26
|
+
cadence: z.ZodEnum<{
|
|
27
|
+
daily: "daily";
|
|
28
|
+
weekly: "weekly";
|
|
29
|
+
}>;
|
|
30
|
+
weekday: z.ZodNumber;
|
|
31
|
+
hour: z.ZodNumber;
|
|
32
|
+
timeZone: z.ZodString;
|
|
33
|
+
}, z.core.$strict>>;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
36
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
37
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
declare const CommunitiesQuery: z.ZodObject<{
|
|
40
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
41
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
42
|
+
search: z.ZodOptional<z.ZodString>;
|
|
43
|
+
sort: z.ZodOptional<z.ZodString>;
|
|
44
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
45
|
+
draft: "draft";
|
|
46
|
+
published: "published";
|
|
47
|
+
}>>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const CommunitiesPage: z.ZodObject<{
|
|
50
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
51
|
+
orgId: z.ZodString;
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
type: z.ZodLiteral<"community">;
|
|
54
|
+
title: z.ZodString;
|
|
55
|
+
slug: z.ZodString;
|
|
56
|
+
description: z.ZodString;
|
|
57
|
+
status: z.ZodEnum<{
|
|
58
|
+
draft: "draft";
|
|
59
|
+
published: "published";
|
|
60
|
+
}>;
|
|
61
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
62
|
+
settings: z.ZodObject<{
|
|
63
|
+
dm: z.ZodObject<{
|
|
64
|
+
enabled: z.ZodBoolean;
|
|
65
|
+
memberToMember: z.ZodBoolean;
|
|
66
|
+
memberToStaff: z.ZodBoolean;
|
|
67
|
+
staffToAnyone: z.ZodBoolean;
|
|
68
|
+
firstMessageIsRequest: z.ZodBoolean;
|
|
69
|
+
groupChats: z.ZodBoolean;
|
|
70
|
+
groupSize: z.ZodNumber;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
digest: z.ZodNullable<z.ZodObject<{
|
|
73
|
+
cadence: z.ZodEnum<{
|
|
74
|
+
daily: "daily";
|
|
75
|
+
weekly: "weekly";
|
|
76
|
+
}>;
|
|
77
|
+
weekday: z.ZodNumber;
|
|
78
|
+
hour: z.ZodNumber;
|
|
79
|
+
timeZone: z.ZodString;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
83
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
84
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
85
|
+
}, z.core.$strict>>;
|
|
86
|
+
total: z.ZodNumber;
|
|
87
|
+
page: z.ZodNumber;
|
|
88
|
+
pageSize: z.ZodNumber;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
declare const CreateCommunity: z.ZodObject<{
|
|
91
|
+
title: z.ZodString;
|
|
92
|
+
description: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strict>;
|
|
94
|
+
declare const UpdateCommunity: z.ZodObject<{
|
|
95
|
+
title: z.ZodOptional<z.ZodString>;
|
|
96
|
+
description: z.ZodOptional<z.ZodString>;
|
|
97
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
98
|
+
draft: "draft";
|
|
99
|
+
published: "published";
|
|
100
|
+
}>>;
|
|
101
|
+
thumbnailAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
declare const PatchDmSettings: z.ZodObject<{
|
|
104
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
memberToMember: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
memberToStaff: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
+
staffToAnyone: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
firstMessageIsRequest: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
groupChats: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
groupSize: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
}, z.core.$strict>;
|
|
112
|
+
declare const PatchCommunitySettings: z.ZodObject<{
|
|
113
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
memberToMember: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
memberToStaff: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
staffToAnyone: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
firstMessageIsRequest: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
groupChats: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
groupSize: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
digest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
121
|
+
cadence: z.ZodEnum<{
|
|
122
|
+
daily: "daily";
|
|
123
|
+
weekly: "weekly";
|
|
124
|
+
}>;
|
|
125
|
+
weekday: z.ZodNumber;
|
|
126
|
+
hour: z.ZodNumber;
|
|
127
|
+
timeZone: z.ZodString;
|
|
128
|
+
}, z.core.$strict>>>;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
declare const DmSettings: z.ZodObject<{
|
|
131
|
+
enabled: z.ZodBoolean;
|
|
132
|
+
memberToMember: z.ZodBoolean;
|
|
133
|
+
memberToStaff: z.ZodBoolean;
|
|
134
|
+
staffToAnyone: z.ZodBoolean;
|
|
135
|
+
firstMessageIsRequest: z.ZodBoolean;
|
|
136
|
+
groupChats: z.ZodBoolean;
|
|
137
|
+
groupSize: z.ZodNumber;
|
|
138
|
+
}, z.core.$strict>;
|
|
139
|
+
declare const SpaceDetail: z.ZodObject<{
|
|
140
|
+
orgId: z.ZodString;
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
communityId: z.ZodString;
|
|
143
|
+
name: z.ZodString;
|
|
144
|
+
description: z.ZodString;
|
|
145
|
+
seq: z.ZodNumber;
|
|
146
|
+
accessRule: z.ZodEnum<{
|
|
147
|
+
all_members: "all_members";
|
|
148
|
+
by_request: "by_request";
|
|
149
|
+
by_invite: "by_invite";
|
|
150
|
+
}>;
|
|
151
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
152
|
+
settings: z.ZodObject<{
|
|
153
|
+
comments: z.ZodBoolean;
|
|
154
|
+
reactions: z.ZodBoolean;
|
|
155
|
+
requireReview: z.ZodBoolean;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
158
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
159
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
160
|
+
orgId: z.ZodString;
|
|
161
|
+
id: z.ZodString;
|
|
162
|
+
spaceId: z.ZodString;
|
|
163
|
+
name: z.ZodString;
|
|
164
|
+
seq: z.ZodNumber;
|
|
165
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
166
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
167
|
+
}, z.core.$strict>>;
|
|
168
|
+
links: z.ZodArray<z.ZodObject<{
|
|
169
|
+
orgId: z.ZodString;
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
spaceId: z.ZodString;
|
|
172
|
+
contentId: z.ZodString;
|
|
173
|
+
seq: z.ZodNumber;
|
|
174
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
175
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
176
|
+
}, z.core.$strict>>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
declare const SpaceMember: z.ZodObject<{
|
|
179
|
+
orgId: z.ZodString;
|
|
180
|
+
id: z.ZodString;
|
|
181
|
+
communityId: z.ZodString;
|
|
182
|
+
spaceId: z.ZodString;
|
|
183
|
+
orgUserId: z.ZodString;
|
|
184
|
+
status: z.ZodEnum<{
|
|
185
|
+
active: "active";
|
|
186
|
+
invited: "invited";
|
|
187
|
+
requested: "requested";
|
|
188
|
+
revoked: "revoked";
|
|
189
|
+
}>;
|
|
190
|
+
source: z.ZodEnum<{
|
|
191
|
+
request: "request";
|
|
192
|
+
invite: "invite";
|
|
193
|
+
manual: "manual";
|
|
194
|
+
}>;
|
|
195
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
196
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
declare const SpaceMembersPage: z.ZodObject<{
|
|
199
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
200
|
+
orgId: z.ZodString;
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
communityId: z.ZodString;
|
|
203
|
+
spaceId: z.ZodString;
|
|
204
|
+
orgUserId: z.ZodString;
|
|
205
|
+
status: z.ZodEnum<{
|
|
206
|
+
active: "active";
|
|
207
|
+
invited: "invited";
|
|
208
|
+
requested: "requested";
|
|
209
|
+
revoked: "revoked";
|
|
210
|
+
}>;
|
|
211
|
+
source: z.ZodEnum<{
|
|
212
|
+
request: "request";
|
|
213
|
+
invite: "invite";
|
|
214
|
+
manual: "manual";
|
|
215
|
+
}>;
|
|
216
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
217
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
218
|
+
}, z.core.$strict>>;
|
|
219
|
+
total: z.ZodNumber;
|
|
220
|
+
page: z.ZodNumber;
|
|
221
|
+
pageSize: z.ZodNumber;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
declare const CreateSpace: z.ZodObject<{
|
|
224
|
+
name: z.ZodString;
|
|
225
|
+
description: z.ZodOptional<z.ZodString>;
|
|
226
|
+
accessRule: z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
all_members: "all_members";
|
|
228
|
+
by_request: "by_request";
|
|
229
|
+
by_invite: "by_invite";
|
|
230
|
+
}>>;
|
|
231
|
+
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
232
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
comments: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
reactions: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
+
requireReview: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
+
}, z.core.$strict>>;
|
|
237
|
+
}, z.core.$strict>;
|
|
238
|
+
declare const UpdateSpace: z.ZodObject<{
|
|
239
|
+
name: z.ZodOptional<z.ZodString>;
|
|
240
|
+
description: z.ZodOptional<z.ZodString>;
|
|
241
|
+
accessRule: z.ZodOptional<z.ZodEnum<{
|
|
242
|
+
all_members: "all_members";
|
|
243
|
+
by_request: "by_request";
|
|
244
|
+
by_invite: "by_invite";
|
|
245
|
+
}>>;
|
|
246
|
+
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
247
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
248
|
+
comments: z.ZodOptional<z.ZodBoolean>;
|
|
249
|
+
reactions: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
+
requireReview: z.ZodOptional<z.ZodBoolean>;
|
|
251
|
+
}, z.core.$strict>>;
|
|
252
|
+
}, z.core.$strict>;
|
|
253
|
+
declare const SetSpaceTopics: z.ZodObject<{
|
|
254
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodOptional<z.ZodString>;
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
}, z.core.$strict>>;
|
|
258
|
+
}, z.core.$strict>;
|
|
259
|
+
declare const OrderedIds: z.ZodObject<{
|
|
260
|
+
ids: z.ZodArray<z.ZodString>;
|
|
261
|
+
}, z.core.$strict>;
|
|
262
|
+
declare const SpaceLinkBody: z.ZodObject<{
|
|
263
|
+
contentId: z.ZodString;
|
|
264
|
+
}, z.core.$strict>;
|
|
265
|
+
declare const CommunityIdParam: z.ZodObject<{
|
|
266
|
+
communityId: z.ZodString;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
declare const CommunitySpaceParam: z.ZodObject<{
|
|
269
|
+
communityId: z.ZodString;
|
|
270
|
+
spaceId: z.ZodString;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
declare const SpaceIdParam: z.ZodObject<{
|
|
273
|
+
spaceId: z.ZodString;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
declare const SpaceLinkParam: z.ZodObject<{
|
|
276
|
+
communityId: z.ZodString;
|
|
277
|
+
spaceId: z.ZodString;
|
|
278
|
+
linkId: z.ZodString;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
declare const SpaceMemberParam: z.ZodObject<{
|
|
281
|
+
communityId: z.ZodString;
|
|
282
|
+
spaceId: z.ZodString;
|
|
283
|
+
orgUserId: z.ZodString;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
declare const CommunityPostParam: z.ZodObject<{
|
|
286
|
+
communityId: z.ZodString;
|
|
287
|
+
postId: z.ZodString;
|
|
288
|
+
}, z.core.$strip>;
|
|
289
|
+
declare const CommunityCommentParam: z.ZodObject<{
|
|
290
|
+
communityId: z.ZodString;
|
|
291
|
+
commentId: z.ZodString;
|
|
292
|
+
}, z.core.$strip>;
|
|
293
|
+
declare const CommunityMessageParam: z.ZodObject<{
|
|
294
|
+
communityId: z.ZodString;
|
|
295
|
+
messageId: z.ZodString;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
declare const CommunityChatParam: z.ZodObject<{
|
|
298
|
+
communityId: z.ZodString;
|
|
299
|
+
chatId: z.ZodString;
|
|
300
|
+
}, z.core.$strip>;
|
|
301
|
+
declare const CommunityMember: z.ZodObject<{
|
|
302
|
+
id: z.ZodString;
|
|
303
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
304
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
305
|
+
email: z.ZodString;
|
|
306
|
+
image: z.ZodNullable<z.ZodString>;
|
|
307
|
+
role: z.ZodEnum<{
|
|
308
|
+
owner: "owner";
|
|
309
|
+
admin: "admin";
|
|
310
|
+
instructor: "instructor";
|
|
311
|
+
moderator: "moderator";
|
|
312
|
+
student: "student";
|
|
313
|
+
}>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
declare const CommunityMembersQuery: z.ZodObject<{
|
|
316
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
317
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
318
|
+
search: z.ZodOptional<z.ZodString>;
|
|
319
|
+
}, z.core.$strict>;
|
|
320
|
+
declare const CommunityMembersPage: z.ZodObject<{
|
|
321
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
322
|
+
id: z.ZodString;
|
|
323
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
324
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
325
|
+
email: z.ZodString;
|
|
326
|
+
image: z.ZodNullable<z.ZodString>;
|
|
327
|
+
role: z.ZodEnum<{
|
|
328
|
+
owner: "owner";
|
|
329
|
+
admin: "admin";
|
|
330
|
+
instructor: "instructor";
|
|
331
|
+
moderator: "moderator";
|
|
332
|
+
student: "student";
|
|
333
|
+
}>;
|
|
334
|
+
}, z.core.$strip>>;
|
|
335
|
+
total: z.ZodNumber;
|
|
336
|
+
page: z.ZodNumber;
|
|
337
|
+
pageSize: z.ZodNumber;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
declare const DirectoryEntry: z.ZodObject<{
|
|
340
|
+
orgUserId: z.ZodString;
|
|
341
|
+
role: z.ZodString;
|
|
342
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
343
|
+
headline: z.ZodNullable<z.ZodString>;
|
|
344
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
345
|
+
imageAssetId: z.ZodNullable<z.ZodString>;
|
|
346
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
347
|
+
}, z.core.$strip>;
|
|
348
|
+
declare const DirectoryQuery: z.ZodObject<{
|
|
349
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
350
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
351
|
+
search: z.ZodOptional<z.ZodString>;
|
|
352
|
+
}, z.core.$strict>;
|
|
353
|
+
declare const DirectoryPage: z.ZodObject<{
|
|
354
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
355
|
+
orgUserId: z.ZodString;
|
|
356
|
+
role: z.ZodString;
|
|
357
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
358
|
+
headline: z.ZodNullable<z.ZodString>;
|
|
359
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
360
|
+
imageAssetId: z.ZodNullable<z.ZodString>;
|
|
361
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
362
|
+
}, z.core.$strip>>;
|
|
363
|
+
total: z.ZodNumber;
|
|
364
|
+
page: z.ZodNumber;
|
|
365
|
+
pageSize: z.ZodNumber;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
declare const LockedCommunitySpace: z.ZodObject<{
|
|
368
|
+
id: z.ZodString;
|
|
369
|
+
name: z.ZodString;
|
|
370
|
+
memberCount: z.ZodNumber;
|
|
371
|
+
accessRule: z.ZodEnum<{
|
|
372
|
+
all_members: "all_members";
|
|
373
|
+
by_request: "by_request";
|
|
374
|
+
by_invite: "by_invite";
|
|
375
|
+
}>;
|
|
376
|
+
standing: z.ZodEnum<{
|
|
377
|
+
invited: "invited";
|
|
378
|
+
member: "member";
|
|
379
|
+
open: "open";
|
|
380
|
+
requested: "requested";
|
|
381
|
+
full: "full";
|
|
382
|
+
none: "none";
|
|
383
|
+
}>;
|
|
384
|
+
locked: z.ZodLiteral<true>;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
declare const OpenCommunitySpace: z.ZodObject<{
|
|
387
|
+
id: z.ZodString;
|
|
388
|
+
name: z.ZodString;
|
|
389
|
+
memberCount: z.ZodNumber;
|
|
390
|
+
accessRule: z.ZodEnum<{
|
|
391
|
+
all_members: "all_members";
|
|
392
|
+
by_request: "by_request";
|
|
393
|
+
by_invite: "by_invite";
|
|
394
|
+
}>;
|
|
395
|
+
standing: z.ZodEnum<{
|
|
396
|
+
invited: "invited";
|
|
397
|
+
member: "member";
|
|
398
|
+
open: "open";
|
|
399
|
+
requested: "requested";
|
|
400
|
+
full: "full";
|
|
401
|
+
none: "none";
|
|
402
|
+
}>;
|
|
403
|
+
locked: z.ZodLiteral<false>;
|
|
404
|
+
description: z.ZodNullable<z.ZodString>;
|
|
405
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
406
|
+
settings: z.ZodObject<{
|
|
407
|
+
comments: z.ZodBoolean;
|
|
408
|
+
reactions: z.ZodBoolean;
|
|
409
|
+
requireReview: z.ZodBoolean;
|
|
410
|
+
}, z.core.$strip>;
|
|
411
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
412
|
+
id: z.ZodString;
|
|
413
|
+
name: z.ZodString;
|
|
414
|
+
}, z.core.$strip>>;
|
|
415
|
+
links: z.ZodArray<z.ZodObject<{
|
|
416
|
+
id: z.ZodString;
|
|
417
|
+
contentId: z.ZodString;
|
|
418
|
+
type: z.ZodEnum<{
|
|
419
|
+
community: "community";
|
|
420
|
+
course: "course";
|
|
421
|
+
download: "download";
|
|
422
|
+
}>;
|
|
423
|
+
title: z.ZodString;
|
|
424
|
+
}, z.core.$strip>>;
|
|
425
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
426
|
+
state: z.ZodEnum<{
|
|
427
|
+
following: "following";
|
|
428
|
+
muted: "muted";
|
|
429
|
+
}>;
|
|
430
|
+
mutedUntil: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
431
|
+
}, z.core.$strict>>;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
declare const CommunityHomeSpace: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
434
|
+
id: z.ZodString;
|
|
435
|
+
name: z.ZodString;
|
|
436
|
+
memberCount: z.ZodNumber;
|
|
437
|
+
accessRule: z.ZodEnum<{
|
|
438
|
+
all_members: "all_members";
|
|
439
|
+
by_request: "by_request";
|
|
440
|
+
by_invite: "by_invite";
|
|
441
|
+
}>;
|
|
442
|
+
standing: z.ZodEnum<{
|
|
443
|
+
invited: "invited";
|
|
444
|
+
member: "member";
|
|
445
|
+
open: "open";
|
|
446
|
+
requested: "requested";
|
|
447
|
+
full: "full";
|
|
448
|
+
none: "none";
|
|
449
|
+
}>;
|
|
450
|
+
locked: z.ZodLiteral<true>;
|
|
451
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
name: z.ZodString;
|
|
454
|
+
memberCount: z.ZodNumber;
|
|
455
|
+
accessRule: z.ZodEnum<{
|
|
456
|
+
all_members: "all_members";
|
|
457
|
+
by_request: "by_request";
|
|
458
|
+
by_invite: "by_invite";
|
|
459
|
+
}>;
|
|
460
|
+
standing: z.ZodEnum<{
|
|
461
|
+
invited: "invited";
|
|
462
|
+
member: "member";
|
|
463
|
+
open: "open";
|
|
464
|
+
requested: "requested";
|
|
465
|
+
full: "full";
|
|
466
|
+
none: "none";
|
|
467
|
+
}>;
|
|
468
|
+
locked: z.ZodLiteral<false>;
|
|
469
|
+
description: z.ZodNullable<z.ZodString>;
|
|
470
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
471
|
+
settings: z.ZodObject<{
|
|
472
|
+
comments: z.ZodBoolean;
|
|
473
|
+
reactions: z.ZodBoolean;
|
|
474
|
+
requireReview: z.ZodBoolean;
|
|
475
|
+
}, z.core.$strip>;
|
|
476
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
477
|
+
id: z.ZodString;
|
|
478
|
+
name: z.ZodString;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
links: z.ZodArray<z.ZodObject<{
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
contentId: z.ZodString;
|
|
483
|
+
type: z.ZodEnum<{
|
|
484
|
+
community: "community";
|
|
485
|
+
course: "course";
|
|
486
|
+
download: "download";
|
|
487
|
+
}>;
|
|
488
|
+
title: z.ZodString;
|
|
489
|
+
}, z.core.$strip>>;
|
|
490
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
491
|
+
state: z.ZodEnum<{
|
|
492
|
+
following: "following";
|
|
493
|
+
muted: "muted";
|
|
494
|
+
}>;
|
|
495
|
+
mutedUntil: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
496
|
+
}, z.core.$strict>>;
|
|
497
|
+
}, z.core.$strip>], "locked">;
|
|
498
|
+
declare const CommunityHome: z.ZodObject<{
|
|
499
|
+
communityId: z.ZodString;
|
|
500
|
+
title: z.ZodString;
|
|
501
|
+
description: z.ZodString;
|
|
502
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
503
|
+
dm: z.ZodObject<{
|
|
504
|
+
enabled: z.ZodBoolean;
|
|
505
|
+
memberToMember: z.ZodBoolean;
|
|
506
|
+
memberToStaff: z.ZodBoolean;
|
|
507
|
+
staffToAnyone: z.ZodBoolean;
|
|
508
|
+
firstMessageIsRequest: z.ZodBoolean;
|
|
509
|
+
groupChats: z.ZodBoolean;
|
|
510
|
+
groupSize: z.ZodNumber;
|
|
511
|
+
}, z.core.$strict>;
|
|
512
|
+
spaces: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
513
|
+
id: z.ZodString;
|
|
514
|
+
name: z.ZodString;
|
|
515
|
+
memberCount: z.ZodNumber;
|
|
516
|
+
accessRule: z.ZodEnum<{
|
|
517
|
+
all_members: "all_members";
|
|
518
|
+
by_request: "by_request";
|
|
519
|
+
by_invite: "by_invite";
|
|
520
|
+
}>;
|
|
521
|
+
standing: z.ZodEnum<{
|
|
522
|
+
invited: "invited";
|
|
523
|
+
member: "member";
|
|
524
|
+
open: "open";
|
|
525
|
+
requested: "requested";
|
|
526
|
+
full: "full";
|
|
527
|
+
none: "none";
|
|
528
|
+
}>;
|
|
529
|
+
locked: z.ZodLiteral<true>;
|
|
530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
name: z.ZodString;
|
|
533
|
+
memberCount: z.ZodNumber;
|
|
534
|
+
accessRule: z.ZodEnum<{
|
|
535
|
+
all_members: "all_members";
|
|
536
|
+
by_request: "by_request";
|
|
537
|
+
by_invite: "by_invite";
|
|
538
|
+
}>;
|
|
539
|
+
standing: z.ZodEnum<{
|
|
540
|
+
invited: "invited";
|
|
541
|
+
member: "member";
|
|
542
|
+
open: "open";
|
|
543
|
+
requested: "requested";
|
|
544
|
+
full: "full";
|
|
545
|
+
none: "none";
|
|
546
|
+
}>;
|
|
547
|
+
locked: z.ZodLiteral<false>;
|
|
548
|
+
description: z.ZodNullable<z.ZodString>;
|
|
549
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
550
|
+
settings: z.ZodObject<{
|
|
551
|
+
comments: z.ZodBoolean;
|
|
552
|
+
reactions: z.ZodBoolean;
|
|
553
|
+
requireReview: z.ZodBoolean;
|
|
554
|
+
}, z.core.$strip>;
|
|
555
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
name: z.ZodString;
|
|
558
|
+
}, z.core.$strip>>;
|
|
559
|
+
links: z.ZodArray<z.ZodObject<{
|
|
560
|
+
id: z.ZodString;
|
|
561
|
+
contentId: z.ZodString;
|
|
562
|
+
type: z.ZodEnum<{
|
|
563
|
+
community: "community";
|
|
564
|
+
course: "course";
|
|
565
|
+
download: "download";
|
|
566
|
+
}>;
|
|
567
|
+
title: z.ZodString;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
570
|
+
state: z.ZodEnum<{
|
|
571
|
+
following: "following";
|
|
572
|
+
muted: "muted";
|
|
573
|
+
}>;
|
|
574
|
+
mutedUntil: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
575
|
+
}, z.core.$strict>>;
|
|
576
|
+
}, z.core.$strip>], "locked">>;
|
|
577
|
+
}, z.core.$strip>;
|
|
578
|
+
declare const CommunityAnalytics: z.ZodObject<{
|
|
579
|
+
memberCount: z.ZodNumber;
|
|
580
|
+
activeMembers: z.ZodNumber;
|
|
581
|
+
postsPerSpace: z.ZodArray<z.ZodObject<{
|
|
582
|
+
spaceId: z.ZodString;
|
|
583
|
+
count: z.ZodNumber;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
commentsPerPost: z.ZodArray<z.ZodObject<{
|
|
586
|
+
postId: z.ZodString;
|
|
587
|
+
count: z.ZodNumber;
|
|
588
|
+
}, z.core.$strip>>;
|
|
589
|
+
messagesSent: z.ZodNumber;
|
|
590
|
+
flagsRaised: z.ZodNumber;
|
|
591
|
+
flagsResolved: z.ZodNumber;
|
|
592
|
+
grantsLapsed: z.ZodNumber;
|
|
593
|
+
grantsRenewed: z.ZodNumber;
|
|
594
|
+
}, z.core.$strip>;
|
|
595
|
+
//#endregion
|
|
596
|
+
export { CommunitiesPage, CommunitiesQuery, Community, CommunityAnalytics, CommunityChatParam, CommunityCommentParam, CommunityHome, CommunityHomeSpace, CommunityIdParam, CommunityMember, CommunityMembersPage, CommunityMembersQuery, CommunityMessageParam, CommunityPostParam, CommunitySpaceParam, CreateCommunity, CreateSpace, DirectoryEntry, DirectoryPage, DirectoryQuery, DmSettings, LockedCommunitySpace, OpenCommunitySpace, OrderedIds, PatchCommunitySettings, PatchDmSettings, SetSpaceTopics, SpaceDetail, SpaceIdParam, SpaceLinkBody, SpaceLinkParam, SpaceMember, SpaceMemberParam, SpaceMembersPage, UpdateCommunity, UpdateSpace };
|
|
597
|
+
//# sourceMappingURL=community.d.ts.map
|