@atproto/bsky 0.0.140 → 0.0.142
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 +14 -0
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js +2 -2
- package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
- package/dist/data-plane/server/db/database-schema.d.ts +2 -1
- package/dist/data-plane/server/db/database-schema.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/20250404T163421487Z-verifications.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20250404T163421487Z-verifications.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20250404T163421487Z-verifications.js +36 -0
- package/dist/data-plane/server/db/migrations/20250404T163421487Z-verifications.js.map +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/index.js +2 -1
- package/dist/data-plane/server/db/migrations/index.js.map +1 -1
- package/dist/data-plane/server/db/tables/actor.d.ts +2 -0
- package/dist/data-plane/server/db/tables/actor.d.ts.map +1 -1
- package/dist/data-plane/server/db/tables/actor.js.map +1 -1
- package/dist/data-plane/server/db/tables/verification.d.ts +18 -0
- package/dist/data-plane/server/db/tables/verification.d.ts.map +1 -0
- package/dist/data-plane/server/db/tables/verification.js +5 -0
- package/dist/data-plane/server/db/tables/verification.js.map +1 -0
- package/dist/data-plane/server/indexing/index.d.ts +2 -0
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js +2 -0
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/verification.d.ts +11 -0
- package/dist/data-plane/server/indexing/plugins/verification.d.ts.map +1 -0
- package/dist/data-plane/server/indexing/plugins/verification.js +95 -0
- package/dist/data-plane/server/indexing/plugins/verification.js.map +1 -0
- package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
- package/dist/data-plane/server/routes/profile.js +28 -1
- package/dist/data-plane/server/routes/profile.js.map +1 -1
- package/dist/data-plane/server/util.d.ts +6 -6
- package/dist/hydration/actor.d.ts +11 -0
- package/dist/hydration/actor.d.ts.map +1 -1
- package/dist/hydration/actor.js +19 -0
- package/dist/hydration/actor.js.map +1 -1
- package/dist/hydration/label.d.ts +1 -0
- package/dist/hydration/label.d.ts.map +1 -1
- package/dist/hydration/label.js +7 -0
- package/dist/hydration/label.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +134 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +67 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +29 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +18 -0
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +1 -0
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +30 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +29 -0
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +243 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +733 -5
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/views/index.d.ts +2 -1
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +42 -0
- package/dist/views/index.js.map +1 -1
- package/package.json +7 -7
- package/proto/bsky.proto +67 -0
- package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +2 -2
- package/src/data-plane/server/db/database-schema.ts +3 -1
- package/src/data-plane/server/db/migrations/20250404T163421487Z-verifications.ts +39 -0
- package/src/data-plane/server/db/migrations/index.ts +1 -0
- package/src/data-plane/server/db/tables/actor.ts +3 -0
- package/src/data-plane/server/db/tables/verification.ts +20 -0
- package/src/data-plane/server/indexing/index.ts +8 -2
- package/src/data-plane/server/indexing/plugins/verification.ts +96 -0
- package/src/data-plane/server/routes/profile.ts +63 -19
- package/src/hydration/actor.ts +38 -0
- package/src/hydration/label.ts +12 -0
- package/src/lexicon/lexicons.ts +70 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +47 -0
- package/src/lexicon/types/chat/bsky/actor/defs.ts +1 -0
- package/src/proto/bsky_connect.ts +35 -0
- package/src/proto/bsky_pb.ts +676 -0
- package/src/views/index.ts +60 -1
- package/tests/views/verification.test.ts +301 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -1
package/src/proto/bsky_pb.ts
CHANGED
|
@@ -2563,6 +2563,653 @@ export class GetFollowsResponse extends Message<GetFollowsResponse> {
|
|
|
2563
2563
|
}
|
|
2564
2564
|
}
|
|
2565
2565
|
|
|
2566
|
+
/**
|
|
2567
|
+
* @generated from message bsky.VerificationMeta
|
|
2568
|
+
*/
|
|
2569
|
+
export class VerificationMeta extends Message<VerificationMeta> {
|
|
2570
|
+
/**
|
|
2571
|
+
* @generated from field: string rkey = 1;
|
|
2572
|
+
*/
|
|
2573
|
+
rkey = ''
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* @generated from field: string handle = 2;
|
|
2577
|
+
*/
|
|
2578
|
+
handle = ''
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
2581
|
+
* @generated from field: string display_name = 3;
|
|
2582
|
+
*/
|
|
2583
|
+
displayName = ''
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* @generated from field: google.protobuf.Timestamp sorted_at = 4;
|
|
2587
|
+
*/
|
|
2588
|
+
sortedAt?: Timestamp
|
|
2589
|
+
|
|
2590
|
+
constructor(data?: PartialMessage<VerificationMeta>) {
|
|
2591
|
+
super()
|
|
2592
|
+
proto3.util.initPartial(data, this)
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
static readonly runtime: typeof proto3 = proto3
|
|
2596
|
+
static readonly typeName = 'bsky.VerificationMeta'
|
|
2597
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2598
|
+
{ no: 1, name: 'rkey', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2599
|
+
{ no: 2, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2600
|
+
{
|
|
2601
|
+
no: 3,
|
|
2602
|
+
name: 'display_name',
|
|
2603
|
+
kind: 'scalar',
|
|
2604
|
+
T: 9 /* ScalarType.STRING */,
|
|
2605
|
+
},
|
|
2606
|
+
{ no: 4, name: 'sorted_at', kind: 'message', T: Timestamp },
|
|
2607
|
+
])
|
|
2608
|
+
|
|
2609
|
+
static fromBinary(
|
|
2610
|
+
bytes: Uint8Array,
|
|
2611
|
+
options?: Partial<BinaryReadOptions>,
|
|
2612
|
+
): VerificationMeta {
|
|
2613
|
+
return new VerificationMeta().fromBinary(bytes, options)
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
static fromJson(
|
|
2617
|
+
jsonValue: JsonValue,
|
|
2618
|
+
options?: Partial<JsonReadOptions>,
|
|
2619
|
+
): VerificationMeta {
|
|
2620
|
+
return new VerificationMeta().fromJson(jsonValue, options)
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
static fromJsonString(
|
|
2624
|
+
jsonString: string,
|
|
2625
|
+
options?: Partial<JsonReadOptions>,
|
|
2626
|
+
): VerificationMeta {
|
|
2627
|
+
return new VerificationMeta().fromJsonString(jsonString, options)
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
static equals(
|
|
2631
|
+
a: VerificationMeta | PlainMessage<VerificationMeta> | undefined,
|
|
2632
|
+
b: VerificationMeta | PlainMessage<VerificationMeta> | undefined,
|
|
2633
|
+
): boolean {
|
|
2634
|
+
return proto3.util.equals(VerificationMeta, a, b)
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* @generated from message bsky.GetVerificationRecordsRequest
|
|
2640
|
+
*/
|
|
2641
|
+
export class GetVerificationRecordsRequest extends Message<GetVerificationRecordsRequest> {
|
|
2642
|
+
/**
|
|
2643
|
+
* @generated from field: repeated string uris = 1;
|
|
2644
|
+
*/
|
|
2645
|
+
uris: string[] = []
|
|
2646
|
+
|
|
2647
|
+
constructor(data?: PartialMessage<GetVerificationRecordsRequest>) {
|
|
2648
|
+
super()
|
|
2649
|
+
proto3.util.initPartial(data, this)
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
static readonly runtime: typeof proto3 = proto3
|
|
2653
|
+
static readonly typeName = 'bsky.GetVerificationRecordsRequest'
|
|
2654
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2655
|
+
{
|
|
2656
|
+
no: 1,
|
|
2657
|
+
name: 'uris',
|
|
2658
|
+
kind: 'scalar',
|
|
2659
|
+
T: 9 /* ScalarType.STRING */,
|
|
2660
|
+
repeated: true,
|
|
2661
|
+
},
|
|
2662
|
+
])
|
|
2663
|
+
|
|
2664
|
+
static fromBinary(
|
|
2665
|
+
bytes: Uint8Array,
|
|
2666
|
+
options?: Partial<BinaryReadOptions>,
|
|
2667
|
+
): GetVerificationRecordsRequest {
|
|
2668
|
+
return new GetVerificationRecordsRequest().fromBinary(bytes, options)
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
static fromJson(
|
|
2672
|
+
jsonValue: JsonValue,
|
|
2673
|
+
options?: Partial<JsonReadOptions>,
|
|
2674
|
+
): GetVerificationRecordsRequest {
|
|
2675
|
+
return new GetVerificationRecordsRequest().fromJson(jsonValue, options)
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
static fromJsonString(
|
|
2679
|
+
jsonString: string,
|
|
2680
|
+
options?: Partial<JsonReadOptions>,
|
|
2681
|
+
): GetVerificationRecordsRequest {
|
|
2682
|
+
return new GetVerificationRecordsRequest().fromJsonString(
|
|
2683
|
+
jsonString,
|
|
2684
|
+
options,
|
|
2685
|
+
)
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
static equals(
|
|
2689
|
+
a:
|
|
2690
|
+
| GetVerificationRecordsRequest
|
|
2691
|
+
| PlainMessage<GetVerificationRecordsRequest>
|
|
2692
|
+
| undefined,
|
|
2693
|
+
b:
|
|
2694
|
+
| GetVerificationRecordsRequest
|
|
2695
|
+
| PlainMessage<GetVerificationRecordsRequest>
|
|
2696
|
+
| undefined,
|
|
2697
|
+
): boolean {
|
|
2698
|
+
return proto3.util.equals(GetVerificationRecordsRequest, a, b)
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* @generated from message bsky.GetVerificationRecordsResponse
|
|
2704
|
+
*/
|
|
2705
|
+
export class GetVerificationRecordsResponse extends Message<GetVerificationRecordsResponse> {
|
|
2706
|
+
/**
|
|
2707
|
+
* @generated from field: repeated bsky.Record records = 1;
|
|
2708
|
+
*/
|
|
2709
|
+
records: Record[] = []
|
|
2710
|
+
|
|
2711
|
+
constructor(data?: PartialMessage<GetVerificationRecordsResponse>) {
|
|
2712
|
+
super()
|
|
2713
|
+
proto3.util.initPartial(data, this)
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
static readonly runtime: typeof proto3 = proto3
|
|
2717
|
+
static readonly typeName = 'bsky.GetVerificationRecordsResponse'
|
|
2718
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2719
|
+
{ no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
|
|
2720
|
+
])
|
|
2721
|
+
|
|
2722
|
+
static fromBinary(
|
|
2723
|
+
bytes: Uint8Array,
|
|
2724
|
+
options?: Partial<BinaryReadOptions>,
|
|
2725
|
+
): GetVerificationRecordsResponse {
|
|
2726
|
+
return new GetVerificationRecordsResponse().fromBinary(bytes, options)
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
static fromJson(
|
|
2730
|
+
jsonValue: JsonValue,
|
|
2731
|
+
options?: Partial<JsonReadOptions>,
|
|
2732
|
+
): GetVerificationRecordsResponse {
|
|
2733
|
+
return new GetVerificationRecordsResponse().fromJson(jsonValue, options)
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
static fromJsonString(
|
|
2737
|
+
jsonString: string,
|
|
2738
|
+
options?: Partial<JsonReadOptions>,
|
|
2739
|
+
): GetVerificationRecordsResponse {
|
|
2740
|
+
return new GetVerificationRecordsResponse().fromJsonString(
|
|
2741
|
+
jsonString,
|
|
2742
|
+
options,
|
|
2743
|
+
)
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2746
|
+
static equals(
|
|
2747
|
+
a:
|
|
2748
|
+
| GetVerificationRecordsResponse
|
|
2749
|
+
| PlainMessage<GetVerificationRecordsResponse>
|
|
2750
|
+
| undefined,
|
|
2751
|
+
b:
|
|
2752
|
+
| GetVerificationRecordsResponse
|
|
2753
|
+
| PlainMessage<GetVerificationRecordsResponse>
|
|
2754
|
+
| undefined,
|
|
2755
|
+
): boolean {
|
|
2756
|
+
return proto3.util.equals(GetVerificationRecordsResponse, a, b)
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
/**
|
|
2761
|
+
* @generated from message bsky.VerificationIssued
|
|
2762
|
+
*/
|
|
2763
|
+
export class VerificationIssued extends Message<VerificationIssued> {
|
|
2764
|
+
/**
|
|
2765
|
+
* @generated from field: string actor_did = 1;
|
|
2766
|
+
*/
|
|
2767
|
+
actorDid = ''
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* @generated from field: string rkey = 2;
|
|
2771
|
+
*/
|
|
2772
|
+
rkey = ''
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* @generated from field: string subject_did = 3;
|
|
2776
|
+
*/
|
|
2777
|
+
subjectDid = ''
|
|
2778
|
+
|
|
2779
|
+
/**
|
|
2780
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
2781
|
+
*/
|
|
2782
|
+
createdAt?: Timestamp
|
|
2783
|
+
|
|
2784
|
+
/**
|
|
2785
|
+
* @generated from field: google.protobuf.Timestamp indexed_at = 8;
|
|
2786
|
+
*/
|
|
2787
|
+
indexedAt?: Timestamp
|
|
2788
|
+
|
|
2789
|
+
/**
|
|
2790
|
+
* @generated from field: google.protobuf.Timestamp sorted_at = 9;
|
|
2791
|
+
*/
|
|
2792
|
+
sortedAt?: Timestamp
|
|
2793
|
+
|
|
2794
|
+
constructor(data?: PartialMessage<VerificationIssued>) {
|
|
2795
|
+
super()
|
|
2796
|
+
proto3.util.initPartial(data, this)
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
static readonly runtime: typeof proto3 = proto3
|
|
2800
|
+
static readonly typeName = 'bsky.VerificationIssued'
|
|
2801
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2802
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2803
|
+
{ no: 2, name: 'rkey', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2804
|
+
{
|
|
2805
|
+
no: 3,
|
|
2806
|
+
name: 'subject_did',
|
|
2807
|
+
kind: 'scalar',
|
|
2808
|
+
T: 9 /* ScalarType.STRING */,
|
|
2809
|
+
},
|
|
2810
|
+
{ no: 7, name: 'created_at', kind: 'message', T: Timestamp },
|
|
2811
|
+
{ no: 8, name: 'indexed_at', kind: 'message', T: Timestamp },
|
|
2812
|
+
{ no: 9, name: 'sorted_at', kind: 'message', T: Timestamp },
|
|
2813
|
+
])
|
|
2814
|
+
|
|
2815
|
+
static fromBinary(
|
|
2816
|
+
bytes: Uint8Array,
|
|
2817
|
+
options?: Partial<BinaryReadOptions>,
|
|
2818
|
+
): VerificationIssued {
|
|
2819
|
+
return new VerificationIssued().fromBinary(bytes, options)
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
static fromJson(
|
|
2823
|
+
jsonValue: JsonValue,
|
|
2824
|
+
options?: Partial<JsonReadOptions>,
|
|
2825
|
+
): VerificationIssued {
|
|
2826
|
+
return new VerificationIssued().fromJson(jsonValue, options)
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
static fromJsonString(
|
|
2830
|
+
jsonString: string,
|
|
2831
|
+
options?: Partial<JsonReadOptions>,
|
|
2832
|
+
): VerificationIssued {
|
|
2833
|
+
return new VerificationIssued().fromJsonString(jsonString, options)
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
static equals(
|
|
2837
|
+
a: VerificationIssued | PlainMessage<VerificationIssued> | undefined,
|
|
2838
|
+
b: VerificationIssued | PlainMessage<VerificationIssued> | undefined,
|
|
2839
|
+
): boolean {
|
|
2840
|
+
return proto3.util.equals(VerificationIssued, a, b)
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
/**
|
|
2845
|
+
* @generated from message bsky.GetVerificationsIssuedRequest
|
|
2846
|
+
*/
|
|
2847
|
+
export class GetVerificationsIssuedRequest extends Message<GetVerificationsIssuedRequest> {
|
|
2848
|
+
/**
|
|
2849
|
+
* @generated from field: string actor_did = 1;
|
|
2850
|
+
*/
|
|
2851
|
+
actorDid = ''
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* @generated from field: int32 limit = 2;
|
|
2855
|
+
*/
|
|
2856
|
+
limit = 0
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* @generated from field: string cursor = 3;
|
|
2860
|
+
*/
|
|
2861
|
+
cursor = ''
|
|
2862
|
+
|
|
2863
|
+
constructor(data?: PartialMessage<GetVerificationsIssuedRequest>) {
|
|
2864
|
+
super()
|
|
2865
|
+
proto3.util.initPartial(data, this)
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
static readonly runtime: typeof proto3 = proto3
|
|
2869
|
+
static readonly typeName = 'bsky.GetVerificationsIssuedRequest'
|
|
2870
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2871
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2872
|
+
{ no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
|
|
2873
|
+
{ no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2874
|
+
])
|
|
2875
|
+
|
|
2876
|
+
static fromBinary(
|
|
2877
|
+
bytes: Uint8Array,
|
|
2878
|
+
options?: Partial<BinaryReadOptions>,
|
|
2879
|
+
): GetVerificationsIssuedRequest {
|
|
2880
|
+
return new GetVerificationsIssuedRequest().fromBinary(bytes, options)
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
static fromJson(
|
|
2884
|
+
jsonValue: JsonValue,
|
|
2885
|
+
options?: Partial<JsonReadOptions>,
|
|
2886
|
+
): GetVerificationsIssuedRequest {
|
|
2887
|
+
return new GetVerificationsIssuedRequest().fromJson(jsonValue, options)
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
static fromJsonString(
|
|
2891
|
+
jsonString: string,
|
|
2892
|
+
options?: Partial<JsonReadOptions>,
|
|
2893
|
+
): GetVerificationsIssuedRequest {
|
|
2894
|
+
return new GetVerificationsIssuedRequest().fromJsonString(
|
|
2895
|
+
jsonString,
|
|
2896
|
+
options,
|
|
2897
|
+
)
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
static equals(
|
|
2901
|
+
a:
|
|
2902
|
+
| GetVerificationsIssuedRequest
|
|
2903
|
+
| PlainMessage<GetVerificationsIssuedRequest>
|
|
2904
|
+
| undefined,
|
|
2905
|
+
b:
|
|
2906
|
+
| GetVerificationsIssuedRequest
|
|
2907
|
+
| PlainMessage<GetVerificationsIssuedRequest>
|
|
2908
|
+
| undefined,
|
|
2909
|
+
): boolean {
|
|
2910
|
+
return proto3.util.equals(GetVerificationsIssuedRequest, a, b)
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
/**
|
|
2915
|
+
* @generated from message bsky.GetVerificationsIssuedResponse
|
|
2916
|
+
*/
|
|
2917
|
+
export class GetVerificationsIssuedResponse extends Message<GetVerificationsIssuedResponse> {
|
|
2918
|
+
/**
|
|
2919
|
+
* @generated from field: repeated bsky.VerificationIssued verifications = 1;
|
|
2920
|
+
*/
|
|
2921
|
+
verifications: VerificationIssued[] = []
|
|
2922
|
+
|
|
2923
|
+
/**
|
|
2924
|
+
* @generated from field: string cursor = 2;
|
|
2925
|
+
*/
|
|
2926
|
+
cursor = ''
|
|
2927
|
+
|
|
2928
|
+
constructor(data?: PartialMessage<GetVerificationsIssuedResponse>) {
|
|
2929
|
+
super()
|
|
2930
|
+
proto3.util.initPartial(data, this)
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
static readonly runtime: typeof proto3 = proto3
|
|
2934
|
+
static readonly typeName = 'bsky.GetVerificationsIssuedResponse'
|
|
2935
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2936
|
+
{
|
|
2937
|
+
no: 1,
|
|
2938
|
+
name: 'verifications',
|
|
2939
|
+
kind: 'message',
|
|
2940
|
+
T: VerificationIssued,
|
|
2941
|
+
repeated: true,
|
|
2942
|
+
},
|
|
2943
|
+
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2944
|
+
])
|
|
2945
|
+
|
|
2946
|
+
static fromBinary(
|
|
2947
|
+
bytes: Uint8Array,
|
|
2948
|
+
options?: Partial<BinaryReadOptions>,
|
|
2949
|
+
): GetVerificationsIssuedResponse {
|
|
2950
|
+
return new GetVerificationsIssuedResponse().fromBinary(bytes, options)
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
static fromJson(
|
|
2954
|
+
jsonValue: JsonValue,
|
|
2955
|
+
options?: Partial<JsonReadOptions>,
|
|
2956
|
+
): GetVerificationsIssuedResponse {
|
|
2957
|
+
return new GetVerificationsIssuedResponse().fromJson(jsonValue, options)
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
static fromJsonString(
|
|
2961
|
+
jsonString: string,
|
|
2962
|
+
options?: Partial<JsonReadOptions>,
|
|
2963
|
+
): GetVerificationsIssuedResponse {
|
|
2964
|
+
return new GetVerificationsIssuedResponse().fromJsonString(
|
|
2965
|
+
jsonString,
|
|
2966
|
+
options,
|
|
2967
|
+
)
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
static equals(
|
|
2971
|
+
a:
|
|
2972
|
+
| GetVerificationsIssuedResponse
|
|
2973
|
+
| PlainMessage<GetVerificationsIssuedResponse>
|
|
2974
|
+
| undefined,
|
|
2975
|
+
b:
|
|
2976
|
+
| GetVerificationsIssuedResponse
|
|
2977
|
+
| PlainMessage<GetVerificationsIssuedResponse>
|
|
2978
|
+
| undefined,
|
|
2979
|
+
): boolean {
|
|
2980
|
+
return proto3.util.equals(GetVerificationsIssuedResponse, a, b)
|
|
2981
|
+
}
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
/**
|
|
2985
|
+
* @generated from message bsky.VerificationReceived
|
|
2986
|
+
*/
|
|
2987
|
+
export class VerificationReceived extends Message<VerificationReceived> {
|
|
2988
|
+
/**
|
|
2989
|
+
* @generated from field: string actor_did = 1;
|
|
2990
|
+
*/
|
|
2991
|
+
actorDid = ''
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* @generated from field: string rkey = 2;
|
|
2995
|
+
*/
|
|
2996
|
+
rkey = ''
|
|
2997
|
+
|
|
2998
|
+
/**
|
|
2999
|
+
* @generated from field: string subject_did = 3;
|
|
3000
|
+
*/
|
|
3001
|
+
subjectDid = ''
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
3005
|
+
*/
|
|
3006
|
+
createdAt?: Timestamp
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* @generated from field: google.protobuf.Timestamp indexed_at = 8;
|
|
3010
|
+
*/
|
|
3011
|
+
indexedAt?: Timestamp
|
|
3012
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* @generated from field: google.protobuf.Timestamp sorted_at = 9;
|
|
3015
|
+
*/
|
|
3016
|
+
sortedAt?: Timestamp
|
|
3017
|
+
|
|
3018
|
+
constructor(data?: PartialMessage<VerificationReceived>) {
|
|
3019
|
+
super()
|
|
3020
|
+
proto3.util.initPartial(data, this)
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
static readonly runtime: typeof proto3 = proto3
|
|
3024
|
+
static readonly typeName = 'bsky.VerificationReceived'
|
|
3025
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3026
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
3027
|
+
{ no: 2, name: 'rkey', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
3028
|
+
{
|
|
3029
|
+
no: 3,
|
|
3030
|
+
name: 'subject_did',
|
|
3031
|
+
kind: 'scalar',
|
|
3032
|
+
T: 9 /* ScalarType.STRING */,
|
|
3033
|
+
},
|
|
3034
|
+
{ no: 7, name: 'created_at', kind: 'message', T: Timestamp },
|
|
3035
|
+
{ no: 8, name: 'indexed_at', kind: 'message', T: Timestamp },
|
|
3036
|
+
{ no: 9, name: 'sorted_at', kind: 'message', T: Timestamp },
|
|
3037
|
+
])
|
|
3038
|
+
|
|
3039
|
+
static fromBinary(
|
|
3040
|
+
bytes: Uint8Array,
|
|
3041
|
+
options?: Partial<BinaryReadOptions>,
|
|
3042
|
+
): VerificationReceived {
|
|
3043
|
+
return new VerificationReceived().fromBinary(bytes, options)
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
static fromJson(
|
|
3047
|
+
jsonValue: JsonValue,
|
|
3048
|
+
options?: Partial<JsonReadOptions>,
|
|
3049
|
+
): VerificationReceived {
|
|
3050
|
+
return new VerificationReceived().fromJson(jsonValue, options)
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
static fromJsonString(
|
|
3054
|
+
jsonString: string,
|
|
3055
|
+
options?: Partial<JsonReadOptions>,
|
|
3056
|
+
): VerificationReceived {
|
|
3057
|
+
return new VerificationReceived().fromJsonString(jsonString, options)
|
|
3058
|
+
}
|
|
3059
|
+
|
|
3060
|
+
static equals(
|
|
3061
|
+
a: VerificationReceived | PlainMessage<VerificationReceived> | undefined,
|
|
3062
|
+
b: VerificationReceived | PlainMessage<VerificationReceived> | undefined,
|
|
3063
|
+
): boolean {
|
|
3064
|
+
return proto3.util.equals(VerificationReceived, a, b)
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3068
|
+
/**
|
|
3069
|
+
* @generated from message bsky.GetVerificationsReceivedRequest
|
|
3070
|
+
*/
|
|
3071
|
+
export class GetVerificationsReceivedRequest extends Message<GetVerificationsReceivedRequest> {
|
|
3072
|
+
/**
|
|
3073
|
+
* @generated from field: string subject_did = 1;
|
|
3074
|
+
*/
|
|
3075
|
+
subjectDid = ''
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* @generated from field: int32 limit = 2;
|
|
3079
|
+
*/
|
|
3080
|
+
limit = 0
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* @generated from field: string cursor = 3;
|
|
3084
|
+
*/
|
|
3085
|
+
cursor = ''
|
|
3086
|
+
|
|
3087
|
+
constructor(data?: PartialMessage<GetVerificationsReceivedRequest>) {
|
|
3088
|
+
super()
|
|
3089
|
+
proto3.util.initPartial(data, this)
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
static readonly runtime: typeof proto3 = proto3
|
|
3093
|
+
static readonly typeName = 'bsky.GetVerificationsReceivedRequest'
|
|
3094
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3095
|
+
{
|
|
3096
|
+
no: 1,
|
|
3097
|
+
name: 'subject_did',
|
|
3098
|
+
kind: 'scalar',
|
|
3099
|
+
T: 9 /* ScalarType.STRING */,
|
|
3100
|
+
},
|
|
3101
|
+
{ no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
|
|
3102
|
+
{ no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
3103
|
+
])
|
|
3104
|
+
|
|
3105
|
+
static fromBinary(
|
|
3106
|
+
bytes: Uint8Array,
|
|
3107
|
+
options?: Partial<BinaryReadOptions>,
|
|
3108
|
+
): GetVerificationsReceivedRequest {
|
|
3109
|
+
return new GetVerificationsReceivedRequest().fromBinary(bytes, options)
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
static fromJson(
|
|
3113
|
+
jsonValue: JsonValue,
|
|
3114
|
+
options?: Partial<JsonReadOptions>,
|
|
3115
|
+
): GetVerificationsReceivedRequest {
|
|
3116
|
+
return new GetVerificationsReceivedRequest().fromJson(jsonValue, options)
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
static fromJsonString(
|
|
3120
|
+
jsonString: string,
|
|
3121
|
+
options?: Partial<JsonReadOptions>,
|
|
3122
|
+
): GetVerificationsReceivedRequest {
|
|
3123
|
+
return new GetVerificationsReceivedRequest().fromJsonString(
|
|
3124
|
+
jsonString,
|
|
3125
|
+
options,
|
|
3126
|
+
)
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
static equals(
|
|
3130
|
+
a:
|
|
3131
|
+
| GetVerificationsReceivedRequest
|
|
3132
|
+
| PlainMessage<GetVerificationsReceivedRequest>
|
|
3133
|
+
| undefined,
|
|
3134
|
+
b:
|
|
3135
|
+
| GetVerificationsReceivedRequest
|
|
3136
|
+
| PlainMessage<GetVerificationsReceivedRequest>
|
|
3137
|
+
| undefined,
|
|
3138
|
+
): boolean {
|
|
3139
|
+
return proto3.util.equals(GetVerificationsReceivedRequest, a, b)
|
|
3140
|
+
}
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
/**
|
|
3144
|
+
* @generated from message bsky.GetVerificationsReceivedResponse
|
|
3145
|
+
*/
|
|
3146
|
+
export class GetVerificationsReceivedResponse extends Message<GetVerificationsReceivedResponse> {
|
|
3147
|
+
/**
|
|
3148
|
+
* @generated from field: repeated bsky.VerificationReceived verifications = 1;
|
|
3149
|
+
*/
|
|
3150
|
+
verifications: VerificationReceived[] = []
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* @generated from field: string cursor = 2;
|
|
3154
|
+
*/
|
|
3155
|
+
cursor = ''
|
|
3156
|
+
|
|
3157
|
+
constructor(data?: PartialMessage<GetVerificationsReceivedResponse>) {
|
|
3158
|
+
super()
|
|
3159
|
+
proto3.util.initPartial(data, this)
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3162
|
+
static readonly runtime: typeof proto3 = proto3
|
|
3163
|
+
static readonly typeName = 'bsky.GetVerificationsReceivedResponse'
|
|
3164
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3165
|
+
{
|
|
3166
|
+
no: 1,
|
|
3167
|
+
name: 'verifications',
|
|
3168
|
+
kind: 'message',
|
|
3169
|
+
T: VerificationReceived,
|
|
3170
|
+
repeated: true,
|
|
3171
|
+
},
|
|
3172
|
+
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
3173
|
+
])
|
|
3174
|
+
|
|
3175
|
+
static fromBinary(
|
|
3176
|
+
bytes: Uint8Array,
|
|
3177
|
+
options?: Partial<BinaryReadOptions>,
|
|
3178
|
+
): GetVerificationsReceivedResponse {
|
|
3179
|
+
return new GetVerificationsReceivedResponse().fromBinary(bytes, options)
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
static fromJson(
|
|
3183
|
+
jsonValue: JsonValue,
|
|
3184
|
+
options?: Partial<JsonReadOptions>,
|
|
3185
|
+
): GetVerificationsReceivedResponse {
|
|
3186
|
+
return new GetVerificationsReceivedResponse().fromJson(jsonValue, options)
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
static fromJsonString(
|
|
3190
|
+
jsonString: string,
|
|
3191
|
+
options?: Partial<JsonReadOptions>,
|
|
3192
|
+
): GetVerificationsReceivedResponse {
|
|
3193
|
+
return new GetVerificationsReceivedResponse().fromJsonString(
|
|
3194
|
+
jsonString,
|
|
3195
|
+
options,
|
|
3196
|
+
)
|
|
3197
|
+
}
|
|
3198
|
+
|
|
3199
|
+
static equals(
|
|
3200
|
+
a:
|
|
3201
|
+
| GetVerificationsReceivedResponse
|
|
3202
|
+
| PlainMessage<GetVerificationsReceivedResponse>
|
|
3203
|
+
| undefined,
|
|
3204
|
+
b:
|
|
3205
|
+
| GetVerificationsReceivedResponse
|
|
3206
|
+
| PlainMessage<GetVerificationsReceivedResponse>
|
|
3207
|
+
| undefined,
|
|
3208
|
+
): boolean {
|
|
3209
|
+
return proto3.util.equals(GetVerificationsReceivedResponse, a, b)
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
|
|
2566
3213
|
/**
|
|
2567
3214
|
* - return like uris where subject uri is subject A
|
|
2568
3215
|
* - `getLikes` list for a post
|
|
@@ -4591,6 +5238,21 @@ export class ActorInfo extends Message<ActorInfo> {
|
|
|
4591
5238
|
*/
|
|
4592
5239
|
priorityNotifications = false
|
|
4593
5240
|
|
|
5241
|
+
/**
|
|
5242
|
+
* @generated from field: double pagerank = 12;
|
|
5243
|
+
*/
|
|
5244
|
+
pagerank = 0
|
|
5245
|
+
|
|
5246
|
+
/**
|
|
5247
|
+
* @generated from field: bool trusted_verifier = 13;
|
|
5248
|
+
*/
|
|
5249
|
+
trustedVerifier = false
|
|
5250
|
+
|
|
5251
|
+
/**
|
|
5252
|
+
* @generated from field: map<string, bsky.VerificationMeta> verified_by = 14;
|
|
5253
|
+
*/
|
|
5254
|
+
verifiedBy: { [key: string]: VerificationMeta } = {}
|
|
5255
|
+
|
|
4594
5256
|
constructor(data?: PartialMessage<ActorInfo>) {
|
|
4595
5257
|
super()
|
|
4596
5258
|
proto3.util.initPartial(data, this)
|
|
@@ -4630,6 +5292,20 @@ export class ActorInfo extends Message<ActorInfo> {
|
|
|
4630
5292
|
kind: 'scalar',
|
|
4631
5293
|
T: 8 /* ScalarType.BOOL */,
|
|
4632
5294
|
},
|
|
5295
|
+
{ no: 12, name: 'pagerank', kind: 'scalar', T: 1 /* ScalarType.DOUBLE */ },
|
|
5296
|
+
{
|
|
5297
|
+
no: 13,
|
|
5298
|
+
name: 'trusted_verifier',
|
|
5299
|
+
kind: 'scalar',
|
|
5300
|
+
T: 8 /* ScalarType.BOOL */,
|
|
5301
|
+
},
|
|
5302
|
+
{
|
|
5303
|
+
no: 14,
|
|
5304
|
+
name: 'verified_by',
|
|
5305
|
+
kind: 'map',
|
|
5306
|
+
K: 9 /* ScalarType.STRING */,
|
|
5307
|
+
V: { kind: 'message', T: VerificationMeta },
|
|
5308
|
+
},
|
|
4633
5309
|
])
|
|
4634
5310
|
|
|
4635
5311
|
static fromBinary(
|