@atproto/bsky 0.3.4 → 0.3.6
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 +19 -0
- package/dist/data-plane/server/routes/moderation.js +4 -0
- package/dist/data-plane/server/routes/moderation.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +1 -0
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +1 -1
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/label.d.ts +2 -1
- package/dist/hydration/label.d.ts.map +1 -1
- package/dist/hydration/label.js +38 -5
- package/dist/hydration/label.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js +1 -1
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts +4 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.js +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.d.ts +6 -0
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.js +1 -1
- package/dist/lexicons/tools/ozone/safelink/queryRules.defs.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +12 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +12 -1
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +130 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +168 -0
- package/dist/proto/bsky_pb.js.map +1 -1
- package/package.json +9 -9
package/dist/proto/bsky_pb.d.ts
CHANGED
|
@@ -5147,6 +5147,136 @@ export declare class GetLabelsResponse extends Message<GetLabelsResponse> {
|
|
|
5147
5147
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLabelsResponse;
|
|
5148
5148
|
static equals(a: GetLabelsResponse | PlainMessage<GetLabelsResponse> | undefined, b: GetLabelsResponse | PlainMessage<GetLabelsResponse> | undefined): boolean;
|
|
5149
5149
|
}
|
|
5150
|
+
/**
|
|
5151
|
+
* @generated from message bsky.Tag
|
|
5152
|
+
*/
|
|
5153
|
+
export declare class Tag extends Message<Tag> {
|
|
5154
|
+
/**
|
|
5155
|
+
* @generated from field: string subject = 1;
|
|
5156
|
+
*/
|
|
5157
|
+
subject: string;
|
|
5158
|
+
/**
|
|
5159
|
+
* DID of the moderator or service that created the event.
|
|
5160
|
+
*
|
|
5161
|
+
* @generated from field: string issuer = 2;
|
|
5162
|
+
*/
|
|
5163
|
+
issuer: string;
|
|
5164
|
+
/**
|
|
5165
|
+
* @generated from field: string value = 3;
|
|
5166
|
+
*/
|
|
5167
|
+
value: string;
|
|
5168
|
+
/**
|
|
5169
|
+
* Time Atlantis stored the tag.
|
|
5170
|
+
*
|
|
5171
|
+
* @generated from field: google.protobuf.Timestamp indexed_at = 4;
|
|
5172
|
+
*/
|
|
5173
|
+
indexedAt?: Timestamp;
|
|
5174
|
+
/**
|
|
5175
|
+
* Ozone event metadata; absent for ordinary tag writes.
|
|
5176
|
+
*
|
|
5177
|
+
* @generated from field: bsky.TagEvent event = 5;
|
|
5178
|
+
*/
|
|
5179
|
+
event?: TagEvent;
|
|
5180
|
+
/**
|
|
5181
|
+
* absent means permanent
|
|
5182
|
+
*
|
|
5183
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 6;
|
|
5184
|
+
*/
|
|
5185
|
+
expiresAt?: Timestamp;
|
|
5186
|
+
/**
|
|
5187
|
+
* Removal retained to ignore older events.
|
|
5188
|
+
*
|
|
5189
|
+
* @generated from field: bool removed = 7;
|
|
5190
|
+
*/
|
|
5191
|
+
removed: boolean;
|
|
5192
|
+
constructor(data?: PartialMessage<Tag>);
|
|
5193
|
+
static readonly runtime: typeof proto3;
|
|
5194
|
+
static readonly typeName = "bsky.Tag";
|
|
5195
|
+
static readonly fields: FieldList;
|
|
5196
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Tag;
|
|
5197
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Tag;
|
|
5198
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Tag;
|
|
5199
|
+
static equals(a: Tag | PlainMessage<Tag> | undefined, b: Tag | PlainMessage<Tag> | undefined): boolean;
|
|
5200
|
+
}
|
|
5201
|
+
/**
|
|
5202
|
+
* @generated from message bsky.GetTagsForSubjectsRequest
|
|
5203
|
+
*/
|
|
5204
|
+
export declare class GetTagsForSubjectsRequest extends Message<GetTagsForSubjectsRequest> {
|
|
5205
|
+
/**
|
|
5206
|
+
* @generated from field: repeated string subjects = 1;
|
|
5207
|
+
*/
|
|
5208
|
+
subjects: string[];
|
|
5209
|
+
/**
|
|
5210
|
+
* Ozone service DIDs; empty selects all sources.
|
|
5211
|
+
*
|
|
5212
|
+
* @generated from field: repeated string sources = 2;
|
|
5213
|
+
*/
|
|
5214
|
+
sources: string[];
|
|
5215
|
+
constructor(data?: PartialMessage<GetTagsForSubjectsRequest>);
|
|
5216
|
+
static readonly runtime: typeof proto3;
|
|
5217
|
+
static readonly typeName = "bsky.GetTagsForSubjectsRequest";
|
|
5218
|
+
static readonly fields: FieldList;
|
|
5219
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTagsForSubjectsRequest;
|
|
5220
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTagsForSubjectsRequest;
|
|
5221
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTagsForSubjectsRequest;
|
|
5222
|
+
static equals(a: GetTagsForSubjectsRequest | PlainMessage<GetTagsForSubjectsRequest> | undefined, b: GetTagsForSubjectsRequest | PlainMessage<GetTagsForSubjectsRequest> | undefined): boolean;
|
|
5223
|
+
}
|
|
5224
|
+
/**
|
|
5225
|
+
* @generated from message bsky.GetTagsForSubjectsResponse
|
|
5226
|
+
*/
|
|
5227
|
+
export declare class GetTagsForSubjectsResponse extends Message<GetTagsForSubjectsResponse> {
|
|
5228
|
+
/**
|
|
5229
|
+
* @generated from field: repeated bsky.Tag tags = 1;
|
|
5230
|
+
*/
|
|
5231
|
+
tags: Tag[];
|
|
5232
|
+
constructor(data?: PartialMessage<GetTagsForSubjectsResponse>);
|
|
5233
|
+
static readonly runtime: typeof proto3;
|
|
5234
|
+
static readonly typeName = "bsky.GetTagsForSubjectsResponse";
|
|
5235
|
+
static readonly fields: FieldList;
|
|
5236
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTagsForSubjectsResponse;
|
|
5237
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTagsForSubjectsResponse;
|
|
5238
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTagsForSubjectsResponse;
|
|
5239
|
+
static equals(a: GetTagsForSubjectsResponse | PlainMessage<GetTagsForSubjectsResponse> | undefined, b: GetTagsForSubjectsResponse | PlainMessage<GetTagsForSubjectsResponse> | undefined): boolean;
|
|
5240
|
+
}
|
|
5241
|
+
/**
|
|
5242
|
+
* Ozone event that added or removed a tag.
|
|
5243
|
+
*
|
|
5244
|
+
* @generated from message bsky.TagEvent
|
|
5245
|
+
*/
|
|
5246
|
+
export declare class TagEvent extends Message<TagEvent> {
|
|
5247
|
+
/**
|
|
5248
|
+
* Ozone service DID.
|
|
5249
|
+
*
|
|
5250
|
+
* @generated from field: string source = 1;
|
|
5251
|
+
*/
|
|
5252
|
+
source: string;
|
|
5253
|
+
/**
|
|
5254
|
+
* Ozone moderation event ID.
|
|
5255
|
+
*
|
|
5256
|
+
* @generated from field: int64 event_id = 2;
|
|
5257
|
+
*/
|
|
5258
|
+
eventId: bigint;
|
|
5259
|
+
/**
|
|
5260
|
+
* Time Ozone created the event.
|
|
5261
|
+
*
|
|
5262
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
5263
|
+
*/
|
|
5264
|
+
createdAt?: Timestamp;
|
|
5265
|
+
/**
|
|
5266
|
+
* Subject record CID; empty for account tags.
|
|
5267
|
+
*
|
|
5268
|
+
* @generated from field: string cid = 4;
|
|
5269
|
+
*/
|
|
5270
|
+
cid: string;
|
|
5271
|
+
constructor(data?: PartialMessage<TagEvent>);
|
|
5272
|
+
static readonly runtime: typeof proto3;
|
|
5273
|
+
static readonly typeName = "bsky.TagEvent";
|
|
5274
|
+
static readonly fields: FieldList;
|
|
5275
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TagEvent;
|
|
5276
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TagEvent;
|
|
5277
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TagEvent;
|
|
5278
|
+
static equals(a: TagEvent | PlainMessage<TagEvent> | undefined, b: TagEvent | PlainMessage<TagEvent> | undefined): boolean;
|
|
5279
|
+
}
|
|
5150
5280
|
/**
|
|
5151
5281
|
* @generated from message bsky.GetActorStarterPacksRequest
|
|
5152
5282
|
*/
|