@openrails/contentkit-ui 0.83.0 → 0.86.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/README.md +18 -7
- package/dist/client/beacons.d.ts +18 -6
- package/dist/client/beacons.js +26 -11
- package/dist/client/beacons.js.map +1 -1
- package/dist/client/client.d.ts +3 -0
- package/dist/client/client.js +29 -27
- package/dist/client/client.js.map +1 -1
- package/dist/client/codes.d.ts +6 -1
- package/dist/client/codes.js +4 -1
- package/dist/client/codes.js.map +1 -1
- package/dist/client/content/moderation.d.ts +14 -2
- package/dist/client/content/moderation.js +34 -0
- package/dist/client/content/moderation.js.map +1 -1
- package/dist/client/content/types.d.ts +13 -0
- package/dist/client/content/types.js.map +1 -1
- package/dist/client/discovery.d.ts +6 -0
- package/dist/client/discovery.js.map +1 -1
- package/dist/client/generated/error-codes.d.ts +1 -1
- package/dist/client/generated/error-codes.js +9 -1
- package/dist/client/generated/error-codes.js.map +1 -1
- package/dist/client/generated/routes.d.ts +91 -13
- package/dist/client/generated/routes.js +123 -2
- package/dist/client/generated/routes.js.map +1 -1
- package/dist/client/generated/wire.d.ts +81 -0
- package/dist/client/generated/wire.js.map +1 -1
- package/dist/client/index.d.ts +4 -2
- package/dist/client/media/queue.d.ts +4 -2
- package/dist/client/media/queue.js +18 -12
- package/dist/client/media/queue.js.map +1 -1
- package/dist/client/media/rules.d.ts +7 -1
- package/dist/client/media/rules.js +27 -21
- package/dist/client/media/rules.js.map +1 -1
- package/dist/client/reader-meta.d.ts +27 -0
- package/dist/client/reader-meta.js +99 -0
- package/dist/client/reader-meta.js.map +1 -0
- package/dist/client/stats.d.ts +32 -0
- package/dist/client/stats.js +35 -0
- package/dist/client/stats.js.map +1 -0
- package/dist/client/versions.d.ts +1 -1
- package/dist/client/versions.js +7 -2
- package/dist/client/versions.js.map +1 -1
- package/dist/client.js +30 -28
- package/dist/components/admin/content-manager.js +206 -206
- package/dist/components/admin/content-manager.js.map +1 -1
- package/dist/components/admin/group-manager.js +71 -70
- package/dist/components/admin/group-manager.js.map +1 -1
- package/dist/components/admin/media-item-panel.d.ts +24 -7
- package/dist/components/admin/media-item-panel.js +209 -197
- package/dist/components/admin/media-item-panel.js.map +1 -1
- package/dist/components/admin/poll-manager.js +25 -25
- package/dist/components/admin/reader-manifest.d.ts +18 -0
- package/dist/components/admin/reader-manifest.js +490 -0
- package/dist/components/admin/reader-manifest.js.map +1 -0
- package/dist/components/admin/stats-dashboard.d.ts +22 -0
- package/dist/components/admin/stats-dashboard.js +257 -0
- package/dist/components/admin/stats-dashboard.js.map +1 -0
- package/dist/components/content/card.js +43 -43
- package/dist/components/content/card.js.map +1 -1
- package/dist/components/content/editors.d.ts +2 -1
- package/dist/components/content/editors.js +479 -416
- package/dist/components/content/editors.js.map +1 -1
- package/dist/components/content/grid.js +47 -47
- package/dist/components/content/index.d.ts +2 -1
- package/dist/components/content/listing.js +34 -34
- package/dist/components/content/listing.js.map +1 -1
- package/dist/components/content/paywall.d.ts +17 -5
- package/dist/components/content/paywall.js +115 -100
- package/dist/components/content/paywall.js.map +1 -1
- package/dist/components/content/reader-stats.d.ts +12 -0
- package/dist/components/content/reader-stats.js +47 -0
- package/dist/components/content/reader-stats.js.map +1 -0
- package/dist/components/groups/banner.d.ts +1 -1
- package/dist/components/groups/banner.js +34 -34
- package/dist/components/groups/banner.js.map +1 -1
- package/dist/components/groups/directory.js +11 -11
- package/dist/components/groups/editor.js +294 -294
- package/dist/components/groups/editor.js.map +1 -1
- package/dist/components/groups/header.js +27 -27
- package/dist/components/groups/header.js.map +1 -1
- package/dist/components/groups/memberships.js +180 -180
- package/dist/components/groups/parts.d.ts +2 -4
- package/dist/components/groups/parts.js +69 -88
- package/dist/components/groups/parts.js.map +1 -1
- package/dist/components/media-folder-editor.js +239 -189
- package/dist/components/media-folder-editor.js.map +1 -1
- package/dist/components/notifications.js +17 -17
- package/dist/components/slot-upload.d.ts +2 -2
- package/dist/components/slot-upload.js +84 -79
- package/dist/components/slot-upload.js.map +1 -1
- package/dist/components/social/bans.js +34 -34
- package/dist/components/social/comments.js +59 -45
- package/dist/components/social/comments.js.map +1 -1
- package/dist/components/social/index.d.ts +1 -0
- package/dist/components/social/moderation.d.ts +5 -4
- package/dist/components/social/moderation.js +177 -160
- package/dist/components/social/moderation.js.map +1 -1
- package/dist/components/social/parts.js +22 -14
- package/dist/components/social/parts.js.map +1 -1
- package/dist/components/social/rules.d.ts +23 -0
- package/dist/components/social/rules.js +261 -0
- package/dist/components/social/rules.js.map +1 -0
- package/dist/components/video-player.d.ts +2 -0
- package/dist/components/video-player.js +318 -314
- package/dist/components/video-player.js.map +1 -1
- package/dist/i18n/context.d.ts +2 -0
- package/dist/i18n/context.js +23 -5
- package/dist/i18n/context.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +28 -24
- package/dist/locales/admin/de.js +105 -0
- package/dist/locales/admin/de.js.map +1 -1
- package/dist/locales/admin/en.d.ts +105 -0
- package/dist/locales/admin/en.js +105 -0
- package/dist/locales/admin/en.js.map +1 -1
- package/dist/locales/admin/es.js +105 -0
- package/dist/locales/admin/es.js.map +1 -1
- package/dist/locales/admin/ja.js +105 -0
- package/dist/locales/admin/ja.js.map +1 -1
- package/dist/locales/admin/ko.js +105 -0
- package/dist/locales/admin/ko.js.map +1 -1
- package/dist/locales/admin/zh.js +105 -0
- package/dist/locales/admin/zh.js.map +1 -1
- package/dist/locales/content/de.js +6 -0
- package/dist/locales/content/de.js.map +1 -1
- package/dist/locales/content/en.d.ts +6 -0
- package/dist/locales/content/en.js +6 -0
- package/dist/locales/content/en.js.map +1 -1
- package/dist/locales/content/es.js +6 -0
- package/dist/locales/content/es.js.map +1 -1
- package/dist/locales/content/ja.js +6 -0
- package/dist/locales/content/ja.js.map +1 -1
- package/dist/locales/content/ko.js +6 -0
- package/dist/locales/content/ko.js.map +1 -1
- package/dist/locales/content/zh.js +6 -0
- package/dist/locales/content/zh.js.map +1 -1
- package/dist/locales/de.js +4 -1
- package/dist/locales/de.js.map +1 -1
- package/dist/locales/discovery/de.js +1 -0
- package/dist/locales/discovery/de.js.map +1 -1
- package/dist/locales/discovery/en.d.ts +1 -0
- package/dist/locales/discovery/en.js +1 -0
- package/dist/locales/discovery/en.js.map +1 -1
- package/dist/locales/discovery/es.js +1 -0
- package/dist/locales/discovery/es.js.map +1 -1
- package/dist/locales/discovery/ja.js +1 -0
- package/dist/locales/discovery/ja.js.map +1 -1
- package/dist/locales/discovery/ko.js +1 -0
- package/dist/locales/discovery/ko.js.map +1 -1
- package/dist/locales/discovery/zh.js +1 -0
- package/dist/locales/discovery/zh.js.map +1 -1
- package/dist/locales/en.d.ts +118 -0
- package/dist/locales/en.js +4 -1
- package/dist/locales/en.js.map +1 -1
- package/dist/locales/es.js +4 -1
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/ja.js +4 -1
- package/dist/locales/ja.js.map +1 -1
- package/dist/locales/ko.js +4 -1
- package/dist/locales/ko.js.map +1 -1
- package/dist/locales/social/de.js +3 -0
- package/dist/locales/social/de.js.map +1 -1
- package/dist/locales/social/en.d.ts +3 -0
- package/dist/locales/social/en.js +3 -0
- package/dist/locales/social/en.js.map +1 -1
- package/dist/locales/social/es.js +3 -0
- package/dist/locales/social/es.js.map +1 -1
- package/dist/locales/social/ja.js +3 -0
- package/dist/locales/social/ja.js.map +1 -1
- package/dist/locales/social/ko.js +3 -0
- package/dist/locales/social/ko.js.map +1 -1
- package/dist/locales/social/zh.js +3 -0
- package/dist/locales/social/zh.js.map +1 -1
- package/dist/locales/zh.js +4 -1
- package/dist/locales/zh.js.map +1 -1
- package/dist/react/admin.d.ts +1 -1
- package/dist/react/admin.js +24 -23
- package/dist/react/admin.js.map +1 -1
- package/dist/react/canonical.d.ts +4 -3
- package/dist/react/canonical.js +34 -33
- package/dist/react/canonical.js.map +1 -1
- package/dist/react/comments.d.ts +29 -1
- package/dist/react/comments.js +30 -2
- package/dist/react/comments.js.map +1 -1
- package/dist/react/contents.js +144 -144
- package/dist/react/contents.js.map +1 -1
- package/dist/react/context.d.ts +1 -1
- package/dist/react/context.js.map +1 -1
- package/dist/react/detail.d.ts +12 -6
- package/dist/react/detail.js +31 -24
- package/dist/react/detail.js.map +1 -1
- package/dist/react/discovery.js +1 -1
- package/dist/react/discovery.js.map +1 -1
- package/dist/react/folder.d.ts +7 -2
- package/dist/react/folder.js +165 -147
- package/dist/react/folder.js.map +1 -1
- package/dist/react/groups.d.ts +0 -1
- package/dist/react/groups.js +13 -12
- package/dist/react/groups.js.map +1 -1
- package/dist/react/index.d.ts +5 -3
- package/dist/react/location.d.ts +11 -0
- package/dist/react/location.js +18 -0
- package/dist/react/location.js.map +1 -0
- package/dist/react/public.d.ts +8 -0
- package/dist/react/public.js +32 -27
- package/dist/react/public.js.map +1 -1
- package/dist/react/resources.js +6 -0
- package/dist/react/resources.js.map +1 -1
- package/dist/react/stats.d.ts +24 -0
- package/dist/react/stats.js +28 -0
- package/dist/react/stats.js.map +1 -0
- package/dist/react/use-resource.js +8 -7
- package/dist/react/use-resource.js.map +1 -1
- package/dist/react/versions.js +20 -20
- package/dist/react.js +26 -24
- package/dist/styles.css +1 -1
- package/dist/urls/index.d.ts +35 -10
- package/dist/urls.js +100 -70
- package/dist/urls.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,6 +28,10 @@ var e = {
|
|
|
28
28
|
status: 403,
|
|
29
29
|
meaning: "The target's comments are closed or hidden: existing ones may show, new ones and edits are refused."
|
|
30
30
|
},
|
|
31
|
+
comments_locked: {
|
|
32
|
+
status: 403,
|
|
33
|
+
meaning: "The actor can't open the content (or the comment's version), so its comments take no writes from them; reads withhold them."
|
|
34
|
+
},
|
|
31
35
|
conflict: {
|
|
32
36
|
status: 409,
|
|
33
37
|
meaning: "A concurrent change, a path or slug already taken, or an operation id already used for another commit."
|
|
@@ -80,6 +84,10 @@ var e = {
|
|
|
80
84
|
status: 404,
|
|
81
85
|
meaning: "Nothing by that name, or nothing the actor may see."
|
|
82
86
|
},
|
|
87
|
+
not_joinable: {
|
|
88
|
+
status: 409,
|
|
89
|
+
meaning: "The group has no free offer to join: it sells its membership, or nothing."
|
|
90
|
+
},
|
|
83
91
|
not_uploaded: {
|
|
84
92
|
status: 409,
|
|
85
93
|
meaning: "A commit names an upload that has not landed; `blobs` lists the ones to upload again."
|
|
@@ -114,7 +122,7 @@ var e = {
|
|
|
114
122
|
},
|
|
115
123
|
unavailable: {
|
|
116
124
|
status: 503,
|
|
117
|
-
meaning: "The host's auth
|
|
125
|
+
meaning: "The host's auth, media storage or signal plane cannot be reached, or a commit's recovery is pending; retry."
|
|
118
126
|
},
|
|
119
127
|
upgrade_required: {
|
|
120
128
|
status: 503,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-codes.js","names":[],"sources":["../../../src/client/generated/error-codes.ts"],"sourcesContent":["// Generated by `go generate ./internal/contract` from ContentKit's error-code registry. Do not edit.\n\nexport type ErrorCode =\n | \"animation_not_allowed\"\n | \"animation_too_long\"\n | \"animation_unsupported\"\n | \"checksum_mismatch\"\n | \"comment_banned\"\n | \"comment_too_long\"\n | \"comments_closed\"\n | \"conflict\"\n | \"forbidden\"\n | \"gone\"\n | \"image_too_large\"\n | \"image_too_small\"\n | \"image_unreadable\"\n | \"incomplete\"\n | \"internal_error\"\n | \"invalid_request\"\n | \"limit_reached\"\n | \"moderation_rejected\"\n | \"not_configured\"\n | \"not_found\"\n | \"not_uploaded\"\n | \"quota_exceeded\"\n | \"rate_limited\"\n | \"tenant_mismatch\"\n | \"too_large\"\n | \"too_many_files\"\n | \"type_not_allowed\"\n | \"unauthorized\"\n | \"unavailable\"\n | \"upgrade_required\"\n | \"video_aspect_unsupported\"\n | \"video_over_budget\"\n | \"video_too_large\"\n | \"video_too_long\"\n;\n\n// Each code's HTTP status and meaning. A message on the wire is for people;\n// classify by code.\nexport const CONTENTKIT_ERROR_CODES: Readonly<Record<ErrorCode, { status: number; meaning: string }>> = {\n animation_not_allowed: { status: 422, meaning: \"An animated image where the upload path refuses animation.\" },\n animation_too_long: { status: 422, meaning: \"The animation has more frames or seconds than the processor allows.\" },\n animation_unsupported: { status: 415, meaning: \"An AVIF or HEIF image sequence, which is decoded as one frame.\" },\n checksum_mismatch: { status: 422, meaning: \"The stored bytes differ from the declared SHA-256.\" },\n comment_banned: { status: 403, meaning: \"The actor is banned from commenting on this target; `ban` says the scope, the reason and when it ends.\" },\n comment_too_long: { status: 422, meaning: \"The comment is longer than the site allows; `details.max` is the limit in characters.\" },\n comments_closed: { status: 403, meaning: \"The target's comments are closed or hidden: existing ones may show, new ones and edits are refused.\" },\n conflict: { status: 409, meaning: \"A concurrent change, a path or slug already taken, or an operation id already used for another commit.\" },\n forbidden: { status: 403, meaning: \"The actor may not do this.\" },\n gone: { status: 410, meaning: \"The content was removed.\" },\n image_too_large: { status: 413, meaning: \"The image has more pixels or frames than the processor decodes.\" },\n image_too_small: { status: 422, meaning: \"The edited image is narrower than its public preset's minimum width.\" },\n image_unreadable: { status: 422, meaning: \"The file is not a decodable image of its declared type.\" },\n incomplete: { status: 409, meaning: \"A multipart upload is missing parts.\" },\n internal_error: { status: 500, meaning: \"A server fault; the cause is in the server log.\" },\n invalid_request: { status: 400, meaning: \"The request is malformed: its body, a query parameter or a path value.\" },\n limit_reached: { status: 409, meaning: \"The owner already has as many groups of the kind as the site allows (max_per_owner).\" },\n moderation_rejected: { status: 422, meaning: \"The moderator refused the text; `error` says why.\" },\n not_configured: { status: 501, meaning: \"The capability needs a port the host did not configure; retrying does not help.\" },\n not_found: { status: 404, meaning: \"Nothing by that name, or nothing the actor may see.\" },\n not_uploaded: { status: 409, meaning: \"A commit names an upload that has not landed; `blobs` lists the ones to upload again.\" },\n quota_exceeded: { status: 413, meaning: \"The uploader's storage quota is used up.\" },\n rate_limited: { status: 429, meaning: \"Too many requests; retry after `retry_after` seconds (also the Retry-After header).\" },\n tenant_mismatch: { status: 500, meaning: \"A host port answered with another tenant's data: a configuration fault.\" },\n too_large: { status: 413, meaning: \"The file is larger than its upload path allows; `details` has `size` and `max_bytes`.\" },\n too_many_files: { status: 409, meaning: \"The commit would put more files in an upload path, or the item, than allowed; `details.max` is the limit.\" },\n type_not_allowed: { status: 415, meaning: \"The file type is not allowed in the upload path; `details.allowed` lists the types.\" },\n unauthorized: { status: 401, meaning: \"The request needs a valid credential: it has none where the route needs one, or one that is expired, revoked or invalid. WWW-Authenticate says which.\" },\n unavailable: { status: 503, meaning: \"The host's auth
|
|
1
|
+
{"version":3,"file":"error-codes.js","names":[],"sources":["../../../src/client/generated/error-codes.ts"],"sourcesContent":["// Generated by `go generate ./internal/contract` from ContentKit's error-code registry. Do not edit.\n\nexport type ErrorCode =\n | \"animation_not_allowed\"\n | \"animation_too_long\"\n | \"animation_unsupported\"\n | \"checksum_mismatch\"\n | \"comment_banned\"\n | \"comment_too_long\"\n | \"comments_closed\"\n | \"comments_locked\"\n | \"conflict\"\n | \"forbidden\"\n | \"gone\"\n | \"image_too_large\"\n | \"image_too_small\"\n | \"image_unreadable\"\n | \"incomplete\"\n | \"internal_error\"\n | \"invalid_request\"\n | \"limit_reached\"\n | \"moderation_rejected\"\n | \"not_configured\"\n | \"not_found\"\n | \"not_joinable\"\n | \"not_uploaded\"\n | \"quota_exceeded\"\n | \"rate_limited\"\n | \"tenant_mismatch\"\n | \"too_large\"\n | \"too_many_files\"\n | \"type_not_allowed\"\n | \"unauthorized\"\n | \"unavailable\"\n | \"upgrade_required\"\n | \"video_aspect_unsupported\"\n | \"video_over_budget\"\n | \"video_too_large\"\n | \"video_too_long\"\n;\n\n// Each code's HTTP status and meaning. A message on the wire is for people;\n// classify by code.\nexport const CONTENTKIT_ERROR_CODES: Readonly<Record<ErrorCode, { status: number; meaning: string }>> = {\n animation_not_allowed: { status: 422, meaning: \"An animated image where the upload path refuses animation.\" },\n animation_too_long: { status: 422, meaning: \"The animation has more frames or seconds than the processor allows.\" },\n animation_unsupported: { status: 415, meaning: \"An AVIF or HEIF image sequence, which is decoded as one frame.\" },\n checksum_mismatch: { status: 422, meaning: \"The stored bytes differ from the declared SHA-256.\" },\n comment_banned: { status: 403, meaning: \"The actor is banned from commenting on this target; `ban` says the scope, the reason and when it ends.\" },\n comment_too_long: { status: 422, meaning: \"The comment is longer than the site allows; `details.max` is the limit in characters.\" },\n comments_closed: { status: 403, meaning: \"The target's comments are closed or hidden: existing ones may show, new ones and edits are refused.\" },\n comments_locked: { status: 403, meaning: \"The actor can't open the content (or the comment's version), so its comments take no writes from them; reads withhold them.\" },\n conflict: { status: 409, meaning: \"A concurrent change, a path or slug already taken, or an operation id already used for another commit.\" },\n forbidden: { status: 403, meaning: \"The actor may not do this.\" },\n gone: { status: 410, meaning: \"The content was removed.\" },\n image_too_large: { status: 413, meaning: \"The image has more pixels or frames than the processor decodes.\" },\n image_too_small: { status: 422, meaning: \"The edited image is narrower than its public preset's minimum width.\" },\n image_unreadable: { status: 422, meaning: \"The file is not a decodable image of its declared type.\" },\n incomplete: { status: 409, meaning: \"A multipart upload is missing parts.\" },\n internal_error: { status: 500, meaning: \"A server fault; the cause is in the server log.\" },\n invalid_request: { status: 400, meaning: \"The request is malformed: its body, a query parameter or a path value.\" },\n limit_reached: { status: 409, meaning: \"The owner already has as many groups of the kind as the site allows (max_per_owner).\" },\n moderation_rejected: { status: 422, meaning: \"The moderator refused the text; `error` says why.\" },\n not_configured: { status: 501, meaning: \"The capability needs a port the host did not configure; retrying does not help.\" },\n not_found: { status: 404, meaning: \"Nothing by that name, or nothing the actor may see.\" },\n not_joinable: { status: 409, meaning: \"The group has no free offer to join: it sells its membership, or nothing.\" },\n not_uploaded: { status: 409, meaning: \"A commit names an upload that has not landed; `blobs` lists the ones to upload again.\" },\n quota_exceeded: { status: 413, meaning: \"The uploader's storage quota is used up.\" },\n rate_limited: { status: 429, meaning: \"Too many requests; retry after `retry_after` seconds (also the Retry-After header).\" },\n tenant_mismatch: { status: 500, meaning: \"A host port answered with another tenant's data: a configuration fault.\" },\n too_large: { status: 413, meaning: \"The file is larger than its upload path allows; `details` has `size` and `max_bytes`.\" },\n too_many_files: { status: 409, meaning: \"The commit would put more files in an upload path, or the item, than allowed; `details.max` is the limit.\" },\n type_not_allowed: { status: 415, meaning: \"The file type is not allowed in the upload path; `details.allowed` lists the types.\" },\n unauthorized: { status: 401, meaning: \"The request needs a valid credential: it has none where the route needs one, or one that is expired, revoked or invalid. WWW-Authenticate says which.\" },\n unavailable: { status: 503, meaning: \"The host's auth, media storage or signal plane cannot be reached, or a commit's recovery is pending; retry.\" },\n upgrade_required: { status: 503, meaning: \"The media item was stored before v0.68 and is served once the host's media upgrade (contentkit_media_upgrade) has converted it.\" },\n video_aspect_unsupported: { status: 422, meaning: \"The video's display aspect is outside what its upload path accepts; `details` has `min_aspect` and `max_aspect` (width/height).\" },\n video_over_budget: { status: 422, meaning: \"The planned encode costs more than its upload path allows, or the source averages under a frame a second.\" },\n video_too_large: { status: 422, meaning: \"The video's frames are larger than its upload path allows.\" },\n video_too_long: { status: 422, meaning: \"The video or audio runs longer than its upload path allows.\" },\n};\n"],"mappings":";AA2CA,IAAa,IAA2F;CACtG,uBAAuB;EAAE,QAAQ;EAAK,SAAS;CAA6D;CAC5G,oBAAoB;EAAE,QAAQ;EAAK,SAAS;CAAsE;CAClH,uBAAuB;EAAE,QAAQ;EAAK,SAAS;CAAiE;CAChH,mBAAmB;EAAE,QAAQ;EAAK,SAAS;CAAqD;CAChG,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAyG;CACjJ,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAClI,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAsG;CAC/I,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA8H;CACvK,UAAU;EAAE,QAAQ;EAAK,SAAS;CAAyG;CAC3I,WAAW;EAAE,QAAQ;EAAK,SAAS;CAA6B;CAChE,MAAM;EAAE,QAAQ;EAAK,SAAS;CAA2B;CACzD,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAkE;CAC3G,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAuE;CAChH,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAA0D;CACpG,YAAY;EAAE,QAAQ;EAAK,SAAS;CAAuC;CAC3E,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAkD;CAC1F,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAAyE;CAClH,eAAe;EAAE,QAAQ;EAAK,SAAS;CAAuF;CAC9H,qBAAqB;EAAE,QAAQ;EAAK,SAAS;CAAoD;CACjG,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAAkF;CAC1H,WAAW;EAAE,QAAQ;EAAK,SAAS;CAAsD;CACzF,cAAc;EAAE,QAAQ;EAAK,SAAS;CAA4E;CAClH,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAC9H,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA2C;CACnF,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAsF;CAC5H,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA0E;CACnH,WAAW;EAAE,QAAQ;EAAK,SAAS;CAAwF;CAC3H,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA4G;CACpJ,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAsF;CAChI,cAAc;EAAE,QAAQ;EAAK,SAAS;CAAwJ;CAC9L,aAAa;EAAE,QAAQ;EAAK,SAAS;CAA8G;CACnJ,kBAAkB;EAAE,QAAQ;EAAK,SAAS;CAAkI;CAC5K,0BAA0B;EAAE,QAAQ;EAAK,SAAS;CAAkI;CACpL,mBAAmB;EAAE,QAAQ;EAAK,SAAS;CAA4G;CACvJ,iBAAiB;EAAE,QAAQ;EAAK,SAAS;CAA6D;CACtG,gBAAgB;EAAE,QAAQ;EAAK,SAAS;CAA8D;AACxG"}
|
|
@@ -63,7 +63,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
63
63
|
readonly 201: "Comment";
|
|
64
64
|
readonly 202: "Comment";
|
|
65
65
|
};
|
|
66
|
-
readonly errors: readonly ["comment_banned", "comment_too_long", "comments_closed", "forbidden", "moderation_rejected", "not_found", "rate_limited", "unauthorized"];
|
|
66
|
+
readonly errors: readonly ["comment_banned", "comment_too_long", "comments_closed", "comments_locked", "forbidden", "moderation_rejected", "not_found", "rate_limited", "unauthorized"];
|
|
67
67
|
readonly errorSets: readonly ["module:content", "auth", "request"];
|
|
68
68
|
}, {
|
|
69
69
|
readonly method: "GET";
|
|
@@ -90,7 +90,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
90
90
|
readonly 201: "Comment";
|
|
91
91
|
readonly 202: "Comment";
|
|
92
92
|
};
|
|
93
|
-
readonly errors: readonly ["comment_banned", "comment_too_long", "comments_closed", "forbidden", "moderation_rejected", "not_found", "rate_limited", "unauthorized"];
|
|
93
|
+
readonly errors: readonly ["comment_banned", "comment_too_long", "comments_closed", "comments_locked", "forbidden", "moderation_rejected", "not_found", "rate_limited", "unauthorized"];
|
|
94
94
|
readonly errorSets: readonly ["module:content", "auth", "request"];
|
|
95
95
|
}, {
|
|
96
96
|
readonly method: "GET";
|
|
@@ -156,7 +156,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
156
156
|
readonly 200: "Comment";
|
|
157
157
|
readonly 202: "Comment";
|
|
158
158
|
};
|
|
159
|
-
readonly errors: readonly ["comment_banned", "comment_too_long", "comments_closed", "conflict", "forbidden", "moderation_rejected", "not_found"];
|
|
159
|
+
readonly errors: readonly ["comment_banned", "comment_too_long", "comments_closed", "comments_locked", "conflict", "forbidden", "moderation_rejected", "not_found"];
|
|
160
160
|
readonly errorSets: readonly ["module:content", "auth", "request"];
|
|
161
161
|
}, {
|
|
162
162
|
readonly method: "DELETE";
|
|
@@ -182,7 +182,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
182
182
|
readonly responses: {
|
|
183
183
|
readonly 200: "ReactionCounts";
|
|
184
184
|
};
|
|
185
|
-
readonly errors: readonly ["forbidden", "invalid_request", "not_found", "rate_limited", "unauthorized"];
|
|
185
|
+
readonly errors: readonly ["comments_locked", "forbidden", "invalid_request", "not_found", "rate_limited", "unauthorized"];
|
|
186
186
|
readonly errorSets: readonly ["module:content", "auth", "request"];
|
|
187
187
|
}, {
|
|
188
188
|
readonly method: "POST";
|
|
@@ -195,7 +195,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
195
195
|
readonly responses: {
|
|
196
196
|
readonly 200: "ReactionCounts";
|
|
197
197
|
};
|
|
198
|
-
readonly errors: readonly ["forbidden", "invalid_request", "not_found", "rate_limited", "unauthorized"];
|
|
198
|
+
readonly errors: readonly ["comments_locked", "forbidden", "invalid_request", "not_found", "rate_limited", "unauthorized"];
|
|
199
199
|
readonly errorSets: readonly ["module:content", "auth", "request"];
|
|
200
200
|
}, {
|
|
201
201
|
readonly method: "DELETE";
|
|
@@ -208,7 +208,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
208
208
|
readonly responses: {
|
|
209
209
|
readonly 200: "ReactionCounts";
|
|
210
210
|
};
|
|
211
|
-
readonly errors: readonly ["forbidden", "invalid_request", "not_found", "rate_limited", "unauthorized"];
|
|
211
|
+
readonly errors: readonly ["comments_locked", "forbidden", "invalid_request", "not_found", "rate_limited", "unauthorized"];
|
|
212
212
|
readonly errorSets: readonly ["module:content", "auth", "request"];
|
|
213
213
|
}, {
|
|
214
214
|
readonly method: "POST";
|
|
@@ -1284,7 +1284,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1284
1284
|
readonly path: "/{code}";
|
|
1285
1285
|
readonly auth: "open";
|
|
1286
1286
|
readonly permission: null;
|
|
1287
|
-
readonly query: readonly ["lang"];
|
|
1287
|
+
readonly query: readonly ["lang", "v"];
|
|
1288
1288
|
readonly request: null;
|
|
1289
1289
|
readonly responses: {
|
|
1290
1290
|
readonly 200: "Resolved";
|
|
@@ -1759,7 +1759,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1759
1759
|
readonly responses: {
|
|
1760
1760
|
readonly 200: "GroupJoin";
|
|
1761
1761
|
};
|
|
1762
|
-
readonly errors: readonly ["not_found", "
|
|
1762
|
+
readonly errors: readonly ["not_found", "not_joinable"];
|
|
1763
1763
|
readonly errorSets: readonly ["module:offers", "auth", "request"];
|
|
1764
1764
|
}, {
|
|
1765
1765
|
readonly method: "DELETE";
|
|
@@ -1806,7 +1806,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1806
1806
|
readonly path: "/contents";
|
|
1807
1807
|
readonly auth: "public";
|
|
1808
1808
|
readonly permission: null;
|
|
1809
|
-
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "card_groups", "cursor", "limit"];
|
|
1809
|
+
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "card_groups", "cursor", "limit"];
|
|
1810
1810
|
readonly request: null;
|
|
1811
1811
|
readonly responses: {
|
|
1812
1812
|
readonly 200: "ContentPage";
|
|
@@ -1819,7 +1819,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1819
1819
|
readonly path: "/search";
|
|
1820
1820
|
readonly auth: "public";
|
|
1821
1821
|
readonly permission: null;
|
|
1822
|
-
readonly query: readonly ["q", "kind", "groups", "exclude_groups", "owner_group", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "card_groups", "personalize", "session", "cursor", "limit"];
|
|
1822
|
+
readonly query: readonly ["q", "kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "sort", "card_groups", "personalize", "session", "cursor", "limit"];
|
|
1823
1823
|
readonly request: null;
|
|
1824
1824
|
readonly responses: {
|
|
1825
1825
|
readonly 200: "ContentPage";
|
|
@@ -1845,7 +1845,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1845
1845
|
readonly path: "/contents/{id}/similar";
|
|
1846
1846
|
readonly auth: "public";
|
|
1847
1847
|
readonly permission: null;
|
|
1848
|
-
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "card_groups", "limit"];
|
|
1848
|
+
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "card_groups", "limit"];
|
|
1849
1849
|
readonly request: null;
|
|
1850
1850
|
readonly responses: {
|
|
1851
1851
|
readonly 200: "ContentPage";
|
|
@@ -1858,7 +1858,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1858
1858
|
readonly path: "/recommendations";
|
|
1859
1859
|
readonly auth: "user";
|
|
1860
1860
|
readonly permission: null;
|
|
1861
|
-
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "card_groups", "limit"];
|
|
1861
|
+
readonly query: readonly ["kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "card_groups", "limit"];
|
|
1862
1862
|
readonly request: null;
|
|
1863
1863
|
readonly responses: {
|
|
1864
1864
|
readonly 200: "ContentPage";
|
|
@@ -1871,7 +1871,7 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
1871
1871
|
readonly path: "/release-dates";
|
|
1872
1872
|
readonly auth: "public";
|
|
1873
1873
|
readonly permission: null;
|
|
1874
|
-
readonly query: readonly ["by", "kind", "groups", "exclude_groups", "owner_group", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "cursor", "limit"];
|
|
1874
|
+
readonly query: readonly ["by", "kind", "groups", "exclude_groups", "owner_group", "creators", "access", "tiers", "traits", "attribute", "released_on", "tz", "view_status", "language", "display_language", "mode", "cursor", "limit"];
|
|
1875
1875
|
readonly request: null;
|
|
1876
1876
|
readonly responses: {
|
|
1877
1877
|
readonly 200: "ReleaseDates";
|
|
@@ -2008,6 +2008,71 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
2008
2008
|
};
|
|
2009
2009
|
readonly errors: readonly [];
|
|
2010
2010
|
readonly errorSets: readonly ["module:discovery", "auth", "request"];
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly method: "GET";
|
|
2013
|
+
readonly module: "discovery";
|
|
2014
|
+
readonly path: "/sitemap/contents";
|
|
2015
|
+
readonly auth: "open";
|
|
2016
|
+
readonly permission: null;
|
|
2017
|
+
readonly query: readonly ["kind", "cursor", "limit"];
|
|
2018
|
+
readonly request: null;
|
|
2019
|
+
readonly responses: {
|
|
2020
|
+
readonly 200: "SitemapPage";
|
|
2021
|
+
};
|
|
2022
|
+
readonly errors: readonly [];
|
|
2023
|
+
readonly errorSets: readonly ["module:discovery", "request"];
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly method: "GET";
|
|
2026
|
+
readonly module: "discovery";
|
|
2027
|
+
readonly path: "/sitemap/groups";
|
|
2028
|
+
readonly auth: "open";
|
|
2029
|
+
readonly permission: null;
|
|
2030
|
+
readonly query: readonly ["kind", "cursor", "limit"];
|
|
2031
|
+
readonly request: null;
|
|
2032
|
+
readonly responses: {
|
|
2033
|
+
readonly 200: "SitemapPage";
|
|
2034
|
+
};
|
|
2035
|
+
readonly errors: readonly [];
|
|
2036
|
+
readonly errorSets: readonly ["module:discovery", "request"];
|
|
2037
|
+
}, {
|
|
2038
|
+
readonly method: "GET";
|
|
2039
|
+
readonly module: "discovery";
|
|
2040
|
+
readonly path: "/stats/activity";
|
|
2041
|
+
readonly auth: "staff";
|
|
2042
|
+
readonly permission: "root:content:view-restricted";
|
|
2043
|
+
readonly query: readonly ["kind", "days"];
|
|
2044
|
+
readonly request: null;
|
|
2045
|
+
readonly responses: {
|
|
2046
|
+
readonly 200: "Activity";
|
|
2047
|
+
};
|
|
2048
|
+
readonly errors: readonly ["not_configured"];
|
|
2049
|
+
readonly errorSets: readonly ["module:discovery", "auth", "request"];
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly method: "GET";
|
|
2052
|
+
readonly module: "discovery";
|
|
2053
|
+
readonly path: "/stats/top";
|
|
2054
|
+
readonly auth: "staff";
|
|
2055
|
+
readonly permission: "root:content:view-restricted";
|
|
2056
|
+
readonly query: readonly ["kind", "metric", "period", "access", "tiers", "language", "limit"];
|
|
2057
|
+
readonly request: null;
|
|
2058
|
+
readonly responses: {
|
|
2059
|
+
readonly 200: "TopContents";
|
|
2060
|
+
};
|
|
2061
|
+
readonly errors: readonly ["not_configured"];
|
|
2062
|
+
readonly errorSets: readonly ["module:discovery", "auth", "request"];
|
|
2063
|
+
}, {
|
|
2064
|
+
readonly method: "GET";
|
|
2065
|
+
readonly module: "discovery";
|
|
2066
|
+
readonly path: "/me/stats";
|
|
2067
|
+
readonly auth: "user";
|
|
2068
|
+
readonly permission: null;
|
|
2069
|
+
readonly query: readonly [];
|
|
2070
|
+
readonly request: null;
|
|
2071
|
+
readonly responses: {
|
|
2072
|
+
readonly 200: "MyStats";
|
|
2073
|
+
};
|
|
2074
|
+
readonly errors: readonly [];
|
|
2075
|
+
readonly errorSets: readonly ["module:discovery", "auth"];
|
|
2011
2076
|
}, {
|
|
2012
2077
|
readonly method: "POST";
|
|
2013
2078
|
readonly module: "import";
|
|
@@ -2021,5 +2086,18 @@ export declare const CONTENTKIT_ROUTES: readonly [{
|
|
|
2021
2086
|
};
|
|
2022
2087
|
readonly errors: readonly [];
|
|
2023
2088
|
readonly errorSets: readonly ["module:import", "auth", "request"];
|
|
2089
|
+
}, {
|
|
2090
|
+
readonly method: "POST";
|
|
2091
|
+
readonly module: "import";
|
|
2092
|
+
readonly path: "/import/external-ids";
|
|
2093
|
+
readonly auth: "staff";
|
|
2094
|
+
readonly permission: "root:import:write";
|
|
2095
|
+
readonly query: readonly [];
|
|
2096
|
+
readonly request: "ExternalIDsQuery";
|
|
2097
|
+
readonly responses: {
|
|
2098
|
+
readonly 200: "ExternalIDs";
|
|
2099
|
+
};
|
|
2100
|
+
readonly errors: readonly [];
|
|
2101
|
+
readonly errorSets: readonly ["module:import", "auth", "request"];
|
|
2024
2102
|
}];
|
|
2025
2103
|
export declare const CONTENTKIT_ERROR_SETS: Readonly<Record<string, readonly string[]>>;
|
|
@@ -75,6 +75,7 @@ var e = {
|
|
|
75
75
|
"comment_banned",
|
|
76
76
|
"comment_too_long",
|
|
77
77
|
"comments_closed",
|
|
78
|
+
"comments_locked",
|
|
78
79
|
"forbidden",
|
|
79
80
|
"moderation_rejected",
|
|
80
81
|
"not_found",
|
|
@@ -124,6 +125,7 @@ var e = {
|
|
|
124
125
|
"comment_banned",
|
|
125
126
|
"comment_too_long",
|
|
126
127
|
"comments_closed",
|
|
128
|
+
"comments_locked",
|
|
127
129
|
"forbidden",
|
|
128
130
|
"moderation_rejected",
|
|
129
131
|
"not_found",
|
|
@@ -225,6 +227,7 @@ var e = {
|
|
|
225
227
|
"comment_banned",
|
|
226
228
|
"comment_too_long",
|
|
227
229
|
"comments_closed",
|
|
230
|
+
"comments_locked",
|
|
228
231
|
"conflict",
|
|
229
232
|
"forbidden",
|
|
230
233
|
"moderation_rejected",
|
|
@@ -262,6 +265,7 @@ var e = {
|
|
|
262
265
|
request: null,
|
|
263
266
|
responses: { 200: "ReactionCounts" },
|
|
264
267
|
errors: [
|
|
268
|
+
"comments_locked",
|
|
265
269
|
"forbidden",
|
|
266
270
|
"invalid_request",
|
|
267
271
|
"not_found",
|
|
@@ -284,6 +288,7 @@ var e = {
|
|
|
284
288
|
request: null,
|
|
285
289
|
responses: { 200: "ReactionCounts" },
|
|
286
290
|
errors: [
|
|
291
|
+
"comments_locked",
|
|
287
292
|
"forbidden",
|
|
288
293
|
"invalid_request",
|
|
289
294
|
"not_found",
|
|
@@ -306,6 +311,7 @@ var e = {
|
|
|
306
311
|
request: null,
|
|
307
312
|
responses: { 200: "ReactionCounts" },
|
|
308
313
|
errors: [
|
|
314
|
+
"comments_locked",
|
|
309
315
|
"forbidden",
|
|
310
316
|
"invalid_request",
|
|
311
317
|
"not_found",
|
|
@@ -1803,7 +1809,7 @@ var e = {
|
|
|
1803
1809
|
path: "/{code}",
|
|
1804
1810
|
auth: "open",
|
|
1805
1811
|
permission: null,
|
|
1806
|
-
query: ["lang"],
|
|
1812
|
+
query: ["lang", "v"],
|
|
1807
1813
|
request: null,
|
|
1808
1814
|
responses: { 200: "Resolved" },
|
|
1809
1815
|
errors: ["gone", "not_found"],
|
|
@@ -2410,7 +2416,7 @@ var e = {
|
|
|
2410
2416
|
query: [],
|
|
2411
2417
|
request: null,
|
|
2412
2418
|
responses: { 200: "GroupJoin" },
|
|
2413
|
-
errors: ["not_found", "
|
|
2419
|
+
errors: ["not_found", "not_joinable"],
|
|
2414
2420
|
errorSets: [
|
|
2415
2421
|
"module:offers",
|
|
2416
2422
|
"auth",
|
|
@@ -2485,6 +2491,9 @@ var e = {
|
|
|
2485
2491
|
"groups",
|
|
2486
2492
|
"exclude_groups",
|
|
2487
2493
|
"owner_group",
|
|
2494
|
+
"creators",
|
|
2495
|
+
"access",
|
|
2496
|
+
"tiers",
|
|
2488
2497
|
"traits",
|
|
2489
2498
|
"attribute",
|
|
2490
2499
|
"released_on",
|
|
@@ -2519,6 +2528,9 @@ var e = {
|
|
|
2519
2528
|
"groups",
|
|
2520
2529
|
"exclude_groups",
|
|
2521
2530
|
"owner_group",
|
|
2531
|
+
"creators",
|
|
2532
|
+
"access",
|
|
2533
|
+
"tiers",
|
|
2522
2534
|
"traits",
|
|
2523
2535
|
"attribute",
|
|
2524
2536
|
"released_on",
|
|
@@ -2578,6 +2590,9 @@ var e = {
|
|
|
2578
2590
|
"groups",
|
|
2579
2591
|
"exclude_groups",
|
|
2580
2592
|
"owner_group",
|
|
2593
|
+
"creators",
|
|
2594
|
+
"access",
|
|
2595
|
+
"tiers",
|
|
2581
2596
|
"traits",
|
|
2582
2597
|
"attribute",
|
|
2583
2598
|
"released_on",
|
|
@@ -2609,6 +2624,9 @@ var e = {
|
|
|
2609
2624
|
"groups",
|
|
2610
2625
|
"exclude_groups",
|
|
2611
2626
|
"owner_group",
|
|
2627
|
+
"creators",
|
|
2628
|
+
"access",
|
|
2629
|
+
"tiers",
|
|
2612
2630
|
"traits",
|
|
2613
2631
|
"attribute",
|
|
2614
2632
|
"released_on",
|
|
@@ -2641,6 +2659,9 @@ var e = {
|
|
|
2641
2659
|
"groups",
|
|
2642
2660
|
"exclude_groups",
|
|
2643
2661
|
"owner_group",
|
|
2662
|
+
"creators",
|
|
2663
|
+
"access",
|
|
2664
|
+
"tiers",
|
|
2644
2665
|
"traits",
|
|
2645
2666
|
"attribute",
|
|
2646
2667
|
"released_on",
|
|
@@ -2849,6 +2870,90 @@ var e = {
|
|
|
2849
2870
|
"request"
|
|
2850
2871
|
]
|
|
2851
2872
|
},
|
|
2873
|
+
{
|
|
2874
|
+
method: "GET",
|
|
2875
|
+
module: "discovery",
|
|
2876
|
+
path: "/sitemap/contents",
|
|
2877
|
+
auth: "open",
|
|
2878
|
+
permission: null,
|
|
2879
|
+
query: [
|
|
2880
|
+
"kind",
|
|
2881
|
+
"cursor",
|
|
2882
|
+
"limit"
|
|
2883
|
+
],
|
|
2884
|
+
request: null,
|
|
2885
|
+
responses: { 200: "SitemapPage" },
|
|
2886
|
+
errors: [],
|
|
2887
|
+
errorSets: ["module:discovery", "request"]
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
method: "GET",
|
|
2891
|
+
module: "discovery",
|
|
2892
|
+
path: "/sitemap/groups",
|
|
2893
|
+
auth: "open",
|
|
2894
|
+
permission: null,
|
|
2895
|
+
query: [
|
|
2896
|
+
"kind",
|
|
2897
|
+
"cursor",
|
|
2898
|
+
"limit"
|
|
2899
|
+
],
|
|
2900
|
+
request: null,
|
|
2901
|
+
responses: { 200: "SitemapPage" },
|
|
2902
|
+
errors: [],
|
|
2903
|
+
errorSets: ["module:discovery", "request"]
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
method: "GET",
|
|
2907
|
+
module: "discovery",
|
|
2908
|
+
path: "/stats/activity",
|
|
2909
|
+
auth: "staff",
|
|
2910
|
+
permission: "root:content:view-restricted",
|
|
2911
|
+
query: ["kind", "days"],
|
|
2912
|
+
request: null,
|
|
2913
|
+
responses: { 200: "Activity" },
|
|
2914
|
+
errors: ["not_configured"],
|
|
2915
|
+
errorSets: [
|
|
2916
|
+
"module:discovery",
|
|
2917
|
+
"auth",
|
|
2918
|
+
"request"
|
|
2919
|
+
]
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
method: "GET",
|
|
2923
|
+
module: "discovery",
|
|
2924
|
+
path: "/stats/top",
|
|
2925
|
+
auth: "staff",
|
|
2926
|
+
permission: "root:content:view-restricted",
|
|
2927
|
+
query: [
|
|
2928
|
+
"kind",
|
|
2929
|
+
"metric",
|
|
2930
|
+
"period",
|
|
2931
|
+
"access",
|
|
2932
|
+
"tiers",
|
|
2933
|
+
"language",
|
|
2934
|
+
"limit"
|
|
2935
|
+
],
|
|
2936
|
+
request: null,
|
|
2937
|
+
responses: { 200: "TopContents" },
|
|
2938
|
+
errors: ["not_configured"],
|
|
2939
|
+
errorSets: [
|
|
2940
|
+
"module:discovery",
|
|
2941
|
+
"auth",
|
|
2942
|
+
"request"
|
|
2943
|
+
]
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
method: "GET",
|
|
2947
|
+
module: "discovery",
|
|
2948
|
+
path: "/me/stats",
|
|
2949
|
+
auth: "user",
|
|
2950
|
+
permission: null,
|
|
2951
|
+
query: [],
|
|
2952
|
+
request: null,
|
|
2953
|
+
responses: { 200: "MyStats" },
|
|
2954
|
+
errors: [],
|
|
2955
|
+
errorSets: ["module:discovery", "auth"]
|
|
2956
|
+
},
|
|
2852
2957
|
{
|
|
2853
2958
|
method: "POST",
|
|
2854
2959
|
module: "import",
|
|
@@ -2864,6 +2969,22 @@ var e = {
|
|
|
2864
2969
|
"auth",
|
|
2865
2970
|
"request"
|
|
2866
2971
|
]
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
method: "POST",
|
|
2975
|
+
module: "import",
|
|
2976
|
+
path: "/import/external-ids",
|
|
2977
|
+
auth: "staff",
|
|
2978
|
+
permission: "root:import:write",
|
|
2979
|
+
query: [],
|
|
2980
|
+
request: "ExternalIDsQuery",
|
|
2981
|
+
responses: { 200: "ExternalIDs" },
|
|
2982
|
+
errors: [],
|
|
2983
|
+
errorSets: [
|
|
2984
|
+
"module:import",
|
|
2985
|
+
"auth",
|
|
2986
|
+
"request"
|
|
2987
|
+
]
|
|
2867
2988
|
}
|
|
2868
2989
|
];
|
|
2869
2990
|
//#endregion
|