@atiproto/lexicons 0.1.2 → 0.2.0
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/dist/index.js +529 -301
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +529 -301
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons/com/atiproto/authEnhanced.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authEnhanced.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authGeneral.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authGeneral.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto.d.ts +2 -0
- package/package.json +8 -1
package/dist/index.js
CHANGED
|
@@ -35,6 +35,8 @@ __export(com_exports, {
|
|
|
35
35
|
var atiproto_exports = {};
|
|
36
36
|
__export(atiproto_exports, {
|
|
37
37
|
account: () => account_exports,
|
|
38
|
+
authEnhanced: () => authEnhanced_exports,
|
|
39
|
+
authGeneral: () => authGeneral_exports,
|
|
38
40
|
cart: () => cart_exports2,
|
|
39
41
|
feed: () => feed_exports,
|
|
40
42
|
profile: () => profile_exports2,
|
|
@@ -571,6 +573,125 @@ var $params7 = main11.parameters;
|
|
|
571
573
|
var $input4 = main11.input;
|
|
572
574
|
var $output7 = main11.output;
|
|
573
575
|
|
|
576
|
+
// src/lexicons/com/atiproto/authEnhanced.ts
|
|
577
|
+
var authEnhanced_exports = {};
|
|
578
|
+
__export(authEnhanced_exports, {
|
|
579
|
+
$defs: () => authEnhanced_defs_exports,
|
|
580
|
+
$nsid: () => $nsid12,
|
|
581
|
+
main: () => main12
|
|
582
|
+
});
|
|
583
|
+
|
|
584
|
+
// src/lexicons/com/atiproto/authEnhanced.defs.ts
|
|
585
|
+
var authEnhanced_defs_exports = {};
|
|
586
|
+
__export(authEnhanced_defs_exports, {
|
|
587
|
+
$nsid: () => $nsid12,
|
|
588
|
+
main: () => main12
|
|
589
|
+
});
|
|
590
|
+
var import_lex12 = require("@atproto/lex");
|
|
591
|
+
var $nsid12 = "com.atiproto.authEnhanced";
|
|
592
|
+
var main12 = import_lex12.l.permissionSet(
|
|
593
|
+
$nsid12,
|
|
594
|
+
[
|
|
595
|
+
import_lex12.l.permission("repo", {
|
|
596
|
+
collection: [
|
|
597
|
+
"com.atiproto.cart",
|
|
598
|
+
"com.atiproto.subscription",
|
|
599
|
+
"com.atiproto.tip",
|
|
600
|
+
"com.atiproto.profile"
|
|
601
|
+
]
|
|
602
|
+
}),
|
|
603
|
+
import_lex12.l.permission("rpc", {
|
|
604
|
+
aud: "did:web:atiproto.com#payments",
|
|
605
|
+
lxm: [
|
|
606
|
+
"com.atiproto.account.cart.clone",
|
|
607
|
+
"com.atiproto.account.cart.create",
|
|
608
|
+
"com.atiproto.account.cart.get",
|
|
609
|
+
"com.atiproto.account.cart.list",
|
|
610
|
+
"com.atiproto.account.cart.put",
|
|
611
|
+
"com.atiproto.account.profile.get",
|
|
612
|
+
"com.atiproto.account.profile.put",
|
|
613
|
+
"com.atiproto.feed.list",
|
|
614
|
+
"com.atiproto.feed.subscription.cancel",
|
|
615
|
+
"com.atiproto.feed.subscription.create",
|
|
616
|
+
"com.atiproto.feed.subscription.get",
|
|
617
|
+
"com.atiproto.feed.subscription.list",
|
|
618
|
+
"com.atiproto.feed.subscription.put",
|
|
619
|
+
"com.atiproto.feed.tip.create",
|
|
620
|
+
"com.atiproto.feed.tip.get",
|
|
621
|
+
"com.atiproto.feed.tip.list",
|
|
622
|
+
"com.atiproto.feed.tip.put",
|
|
623
|
+
"com.atiproto.repo.profile.get",
|
|
624
|
+
"com.atiproto.repo.subscription.search",
|
|
625
|
+
"com.atiproto.repo.subscription.validate",
|
|
626
|
+
"com.atiproto.repo.tip.search",
|
|
627
|
+
"com.atiproto.repo.tip.validate"
|
|
628
|
+
]
|
|
629
|
+
})
|
|
630
|
+
],
|
|
631
|
+
{
|
|
632
|
+
title: "Enhanced Access",
|
|
633
|
+
detail: "Full atiproto access. Extends general access with write access to the profile record and RPC access to all profile endpoints."
|
|
634
|
+
}
|
|
635
|
+
);
|
|
636
|
+
|
|
637
|
+
// src/lexicons/com/atiproto/authGeneral.ts
|
|
638
|
+
var authGeneral_exports = {};
|
|
639
|
+
__export(authGeneral_exports, {
|
|
640
|
+
$defs: () => authGeneral_defs_exports,
|
|
641
|
+
$nsid: () => $nsid13,
|
|
642
|
+
main: () => main13
|
|
643
|
+
});
|
|
644
|
+
|
|
645
|
+
// src/lexicons/com/atiproto/authGeneral.defs.ts
|
|
646
|
+
var authGeneral_defs_exports = {};
|
|
647
|
+
__export(authGeneral_defs_exports, {
|
|
648
|
+
$nsid: () => $nsid13,
|
|
649
|
+
main: () => main13
|
|
650
|
+
});
|
|
651
|
+
var import_lex13 = require("@atproto/lex");
|
|
652
|
+
var $nsid13 = "com.atiproto.authGeneral";
|
|
653
|
+
var main13 = import_lex13.l.permissionSet(
|
|
654
|
+
$nsid13,
|
|
655
|
+
[
|
|
656
|
+
import_lex13.l.permission("repo", {
|
|
657
|
+
collection: [
|
|
658
|
+
"com.atiproto.cart",
|
|
659
|
+
"com.atiproto.subscription",
|
|
660
|
+
"com.atiproto.tip"
|
|
661
|
+
]
|
|
662
|
+
}),
|
|
663
|
+
import_lex13.l.permission("rpc", {
|
|
664
|
+
aud: "did:web:atiproto.com#payments",
|
|
665
|
+
lxm: [
|
|
666
|
+
"com.atiproto.account.cart.clone",
|
|
667
|
+
"com.atiproto.account.cart.create",
|
|
668
|
+
"com.atiproto.account.cart.get",
|
|
669
|
+
"com.atiproto.account.cart.list",
|
|
670
|
+
"com.atiproto.account.cart.put",
|
|
671
|
+
"com.atiproto.feed.list",
|
|
672
|
+
"com.atiproto.feed.subscription.cancel",
|
|
673
|
+
"com.atiproto.feed.subscription.create",
|
|
674
|
+
"com.atiproto.feed.subscription.get",
|
|
675
|
+
"com.atiproto.feed.subscription.list",
|
|
676
|
+
"com.atiproto.feed.subscription.put",
|
|
677
|
+
"com.atiproto.feed.tip.create",
|
|
678
|
+
"com.atiproto.feed.tip.get",
|
|
679
|
+
"com.atiproto.feed.tip.list",
|
|
680
|
+
"com.atiproto.feed.tip.put",
|
|
681
|
+
"com.atiproto.repo.profile.get",
|
|
682
|
+
"com.atiproto.repo.subscription.search",
|
|
683
|
+
"com.atiproto.repo.subscription.validate",
|
|
684
|
+
"com.atiproto.repo.tip.search",
|
|
685
|
+
"com.atiproto.repo.tip.validate"
|
|
686
|
+
]
|
|
687
|
+
})
|
|
688
|
+
],
|
|
689
|
+
{
|
|
690
|
+
title: "General Access",
|
|
691
|
+
detail: "Write access to cart, subscription, and tip records, plus RPC access to all non-profile endpoints."
|
|
692
|
+
}
|
|
693
|
+
);
|
|
694
|
+
|
|
574
695
|
// src/lexicons/com/atiproto/cart.ts
|
|
575
696
|
var cart_exports2 = {};
|
|
576
697
|
__export(cart_exports2, {
|
|
@@ -605,44 +726,44 @@ var list_exports2 = {};
|
|
|
605
726
|
__export(list_exports2, {
|
|
606
727
|
$defs: () => list_defs_exports2,
|
|
607
728
|
$lxm: () => $lxm8,
|
|
608
|
-
$nsid: () => $
|
|
729
|
+
$nsid: () => $nsid14,
|
|
609
730
|
$output: () => $output8,
|
|
610
731
|
$params: () => $params8,
|
|
611
|
-
main: () =>
|
|
732
|
+
main: () => main14
|
|
612
733
|
});
|
|
613
734
|
|
|
614
735
|
// src/lexicons/com/atiproto/feed/list.defs.ts
|
|
615
736
|
var list_defs_exports2 = {};
|
|
616
737
|
__export(list_defs_exports2, {
|
|
617
738
|
$lxm: () => $lxm8,
|
|
618
|
-
$nsid: () => $
|
|
739
|
+
$nsid: () => $nsid14,
|
|
619
740
|
$output: () => $output8,
|
|
620
741
|
$params: () => $params8,
|
|
621
|
-
main: () =>
|
|
742
|
+
main: () => main14
|
|
622
743
|
});
|
|
623
|
-
var
|
|
624
|
-
var $
|
|
625
|
-
var
|
|
626
|
-
$
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
items:
|
|
630
|
-
|
|
744
|
+
var import_lex14 = require("@atproto/lex");
|
|
745
|
+
var $nsid14 = "com.atiproto.feed.list";
|
|
746
|
+
var main14 = import_lex14.l.query(
|
|
747
|
+
$nsid14,
|
|
748
|
+
import_lex14.l.params(),
|
|
749
|
+
import_lex14.l.jsonPayload({
|
|
750
|
+
items: import_lex14.l.array(
|
|
751
|
+
import_lex14.l.typedUnion(
|
|
631
752
|
[
|
|
632
|
-
|
|
633
|
-
|
|
753
|
+
import_lex14.l.typedRef((() => main2)),
|
|
754
|
+
import_lex14.l.typedRef(
|
|
634
755
|
(() => main3)
|
|
635
756
|
)
|
|
636
757
|
],
|
|
637
758
|
false
|
|
638
759
|
)
|
|
639
760
|
),
|
|
640
|
-
cursor:
|
|
761
|
+
cursor: import_lex14.l.optional(import_lex14.l.string())
|
|
641
762
|
})
|
|
642
763
|
);
|
|
643
|
-
var $lxm8 =
|
|
644
|
-
var $params8 =
|
|
645
|
-
var $output8 =
|
|
764
|
+
var $lxm8 = main14.nsid;
|
|
765
|
+
var $params8 = main14.parameters;
|
|
766
|
+
var $output8 = main14.output;
|
|
646
767
|
|
|
647
768
|
// src/lexicons/com/atiproto/feed/subscription.ts
|
|
648
769
|
var subscription_exports = {};
|
|
@@ -660,10 +781,10 @@ __export(cancel_exports, {
|
|
|
660
781
|
$defs: () => cancel_defs_exports,
|
|
661
782
|
$input: () => $input5,
|
|
662
783
|
$lxm: () => $lxm9,
|
|
663
|
-
$nsid: () => $
|
|
784
|
+
$nsid: () => $nsid15,
|
|
664
785
|
$output: () => $output9,
|
|
665
786
|
$params: () => $params9,
|
|
666
|
-
main: () =>
|
|
787
|
+
main: () => main15
|
|
667
788
|
});
|
|
668
789
|
|
|
669
790
|
// src/lexicons/com/atiproto/feed/subscription/cancel.defs.ts
|
|
@@ -671,29 +792,29 @@ var cancel_defs_exports = {};
|
|
|
671
792
|
__export(cancel_defs_exports, {
|
|
672
793
|
$input: () => $input5,
|
|
673
794
|
$lxm: () => $lxm9,
|
|
674
|
-
$nsid: () => $
|
|
795
|
+
$nsid: () => $nsid15,
|
|
675
796
|
$output: () => $output9,
|
|
676
797
|
$params: () => $params9,
|
|
677
|
-
main: () =>
|
|
798
|
+
main: () => main15
|
|
678
799
|
});
|
|
679
|
-
var
|
|
680
|
-
var $
|
|
681
|
-
var
|
|
682
|
-
$
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
subscriptionUri:
|
|
687
|
-
subscription:
|
|
800
|
+
var import_lex15 = require("@atproto/lex");
|
|
801
|
+
var $nsid15 = "com.atiproto.feed.subscription.cancel";
|
|
802
|
+
var main15 = import_lex15.l.procedure(
|
|
803
|
+
$nsid15,
|
|
804
|
+
import_lex15.l.params(),
|
|
805
|
+
import_lex15.l.jsonPayload({ subscriptionUri: import_lex15.l.string({ format: "at-uri" }) }),
|
|
806
|
+
import_lex15.l.jsonPayload({
|
|
807
|
+
subscriptionUri: import_lex15.l.string({ format: "at-uri" }),
|
|
808
|
+
subscription: import_lex15.l.ref(
|
|
688
809
|
(() => main3)
|
|
689
810
|
),
|
|
690
|
-
accessUntil:
|
|
811
|
+
accessUntil: import_lex15.l.string({ format: "datetime" })
|
|
691
812
|
})
|
|
692
813
|
);
|
|
693
|
-
var $lxm9 =
|
|
694
|
-
var $params9 =
|
|
695
|
-
var $input5 =
|
|
696
|
-
var $output9 =
|
|
814
|
+
var $lxm9 = main15.nsid;
|
|
815
|
+
var $params9 = main15.parameters;
|
|
816
|
+
var $input5 = main15.input;
|
|
817
|
+
var $output9 = main15.output;
|
|
697
818
|
|
|
698
819
|
// src/lexicons/com/atiproto/feed/subscription/create.ts
|
|
699
820
|
var create_exports2 = {};
|
|
@@ -701,10 +822,10 @@ __export(create_exports2, {
|
|
|
701
822
|
$defs: () => create_defs_exports2,
|
|
702
823
|
$input: () => $input6,
|
|
703
824
|
$lxm: () => $lxm10,
|
|
704
|
-
$nsid: () => $
|
|
825
|
+
$nsid: () => $nsid16,
|
|
705
826
|
$output: () => $output10,
|
|
706
827
|
$params: () => $params10,
|
|
707
|
-
main: () =>
|
|
828
|
+
main: () => main16
|
|
708
829
|
});
|
|
709
830
|
|
|
710
831
|
// src/lexicons/com/atiproto/feed/subscription/create.defs.ts
|
|
@@ -712,83 +833,83 @@ var create_defs_exports2 = {};
|
|
|
712
833
|
__export(create_defs_exports2, {
|
|
713
834
|
$input: () => $input6,
|
|
714
835
|
$lxm: () => $lxm10,
|
|
715
|
-
$nsid: () => $
|
|
836
|
+
$nsid: () => $nsid16,
|
|
716
837
|
$output: () => $output10,
|
|
717
838
|
$params: () => $params10,
|
|
718
|
-
main: () =>
|
|
839
|
+
main: () => main16
|
|
719
840
|
});
|
|
720
|
-
var
|
|
721
|
-
var $
|
|
722
|
-
var
|
|
723
|
-
$
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
subject:
|
|
727
|
-
amount:
|
|
728
|
-
currency:
|
|
729
|
-
interval:
|
|
841
|
+
var import_lex16 = require("@atproto/lex");
|
|
842
|
+
var $nsid16 = "com.atiproto.feed.subscription.create";
|
|
843
|
+
var main16 = import_lex16.l.procedure(
|
|
844
|
+
$nsid16,
|
|
845
|
+
import_lex16.l.params(),
|
|
846
|
+
import_lex16.l.jsonPayload({
|
|
847
|
+
subject: import_lex16.l.string({ format: "did" }),
|
|
848
|
+
amount: import_lex16.l.optional(import_lex16.l.integer()),
|
|
849
|
+
currency: import_lex16.l.string(),
|
|
850
|
+
interval: import_lex16.l.string()
|
|
730
851
|
}),
|
|
731
|
-
|
|
732
|
-
subscriptionUri:
|
|
733
|
-
subscription:
|
|
852
|
+
import_lex16.l.jsonPayload({
|
|
853
|
+
subscriptionUri: import_lex16.l.string({ format: "at-uri" }),
|
|
854
|
+
subscription: import_lex16.l.ref(
|
|
734
855
|
(() => main3)
|
|
735
856
|
),
|
|
736
|
-
cartUri:
|
|
737
|
-
cart:
|
|
738
|
-
checkoutUrl:
|
|
857
|
+
cartUri: import_lex16.l.string({ format: "at-uri" }),
|
|
858
|
+
cart: import_lex16.l.ref((() => main)),
|
|
859
|
+
checkoutUrl: import_lex16.l.string({ format: "uri" })
|
|
739
860
|
})
|
|
740
861
|
);
|
|
741
|
-
var $lxm10 =
|
|
742
|
-
var $params10 =
|
|
743
|
-
var $input6 =
|
|
744
|
-
var $output10 =
|
|
862
|
+
var $lxm10 = main16.nsid;
|
|
863
|
+
var $params10 = main16.parameters;
|
|
864
|
+
var $input6 = main16.input;
|
|
865
|
+
var $output10 = main16.output;
|
|
745
866
|
|
|
746
867
|
// src/lexicons/com/atiproto/feed/subscription/get.ts
|
|
747
868
|
var get_exports3 = {};
|
|
748
869
|
__export(get_exports3, {
|
|
749
870
|
$defs: () => get_defs_exports3,
|
|
750
871
|
$lxm: () => $lxm11,
|
|
751
|
-
$nsid: () => $
|
|
872
|
+
$nsid: () => $nsid17,
|
|
752
873
|
$output: () => $output11,
|
|
753
874
|
$params: () => $params11,
|
|
754
|
-
main: () =>
|
|
875
|
+
main: () => main17
|
|
755
876
|
});
|
|
756
877
|
|
|
757
878
|
// src/lexicons/com/atiproto/feed/subscription/get.defs.ts
|
|
758
879
|
var get_defs_exports3 = {};
|
|
759
880
|
__export(get_defs_exports3, {
|
|
760
881
|
$lxm: () => $lxm11,
|
|
761
|
-
$nsid: () => $
|
|
882
|
+
$nsid: () => $nsid17,
|
|
762
883
|
$output: () => $output11,
|
|
763
884
|
$params: () => $params11,
|
|
764
|
-
main: () =>
|
|
885
|
+
main: () => main17
|
|
765
886
|
});
|
|
766
|
-
var
|
|
767
|
-
var $
|
|
768
|
-
var
|
|
769
|
-
$
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
uri:
|
|
773
|
-
cid:
|
|
774
|
-
record:
|
|
887
|
+
var import_lex17 = require("@atproto/lex");
|
|
888
|
+
var $nsid17 = "com.atiproto.feed.subscription.get";
|
|
889
|
+
var main17 = import_lex17.l.query(
|
|
890
|
+
$nsid17,
|
|
891
|
+
import_lex17.l.params({ uri: import_lex17.l.string({ format: "at-uri" }) }),
|
|
892
|
+
import_lex17.l.jsonPayload({
|
|
893
|
+
uri: import_lex17.l.string({ format: "at-uri" }),
|
|
894
|
+
cid: import_lex17.l.string({ format: "cid" }),
|
|
895
|
+
record: import_lex17.l.ref(
|
|
775
896
|
(() => main3)
|
|
776
897
|
)
|
|
777
898
|
})
|
|
778
899
|
);
|
|
779
|
-
var $lxm11 =
|
|
780
|
-
var $params11 =
|
|
781
|
-
var $output11 =
|
|
900
|
+
var $lxm11 = main17.nsid;
|
|
901
|
+
var $params11 = main17.parameters;
|
|
902
|
+
var $output11 = main17.output;
|
|
782
903
|
|
|
783
904
|
// src/lexicons/com/atiproto/feed/subscription/list.ts
|
|
784
905
|
var list_exports3 = {};
|
|
785
906
|
__export(list_exports3, {
|
|
786
907
|
$defs: () => list_defs_exports3,
|
|
787
908
|
$lxm: () => $lxm12,
|
|
788
|
-
$nsid: () => $
|
|
909
|
+
$nsid: () => $nsid18,
|
|
789
910
|
$output: () => $output12,
|
|
790
911
|
$params: () => $params12,
|
|
791
|
-
main: () =>
|
|
912
|
+
main: () => main18,
|
|
792
913
|
subscriptionResponse: () => subscriptionResponse
|
|
793
914
|
});
|
|
794
915
|
|
|
@@ -796,33 +917,33 @@ __export(list_exports3, {
|
|
|
796
917
|
var list_defs_exports3 = {};
|
|
797
918
|
__export(list_defs_exports3, {
|
|
798
919
|
$lxm: () => $lxm12,
|
|
799
|
-
$nsid: () => $
|
|
920
|
+
$nsid: () => $nsid18,
|
|
800
921
|
$output: () => $output12,
|
|
801
922
|
$params: () => $params12,
|
|
802
|
-
main: () =>
|
|
923
|
+
main: () => main18,
|
|
803
924
|
subscriptionResponse: () => subscriptionResponse
|
|
804
925
|
});
|
|
805
|
-
var
|
|
806
|
-
var $
|
|
807
|
-
var
|
|
808
|
-
$
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
subscriptions:
|
|
812
|
-
|
|
926
|
+
var import_lex18 = require("@atproto/lex");
|
|
927
|
+
var $nsid18 = "com.atiproto.feed.subscription.list";
|
|
928
|
+
var main18 = import_lex18.l.query(
|
|
929
|
+
$nsid18,
|
|
930
|
+
import_lex18.l.params(),
|
|
931
|
+
import_lex18.l.jsonPayload({
|
|
932
|
+
subscriptions: import_lex18.l.array(
|
|
933
|
+
import_lex18.l.ref((() => subscriptionResponse))
|
|
813
934
|
),
|
|
814
|
-
cursor:
|
|
935
|
+
cursor: import_lex18.l.optional(import_lex18.l.string())
|
|
815
936
|
})
|
|
816
937
|
);
|
|
817
|
-
var $lxm12 =
|
|
818
|
-
var $params12 =
|
|
819
|
-
var $output12 =
|
|
820
|
-
var subscriptionResponse =
|
|
821
|
-
$
|
|
938
|
+
var $lxm12 = main18.nsid;
|
|
939
|
+
var $params12 = main18.parameters;
|
|
940
|
+
var $output12 = main18.output;
|
|
941
|
+
var subscriptionResponse = import_lex18.l.typedObject(
|
|
942
|
+
$nsid18,
|
|
822
943
|
"subscriptionResponse",
|
|
823
|
-
|
|
824
|
-
uri:
|
|
825
|
-
record:
|
|
944
|
+
import_lex18.l.object({
|
|
945
|
+
uri: import_lex18.l.string({ format: "at-uri" }),
|
|
946
|
+
record: import_lex18.l.ref(
|
|
826
947
|
(() => main3)
|
|
827
948
|
)
|
|
828
949
|
})
|
|
@@ -834,10 +955,10 @@ __export(put_exports3, {
|
|
|
834
955
|
$defs: () => put_defs_exports3,
|
|
835
956
|
$input: () => $input7,
|
|
836
957
|
$lxm: () => $lxm13,
|
|
837
|
-
$nsid: () => $
|
|
958
|
+
$nsid: () => $nsid19,
|
|
838
959
|
$output: () => $output13,
|
|
839
960
|
$params: () => $params13,
|
|
840
|
-
main: () =>
|
|
961
|
+
main: () => main19
|
|
841
962
|
});
|
|
842
963
|
|
|
843
964
|
// src/lexicons/com/atiproto/feed/subscription/put.defs.ts
|
|
@@ -845,31 +966,31 @@ var put_defs_exports3 = {};
|
|
|
845
966
|
__export(put_defs_exports3, {
|
|
846
967
|
$input: () => $input7,
|
|
847
968
|
$lxm: () => $lxm13,
|
|
848
|
-
$nsid: () => $
|
|
969
|
+
$nsid: () => $nsid19,
|
|
849
970
|
$output: () => $output13,
|
|
850
971
|
$params: () => $params13,
|
|
851
|
-
main: () =>
|
|
972
|
+
main: () => main19
|
|
852
973
|
});
|
|
853
|
-
var
|
|
854
|
-
var $
|
|
855
|
-
var
|
|
856
|
-
$
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
uri:
|
|
860
|
-
record:
|
|
974
|
+
var import_lex19 = require("@atproto/lex");
|
|
975
|
+
var $nsid19 = "com.atiproto.feed.subscription.put";
|
|
976
|
+
var main19 = import_lex19.l.procedure(
|
|
977
|
+
$nsid19,
|
|
978
|
+
import_lex19.l.params(),
|
|
979
|
+
import_lex19.l.jsonPayload({
|
|
980
|
+
uri: import_lex19.l.string({ format: "at-uri" }),
|
|
981
|
+
record: import_lex19.l.ref(
|
|
861
982
|
(() => main3)
|
|
862
983
|
)
|
|
863
984
|
}),
|
|
864
|
-
|
|
865
|
-
uri:
|
|
866
|
-
cid:
|
|
985
|
+
import_lex19.l.jsonPayload({
|
|
986
|
+
uri: import_lex19.l.string({ format: "at-uri" }),
|
|
987
|
+
cid: import_lex19.l.string({ format: "cid" })
|
|
867
988
|
})
|
|
868
989
|
);
|
|
869
|
-
var $lxm13 =
|
|
870
|
-
var $params13 =
|
|
871
|
-
var $input7 =
|
|
872
|
-
var $output13 =
|
|
990
|
+
var $lxm13 = main19.nsid;
|
|
991
|
+
var $params13 = main19.parameters;
|
|
992
|
+
var $input7 = main19.input;
|
|
993
|
+
var $output13 = main19.output;
|
|
873
994
|
|
|
874
995
|
// src/lexicons/com/atiproto/feed/tip.ts
|
|
875
996
|
var tip_exports = {};
|
|
@@ -886,10 +1007,10 @@ __export(create_exports3, {
|
|
|
886
1007
|
$defs: () => create_defs_exports3,
|
|
887
1008
|
$input: () => $input8,
|
|
888
1009
|
$lxm: () => $lxm14,
|
|
889
|
-
$nsid: () => $
|
|
1010
|
+
$nsid: () => $nsid20,
|
|
890
1011
|
$output: () => $output14,
|
|
891
1012
|
$params: () => $params14,
|
|
892
|
-
main: () =>
|
|
1013
|
+
main: () => main20
|
|
893
1014
|
});
|
|
894
1015
|
|
|
895
1016
|
// src/lexicons/com/atiproto/feed/tip/create.defs.ts
|
|
@@ -897,106 +1018,106 @@ var create_defs_exports3 = {};
|
|
|
897
1018
|
__export(create_defs_exports3, {
|
|
898
1019
|
$input: () => $input8,
|
|
899
1020
|
$lxm: () => $lxm14,
|
|
900
|
-
$nsid: () => $
|
|
1021
|
+
$nsid: () => $nsid20,
|
|
901
1022
|
$output: () => $output14,
|
|
902
1023
|
$params: () => $params14,
|
|
903
|
-
main: () =>
|
|
1024
|
+
main: () => main20
|
|
904
1025
|
});
|
|
905
|
-
var
|
|
906
|
-
var $
|
|
907
|
-
var
|
|
908
|
-
$
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
subject:
|
|
912
|
-
recordUri:
|
|
913
|
-
amount:
|
|
914
|
-
currency:
|
|
915
|
-
cartUri:
|
|
916
|
-
redirectUrl:
|
|
917
|
-
message:
|
|
1026
|
+
var import_lex20 = require("@atproto/lex");
|
|
1027
|
+
var $nsid20 = "com.atiproto.feed.tip.create";
|
|
1028
|
+
var main20 = import_lex20.l.procedure(
|
|
1029
|
+
$nsid20,
|
|
1030
|
+
import_lex20.l.params(),
|
|
1031
|
+
import_lex20.l.jsonPayload({
|
|
1032
|
+
subject: import_lex20.l.string({ format: "did" }),
|
|
1033
|
+
recordUri: import_lex20.l.optional(import_lex20.l.string({ format: "at-uri" })),
|
|
1034
|
+
amount: import_lex20.l.integer(),
|
|
1035
|
+
currency: import_lex20.l.string(),
|
|
1036
|
+
cartUri: import_lex20.l.optional(import_lex20.l.string({ format: "at-uri" })),
|
|
1037
|
+
redirectUrl: import_lex20.l.optional(import_lex20.l.string({ format: "uri" })),
|
|
1038
|
+
message: import_lex20.l.optional(import_lex20.l.string({ maxGraphemes: 500, maxLength: 5e3 }))
|
|
918
1039
|
}),
|
|
919
|
-
|
|
920
|
-
tipUri:
|
|
921
|
-
tip:
|
|
922
|
-
cartUri:
|
|
923
|
-
cart:
|
|
924
|
-
checkoutUrl:
|
|
1040
|
+
import_lex20.l.jsonPayload({
|
|
1041
|
+
tipUri: import_lex20.l.string({ format: "at-uri" }),
|
|
1042
|
+
tip: import_lex20.l.ref((() => main2)),
|
|
1043
|
+
cartUri: import_lex20.l.string({ format: "at-uri" }),
|
|
1044
|
+
cart: import_lex20.l.ref((() => main)),
|
|
1045
|
+
checkoutUrl: import_lex20.l.string({ format: "uri" })
|
|
925
1046
|
})
|
|
926
1047
|
);
|
|
927
|
-
var $lxm14 =
|
|
928
|
-
var $params14 =
|
|
929
|
-
var $input8 =
|
|
930
|
-
var $output14 =
|
|
1048
|
+
var $lxm14 = main20.nsid;
|
|
1049
|
+
var $params14 = main20.parameters;
|
|
1050
|
+
var $input8 = main20.input;
|
|
1051
|
+
var $output14 = main20.output;
|
|
931
1052
|
|
|
932
1053
|
// src/lexicons/com/atiproto/feed/tip/get.ts
|
|
933
1054
|
var get_exports4 = {};
|
|
934
1055
|
__export(get_exports4, {
|
|
935
1056
|
$defs: () => get_defs_exports4,
|
|
936
1057
|
$lxm: () => $lxm15,
|
|
937
|
-
$nsid: () => $
|
|
1058
|
+
$nsid: () => $nsid21,
|
|
938
1059
|
$output: () => $output15,
|
|
939
1060
|
$params: () => $params15,
|
|
940
|
-
main: () =>
|
|
1061
|
+
main: () => main21
|
|
941
1062
|
});
|
|
942
1063
|
|
|
943
1064
|
// src/lexicons/com/atiproto/feed/tip/get.defs.ts
|
|
944
1065
|
var get_defs_exports4 = {};
|
|
945
1066
|
__export(get_defs_exports4, {
|
|
946
1067
|
$lxm: () => $lxm15,
|
|
947
|
-
$nsid: () => $
|
|
1068
|
+
$nsid: () => $nsid21,
|
|
948
1069
|
$output: () => $output15,
|
|
949
1070
|
$params: () => $params15,
|
|
950
|
-
main: () =>
|
|
1071
|
+
main: () => main21
|
|
951
1072
|
});
|
|
952
|
-
var
|
|
953
|
-
var $
|
|
954
|
-
var
|
|
955
|
-
$
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
uri:
|
|
959
|
-
cid:
|
|
960
|
-
value:
|
|
1073
|
+
var import_lex21 = require("@atproto/lex");
|
|
1074
|
+
var $nsid21 = "com.atiproto.feed.tip.get";
|
|
1075
|
+
var main21 = import_lex21.l.query(
|
|
1076
|
+
$nsid21,
|
|
1077
|
+
import_lex21.l.params({ uri: import_lex21.l.string({ format: "at-uri" }) }),
|
|
1078
|
+
import_lex21.l.jsonPayload({
|
|
1079
|
+
uri: import_lex21.l.string({ format: "at-uri" }),
|
|
1080
|
+
cid: import_lex21.l.string({ format: "cid" }),
|
|
1081
|
+
value: import_lex21.l.ref((() => main2))
|
|
961
1082
|
})
|
|
962
1083
|
);
|
|
963
|
-
var $lxm15 =
|
|
964
|
-
var $params15 =
|
|
965
|
-
var $output15 =
|
|
1084
|
+
var $lxm15 = main21.nsid;
|
|
1085
|
+
var $params15 = main21.parameters;
|
|
1086
|
+
var $output15 = main21.output;
|
|
966
1087
|
|
|
967
1088
|
// src/lexicons/com/atiproto/feed/tip/list.ts
|
|
968
1089
|
var list_exports4 = {};
|
|
969
1090
|
__export(list_exports4, {
|
|
970
1091
|
$defs: () => list_defs_exports4,
|
|
971
1092
|
$lxm: () => $lxm16,
|
|
972
|
-
$nsid: () => $
|
|
1093
|
+
$nsid: () => $nsid22,
|
|
973
1094
|
$output: () => $output16,
|
|
974
1095
|
$params: () => $params16,
|
|
975
|
-
main: () =>
|
|
1096
|
+
main: () => main22
|
|
976
1097
|
});
|
|
977
1098
|
|
|
978
1099
|
// src/lexicons/com/atiproto/feed/tip/list.defs.ts
|
|
979
1100
|
var list_defs_exports4 = {};
|
|
980
1101
|
__export(list_defs_exports4, {
|
|
981
1102
|
$lxm: () => $lxm16,
|
|
982
|
-
$nsid: () => $
|
|
1103
|
+
$nsid: () => $nsid22,
|
|
983
1104
|
$output: () => $output16,
|
|
984
1105
|
$params: () => $params16,
|
|
985
|
-
main: () =>
|
|
1106
|
+
main: () => main22
|
|
986
1107
|
});
|
|
987
|
-
var
|
|
988
|
-
var $
|
|
989
|
-
var
|
|
990
|
-
$
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
records:
|
|
994
|
-
cursor:
|
|
1108
|
+
var import_lex22 = require("@atproto/lex");
|
|
1109
|
+
var $nsid22 = "com.atiproto.feed.tip.list";
|
|
1110
|
+
var main22 = import_lex22.l.query(
|
|
1111
|
+
$nsid22,
|
|
1112
|
+
import_lex22.l.params(),
|
|
1113
|
+
import_lex22.l.jsonPayload({
|
|
1114
|
+
records: import_lex22.l.array(import_lex22.l.ref((() => main2))),
|
|
1115
|
+
cursor: import_lex22.l.optional(import_lex22.l.string())
|
|
995
1116
|
})
|
|
996
1117
|
);
|
|
997
|
-
var $lxm16 =
|
|
998
|
-
var $params16 =
|
|
999
|
-
var $output16 =
|
|
1118
|
+
var $lxm16 = main22.nsid;
|
|
1119
|
+
var $params16 = main22.parameters;
|
|
1120
|
+
var $output16 = main22.output;
|
|
1000
1121
|
|
|
1001
1122
|
// src/lexicons/com/atiproto/feed/tip/put.ts
|
|
1002
1123
|
var put_exports4 = {};
|
|
@@ -1004,10 +1125,10 @@ __export(put_exports4, {
|
|
|
1004
1125
|
$defs: () => put_defs_exports4,
|
|
1005
1126
|
$input: () => $input9,
|
|
1006
1127
|
$lxm: () => $lxm17,
|
|
1007
|
-
$nsid: () => $
|
|
1128
|
+
$nsid: () => $nsid23,
|
|
1008
1129
|
$output: () => $output17,
|
|
1009
1130
|
$params: () => $params17,
|
|
1010
|
-
main: () =>
|
|
1131
|
+
main: () => main23
|
|
1011
1132
|
});
|
|
1012
1133
|
|
|
1013
1134
|
// src/lexicons/com/atiproto/feed/tip/put.defs.ts
|
|
@@ -1015,29 +1136,29 @@ var put_defs_exports4 = {};
|
|
|
1015
1136
|
__export(put_defs_exports4, {
|
|
1016
1137
|
$input: () => $input9,
|
|
1017
1138
|
$lxm: () => $lxm17,
|
|
1018
|
-
$nsid: () => $
|
|
1139
|
+
$nsid: () => $nsid23,
|
|
1019
1140
|
$output: () => $output17,
|
|
1020
1141
|
$params: () => $params17,
|
|
1021
|
-
main: () =>
|
|
1142
|
+
main: () => main23
|
|
1022
1143
|
});
|
|
1023
|
-
var
|
|
1024
|
-
var $
|
|
1025
|
-
var
|
|
1026
|
-
$
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
uri:
|
|
1030
|
-
record:
|
|
1144
|
+
var import_lex23 = require("@atproto/lex");
|
|
1145
|
+
var $nsid23 = "com.atiproto.feed.tip.put";
|
|
1146
|
+
var main23 = import_lex23.l.procedure(
|
|
1147
|
+
$nsid23,
|
|
1148
|
+
import_lex23.l.params(),
|
|
1149
|
+
import_lex23.l.jsonPayload({
|
|
1150
|
+
uri: import_lex23.l.string({ format: "at-uri" }),
|
|
1151
|
+
record: import_lex23.l.ref((() => main2))
|
|
1031
1152
|
}),
|
|
1032
|
-
|
|
1033
|
-
uri:
|
|
1034
|
-
cid:
|
|
1153
|
+
import_lex23.l.jsonPayload({
|
|
1154
|
+
uri: import_lex23.l.string({ format: "at-uri" }),
|
|
1155
|
+
cid: import_lex23.l.string({ format: "cid" })
|
|
1035
1156
|
})
|
|
1036
1157
|
);
|
|
1037
|
-
var $lxm17 =
|
|
1038
|
-
var $params17 =
|
|
1039
|
-
var $input9 =
|
|
1040
|
-
var $output17 =
|
|
1158
|
+
var $lxm17 = main23.nsid;
|
|
1159
|
+
var $params17 = main23.parameters;
|
|
1160
|
+
var $input9 = main23.input;
|
|
1161
|
+
var $output17 = main23.output;
|
|
1041
1162
|
|
|
1042
1163
|
// src/lexicons/com/atiproto/profile.ts
|
|
1043
1164
|
var profile_exports2 = {};
|
|
@@ -1078,34 +1199,34 @@ var get_exports5 = {};
|
|
|
1078
1199
|
__export(get_exports5, {
|
|
1079
1200
|
$defs: () => get_defs_exports5,
|
|
1080
1201
|
$lxm: () => $lxm18,
|
|
1081
|
-
$nsid: () => $
|
|
1202
|
+
$nsid: () => $nsid24,
|
|
1082
1203
|
$output: () => $output18,
|
|
1083
1204
|
$params: () => $params18,
|
|
1084
|
-
main: () =>
|
|
1205
|
+
main: () => main24
|
|
1085
1206
|
});
|
|
1086
1207
|
|
|
1087
1208
|
// src/lexicons/com/atiproto/repo/profile/get.defs.ts
|
|
1088
1209
|
var get_defs_exports5 = {};
|
|
1089
1210
|
__export(get_defs_exports5, {
|
|
1090
1211
|
$lxm: () => $lxm18,
|
|
1091
|
-
$nsid: () => $
|
|
1212
|
+
$nsid: () => $nsid24,
|
|
1092
1213
|
$output: () => $output18,
|
|
1093
1214
|
$params: () => $params18,
|
|
1094
|
-
main: () =>
|
|
1215
|
+
main: () => main24
|
|
1095
1216
|
});
|
|
1096
|
-
var
|
|
1097
|
-
var $
|
|
1098
|
-
var
|
|
1099
|
-
$
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
did:
|
|
1103
|
-
profile:
|
|
1217
|
+
var import_lex24 = require("@atproto/lex");
|
|
1218
|
+
var $nsid24 = "com.atiproto.repo.profile.get";
|
|
1219
|
+
var main24 = import_lex24.l.query(
|
|
1220
|
+
$nsid24,
|
|
1221
|
+
import_lex24.l.params({ did: import_lex24.l.string({ format: "did" }) }),
|
|
1222
|
+
import_lex24.l.jsonPayload({
|
|
1223
|
+
did: import_lex24.l.string({ format: "did" }),
|
|
1224
|
+
profile: import_lex24.l.ref((() => main9))
|
|
1104
1225
|
})
|
|
1105
1226
|
);
|
|
1106
|
-
var $lxm18 =
|
|
1107
|
-
var $params18 =
|
|
1108
|
-
var $output18 =
|
|
1227
|
+
var $lxm18 = main24.nsid;
|
|
1228
|
+
var $params18 = main24.parameters;
|
|
1229
|
+
var $output18 = main24.output;
|
|
1109
1230
|
|
|
1110
1231
|
// src/lexicons/com/atiproto/repo/subscription.ts
|
|
1111
1232
|
var subscription_exports2 = {};
|
|
@@ -1119,10 +1240,10 @@ var search_exports = {};
|
|
|
1119
1240
|
__export(search_exports, {
|
|
1120
1241
|
$defs: () => search_defs_exports,
|
|
1121
1242
|
$lxm: () => $lxm19,
|
|
1122
|
-
$nsid: () => $
|
|
1243
|
+
$nsid: () => $nsid25,
|
|
1123
1244
|
$output: () => $output19,
|
|
1124
1245
|
$params: () => $params19,
|
|
1125
|
-
main: () =>
|
|
1246
|
+
main: () => main25,
|
|
1126
1247
|
subscriptionResponse: () => subscriptionResponse2
|
|
1127
1248
|
});
|
|
1128
1249
|
|
|
@@ -1130,39 +1251,39 @@ __export(search_exports, {
|
|
|
1130
1251
|
var search_defs_exports = {};
|
|
1131
1252
|
__export(search_defs_exports, {
|
|
1132
1253
|
$lxm: () => $lxm19,
|
|
1133
|
-
$nsid: () => $
|
|
1254
|
+
$nsid: () => $nsid25,
|
|
1134
1255
|
$output: () => $output19,
|
|
1135
1256
|
$params: () => $params19,
|
|
1136
|
-
main: () =>
|
|
1257
|
+
main: () => main25,
|
|
1137
1258
|
subscriptionResponse: () => subscriptionResponse2
|
|
1138
1259
|
});
|
|
1139
|
-
var
|
|
1140
|
-
var $
|
|
1141
|
-
var
|
|
1142
|
-
$
|
|
1143
|
-
|
|
1144
|
-
subject:
|
|
1145
|
-
cursor:
|
|
1146
|
-
limit:
|
|
1147
|
-
|
|
1260
|
+
var import_lex25 = require("@atproto/lex");
|
|
1261
|
+
var $nsid25 = "com.atiproto.repo.subscription.search";
|
|
1262
|
+
var main25 = import_lex25.l.query(
|
|
1263
|
+
$nsid25,
|
|
1264
|
+
import_lex25.l.params({
|
|
1265
|
+
subject: import_lex25.l.string({ format: "did" }),
|
|
1266
|
+
cursor: import_lex25.l.optional(import_lex25.l.string()),
|
|
1267
|
+
limit: import_lex25.l.optional(
|
|
1268
|
+
import_lex25.l.withDefault(import_lex25.l.integer({ minimum: 1, maximum: 100 }), 50)
|
|
1148
1269
|
)
|
|
1149
1270
|
}),
|
|
1150
|
-
|
|
1151
|
-
subscriptions:
|
|
1152
|
-
|
|
1271
|
+
import_lex25.l.jsonPayload({
|
|
1272
|
+
subscriptions: import_lex25.l.array(
|
|
1273
|
+
import_lex25.l.ref((() => subscriptionResponse2))
|
|
1153
1274
|
),
|
|
1154
|
-
cursor:
|
|
1275
|
+
cursor: import_lex25.l.optional(import_lex25.l.string())
|
|
1155
1276
|
})
|
|
1156
1277
|
);
|
|
1157
|
-
var $lxm19 =
|
|
1158
|
-
var $params19 =
|
|
1159
|
-
var $output19 =
|
|
1160
|
-
var subscriptionResponse2 =
|
|
1161
|
-
$
|
|
1278
|
+
var $lxm19 = main25.nsid;
|
|
1279
|
+
var $params19 = main25.parameters;
|
|
1280
|
+
var $output19 = main25.output;
|
|
1281
|
+
var subscriptionResponse2 = import_lex25.l.typedObject(
|
|
1282
|
+
$nsid25,
|
|
1162
1283
|
"subscriptionResponse",
|
|
1163
|
-
|
|
1164
|
-
uri:
|
|
1165
|
-
record:
|
|
1284
|
+
import_lex25.l.object({
|
|
1285
|
+
uri: import_lex25.l.string({ format: "at-uri" }),
|
|
1286
|
+
record: import_lex25.l.ref(
|
|
1166
1287
|
(() => main3)
|
|
1167
1288
|
)
|
|
1168
1289
|
})
|
|
@@ -1173,41 +1294,41 @@ var validate_exports = {};
|
|
|
1173
1294
|
__export(validate_exports, {
|
|
1174
1295
|
$defs: () => validate_defs_exports,
|
|
1175
1296
|
$lxm: () => $lxm20,
|
|
1176
|
-
$nsid: () => $
|
|
1297
|
+
$nsid: () => $nsid26,
|
|
1177
1298
|
$output: () => $output20,
|
|
1178
1299
|
$params: () => $params20,
|
|
1179
|
-
main: () =>
|
|
1300
|
+
main: () => main26
|
|
1180
1301
|
});
|
|
1181
1302
|
|
|
1182
1303
|
// src/lexicons/com/atiproto/repo/subscription/validate.defs.ts
|
|
1183
1304
|
var validate_defs_exports = {};
|
|
1184
1305
|
__export(validate_defs_exports, {
|
|
1185
1306
|
$lxm: () => $lxm20,
|
|
1186
|
-
$nsid: () => $
|
|
1307
|
+
$nsid: () => $nsid26,
|
|
1187
1308
|
$output: () => $output20,
|
|
1188
1309
|
$params: () => $params20,
|
|
1189
|
-
main: () =>
|
|
1310
|
+
main: () => main26
|
|
1190
1311
|
});
|
|
1191
|
-
var
|
|
1192
|
-
var $
|
|
1193
|
-
var
|
|
1194
|
-
$
|
|
1195
|
-
|
|
1196
|
-
sender:
|
|
1197
|
-
subscriptionUri:
|
|
1198
|
-
subject:
|
|
1199
|
-
amount:
|
|
1312
|
+
var import_lex26 = require("@atproto/lex");
|
|
1313
|
+
var $nsid26 = "com.atiproto.repo.subscription.validate";
|
|
1314
|
+
var main26 = import_lex26.l.query(
|
|
1315
|
+
$nsid26,
|
|
1316
|
+
import_lex26.l.params({
|
|
1317
|
+
sender: import_lex26.l.string({ format: "did" }),
|
|
1318
|
+
subscriptionUri: import_lex26.l.optional(import_lex26.l.string({ format: "at-uri" })),
|
|
1319
|
+
subject: import_lex26.l.optional(import_lex26.l.string({ format: "did" })),
|
|
1320
|
+
amount: import_lex26.l.optional(import_lex26.l.integer())
|
|
1200
1321
|
}),
|
|
1201
|
-
|
|
1202
|
-
valid:
|
|
1203
|
-
amount:
|
|
1204
|
-
currency:
|
|
1205
|
-
reason:
|
|
1322
|
+
import_lex26.l.jsonPayload({
|
|
1323
|
+
valid: import_lex26.l.boolean(),
|
|
1324
|
+
amount: import_lex26.l.optional(import_lex26.l.integer()),
|
|
1325
|
+
currency: import_lex26.l.optional(import_lex26.l.string()),
|
|
1326
|
+
reason: import_lex26.l.optional(import_lex26.l.string())
|
|
1206
1327
|
})
|
|
1207
1328
|
);
|
|
1208
|
-
var $lxm20 =
|
|
1209
|
-
var $params20 =
|
|
1210
|
-
var $output20 =
|
|
1329
|
+
var $lxm20 = main26.nsid;
|
|
1330
|
+
var $params20 = main26.parameters;
|
|
1331
|
+
var $output20 = main26.output;
|
|
1211
1332
|
|
|
1212
1333
|
// src/lexicons/com/atiproto/repo/tip.ts
|
|
1213
1334
|
var tip_exports2 = {};
|
|
@@ -1221,10 +1342,10 @@ var search_exports2 = {};
|
|
|
1221
1342
|
__export(search_exports2, {
|
|
1222
1343
|
$defs: () => search_defs_exports2,
|
|
1223
1344
|
$lxm: () => $lxm21,
|
|
1224
|
-
$nsid: () => $
|
|
1345
|
+
$nsid: () => $nsid27,
|
|
1225
1346
|
$output: () => $output21,
|
|
1226
1347
|
$params: () => $params21,
|
|
1227
|
-
main: () =>
|
|
1348
|
+
main: () => main27,
|
|
1228
1349
|
tipResponse: () => tipResponse
|
|
1229
1350
|
});
|
|
1230
1351
|
|
|
@@ -1232,37 +1353,37 @@ __export(search_exports2, {
|
|
|
1232
1353
|
var search_defs_exports2 = {};
|
|
1233
1354
|
__export(search_defs_exports2, {
|
|
1234
1355
|
$lxm: () => $lxm21,
|
|
1235
|
-
$nsid: () => $
|
|
1356
|
+
$nsid: () => $nsid27,
|
|
1236
1357
|
$output: () => $output21,
|
|
1237
1358
|
$params: () => $params21,
|
|
1238
|
-
main: () =>
|
|
1359
|
+
main: () => main27,
|
|
1239
1360
|
tipResponse: () => tipResponse
|
|
1240
1361
|
});
|
|
1241
|
-
var
|
|
1242
|
-
var $
|
|
1243
|
-
var
|
|
1244
|
-
$
|
|
1245
|
-
|
|
1246
|
-
subject:
|
|
1247
|
-
cursor:
|
|
1248
|
-
limit:
|
|
1249
|
-
|
|
1362
|
+
var import_lex27 = require("@atproto/lex");
|
|
1363
|
+
var $nsid27 = "com.atiproto.repo.tip.search";
|
|
1364
|
+
var main27 = import_lex27.l.query(
|
|
1365
|
+
$nsid27,
|
|
1366
|
+
import_lex27.l.params({
|
|
1367
|
+
subject: import_lex27.l.string({ format: "did" }),
|
|
1368
|
+
cursor: import_lex27.l.optional(import_lex27.l.string()),
|
|
1369
|
+
limit: import_lex27.l.optional(
|
|
1370
|
+
import_lex27.l.withDefault(import_lex27.l.integer({ minimum: 1, maximum: 100 }), 50)
|
|
1250
1371
|
)
|
|
1251
1372
|
}),
|
|
1252
|
-
|
|
1253
|
-
tips:
|
|
1254
|
-
cursor:
|
|
1373
|
+
import_lex27.l.jsonPayload({
|
|
1374
|
+
tips: import_lex27.l.array(import_lex27.l.ref((() => tipResponse))),
|
|
1375
|
+
cursor: import_lex27.l.optional(import_lex27.l.string())
|
|
1255
1376
|
})
|
|
1256
1377
|
);
|
|
1257
|
-
var $lxm21 =
|
|
1258
|
-
var $params21 =
|
|
1259
|
-
var $output21 =
|
|
1260
|
-
var tipResponse =
|
|
1261
|
-
$
|
|
1378
|
+
var $lxm21 = main27.nsid;
|
|
1379
|
+
var $params21 = main27.parameters;
|
|
1380
|
+
var $output21 = main27.output;
|
|
1381
|
+
var tipResponse = import_lex27.l.typedObject(
|
|
1382
|
+
$nsid27,
|
|
1262
1383
|
"tipResponse",
|
|
1263
|
-
|
|
1264
|
-
uri:
|
|
1265
|
-
record:
|
|
1384
|
+
import_lex27.l.object({
|
|
1385
|
+
uri: import_lex27.l.string({ format: "at-uri" }),
|
|
1386
|
+
record: import_lex27.l.ref((() => main2))
|
|
1266
1387
|
})
|
|
1267
1388
|
);
|
|
1268
1389
|
|
|
@@ -1271,42 +1392,42 @@ var validate_exports2 = {};
|
|
|
1271
1392
|
__export(validate_exports2, {
|
|
1272
1393
|
$defs: () => validate_defs_exports2,
|
|
1273
1394
|
$lxm: () => $lxm22,
|
|
1274
|
-
$nsid: () => $
|
|
1395
|
+
$nsid: () => $nsid28,
|
|
1275
1396
|
$output: () => $output22,
|
|
1276
1397
|
$params: () => $params22,
|
|
1277
|
-
main: () =>
|
|
1398
|
+
main: () => main28
|
|
1278
1399
|
});
|
|
1279
1400
|
|
|
1280
1401
|
// src/lexicons/com/atiproto/repo/tip/validate.defs.ts
|
|
1281
1402
|
var validate_defs_exports2 = {};
|
|
1282
1403
|
__export(validate_defs_exports2, {
|
|
1283
1404
|
$lxm: () => $lxm22,
|
|
1284
|
-
$nsid: () => $
|
|
1405
|
+
$nsid: () => $nsid28,
|
|
1285
1406
|
$output: () => $output22,
|
|
1286
1407
|
$params: () => $params22,
|
|
1287
|
-
main: () =>
|
|
1288
|
-
});
|
|
1289
|
-
var
|
|
1290
|
-
var $
|
|
1291
|
-
var
|
|
1292
|
-
$
|
|
1293
|
-
|
|
1294
|
-
sender:
|
|
1295
|
-
tipUri:
|
|
1296
|
-
recordUri:
|
|
1297
|
-
subject:
|
|
1298
|
-
amount:
|
|
1408
|
+
main: () => main28
|
|
1409
|
+
});
|
|
1410
|
+
var import_lex28 = require("@atproto/lex");
|
|
1411
|
+
var $nsid28 = "com.atiproto.repo.tip.validate";
|
|
1412
|
+
var main28 = import_lex28.l.query(
|
|
1413
|
+
$nsid28,
|
|
1414
|
+
import_lex28.l.params({
|
|
1415
|
+
sender: import_lex28.l.string({ format: "did" }),
|
|
1416
|
+
tipUri: import_lex28.l.optional(import_lex28.l.string({ format: "at-uri" })),
|
|
1417
|
+
recordUri: import_lex28.l.optional(import_lex28.l.string({ format: "at-uri" })),
|
|
1418
|
+
subject: import_lex28.l.optional(import_lex28.l.string({ format: "did" })),
|
|
1419
|
+
amount: import_lex28.l.optional(import_lex28.l.integer())
|
|
1299
1420
|
}),
|
|
1300
|
-
|
|
1301
|
-
valid:
|
|
1302
|
-
amount:
|
|
1303
|
-
currency:
|
|
1304
|
-
reason:
|
|
1421
|
+
import_lex28.l.jsonPayload({
|
|
1422
|
+
valid: import_lex28.l.boolean(),
|
|
1423
|
+
amount: import_lex28.l.optional(import_lex28.l.integer()),
|
|
1424
|
+
currency: import_lex28.l.optional(import_lex28.l.string()),
|
|
1425
|
+
reason: import_lex28.l.optional(import_lex28.l.string())
|
|
1305
1426
|
})
|
|
1306
1427
|
);
|
|
1307
|
-
var $lxm22 =
|
|
1308
|
-
var $params22 =
|
|
1309
|
-
var $output22 =
|
|
1428
|
+
var $lxm22 = main28.nsid;
|
|
1429
|
+
var $params22 = main28.parameters;
|
|
1430
|
+
var $output22 = main28.output;
|
|
1310
1431
|
|
|
1311
1432
|
// src/lexicons/com/atiproto/subscription.ts
|
|
1312
1433
|
var subscription_exports3 = {};
|
|
@@ -2788,6 +2909,111 @@ var validate_default2 = {
|
|
|
2788
2909
|
}
|
|
2789
2910
|
};
|
|
2790
2911
|
|
|
2912
|
+
// src/schemas/authEnhanced.json
|
|
2913
|
+
var authEnhanced_default = {
|
|
2914
|
+
lexicon: 1,
|
|
2915
|
+
id: "com.atiproto.authEnhanced",
|
|
2916
|
+
defs: {
|
|
2917
|
+
main: {
|
|
2918
|
+
type: "permission-set",
|
|
2919
|
+
title: "Enhanced Access",
|
|
2920
|
+
detail: "Full atiproto access. Extends general access with write access to the profile record and RPC access to all profile endpoints.",
|
|
2921
|
+
permissions: [
|
|
2922
|
+
{
|
|
2923
|
+
type: "permission",
|
|
2924
|
+
resource: "repo",
|
|
2925
|
+
collection: [
|
|
2926
|
+
"com.atiproto.cart",
|
|
2927
|
+
"com.atiproto.subscription",
|
|
2928
|
+
"com.atiproto.tip",
|
|
2929
|
+
"com.atiproto.profile"
|
|
2930
|
+
]
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
type: "permission",
|
|
2934
|
+
resource: "rpc",
|
|
2935
|
+
aud: "did:web:atiproto.com#payments",
|
|
2936
|
+
lxm: [
|
|
2937
|
+
"com.atiproto.account.cart.clone",
|
|
2938
|
+
"com.atiproto.account.cart.create",
|
|
2939
|
+
"com.atiproto.account.cart.get",
|
|
2940
|
+
"com.atiproto.account.cart.list",
|
|
2941
|
+
"com.atiproto.account.cart.put",
|
|
2942
|
+
"com.atiproto.account.profile.get",
|
|
2943
|
+
"com.atiproto.account.profile.put",
|
|
2944
|
+
"com.atiproto.feed.list",
|
|
2945
|
+
"com.atiproto.feed.subscription.cancel",
|
|
2946
|
+
"com.atiproto.feed.subscription.create",
|
|
2947
|
+
"com.atiproto.feed.subscription.get",
|
|
2948
|
+
"com.atiproto.feed.subscription.list",
|
|
2949
|
+
"com.atiproto.feed.subscription.put",
|
|
2950
|
+
"com.atiproto.feed.tip.create",
|
|
2951
|
+
"com.atiproto.feed.tip.get",
|
|
2952
|
+
"com.atiproto.feed.tip.list",
|
|
2953
|
+
"com.atiproto.feed.tip.put",
|
|
2954
|
+
"com.atiproto.repo.profile.get",
|
|
2955
|
+
"com.atiproto.repo.subscription.search",
|
|
2956
|
+
"com.atiproto.repo.subscription.validate",
|
|
2957
|
+
"com.atiproto.repo.tip.search",
|
|
2958
|
+
"com.atiproto.repo.tip.validate"
|
|
2959
|
+
]
|
|
2960
|
+
}
|
|
2961
|
+
]
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
// src/schemas/authGeneral.json
|
|
2967
|
+
var authGeneral_default = {
|
|
2968
|
+
lexicon: 1,
|
|
2969
|
+
id: "com.atiproto.authGeneral",
|
|
2970
|
+
defs: {
|
|
2971
|
+
main: {
|
|
2972
|
+
type: "permission-set",
|
|
2973
|
+
title: "General Access",
|
|
2974
|
+
detail: "Write access to cart, subscription, and tip records, plus RPC access to all non-profile endpoints.",
|
|
2975
|
+
permissions: [
|
|
2976
|
+
{
|
|
2977
|
+
type: "permission",
|
|
2978
|
+
resource: "repo",
|
|
2979
|
+
collection: [
|
|
2980
|
+
"com.atiproto.cart",
|
|
2981
|
+
"com.atiproto.subscription",
|
|
2982
|
+
"com.atiproto.tip"
|
|
2983
|
+
]
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
type: "permission",
|
|
2987
|
+
resource: "rpc",
|
|
2988
|
+
aud: "did:web:atiproto.com#payments",
|
|
2989
|
+
lxm: [
|
|
2990
|
+
"com.atiproto.account.cart.clone",
|
|
2991
|
+
"com.atiproto.account.cart.create",
|
|
2992
|
+
"com.atiproto.account.cart.get",
|
|
2993
|
+
"com.atiproto.account.cart.list",
|
|
2994
|
+
"com.atiproto.account.cart.put",
|
|
2995
|
+
"com.atiproto.feed.list",
|
|
2996
|
+
"com.atiproto.feed.subscription.cancel",
|
|
2997
|
+
"com.atiproto.feed.subscription.create",
|
|
2998
|
+
"com.atiproto.feed.subscription.get",
|
|
2999
|
+
"com.atiproto.feed.subscription.list",
|
|
3000
|
+
"com.atiproto.feed.subscription.put",
|
|
3001
|
+
"com.atiproto.feed.tip.create",
|
|
3002
|
+
"com.atiproto.feed.tip.get",
|
|
3003
|
+
"com.atiproto.feed.tip.list",
|
|
3004
|
+
"com.atiproto.feed.tip.put",
|
|
3005
|
+
"com.atiproto.repo.profile.get",
|
|
3006
|
+
"com.atiproto.repo.subscription.search",
|
|
3007
|
+
"com.atiproto.repo.subscription.validate",
|
|
3008
|
+
"com.atiproto.repo.tip.search",
|
|
3009
|
+
"com.atiproto.repo.tip.validate"
|
|
3010
|
+
]
|
|
3011
|
+
}
|
|
3012
|
+
]
|
|
3013
|
+
}
|
|
3014
|
+
}
|
|
3015
|
+
};
|
|
3016
|
+
|
|
2791
3017
|
// src/schemas/subscription.json
|
|
2792
3018
|
var subscription_default = {
|
|
2793
3019
|
defs: {
|
|
@@ -2942,6 +3168,8 @@ var schemas = [
|
|
|
2942
3168
|
validate_default,
|
|
2943
3169
|
search_default2,
|
|
2944
3170
|
validate_default2,
|
|
3171
|
+
authEnhanced_default,
|
|
3172
|
+
authGeneral_default,
|
|
2945
3173
|
subscription_default,
|
|
2946
3174
|
tip_default
|
|
2947
3175
|
];
|