@atproto/ozone 0.16.0 → 0.16.2
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/CHANGELOG.md +24 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/report/getStatGroupDetails.d.ts +4 -0
- package/dist/api/report/getStatGroupDetails.d.ts.map +1 -0
- package/dist/api/report/getStatGroupDetails.js +39 -0
- package/dist/api/report/getStatGroupDetails.js.map +1 -0
- package/dist/lexicons/app/bsky/embed/external.defs.d.ts +49 -3
- package/dist/lexicons/app/bsky/embed/external.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/external.defs.js +12 -6
- package/dist/lexicons/app/bsky/embed/external.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.d.ts +0 -8
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.js +1 -1
- package/dist/lexicons/app/bsky/unspecced/getAtmosphereExploreTab.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.defs.d.ts +89 -0
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.defs.js +19 -0
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.js +6 -0
- package/dist/lexicons/tools/ozone/report/getStatGroupDetails.js.map +1 -0
- package/dist/lexicons/tools/ozone/report.d.ts +1 -0
- package/dist/lexicons/tools/ozone/report.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report.js +1 -0
- package/dist/lexicons/tools/ozone/report.js.map +1 -1
- package/dist/report/stats.d.ts +4 -0
- package/dist/report/stats.d.ts.map +1 -1
- package/dist/report/stats.js +56 -0
- package/dist/report/stats.js.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atproto/ozone
|
|
2
2
|
|
|
3
|
+
## 0.16.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5966](https://github.com/bluesky-social/atproto/pull/5966) [`1079900`](https://github.com/bluesky-social/atproto/commit/1079900b5ba5e8b31ef01d3efcd22a556a611a8a) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add optional `providerId` attribution to external article, publication, gallery, and livestream views. Detect providers server-side from known record types, Standard.site document content and publication theme type tags (including custom domains), and URL fallbacks. Attribution is best-effort and cosmetic, not verified provenance.
|
|
8
|
+
|
|
9
|
+
- [#5973](https://github.com/bluesky-social/atproto/pull/5973) [`2c3b0a2`](https://github.com/bluesky-social/atproto/commit/2c3b0a20905a8269437ba8f7ba48e15c1ba9527e) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Use upstream Atmosphere and external embed lexicons in place of local overrides, and remove app store links from Atmosphere app cards.
|
|
10
|
+
|
|
11
|
+
- [#5967](https://github.com/bluesky-social/atproto/pull/5967) [`b6408e5`](https://github.com/bluesky-social/atproto/commit/b6408e54bc62eb7d5d32c4d401865af6aec0085c) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Add `viewer.like` to external article and gallery views, containing the requesting account's Standard.site recommendation or Grain favorite record URI.
|
|
12
|
+
|
|
13
|
+
## 0.16.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#5956](https://github.com/bluesky-social/atproto/pull/5956) [`1403383`](https://github.com/bluesky-social/atproto/commit/1403383ea89737ff1910346107a4ef822e4ef6d5) Thanks [@gcwill70](https://github.com/gcwill70)! - Add stat group details with an inbound report-type breakdown for a selected UTC date range.
|
|
18
|
+
- Updated dependencies [[`ee63e5e`](https://github.com/bluesky-social/atproto/commit/ee63e5ede255e40251a9e761befec9d623dfb1ec), [`ee63e5e`](https://github.com/bluesky-social/atproto/commit/ee63e5ede255e40251a9e761befec9d623dfb1ec), [`33d620b`](https://github.com/bluesky-social/atproto/commit/33d620b2ffc4b9a5b4959cbcc1262c5138c8a506)]:
|
|
19
|
+
- @atproto/syntax@0.7.9
|
|
20
|
+
- @atproto/lex-schema@0.3.1
|
|
21
|
+
- @atproto/lex-client@0.6.1
|
|
22
|
+
- @atproto/lex-password-session@0.3.5
|
|
23
|
+
- @atproto/xrpc-server@0.13.15
|
|
24
|
+
- @atproto/common@0.8.12
|
|
25
|
+
- @atproto/identity@0.5.25
|
|
26
|
+
|
|
3
27
|
## 0.16.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/dist/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AA4F/C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAErC,OAAO,KAAK,SAAS,MAAM,iBAAiB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,UA4FvD"}
|
package/dist/api/index.js
CHANGED
|
@@ -55,6 +55,7 @@ import getHistoricalStats from './report/getHistoricalStats.js';
|
|
|
55
55
|
import getLatestReport from './report/getLatestReport.js';
|
|
56
56
|
import getLiveStats from './report/getLiveStats.js';
|
|
57
57
|
import getReport from './report/getReport.js';
|
|
58
|
+
import getStatGroupDetails from './report/getStatGroupDetails.js';
|
|
58
59
|
import listActivities from './report/listActivities.js';
|
|
59
60
|
import queryActivities from './report/queryActivities.js';
|
|
60
61
|
import queryModeratorActivity from './report/queryModeratorActivity.js';
|
|
@@ -164,6 +165,7 @@ export default function (server, ctx) {
|
|
|
164
165
|
cancelScheduledActions(server, ctx);
|
|
165
166
|
routeReports(server, ctx);
|
|
166
167
|
getLiveStats(server, ctx);
|
|
168
|
+
getStatGroupDetails(server, ctx);
|
|
167
169
|
getHistoricalStats(server, ctx);
|
|
168
170
|
refreshStats(server, ctx);
|
|
169
171
|
assignQueueModerator(server, ctx);
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,iBAAiB,CAAA;AAClC,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,aAAa,MAAM,kCAAkC,CAAA;AAC5D,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,oBAAoB,MAAM,iCAAiC,CAAA;AAClE,OAAO,qBAAqB,MAAM,kCAAkC,CAAA;AACpE,OAAO,sBAAsB,MAAM,mCAAmC,CAAA;AACtE,OAAO,gBAAgB,MAAM,6BAA6B,CAAA;AAC1D,OAAO,kBAAkB,MAAM,+BAA+B,CAAA;AAC9D,OAAO,0BAA0B,MAAM,uCAAuC,CAAA;AAC9E,OAAO,iBAAiB,MAAM,8BAA8B,CAAA;AAC5D,OAAO,cAAc,MAAM,sBAAsB,CAAA;AACjD,OAAO,cAAc,MAAM,2BAA2B,CAAA;AACtD,OAAO,oBAAoB,MAAM,iCA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AAsB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,aAAa,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,OAAO,MAAM,CAAA;AACf,CAAC","sourcesContent":["import type { Server } from '@atproto/xrpc-server'\nimport type { AppContext } from '../context.js'\nimport chat from './chat/index.js'\nimport createTemplate from './communication/createTemplate.js'\nimport deleteTemplate from './communication/deleteTemplate.js'\nimport listTemplates from './communication/listTemplates.js'\nimport updateTemplate from './communication/updateTemplate.js'\nimport ackPushNotifications from './inbox/ackPushNotifications.js'\nimport appealActionedSubject from './inbox/appealActionedSubject.js'\nimport claimPushNotifications from './inbox/claimPushNotifications.js'\nimport getAccountStatus from './inbox/getAccountStatus.js'\nimport getActionedSubject from './inbox/getActionedSubject.js'\nimport getNotificationPreferences from './inbox/getNotificationPreferences.js'\nimport getPushPreference from './inbox/getPushPreference.js'\nimport getInboxReport from './inbox/getReport.js'\nimport getUnreadCount from './inbox/getUnreadCount.js'\nimport listActionedSubjects from './inbox/listActionedSubjects.js'\nimport listNotifications from './inbox/listNotifications.js'\nimport listReports from './inbox/listReports.js'\nimport putNotificationPreferences from './inbox/putNotificationPreferences.js'\nimport updateSeen from './inbox/updateSeen.js'\nimport fetchLabels from './label/fetchLabels.js'\nimport queryLabels from './label/queryLabels.js'\nimport subscribeLabels from './label/subscribeLabels.js'\nimport cancelScheduledActions from './moderation/cancelScheduledActions.js'\nimport emitEvent from './moderation/emitEvent.js'\nimport emitEvents from './moderation/emitEvents.js'\nimport getAccountPreferences from './moderation/getAccountPreferences.js'\nimport getAccountTimeline from './moderation/getAccountTimeline.js'\nimport getEvent from './moderation/getEvent.js'\nimport adminGetRecord from './moderation/getRecord.js'\nimport adminGetRecords from './moderation/getRecords.js'\nimport getRepo from './moderation/getRepo.js'\nimport getReporterStats from './moderation/getReporterStats.js'\nimport getRepos from './moderation/getRepos.js'\nimport getSubjects from './moderation/getSubjects.js'\nimport listScheduledActions from './moderation/listScheduledActions.js'\nimport queryEvents from './moderation/queryEvents.js'\nimport queryStatuses from './moderation/queryStatuses.js'\nimport scheduleAction from './moderation/scheduleAction.js'\nimport searchRepos from './moderation/searchRepos.js'\nimport proxied from './proxied.js'\nimport assignQueueModerator from './queue/assignModerator.js'\nimport createQueue from './queue/createQueue.js'\nimport deleteQueue from './queue/deleteQueue.js'\nimport getQueueAssignments from './queue/getAssignments.js'\nimport listQueues from './queue/listQueues.js'\nimport routeReports from './queue/routeReports.js'\nimport unassignQueueModerator from './queue/unassignModerator.js'\nimport updateQueue from './queue/updateQueue.js'\nimport assignReportModerator from './report/assignModerator.js'\nimport closeReports from './report/closeReports.js'\nimport createActivity from './report/createActivity.js'\nimport createReport from './report/createReport.js'\nimport getReportAssignments from './report/getAssignments.js'\nimport getHistoricalStats from './report/getHistoricalStats.js'\nimport getLatestReport from './report/getLatestReport.js'\nimport getLiveStats from './report/getLiveStats.js'\nimport getReport from './report/getReport.js'\nimport listActivities from './report/listActivities.js'\nimport queryActivities from './report/queryActivities.js'\nimport queryModeratorActivity from './report/queryModeratorActivity.js'\nimport queryReports from './report/queryReports.js'\nimport reassignQueue from './report/reassignQueue.js'\nimport refreshStats from './report/refreshStats.js'\nimport unassignReportModerator from './report/unassignModerator.js'\nimport addSafelinkRule from './safelink/addRule.js'\nimport querySafelinkEvents from './safelink/queryEvents.js'\nimport querySafelinkRules from './safelink/queryRules.js'\nimport removeSafelinkRule from './safelink/removeRule.js'\nimport syncSource from './safelink/syncSource.js'\nimport updateSafelinkRule from './safelink/updateRule.js'\nimport getCapabilities from './server/getCapabilities.js'\nimport getConfig from './server/getConfig.js'\nimport setAddValues from './set/addValues.js'\nimport deleteSet from './set/deleteSet.js'\nimport setDeleteValues from './set/deleteValues.js'\nimport setGetValues from './set/getValues.js'\nimport querySets from './set/querySets.js'\nimport upsertSet from './set/upsertSet.js'\nimport listOptions from './setting/listOptions.js'\nimport removeOptions from './setting/removeOptions.js'\nimport upsertOption from './setting/upsertOption.js'\nimport addMember from './team/addMember.js'\nimport deleteMember from './team/deleteMember.js'\nimport listMembers from './team/listMembers.js'\nimport listOnlineMembers from './team/listOnlineMembers.js'\nimport updateMember from './team/updateMember.js'\nimport grantVerifications from './verification/grantVerifications.js'\nimport listVerifications from './verification/listVerifications.js'\nimport revokeVerifications from './verification/revokeVerifications.js'\n\nexport * as health from './health.js'\n\nexport * as wellKnown from './well-known.js'\n\nexport default function (server: Server, ctx: AppContext) {\n createReport(server, ctx)\n appealActionedSubject(server, ctx)\n ackPushNotifications(server, ctx)\n claimPushNotifications(server, ctx)\n getAccountStatus(server, ctx)\n getNotificationPreferences(server, ctx)\n getPushPreference(server, ctx)\n getUnreadCount(server, ctx)\n getActionedSubject(server, ctx)\n getInboxReport(server, ctx)\n listActionedSubjects(server, ctx)\n listReports(server, ctx)\n listNotifications(server, ctx)\n putNotificationPreferences(server, ctx)\n updateSeen(server, ctx)\n emitEvent(server, ctx)\n emitEvents(server, ctx)\n searchRepos(server, ctx)\n adminGetRecord(server, ctx)\n adminGetRecords(server, ctx)\n getRepo(server, ctx)\n getRepos(server, ctx)\n getEvent(server, ctx)\n queryEvents(server, ctx)\n getReport(server, ctx)\n queryReports(server, ctx)\n queryStatuses(server, ctx)\n queryLabels(server, ctx)\n subscribeLabels(server, ctx)\n fetchLabels(server, ctx)\n getAccountPreferences(server, ctx)\n listTemplates(server, ctx)\n createTemplate(server, ctx)\n updateTemplate(server, ctx)\n deleteTemplate(server, ctx)\n listMembers(server, ctx)\n listOnlineMembers(server, ctx)\n addMember(server, ctx)\n updateMember(server, ctx)\n deleteMember(server, ctx)\n chat(server, ctx)\n proxied(server, ctx)\n getCapabilities(server, ctx)\n getConfig(server, ctx)\n createQueue(server, ctx)\n listQueues(server, ctx)\n updateQueue(server, ctx)\n deleteQueue(server, ctx)\n setAddValues(server, ctx)\n setGetValues(server, ctx)\n querySets(server, ctx)\n upsertSet(server, ctx)\n setDeleteValues(server, ctx)\n deleteSet(server, ctx)\n upsertOption(server, ctx)\n listOptions(server, ctx)\n removeOptions(server, ctx)\n getReporterStats(server, ctx)\n getSubjects(server, ctx)\n grantVerifications(server, ctx)\n revokeVerifications(server, ctx)\n listVerifications(server, ctx)\n addSafelinkRule(server, ctx)\n updateSafelinkRule(server, ctx)\n removeSafelinkRule(server, ctx)\n syncSource(server, ctx)\n querySafelinkEvents(server, ctx)\n querySafelinkRules(server, ctx)\n getAccountTimeline(server, ctx)\n scheduleAction(server, ctx)\n listScheduledActions(server, ctx)\n cancelScheduledActions(server, ctx)\n routeReports(server, ctx)\n getLiveStats(server, ctx)\n getHistoricalStats(server, ctx)\n refreshStats(server, ctx)\n assignQueueModerator(server, ctx)\n unassignQueueModerator(server, ctx)\n getQueueAssignments(server, ctx)\n getLatestReport(server, ctx)\n assignReportModerator(server, ctx)\n unassignReportModerator(server, ctx)\n getReportAssignments(server, ctx)\n createActivity(server, ctx)\n closeReports(server, ctx)\n listActivities(server, ctx)\n queryActivities(server, ctx)\n queryModeratorActivity(server, ctx)\n reassignQueue(server, ctx)\n return server\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,iBAAiB,CAAA;AAClC,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,aAAa,MAAM,kCAAkC,CAAA;AAC5D,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,oBAAoB,MAAM,iCAAiC,CAAA;AAClE,OAAO,qBAAqB,MAAM,kCAAkC,CAAA;AACpE,OAAO,sBAAsB,MAAM,mCAAmC,CAAA;AACtE,OAAO,gBAAgB,MAAM,6BAA6B,CAAA;AAC1D,OAAO,kBAAkB,MAAM,+BAA+B,CAAA;AAC9D,OAAO,0BAA0B,MAAM,uCAAuC,CAAA;AAC9E,OAAO,iBAAiB,MAAM,8BAA8B,CAAA;AAC5D,OAAO,cAAc,MAAM,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GAAG,CAAC,CAAA;IAC3B,YAAY,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,cAAc,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC5B,sBAAsB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,aAAa,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,OAAO,MAAM,CAAA;AACf,CAAC","sourcesContent":["import type { Server } from '@atproto/xrpc-server'\nimport type { AppContext } from '../context.js'\nimport chat from './chat/index.js'\nimport createTemplate from './communication/createTemplate.js'\nimport deleteTemplate from './communication/deleteTemplate.js'\nimport listTemplates from './communication/listTemplates.js'\nimport updateTemplate from './communication/updateTemplate.js'\nimport ackPushNotifications from './inbox/ackPushNotifications.js'\nimport appealActionedSubject from './inbox/appealActionedSubject.js'\nimport claimPushNotifications from './inbox/claimPushNotifications.js'\nimport getAccountStatus from './inbox/getAccountStatus.js'\nimport getActionedSubject from './inbox/getActionedSubject.js'\nimport getNotificationPreferences from './inbox/getNotificationPreferences.js'\nimport getPushPreference from './inbox/getPushPreference.js'\nimport getInboxReport from './inbox/getReport.js'\nimport getUnreadCount from './inbox/getUnreadCount.js'\nimport listActionedSubjects from './inbox/listActionedSubjects.js'\nimport listNotifications from './inbox/listNotifications.js'\nimport listReports from './inbox/listReports.js'\nimport putNotificationPreferences from './inbox/putNotificationPreferences.js'\nimport updateSeen from './inbox/updateSeen.js'\nimport fetchLabels from './label/fetchLabels.js'\nimport queryLabels from './label/queryLabels.js'\nimport subscribeLabels from './label/subscribeLabels.js'\nimport cancelScheduledActions from './moderation/cancelScheduledActions.js'\nimport emitEvent from './moderation/emitEvent.js'\nimport emitEvents from './moderation/emitEvents.js'\nimport getAccountPreferences from './moderation/getAccountPreferences.js'\nimport getAccountTimeline from './moderation/getAccountTimeline.js'\nimport getEvent from './moderation/getEvent.js'\nimport adminGetRecord from './moderation/getRecord.js'\nimport adminGetRecords from './moderation/getRecords.js'\nimport getRepo from './moderation/getRepo.js'\nimport getReporterStats from './moderation/getReporterStats.js'\nimport getRepos from './moderation/getRepos.js'\nimport getSubjects from './moderation/getSubjects.js'\nimport listScheduledActions from './moderation/listScheduledActions.js'\nimport queryEvents from './moderation/queryEvents.js'\nimport queryStatuses from './moderation/queryStatuses.js'\nimport scheduleAction from './moderation/scheduleAction.js'\nimport searchRepos from './moderation/searchRepos.js'\nimport proxied from './proxied.js'\nimport assignQueueModerator from './queue/assignModerator.js'\nimport createQueue from './queue/createQueue.js'\nimport deleteQueue from './queue/deleteQueue.js'\nimport getQueueAssignments from './queue/getAssignments.js'\nimport listQueues from './queue/listQueues.js'\nimport routeReports from './queue/routeReports.js'\nimport unassignQueueModerator from './queue/unassignModerator.js'\nimport updateQueue from './queue/updateQueue.js'\nimport assignReportModerator from './report/assignModerator.js'\nimport closeReports from './report/closeReports.js'\nimport createActivity from './report/createActivity.js'\nimport createReport from './report/createReport.js'\nimport getReportAssignments from './report/getAssignments.js'\nimport getHistoricalStats from './report/getHistoricalStats.js'\nimport getLatestReport from './report/getLatestReport.js'\nimport getLiveStats from './report/getLiveStats.js'\nimport getReport from './report/getReport.js'\nimport getStatGroupDetails from './report/getStatGroupDetails.js'\nimport listActivities from './report/listActivities.js'\nimport queryActivities from './report/queryActivities.js'\nimport queryModeratorActivity from './report/queryModeratorActivity.js'\nimport queryReports from './report/queryReports.js'\nimport reassignQueue from './report/reassignQueue.js'\nimport refreshStats from './report/refreshStats.js'\nimport unassignReportModerator from './report/unassignModerator.js'\nimport addSafelinkRule from './safelink/addRule.js'\nimport querySafelinkEvents from './safelink/queryEvents.js'\nimport querySafelinkRules from './safelink/queryRules.js'\nimport removeSafelinkRule from './safelink/removeRule.js'\nimport syncSource from './safelink/syncSource.js'\nimport updateSafelinkRule from './safelink/updateRule.js'\nimport getCapabilities from './server/getCapabilities.js'\nimport getConfig from './server/getConfig.js'\nimport setAddValues from './set/addValues.js'\nimport deleteSet from './set/deleteSet.js'\nimport setDeleteValues from './set/deleteValues.js'\nimport setGetValues from './set/getValues.js'\nimport querySets from './set/querySets.js'\nimport upsertSet from './set/upsertSet.js'\nimport listOptions from './setting/listOptions.js'\nimport removeOptions from './setting/removeOptions.js'\nimport upsertOption from './setting/upsertOption.js'\nimport addMember from './team/addMember.js'\nimport deleteMember from './team/deleteMember.js'\nimport listMembers from './team/listMembers.js'\nimport listOnlineMembers from './team/listOnlineMembers.js'\nimport updateMember from './team/updateMember.js'\nimport grantVerifications from './verification/grantVerifications.js'\nimport listVerifications from './verification/listVerifications.js'\nimport revokeVerifications from './verification/revokeVerifications.js'\n\nexport * as health from './health.js'\n\nexport * as wellKnown from './well-known.js'\n\nexport default function (server: Server, ctx: AppContext) {\n createReport(server, ctx)\n appealActionedSubject(server, ctx)\n ackPushNotifications(server, ctx)\n claimPushNotifications(server, ctx)\n getAccountStatus(server, ctx)\n getNotificationPreferences(server, ctx)\n getPushPreference(server, ctx)\n getUnreadCount(server, ctx)\n getActionedSubject(server, ctx)\n getInboxReport(server, ctx)\n listActionedSubjects(server, ctx)\n listReports(server, ctx)\n listNotifications(server, ctx)\n putNotificationPreferences(server, ctx)\n updateSeen(server, ctx)\n emitEvent(server, ctx)\n emitEvents(server, ctx)\n searchRepos(server, ctx)\n adminGetRecord(server, ctx)\n adminGetRecords(server, ctx)\n getRepo(server, ctx)\n getRepos(server, ctx)\n getEvent(server, ctx)\n queryEvents(server, ctx)\n getReport(server, ctx)\n queryReports(server, ctx)\n queryStatuses(server, ctx)\n queryLabels(server, ctx)\n subscribeLabels(server, ctx)\n fetchLabels(server, ctx)\n getAccountPreferences(server, ctx)\n listTemplates(server, ctx)\n createTemplate(server, ctx)\n updateTemplate(server, ctx)\n deleteTemplate(server, ctx)\n listMembers(server, ctx)\n listOnlineMembers(server, ctx)\n addMember(server, ctx)\n updateMember(server, ctx)\n deleteMember(server, ctx)\n chat(server, ctx)\n proxied(server, ctx)\n getCapabilities(server, ctx)\n getConfig(server, ctx)\n createQueue(server, ctx)\n listQueues(server, ctx)\n updateQueue(server, ctx)\n deleteQueue(server, ctx)\n setAddValues(server, ctx)\n setGetValues(server, ctx)\n querySets(server, ctx)\n upsertSet(server, ctx)\n setDeleteValues(server, ctx)\n deleteSet(server, ctx)\n upsertOption(server, ctx)\n listOptions(server, ctx)\n removeOptions(server, ctx)\n getReporterStats(server, ctx)\n getSubjects(server, ctx)\n grantVerifications(server, ctx)\n revokeVerifications(server, ctx)\n listVerifications(server, ctx)\n addSafelinkRule(server, ctx)\n updateSafelinkRule(server, ctx)\n removeSafelinkRule(server, ctx)\n syncSource(server, ctx)\n querySafelinkEvents(server, ctx)\n querySafelinkRules(server, ctx)\n getAccountTimeline(server, ctx)\n scheduleAction(server, ctx)\n listScheduledActions(server, ctx)\n cancelScheduledActions(server, ctx)\n routeReports(server, ctx)\n getLiveStats(server, ctx)\n getStatGroupDetails(server, ctx)\n getHistoricalStats(server, ctx)\n refreshStats(server, ctx)\n assignQueueModerator(server, ctx)\n unassignQueueModerator(server, ctx)\n getQueueAssignments(server, ctx)\n getLatestReport(server, ctx)\n assignReportModerator(server, ctx)\n unassignReportModerator(server, ctx)\n getReportAssignments(server, ctx)\n createActivity(server, ctx)\n closeReports(server, ctx)\n listActivities(server, ctx)\n queryActivities(server, ctx)\n queryModeratorActivity(server, ctx)\n reassignQueue(server, ctx)\n return server\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getStatGroupDetails.d.ts","sourceRoot":"","sources":["../../../src/api/report/getStatGroupDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,MAAM,EACZ,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QAsCvD"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ForbiddenError, InvalidRequestError, } from '@atproto/xrpc-server';
|
|
2
|
+
import { tools } from '../../lexicons/index.js';
|
|
3
|
+
import { QueueAccess } from '../../queue/access.js';
|
|
4
|
+
export default function (server, ctx) {
|
|
5
|
+
server.add(tools.ozone.report.getStatGroupDetails, {
|
|
6
|
+
auth: ctx.authVerifier.modOrAdminToken,
|
|
7
|
+
handler: async ({ params, auth, signal }) => {
|
|
8
|
+
const { queueId, moderatorDid, reportTypes } = params;
|
|
9
|
+
const groupCount = [
|
|
10
|
+
queueId !== undefined,
|
|
11
|
+
moderatorDid !== undefined,
|
|
12
|
+
reportTypes !== undefined,
|
|
13
|
+
].filter(Boolean).length;
|
|
14
|
+
if (groupCount > 1 || queueId === 0) {
|
|
15
|
+
throw new InvalidRequestError('Select at most one stat group');
|
|
16
|
+
}
|
|
17
|
+
if (moderatorDid && !auth.credentials.isAdmin) {
|
|
18
|
+
throw new ForbiddenError('Unauthorized');
|
|
19
|
+
}
|
|
20
|
+
const access = await QueueAccess.forActor(ctx.db, auth.credentials);
|
|
21
|
+
if (queueId !== undefined && queueId > 0) {
|
|
22
|
+
access.assertQueue(queueId);
|
|
23
|
+
const queue = await ctx.db.db
|
|
24
|
+
.selectFrom('report_queue')
|
|
25
|
+
.select('id')
|
|
26
|
+
.where('id', '=', queueId)
|
|
27
|
+
.where('deletedAt', 'is', null)
|
|
28
|
+
.executeTakeFirst();
|
|
29
|
+
if (!queue) {
|
|
30
|
+
throw new InvalidRequestError('Queue not found', 'QueueNotFound');
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
const reportStatsService = ctx.reportStatsService(ctx.db);
|
|
34
|
+
const body = await reportStatsService.getStatGroupDetails(params, access, signal);
|
|
35
|
+
return { encoding: 'application/json', body };
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=getStatGroupDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get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M,KAAK,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE;qBAC1B,UAAU,CAAC,cAAc,CAAC;qBAC1B,MAAM,CAAC,IAAI,CAAC;qBACZ,KAAK,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,CAAC;qBACzB,KAAK,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC;qBAC9B,gBAAgB,EAAE,CAAA;gBACrB,IAAI,CAAC,KAAK,EAAE,CAAC;oBACX,MAAM,IAAI,mBAAmB,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAA;gBACnE,CAAC;YACH,CAAC;YACD,MAAM,kBAAkB,GAAG,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;YACzD,MAAM,IAAI,GAAG,MAAM,kBAAkB,CAAC,mBAAmB,CACvD,MAAM,EACN,MAAM,EACN,MAAM,CACP,CAAA;YACD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAA;QAC/C,CAAC;KACF,CAAC,CAAA;AACJ,CAAC","sourcesContent":["import {\n ForbiddenError,\n InvalidRequestError,\n type Server,\n} from '@atproto/xrpc-server'\nimport type { AppContext } from '../../context.js'\nimport { tools } from '../../lexicons/index.js'\nimport { QueueAccess } from '../../queue/access.js'\n\nexport default function (server: Server, ctx: AppContext) {\n server.add(tools.ozone.report.getStatGroupDetails, {\n auth: ctx.authVerifier.modOrAdminToken,\n handler: async ({ params, auth, signal }) => {\n const { queueId, moderatorDid, reportTypes } = params\n const groupCount = [\n queueId !== undefined,\n moderatorDid !== undefined,\n reportTypes !== undefined,\n ].filter(Boolean).length\n if (groupCount > 1 || queueId === 0) {\n throw new InvalidRequestError('Select at most one stat group')\n }\n if (moderatorDid && !auth.credentials.isAdmin) {\n throw new ForbiddenError('Unauthorized')\n }\n const access = await QueueAccess.forActor(ctx.db, auth.credentials)\n if (queueId !== undefined && queueId > 0) {\n access.assertQueue(queueId)\n const queue = await ctx.db.db\n .selectFrom('report_queue')\n .select('id')\n .where('id', '=', queueId)\n .where('deletedAt', 'is', null)\n .executeTakeFirst()\n if (!queue) {\n throw new InvalidRequestError('Queue not found', 'QueueNotFound')\n }\n }\n const reportStatsService = ctx.reportStatsService(ctx.db)\n const body = await reportStatsService.getStatGroupDetails(\n params,\n access,\n signal,\n )\n return { encoding: 'application/json', body }\n },\n })\n}\n"]}
|
|
@@ -79,6 +79,10 @@ export { external };
|
|
|
79
79
|
type View = {
|
|
80
80
|
$type?: "app.bsky.embed.external#view";
|
|
81
81
|
"external": ViewExternal;
|
|
82
|
+
/**
|
|
83
|
+
* Hydrated modality-specific data for the external embed, when available.
|
|
84
|
+
*/
|
|
85
|
+
"data"?: l.$Typed<ViewArticle> | l.$Typed<ViewArticlePublication> | l.$Typed<ViewGallery> | l.$Typed<ViewLivestream> | l.Unknown$TypedObject;
|
|
82
86
|
};
|
|
83
87
|
export type { View };
|
|
84
88
|
declare const view: l.TypedObjectSchema<"app.bsky.embed.external#view", l.Validator<View, View>>;
|
|
@@ -134,7 +138,7 @@ export type { ViewExternalSource };
|
|
|
134
138
|
/** The source of an external embed, such as a standard.site publication. */
|
|
135
139
|
declare const viewExternalSource: l.TypedObjectSchema<"app.bsky.embed.external#viewExternalSource", l.Validator<ViewExternalSource, ViewExternalSource>>;
|
|
136
140
|
export { viewExternalSource };
|
|
137
|
-
/** The theme colors of an external source, such as a standard.
|
|
141
|
+
/** The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source. */
|
|
138
142
|
type ViewExternalSourceTheme = {
|
|
139
143
|
$type?: "app.bsky.embed.external#viewExternalSourceTheme";
|
|
140
144
|
"backgroundRGB"?: ColorRGB;
|
|
@@ -143,7 +147,7 @@ type ViewExternalSourceTheme = {
|
|
|
143
147
|
"accentForegroundRGB"?: ColorRGB;
|
|
144
148
|
};
|
|
145
149
|
export type { ViewExternalSourceTheme };
|
|
146
|
-
/** The theme colors of an external source, such as a standard.
|
|
150
|
+
/** The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source. */
|
|
147
151
|
declare const viewExternalSourceTheme: l.TypedObjectSchema<"app.bsky.embed.external#viewExternalSourceTheme", l.Validator<ViewExternalSourceTheme, ViewExternalSourceTheme>>;
|
|
148
152
|
export { viewExternalSourceTheme };
|
|
149
153
|
/** RGB color definition, inspired by site.standard.theme.color#rgb */
|
|
@@ -159,6 +163,10 @@ declare const colorRGB: l.TypedObjectSchema<"app.bsky.embed.external#colorRGB",
|
|
|
159
163
|
export { colorRGB };
|
|
160
164
|
type ViewArticle = {
|
|
161
165
|
$type?: "app.bsky.embed.external#viewArticle";
|
|
166
|
+
/**
|
|
167
|
+
* Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.
|
|
168
|
+
*/
|
|
169
|
+
"providerId"?: string;
|
|
162
170
|
"uri": l.UriString;
|
|
163
171
|
"title": string;
|
|
164
172
|
"description": string;
|
|
@@ -170,6 +178,7 @@ type ViewArticle = {
|
|
|
170
178
|
"image"?: l.UriString;
|
|
171
179
|
"publisher"?: ViewArticlePublication;
|
|
172
180
|
"readingTime"?: number;
|
|
181
|
+
"viewer"?: ViewArticleViewerState;
|
|
173
182
|
"likeCount"?: number;
|
|
174
183
|
/**
|
|
175
184
|
* Available profile previews. Selected deterministically by DID; not a ranking.
|
|
@@ -179,8 +188,24 @@ type ViewArticle = {
|
|
|
179
188
|
export type { ViewArticle };
|
|
180
189
|
declare const viewArticle: l.TypedObjectSchema<"app.bsky.embed.external#viewArticle", l.Validator<ViewArticle, ViewArticle>>;
|
|
181
190
|
export { viewArticle };
|
|
191
|
+
/** Metadata about the requesting account's relationship with the subject article. Only has meaningful content for authed requests. */
|
|
192
|
+
type ViewArticleViewerState = {
|
|
193
|
+
$type?: "app.bsky.embed.external#viewArticleViewerState";
|
|
194
|
+
/**
|
|
195
|
+
* The requesting account's site.standard.graph.recommend record for this article, if recommended.
|
|
196
|
+
*/
|
|
197
|
+
"like"?: l.AtUriString;
|
|
198
|
+
};
|
|
199
|
+
export type { ViewArticleViewerState };
|
|
200
|
+
/** Metadata about the requesting account's relationship with the subject article. Only has meaningful content for authed requests. */
|
|
201
|
+
declare const viewArticleViewerState: l.TypedObjectSchema<"app.bsky.embed.external#viewArticleViewerState", l.Validator<ViewArticleViewerState, ViewArticleViewerState>>;
|
|
202
|
+
export { viewArticleViewerState };
|
|
182
203
|
type ViewArticlePublication = {
|
|
183
204
|
$type?: "app.bsky.embed.external#viewArticlePublication";
|
|
205
|
+
/**
|
|
206
|
+
* Best-effort provider domain for cosmetic attribution, such as pckt.blog. Not verified provenance.
|
|
207
|
+
*/
|
|
208
|
+
"providerId"?: string;
|
|
184
209
|
"uri": l.UriString;
|
|
185
210
|
"title": string;
|
|
186
211
|
"description": string;
|
|
@@ -192,12 +217,12 @@ type ViewArticlePublication = {
|
|
|
192
217
|
"logo"?: l.UriString;
|
|
193
218
|
"image"?: l.UriString;
|
|
194
219
|
"theme"?: ViewArticlePublicationTheme;
|
|
220
|
+
"viewer"?: ViewArticlePublicationViewerState;
|
|
195
221
|
"subscriptionCount"?: number;
|
|
196
222
|
/**
|
|
197
223
|
* Available profile previews. Selected deterministically by DID; not a ranking.
|
|
198
224
|
*/
|
|
199
225
|
"subscribers"?: (ActorDefs.ProfileViewBasic)[];
|
|
200
|
-
"viewer"?: ViewArticlePublicationViewerState;
|
|
201
226
|
};
|
|
202
227
|
export type { ViewArticlePublication };
|
|
203
228
|
declare const viewArticlePublication: l.TypedObjectSchema<"app.bsky.embed.external#viewArticlePublication", l.Validator<ViewArticlePublication, ViewArticlePublication>>;
|
|
@@ -238,6 +263,10 @@ declare const viewArticlePublicationTheme: l.TypedObjectSchema<"app.bsky.embed.e
|
|
|
238
263
|
export { viewArticlePublicationTheme };
|
|
239
264
|
type ViewGallery = {
|
|
240
265
|
$type?: "app.bsky.embed.external#viewGallery";
|
|
266
|
+
/**
|
|
267
|
+
* Best-effort provider domain for cosmetic attribution, such as grain.social. Not verified provenance.
|
|
268
|
+
*/
|
|
269
|
+
"providerId"?: string;
|
|
241
270
|
"uri": l.UriString;
|
|
242
271
|
"title": string;
|
|
243
272
|
"description": string;
|
|
@@ -254,6 +283,7 @@ type ViewGallery = {
|
|
|
254
283
|
* Total number of gallery item backlinks, independent of the items included in this view.
|
|
255
284
|
*/
|
|
256
285
|
"photoCount"?: number;
|
|
286
|
+
"viewer"?: ViewGalleryViewerState;
|
|
257
287
|
"likeCount"?: number;
|
|
258
288
|
/**
|
|
259
289
|
* Available profile previews. Selected deterministically by DID; not a ranking.
|
|
@@ -263,6 +293,18 @@ type ViewGallery = {
|
|
|
263
293
|
export type { ViewGallery };
|
|
264
294
|
declare const viewGallery: l.TypedObjectSchema<"app.bsky.embed.external#viewGallery", l.Validator<ViewGallery, ViewGallery>>;
|
|
265
295
|
export { viewGallery };
|
|
296
|
+
/** Metadata about the requesting account's relationship with the subject gallery. Only has meaningful content for authed requests. */
|
|
297
|
+
type ViewGalleryViewerState = {
|
|
298
|
+
$type?: "app.bsky.embed.external#viewGalleryViewerState";
|
|
299
|
+
/**
|
|
300
|
+
* The requesting account's social.grain.favorite record for this gallery, if favorited.
|
|
301
|
+
*/
|
|
302
|
+
"like"?: l.AtUriString;
|
|
303
|
+
};
|
|
304
|
+
export type { ViewGalleryViewerState };
|
|
305
|
+
/** Metadata about the requesting account's relationship with the subject gallery. Only has meaningful content for authed requests. */
|
|
306
|
+
declare const viewGalleryViewerState: l.TypedObjectSchema<"app.bsky.embed.external#viewGalleryViewerState", l.Validator<ViewGalleryViewerState, ViewGalleryViewerState>>;
|
|
307
|
+
export { viewGalleryViewerState };
|
|
266
308
|
type ViewGalleryImage = {
|
|
267
309
|
$type?: "app.bsky.embed.external#viewGalleryImage";
|
|
268
310
|
/**
|
|
@@ -284,6 +326,10 @@ declare const viewGalleryImage: l.TypedObjectSchema<"app.bsky.embed.external#vie
|
|
|
284
326
|
export { viewGalleryImage };
|
|
285
327
|
type ViewLivestream = {
|
|
286
328
|
$type?: "app.bsky.embed.external#viewLivestream";
|
|
329
|
+
/**
|
|
330
|
+
* Best-effort provider domain for cosmetic attribution, such as stream.place. Not verified provenance.
|
|
331
|
+
*/
|
|
332
|
+
"providerId"?: string;
|
|
287
333
|
"uri": l.UriString;
|
|
288
334
|
"title": string;
|
|
289
335
|
"description": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/embed/external.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AACxC,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAC;AAC7E,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,4BAA4B,CAAC;AAExC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,4HAA4H;AAC5H,KAAK,IAAI,GAAG;IAAE,KAAK,CAAC,EAAE,yBAAyB,CAAC;IAAA,UAAU,EAAC,QAAQ,CAAA;CAAE,CAAC;AAEtE,YAAY,EAAE,IAAI,EAAE,CAAC;AAErB,4HAA4H;AAC5H,QAAA,MAAM,IAAI,yEAAgJ,CAAC;AAE3J,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,KAAK,4BAAQ,CAAC;AAEpB,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,SAAS,2HAAyC,CAAC;AAChE,eAAO,MAAM,MAAM;;eAhBG,yBAAyB;kBAAY,QAAQ;;;eAA7C,yBAAyB;kBAAY,QAAQ;;CAgBV,CAAC;AAC1D,eAAO,MAAM,OAAO;YAjBE,yBAAyB;cAAY,Q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gBAAgB,EAAE,CAAC;AAEjC,QAAA,MAAM,gBAAgB,kHAAiY,CAAC;AAExZ,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,KAAK,cAAc,GAAG;IAAE,KAAK,CAAC,EAAE,wCAAwC,CAAC;IAEvE;;OAEG;IACH,YAAY,CAAC,EAAC,MAAM,CAAC;IAAA,KAAK,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,OAAO,EAAC,MAAM,CAAC;IAAA,aAAa,EAAC,MAAM,CAAC;IAAA,WAAW,CAAC,EAAC,CAAC,CAAC,cAAc,CAAC;IAAA,WAAW,CAAC,EAAC,CAAC,CAAC,cAAc,CAAC;IAAA,QAAQ,CAAC,EAAC,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;IAAA,gBAAgB,CAAC,EAAC,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;IAAA,oBAAoB,CAAC,EAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,CAAC;IAAA,OAAO,CAAC,EAAC,CAAC,CAAC,SAAS,CAAC;IAExR;;OAEG;IACH,QAAQ,EAAC,OAAO,CAAC;IAAA,WAAW,CAAC,EAAC,CAAC,CAAC,cAAc,CAAC;IAAA,SAAS,CAAC,EAAC,CAAC,CAAC,cAAc,CAAC;IAE3E;;OAEG;IACH,YAAY,CAAC,EAAC,CAAC,CAAC,cAAc,CAAA;CAAE,CAAC;AAEnC,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,QAAA,MAAM,cAAc,4GAA8uC,CAAC;AAEnwC,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -26,32 +26,38 @@ export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
|
26
26
|
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
27
27
|
const external = /*#__PURE__*/ l.typedObject($nsid, "external", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "thumb": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.blob({ "accept": ["image/*"], "maxSize": 1000000 })), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))) }));
|
|
28
28
|
export { external };
|
|
29
|
-
const view = /*#__PURE__*/ l.typedObject($nsid, "view", /*#__PURE__*/ l.object({ "external": /*#__PURE__*/ l.ref((() => viewExternal)) }));
|
|
29
|
+
const view = /*#__PURE__*/ l.typedObject($nsid, "view", /*#__PURE__*/ l.object({ "external": /*#__PURE__*/ l.ref((() => viewExternal)), "data": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => viewArticle)), /*#__PURE__*/ l.typedRef((() => viewArticlePublication)), /*#__PURE__*/ l.typedRef((() => viewGallery)), /*#__PURE__*/ l.typedRef((() => viewLivestream))], false)) }));
|
|
30
30
|
export { view };
|
|
31
31
|
const viewExternal = /*#__PURE__*/ l.typedObject($nsid, "viewExternal", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "thumb": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "readingTime": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "source": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewExternalSource))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))) }));
|
|
32
32
|
export { viewExternal };
|
|
33
33
|
/** The source of an external embed, such as a standard.site publication. */
|
|
34
34
|
const viewExternalSource = /*#__PURE__*/ l.typedObject($nsid, "viewExternalSource", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "icon": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "theme": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewExternalSourceTheme))) }));
|
|
35
35
|
export { viewExternalSource };
|
|
36
|
-
/** The theme colors of an external source, such as a standard.
|
|
36
|
+
/** The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source. */
|
|
37
37
|
const viewExternalSourceTheme = /*#__PURE__*/ l.typedObject($nsid, "viewExternalSourceTheme", /*#__PURE__*/ l.object({ "backgroundRGB": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => colorRGB))), "foregroundRGB": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => colorRGB))), "accentRGB": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => colorRGB))), "accentForegroundRGB": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => colorRGB))) }));
|
|
38
38
|
export { viewExternalSourceTheme };
|
|
39
39
|
/** RGB color definition, inspired by site.standard.theme.color#rgb */
|
|
40
40
|
const colorRGB = /*#__PURE__*/ l.typedObject($nsid, "colorRGB", /*#__PURE__*/ l.object({ "r": /*#__PURE__*/ l.integer({ "minimum": 0, "maximum": 255 }), "g": /*#__PURE__*/ l.integer({ "minimum": 0, "maximum": 255 }), "b": /*#__PURE__*/ l.integer({ "minimum": 0, "maximum": 255 }) }));
|
|
41
41
|
export { colorRGB };
|
|
42
|
-
const viewArticle = /*#__PURE__*/ l.typedObject($nsid, "viewArticle", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))), "image": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "publisher": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewArticlePublication))), "readingTime": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 1 })), "likeCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "likers": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)), { "maxLength": 3 })) }));
|
|
42
|
+
const viewArticle = /*#__PURE__*/ l.typedObject($nsid, "viewArticle", /*#__PURE__*/ l.object({ "providerId": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 128 })), "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))), "image": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "publisher": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewArticlePublication))), "readingTime": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 1 })), "viewer": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewArticleViewerState))), "likeCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "likers": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)), { "maxLength": 3 })) }));
|
|
43
43
|
export { viewArticle };
|
|
44
|
-
|
|
44
|
+
/** Metadata about the requesting account's relationship with the subject article. Only has meaningful content for authed requests. */
|
|
45
|
+
const viewArticleViewerState = /*#__PURE__*/ l.typedObject($nsid, "viewArticleViewerState", /*#__PURE__*/ l.object({ "like": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-uri" })) }));
|
|
46
|
+
export { viewArticleViewerState };
|
|
47
|
+
const viewArticlePublication = /*#__PURE__*/ l.typedObject($nsid, "viewArticlePublication", /*#__PURE__*/ l.object({ "providerId": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 128 })), "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))), "logo": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "image": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "theme": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewArticlePublicationTheme))), "viewer": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewArticlePublicationViewerState))), "subscriptionCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "subscribers": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)), { "maxLength": 3 })) }));
|
|
45
48
|
export { viewArticlePublication };
|
|
46
49
|
/** Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests. */
|
|
47
50
|
const viewArticlePublicationViewerState = /*#__PURE__*/ l.typedObject($nsid, "viewArticlePublicationViewerState", /*#__PURE__*/ l.object({ "subscription": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-uri" })) }));
|
|
48
51
|
export { viewArticlePublicationViewerState };
|
|
49
52
|
const viewArticlePublicationTheme = /*#__PURE__*/ l.typedObject($nsid, "viewArticlePublicationTheme", /*#__PURE__*/ l.object({ "background": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "foreground": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "accent": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "accentForeground": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) }));
|
|
50
53
|
export { viewArticlePublicationTheme };
|
|
51
|
-
const viewGallery = /*#__PURE__*/ l.typedObject($nsid, "viewGallery", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))), "items": /*#__PURE__*/ l.array(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => viewGalleryImage))], false)), "photoCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "likeCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "likers": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)), { "maxLength": 3 })) }));
|
|
54
|
+
const viewGallery = /*#__PURE__*/ l.typedObject($nsid, "viewGallery", /*#__PURE__*/ l.object({ "providerId": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 128 })), "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))), "items": /*#__PURE__*/ l.array(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => viewGalleryImage))], false)), "photoCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "viewer": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => viewGalleryViewerState))), "likeCount": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer({ "minimum": 0 })), "likers": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)), { "maxLength": 3 })) }));
|
|
52
55
|
export { viewGallery };
|
|
56
|
+
/** Metadata about the requesting account's relationship with the subject gallery. Only has meaningful content for authed requests. */
|
|
57
|
+
const viewGalleryViewerState = /*#__PURE__*/ l.typedObject($nsid, "viewGalleryViewerState", /*#__PURE__*/ l.object({ "like": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-uri" })) }));
|
|
58
|
+
export { viewGalleryViewerState };
|
|
53
59
|
const viewGalleryImage = /*#__PURE__*/ l.typedObject($nsid, "viewGalleryImage", /*#__PURE__*/ l.object({ "thumbnail": /*#__PURE__*/ l.string({ "format": "uri" }), "fullsize": /*#__PURE__*/ l.string({ "format": "uri" }), "alt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "aspectRatio": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => EmbedDefs.aspectRatio))) }));
|
|
54
60
|
export { viewGalleryImage };
|
|
55
|
-
const viewLivestream = /*#__PURE__*/ l.typedObject($nsid, "viewLivestream", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))), "image": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "active": /*#__PURE__*/ l.boolean(), "startedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "endedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "lastSeenAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })) }));
|
|
61
|
+
const viewLivestream = /*#__PURE__*/ l.typedObject($nsid, "viewLivestream", /*#__PURE__*/ l.object({ "providerId": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "maxLength": 128 })), "uri": /*#__PURE__*/ l.string({ "format": "uri" }), "title": /*#__PURE__*/ l.string(), "description": /*#__PURE__*/ l.string(), "createdAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "updatedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "labels": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => LabelDefs.label)))), "associatedRefs": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => RepoStrongRef.main)))), "associatedProfiles": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => ActorDefs.profileViewBasic)))), "image": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "uri" })), "active": /*#__PURE__*/ l.boolean(), "startedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "endedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "lastSeenAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })) }));
|
|
56
62
|
export { viewLivestream };
|
|
57
63
|
//# sourceMappingURL=external.defs.js.map
|