@atproto/ozone 0.1.162 → 0.1.164
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 +18 -0
- package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.d.ts +4 -0
- package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.d.ts.map +1 -0
- package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.js +24 -0
- package/dist/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.js.map +1 -0
- package/dist/db/migrations/index.d.ts +1 -0
- package/dist/db/migrations/index.d.ts.map +1 -1
- package/dist/db/migrations/index.js +2 -1
- package/dist/db/migrations/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +4 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +8 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +232 -6
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +118 -3
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/draft/defs.d.ts +5 -1
- package/dist/lexicon/types/app/bsky/draft/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/draft/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +3 -1
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts +27 -0
- package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts +26 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +3 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
- package/dist/verification/issuer.d.ts.map +1 -1
- package/dist/verification/issuer.js +9 -0
- package/dist/verification/issuer.js.map +1 -1
- package/package.json +6 -6
- package/src/db/migrations/20260210T154806448Z-mod-event-created-by-indexes.ts +22 -0
- package/src/db/migrations/index.ts +1 -0
- package/src/lexicon/index.ts +26 -0
- package/src/lexicon/lexicons.ts +127 -3
- package/src/lexicon/types/app/bsky/draft/defs.ts +5 -1
- package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -1
- package/src/lexicon/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +45 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +44 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +3 -1
- package/src/verification/issuer.ts +11 -0
- package/tests/moderation-events.test.ts +36 -0
- package/tests/verification.test.ts +20 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -2228,6 +2228,16 @@ exports.schemaDict = {
|
|
|
2228
2228
|
type: 'object',
|
|
2229
2229
|
required: ['posts'],
|
|
2230
2230
|
properties: {
|
|
2231
|
+
deviceId: {
|
|
2232
|
+
type: 'string',
|
|
2233
|
+
description: 'UUIDv4 identifier of the device that created this draft.',
|
|
2234
|
+
maxLength: 100,
|
|
2235
|
+
},
|
|
2236
|
+
deviceName: {
|
|
2237
|
+
type: 'string',
|
|
2238
|
+
description: 'The device and/or platform on which the draft was created.',
|
|
2239
|
+
maxLength: 100,
|
|
2240
|
+
},
|
|
2231
2241
|
posts: {
|
|
2232
2242
|
description: 'Array of draft posts that compose this draft.',
|
|
2233
2243
|
type: 'array',
|
|
@@ -2279,9 +2289,9 @@ exports.schemaDict = {
|
|
|
2279
2289
|
properties: {
|
|
2280
2290
|
text: {
|
|
2281
2291
|
type: 'string',
|
|
2282
|
-
maxLength:
|
|
2283
|
-
maxGraphemes:
|
|
2284
|
-
description: 'The primary post content.',
|
|
2292
|
+
maxLength: 10000,
|
|
2293
|
+
maxGraphemes: 1000,
|
|
2294
|
+
description: 'The primary post content. It has a higher limit than post contents to allow storing a larger text that can later be refined into smaller posts.',
|
|
2285
2295
|
},
|
|
2286
2296
|
labels: {
|
|
2287
2297
|
type: 'union',
|
|
@@ -6020,6 +6030,10 @@ exports.schemaDict = {
|
|
|
6020
6030
|
},
|
|
6021
6031
|
recId: {
|
|
6022
6032
|
type: 'integer',
|
|
6033
|
+
description: 'DEPRECATED: use recIdStr instead.',
|
|
6034
|
+
},
|
|
6035
|
+
recIdStr: {
|
|
6036
|
+
type: 'string',
|
|
6023
6037
|
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
6024
6038
|
},
|
|
6025
6039
|
},
|
|
@@ -7781,6 +7795,56 @@ exports.schemaDict = {
|
|
|
7781
7795
|
},
|
|
7782
7796
|
},
|
|
7783
7797
|
},
|
|
7798
|
+
AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton: {
|
|
7799
|
+
lexicon: 1,
|
|
7800
|
+
id: 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton',
|
|
7801
|
+
defs: {
|
|
7802
|
+
main: {
|
|
7803
|
+
type: 'query',
|
|
7804
|
+
description: 'Get a skeleton of suggested users for onboarding. Intended to be called and hydrated by app.bsky.unspecced.getSuggestedOnboardingUsers',
|
|
7805
|
+
parameters: {
|
|
7806
|
+
type: 'params',
|
|
7807
|
+
properties: {
|
|
7808
|
+
viewer: {
|
|
7809
|
+
type: 'string',
|
|
7810
|
+
format: 'did',
|
|
7811
|
+
description: 'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
7812
|
+
},
|
|
7813
|
+
category: {
|
|
7814
|
+
type: 'string',
|
|
7815
|
+
description: 'Category of users to get suggestions for.',
|
|
7816
|
+
},
|
|
7817
|
+
limit: {
|
|
7818
|
+
type: 'integer',
|
|
7819
|
+
minimum: 1,
|
|
7820
|
+
maximum: 50,
|
|
7821
|
+
default: 25,
|
|
7822
|
+
},
|
|
7823
|
+
},
|
|
7824
|
+
},
|
|
7825
|
+
output: {
|
|
7826
|
+
encoding: 'application/json',
|
|
7827
|
+
schema: {
|
|
7828
|
+
type: 'object',
|
|
7829
|
+
required: ['dids'],
|
|
7830
|
+
properties: {
|
|
7831
|
+
dids: {
|
|
7832
|
+
type: 'array',
|
|
7833
|
+
items: {
|
|
7834
|
+
type: 'string',
|
|
7835
|
+
format: 'did',
|
|
7836
|
+
},
|
|
7837
|
+
},
|
|
7838
|
+
recId: {
|
|
7839
|
+
type: 'string',
|
|
7840
|
+
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
7841
|
+
},
|
|
7842
|
+
},
|
|
7843
|
+
},
|
|
7844
|
+
},
|
|
7845
|
+
},
|
|
7846
|
+
},
|
|
7847
|
+
},
|
|
7784
7848
|
AppBskyUnspeccedGetPopularFeedGenerators: {
|
|
7785
7849
|
lexicon: 1,
|
|
7786
7850
|
id: 'app.bsky.unspecced.getPopularFeedGenerators',
|
|
@@ -8056,6 +8120,51 @@ exports.schemaDict = {
|
|
|
8056
8120
|
},
|
|
8057
8121
|
},
|
|
8058
8122
|
},
|
|
8123
|
+
AppBskyUnspeccedGetSuggestedOnboardingUsers: {
|
|
8124
|
+
lexicon: 1,
|
|
8125
|
+
id: 'app.bsky.unspecced.getSuggestedOnboardingUsers',
|
|
8126
|
+
defs: {
|
|
8127
|
+
main: {
|
|
8128
|
+
type: 'query',
|
|
8129
|
+
description: 'Get a list of suggested users for onboarding',
|
|
8130
|
+
parameters: {
|
|
8131
|
+
type: 'params',
|
|
8132
|
+
properties: {
|
|
8133
|
+
category: {
|
|
8134
|
+
type: 'string',
|
|
8135
|
+
description: 'Category of users to get suggestions for.',
|
|
8136
|
+
},
|
|
8137
|
+
limit: {
|
|
8138
|
+
type: 'integer',
|
|
8139
|
+
minimum: 1,
|
|
8140
|
+
maximum: 50,
|
|
8141
|
+
default: 25,
|
|
8142
|
+
},
|
|
8143
|
+
},
|
|
8144
|
+
},
|
|
8145
|
+
output: {
|
|
8146
|
+
encoding: 'application/json',
|
|
8147
|
+
schema: {
|
|
8148
|
+
type: 'object',
|
|
8149
|
+
required: ['actors'],
|
|
8150
|
+
properties: {
|
|
8151
|
+
actors: {
|
|
8152
|
+
type: 'array',
|
|
8153
|
+
items: {
|
|
8154
|
+
type: 'ref',
|
|
8155
|
+
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
8156
|
+
},
|
|
8157
|
+
},
|
|
8158
|
+
recId: {
|
|
8159
|
+
type: 'string',
|
|
8160
|
+
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8161
|
+
},
|
|
8162
|
+
},
|
|
8163
|
+
},
|
|
8164
|
+
},
|
|
8165
|
+
},
|
|
8166
|
+
},
|
|
8167
|
+
},
|
|
8059
8168
|
AppBskyUnspeccedGetSuggestedStarterPacks: {
|
|
8060
8169
|
lexicon: 1,
|
|
8061
8170
|
id: 'app.bsky.unspecced.getSuggestedStarterPacks',
|
|
@@ -8284,6 +8393,10 @@ exports.schemaDict = {
|
|
|
8284
8393
|
},
|
|
8285
8394
|
recId: {
|
|
8286
8395
|
type: 'integer',
|
|
8396
|
+
description: 'DEPRECATED: use recIdStr instead.',
|
|
8397
|
+
},
|
|
8398
|
+
recIdStr: {
|
|
8399
|
+
type: 'string',
|
|
8287
8400
|
description: 'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8288
8401
|
},
|
|
8289
8402
|
},
|
|
@@ -19927,11 +20040,13 @@ exports.ids = {
|
|
|
19927
20040
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
|
19928
20041
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
|
|
19929
20042
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton',
|
|
20043
|
+
AppBskyUnspeccedGetOnboardingSuggestedUsersSkeleton: 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton',
|
|
19930
20044
|
AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
|
|
19931
20045
|
AppBskyUnspeccedGetPostThreadOtherV2: 'app.bsky.unspecced.getPostThreadOtherV2',
|
|
19932
20046
|
AppBskyUnspeccedGetPostThreadV2: 'app.bsky.unspecced.getPostThreadV2',
|
|
19933
20047
|
AppBskyUnspeccedGetSuggestedFeeds: 'app.bsky.unspecced.getSuggestedFeeds',
|
|
19934
20048
|
AppBskyUnspeccedGetSuggestedFeedsSkeleton: 'app.bsky.unspecced.getSuggestedFeedsSkeleton',
|
|
20049
|
+
AppBskyUnspeccedGetSuggestedOnboardingUsers: 'app.bsky.unspecced.getSuggestedOnboardingUsers',
|
|
19935
20050
|
AppBskyUnspeccedGetSuggestedStarterPacks: 'app.bsky.unspecced.getSuggestedStarterPacks',
|
|
19936
20051
|
AppBskyUnspeccedGetSuggestedStarterPacksSkeleton: 'app.bsky.unspecced.getSuggestedStarterPacksSkeleton',
|
|
19937
20052
|
AppBskyUnspeccedGetSuggestedUsers: 'app.bsky.unspecced.getSuggestedUsers',
|