@atproto/bsky 0.3.5 → 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.
@@ -7917,6 +7917,174 @@ export class GetLabelsResponse extends Message {
7917
7917
  return proto3.util.equals(GetLabelsResponse, a, b);
7918
7918
  }
7919
7919
  }
7920
+ /**
7921
+ * @generated from message bsky.Tag
7922
+ */
7923
+ export class Tag extends Message {
7924
+ constructor(data) {
7925
+ super();
7926
+ /**
7927
+ * @generated from field: string subject = 1;
7928
+ */
7929
+ this.subject = "";
7930
+ /**
7931
+ * DID of the moderator or service that created the event.
7932
+ *
7933
+ * @generated from field: string issuer = 2;
7934
+ */
7935
+ this.issuer = "";
7936
+ /**
7937
+ * @generated from field: string value = 3;
7938
+ */
7939
+ this.value = "";
7940
+ /**
7941
+ * Removal retained to ignore older events.
7942
+ *
7943
+ * @generated from field: bool removed = 7;
7944
+ */
7945
+ this.removed = false;
7946
+ proto3.util.initPartial(data, this);
7947
+ }
7948
+ static { this.runtime = proto3; }
7949
+ static { this.typeName = "bsky.Tag"; }
7950
+ static { this.fields = proto3.util.newFieldList(() => [
7951
+ { no: 1, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7952
+ { no: 2, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7953
+ { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7954
+ { no: 4, name: "indexed_at", kind: "message", T: Timestamp },
7955
+ { no: 5, name: "event", kind: "message", T: TagEvent },
7956
+ { no: 6, name: "expires_at", kind: "message", T: Timestamp },
7957
+ { no: 7, name: "removed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
7958
+ ]); }
7959
+ static fromBinary(bytes, options) {
7960
+ return new Tag().fromBinary(bytes, options);
7961
+ }
7962
+ static fromJson(jsonValue, options) {
7963
+ return new Tag().fromJson(jsonValue, options);
7964
+ }
7965
+ static fromJsonString(jsonString, options) {
7966
+ return new Tag().fromJsonString(jsonString, options);
7967
+ }
7968
+ static equals(a, b) {
7969
+ return proto3.util.equals(Tag, a, b);
7970
+ }
7971
+ }
7972
+ /**
7973
+ * @generated from message bsky.GetTagsForSubjectsRequest
7974
+ */
7975
+ export class GetTagsForSubjectsRequest extends Message {
7976
+ constructor(data) {
7977
+ super();
7978
+ /**
7979
+ * @generated from field: repeated string subjects = 1;
7980
+ */
7981
+ this.subjects = [];
7982
+ /**
7983
+ * Ozone service DIDs; empty selects all sources.
7984
+ *
7985
+ * @generated from field: repeated string sources = 2;
7986
+ */
7987
+ this.sources = [];
7988
+ proto3.util.initPartial(data, this);
7989
+ }
7990
+ static { this.runtime = proto3; }
7991
+ static { this.typeName = "bsky.GetTagsForSubjectsRequest"; }
7992
+ static { this.fields = proto3.util.newFieldList(() => [
7993
+ { no: 1, name: "subjects", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
7994
+ { no: 2, name: "sources", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
7995
+ ]); }
7996
+ static fromBinary(bytes, options) {
7997
+ return new GetTagsForSubjectsRequest().fromBinary(bytes, options);
7998
+ }
7999
+ static fromJson(jsonValue, options) {
8000
+ return new GetTagsForSubjectsRequest().fromJson(jsonValue, options);
8001
+ }
8002
+ static fromJsonString(jsonString, options) {
8003
+ return new GetTagsForSubjectsRequest().fromJsonString(jsonString, options);
8004
+ }
8005
+ static equals(a, b) {
8006
+ return proto3.util.equals(GetTagsForSubjectsRequest, a, b);
8007
+ }
8008
+ }
8009
+ /**
8010
+ * @generated from message bsky.GetTagsForSubjectsResponse
8011
+ */
8012
+ export class GetTagsForSubjectsResponse extends Message {
8013
+ constructor(data) {
8014
+ super();
8015
+ /**
8016
+ * @generated from field: repeated bsky.Tag tags = 1;
8017
+ */
8018
+ this.tags = [];
8019
+ proto3.util.initPartial(data, this);
8020
+ }
8021
+ static { this.runtime = proto3; }
8022
+ static { this.typeName = "bsky.GetTagsForSubjectsResponse"; }
8023
+ static { this.fields = proto3.util.newFieldList(() => [
8024
+ { no: 1, name: "tags", kind: "message", T: Tag, repeated: true },
8025
+ ]); }
8026
+ static fromBinary(bytes, options) {
8027
+ return new GetTagsForSubjectsResponse().fromBinary(bytes, options);
8028
+ }
8029
+ static fromJson(jsonValue, options) {
8030
+ return new GetTagsForSubjectsResponse().fromJson(jsonValue, options);
8031
+ }
8032
+ static fromJsonString(jsonString, options) {
8033
+ return new GetTagsForSubjectsResponse().fromJsonString(jsonString, options);
8034
+ }
8035
+ static equals(a, b) {
8036
+ return proto3.util.equals(GetTagsForSubjectsResponse, a, b);
8037
+ }
8038
+ }
8039
+ /**
8040
+ * Ozone event that added or removed a tag.
8041
+ *
8042
+ * @generated from message bsky.TagEvent
8043
+ */
8044
+ export class TagEvent extends Message {
8045
+ constructor(data) {
8046
+ super();
8047
+ /**
8048
+ * Ozone service DID.
8049
+ *
8050
+ * @generated from field: string source = 1;
8051
+ */
8052
+ this.source = "";
8053
+ /**
8054
+ * Ozone moderation event ID.
8055
+ *
8056
+ * @generated from field: int64 event_id = 2;
8057
+ */
8058
+ this.eventId = protoInt64.zero;
8059
+ /**
8060
+ * Subject record CID; empty for account tags.
8061
+ *
8062
+ * @generated from field: string cid = 4;
8063
+ */
8064
+ this.cid = "";
8065
+ proto3.util.initPartial(data, this);
8066
+ }
8067
+ static { this.runtime = proto3; }
8068
+ static { this.typeName = "bsky.TagEvent"; }
8069
+ static { this.fields = proto3.util.newFieldList(() => [
8070
+ { no: 1, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8071
+ { no: 2, name: "event_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
8072
+ { no: 3, name: "created_at", kind: "message", T: Timestamp },
8073
+ { no: 4, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8074
+ ]); }
8075
+ static fromBinary(bytes, options) {
8076
+ return new TagEvent().fromBinary(bytes, options);
8077
+ }
8078
+ static fromJson(jsonValue, options) {
8079
+ return new TagEvent().fromJson(jsonValue, options);
8080
+ }
8081
+ static fromJsonString(jsonString, options) {
8082
+ return new TagEvent().fromJsonString(jsonString, options);
8083
+ }
8084
+ static equals(a, b) {
8085
+ return proto3.util.equals(TagEvent, a, b);
8086
+ }
8087
+ }
7920
8088
  /**
7921
8089
  * @generated from message bsky.GetActorStarterPacksRequest
7922
8090
  */