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