@atiproto/lexicons 1.1.0 → 2.0.0-beta.1
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.d.ts +1 -1
- package/dist/index.js +3455 -2465
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3452 -2465
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons/com/atiproto/authCreateCart.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authCreateCart.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authCreatePayment.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authCreatePayment.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadCart.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadCart.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadEntitlements.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadEntitlements.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadPayments.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadPayments.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadPublic.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadPublic.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadRecipient.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadRecipient.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authWriteProfile.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authWriteProfile.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/cart.defs.d.ts +277 -112
- package/dist/lexicons/com/atiproto/item.defs.d.ts +97 -202
- package/dist/lexicons/com/atiproto/payment/cart/checkout.d.ts +2 -0
- package/dist/lexicons/com/atiproto/payment/cart/checkout.defs.d.ts +69 -0
- package/dist/lexicons/com/atiproto/payment/cart/create.defs.d.ts +11 -21
- package/dist/lexicons/com/atiproto/payment/cart/get.defs.d.ts +7 -42
- package/dist/lexicons/com/atiproto/payment/cart/list.defs.d.ts +17 -20
- package/dist/lexicons/com/atiproto/payment/cart/put.defs.d.ts +3 -13
- package/dist/lexicons/com/atiproto/payment/cart.d.ts +1 -1
- package/dist/lexicons/com/atiproto/payment/item/create.defs.d.ts +19 -53
- package/dist/lexicons/com/atiproto/payment/item/get.defs.d.ts +5 -17
- package/dist/lexicons/com/atiproto/payment/item/list.defs.d.ts +1 -7
- package/dist/lexicons/com/atiproto/payment/item/put.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/payment/item.d.ts +0 -1
- package/dist/lexicons/com/atiproto/payment/subscription/cancel.defs.d.ts +1 -7
- package/dist/lexicons/com/atiproto/payment/subscription/create.defs.d.ts +22 -45
- package/dist/lexicons/com/atiproto/payment/subscription/get.defs.d.ts +5 -11
- package/dist/lexicons/com/atiproto/payment/subscription/list.defs.d.ts +7 -1
- package/dist/lexicons/com/atiproto/payment/subscription/put.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/payment/subscription.d.ts +0 -1
- package/dist/lexicons/com/atiproto/payment.d.ts +0 -1
- package/dist/lexicons/com/atiproto/profile.defs.d.ts +26 -143
- package/dist/lexicons/com/atiproto/recipient/payment/cart/get.defs.d.ts +7 -33
- package/dist/lexicons/com/atiproto/recipient/payment/cart/list.defs.d.ts +23 -20
- package/dist/lexicons/com/atiproto/recipient/payment/item/get.defs.d.ts +5 -17
- package/dist/lexicons/com/atiproto/recipient/payment/item/list.defs.d.ts +3 -3
- package/dist/lexicons/com/atiproto/recipient/payment/item.d.ts +0 -1
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/get.defs.d.ts +5 -11
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/list.defs.d.ts +13 -1
- package/dist/lexicons/com/atiproto/recipient/payment/subscription.d.ts +0 -1
- package/dist/lexicons/com/atiproto/recipient/profile/get.defs.d.ts +39 -19
- package/dist/lexicons/com/atiproto/repo/item/count.defs.d.ts +3 -9
- package/dist/lexicons/com/atiproto/repo/profile/get.defs.d.ts +6 -0
- package/dist/lexicons/com/atiproto/repo/subscription/count.defs.d.ts +5 -5
- package/dist/lexicons/com/atiproto/subscription.defs.d.ts +90 -157
- package/dist/lexicons/com/atiproto.d.ts +8 -2
- package/dist/lexicons/com/atproto/repo/strongRef.d.ts +2 -0
- package/dist/lexicons/com/atproto/repo/strongRef.defs.d.ts +56 -0
- package/dist/lexicons/com/atproto/repo.d.ts +1 -0
- package/dist/lexicons/com/atproto.d.ts +1 -0
- package/dist/lexicons/com.d.ts +1 -0
- package/dist/lexicons/index.d.ts +1 -0
- package/dist/lexicons/network/attested/entitlement.d.ts +2 -0
- package/dist/lexicons/network/attested/entitlement.defs.d.ts +185 -0
- package/dist/lexicons/network/attested/payment/initiate.d.ts +2 -0
- package/dist/lexicons/network/attested/payment/initiate.defs.d.ts +102 -0
- package/dist/lexicons/network/attested/payment/status.d.ts +2 -0
- package/dist/lexicons/network/attested/payment/status.defs.d.ts +56 -0
- package/dist/lexicons/network/attested/payment.d.ts +4 -0
- package/dist/lexicons/network/attested/payment.defs.d.ts +156 -0
- package/dist/lexicons/network/attested/proof.d.ts +2 -0
- package/dist/lexicons/network/attested/proof.defs.d.ts +172 -0
- package/dist/lexicons/network/attested/signature.d.ts +2 -0
- package/dist/lexicons/network/attested/signature.defs.d.ts +230 -0
- package/dist/lexicons/network/attested/verify.d.ts +2 -0
- package/dist/lexicons/network/attested/verify.defs.d.ts +41 -0
- package/dist/lexicons/network/attested.d.ts +5 -0
- package/dist/lexicons/network.d.ts +1 -0
- package/dist/schemas.d.ts +2 -0
- package/package.json +6 -2
- package/dist/lexicons/com/atiproto/payment/cart/clone.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/cart/clone.defs.d.ts +0 -54
- package/dist/lexicons/com/atiproto/payment/item/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/item/validate.defs.d.ts +0 -50
- package/dist/lexicons/com/atiproto/payment/list.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/list.defs.d.ts +0 -32
- package/dist/lexicons/com/atiproto/payment/subscription/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/subscription/validate.defs.d.ts +0 -44
- package/dist/lexicons/com/atiproto/recipient/payment/item/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/recipient/payment/item/validate.defs.d.ts +0 -50
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/validate.defs.d.ts +0 -44
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "network.attested.proof";
|
|
3
|
+
export { $nsid };
|
|
4
|
+
type Main = {
|
|
5
|
+
$type: 'network.attested.proof';
|
|
6
|
+
/**
|
|
7
|
+
* CID of the canonical signing payload of the source record being attested (same computation as `network.attested.signature.cid`).
|
|
8
|
+
*/
|
|
9
|
+
cid: l.CidString;
|
|
10
|
+
/**
|
|
11
|
+
* Optional status indicator for the attestation (implementation-defined).
|
|
12
|
+
*/
|
|
13
|
+
status?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
16
|
+
*/
|
|
17
|
+
issuer?: l.DidString;
|
|
18
|
+
/**
|
|
19
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
20
|
+
*/
|
|
21
|
+
role?: 'broker' | 'pos' | 'appview' | 'co-signer' | l.UnknownString;
|
|
22
|
+
};
|
|
23
|
+
export type { Main };
|
|
24
|
+
declare const main: l.RecordSchema<"any", "network.attested.proof", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
|
|
25
|
+
export { main };
|
|
26
|
+
export declare const $isTypeOf: <TValue extends {
|
|
27
|
+
$type?: unknown;
|
|
28
|
+
}>(value: TValue) => value is l.TypedRecord<"network.attested.proof", TValue>, $build: {
|
|
29
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
30
|
+
cid: l.CidString;
|
|
31
|
+
issuer?: l.DidString
|
|
32
|
+
/**
|
|
33
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
34
|
+
*/
|
|
35
|
+
| undefined;
|
|
36
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
37
|
+
status?: string
|
|
38
|
+
/**
|
|
39
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
40
|
+
*/
|
|
41
|
+
| undefined;
|
|
42
|
+
$type: "network.attested.proof";
|
|
43
|
+
};
|
|
44
|
+
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
45
|
+
cid: l.CidString;
|
|
46
|
+
issuer?: l.DidString
|
|
47
|
+
/**
|
|
48
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
49
|
+
*/
|
|
50
|
+
| undefined;
|
|
51
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
52
|
+
status?: string
|
|
53
|
+
/**
|
|
54
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
55
|
+
*/
|
|
56
|
+
| undefined;
|
|
57
|
+
$type: "network.attested.proof";
|
|
58
|
+
};
|
|
59
|
+
}, $type: "network.attested.proof";
|
|
60
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
61
|
+
cid: l.CidString;
|
|
62
|
+
issuer?: l.DidString
|
|
63
|
+
/**
|
|
64
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
65
|
+
*/
|
|
66
|
+
| undefined;
|
|
67
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
68
|
+
status?: string
|
|
69
|
+
/**
|
|
70
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
71
|
+
*/
|
|
72
|
+
| undefined;
|
|
73
|
+
$type: "network.attested.proof";
|
|
74
|
+
}, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
75
|
+
cid: l.CidString;
|
|
76
|
+
issuer?: l.DidString
|
|
77
|
+
/**
|
|
78
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
79
|
+
*/
|
|
80
|
+
| undefined;
|
|
81
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
82
|
+
status?: string
|
|
83
|
+
/**
|
|
84
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
85
|
+
*/
|
|
86
|
+
| undefined;
|
|
87
|
+
$type: "network.attested.proof";
|
|
88
|
+
}, $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
89
|
+
cid: l.CidString;
|
|
90
|
+
issuer?: l.DidString
|
|
91
|
+
/**
|
|
92
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
93
|
+
*/
|
|
94
|
+
| undefined;
|
|
95
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
96
|
+
status?: string
|
|
97
|
+
/**
|
|
98
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
99
|
+
*/
|
|
100
|
+
| undefined;
|
|
101
|
+
$type: "network.attested.proof";
|
|
102
|
+
}) | undefined, $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
103
|
+
cid: l.CidString;
|
|
104
|
+
issuer?: l.DidString
|
|
105
|
+
/**
|
|
106
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
107
|
+
*/
|
|
108
|
+
| undefined;
|
|
109
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
110
|
+
status?: string
|
|
111
|
+
/**
|
|
112
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
113
|
+
*/
|
|
114
|
+
| undefined;
|
|
115
|
+
$type: "network.attested.proof";
|
|
116
|
+
}, $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
117
|
+
cid: l.CidString;
|
|
118
|
+
issuer?: l.DidString
|
|
119
|
+
/**
|
|
120
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
121
|
+
*/
|
|
122
|
+
| undefined;
|
|
123
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
124
|
+
status?: string
|
|
125
|
+
/**
|
|
126
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
127
|
+
*/
|
|
128
|
+
| undefined;
|
|
129
|
+
$type: "network.attested.proof";
|
|
130
|
+
}, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
131
|
+
cid: l.CidString;
|
|
132
|
+
issuer?: l.DidString
|
|
133
|
+
/**
|
|
134
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
135
|
+
*/
|
|
136
|
+
| undefined;
|
|
137
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
138
|
+
status?: string
|
|
139
|
+
/**
|
|
140
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
141
|
+
*/
|
|
142
|
+
| undefined;
|
|
143
|
+
$type: "network.attested.proof";
|
|
144
|
+
}>, $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
145
|
+
cid: l.CidString;
|
|
146
|
+
issuer?: l.DidString
|
|
147
|
+
/**
|
|
148
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
149
|
+
*/
|
|
150
|
+
| undefined;
|
|
151
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
152
|
+
status?: string
|
|
153
|
+
/**
|
|
154
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
155
|
+
*/
|
|
156
|
+
| undefined;
|
|
157
|
+
$type: "network.attested.proof";
|
|
158
|
+
}, $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
159
|
+
cid: l.CidString;
|
|
160
|
+
issuer?: l.DidString
|
|
161
|
+
/**
|
|
162
|
+
* Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
163
|
+
*/
|
|
164
|
+
| undefined;
|
|
165
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
166
|
+
status?: string
|
|
167
|
+
/**
|
|
168
|
+
* Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.
|
|
169
|
+
*/
|
|
170
|
+
| undefined;
|
|
171
|
+
$type: "network.attested.proof";
|
|
172
|
+
}>;
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "network.attested.signature";
|
|
3
|
+
export { $nsid };
|
|
4
|
+
type Main = {
|
|
5
|
+
$type?: 'network.attested.signature';
|
|
6
|
+
/**
|
|
7
|
+
* did:key public-key reference used to verify this signature.
|
|
8
|
+
*/
|
|
9
|
+
key: string;
|
|
10
|
+
/**
|
|
11
|
+
* CID of the canonical signing payload (the record with `signatures` stripped, `$sig` metadata inserted including the repository DID, DAG-CBOR encoded, SHA-256 wrapped as CIDv1).
|
|
12
|
+
*/
|
|
13
|
+
cid: l.CidString;
|
|
14
|
+
/**
|
|
15
|
+
* Normalized ECDSA signature bytes over the CID. Curve is inferred from `key` (P-256, P-384, or K-256). Serialized as `{ "$bytes": "<base64>" }` per lex bytes encoding.
|
|
16
|
+
*/
|
|
17
|
+
signature: Uint8Array;
|
|
18
|
+
/**
|
|
19
|
+
* Optional. DID of the issuing party. Useful when `key` does not directly identify the issuer.
|
|
20
|
+
*/
|
|
21
|
+
issuer?: l.DidString;
|
|
22
|
+
/**
|
|
23
|
+
* Optional. When the signature was produced.
|
|
24
|
+
*/
|
|
25
|
+
issuedAt?: l.DatetimeString;
|
|
26
|
+
/**
|
|
27
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
28
|
+
*/
|
|
29
|
+
role?: 'broker' | 'pos' | 'appview' | 'co-signer' | l.UnknownString;
|
|
30
|
+
};
|
|
31
|
+
export type { Main };
|
|
32
|
+
declare const main: l.TypedObjectSchema<"network.attested.signature", l.Validator<Main, Main>>;
|
|
33
|
+
export { main };
|
|
34
|
+
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"network.attested.signature", TValue>, $build: {
|
|
35
|
+
(input: Omit<Main, "$type">): {
|
|
36
|
+
$type: "network.attested.signature";
|
|
37
|
+
key: string;
|
|
38
|
+
cid: l.CidString;
|
|
39
|
+
signature: Uint8Array;
|
|
40
|
+
issuer?: l.DidString
|
|
41
|
+
/**
|
|
42
|
+
* Optional. When the signature was produced.
|
|
43
|
+
*/
|
|
44
|
+
| undefined;
|
|
45
|
+
issuedAt?: l.DatetimeString
|
|
46
|
+
/**
|
|
47
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
48
|
+
*/
|
|
49
|
+
| undefined;
|
|
50
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
51
|
+
};
|
|
52
|
+
(input: Omit<Main, "$type">): {
|
|
53
|
+
$type: "network.attested.signature";
|
|
54
|
+
key: string;
|
|
55
|
+
cid: l.CidString;
|
|
56
|
+
signature: Uint8Array;
|
|
57
|
+
issuer?: l.DidString
|
|
58
|
+
/**
|
|
59
|
+
* Optional. When the signature was produced.
|
|
60
|
+
*/
|
|
61
|
+
| undefined;
|
|
62
|
+
issuedAt?: l.DatetimeString
|
|
63
|
+
/**
|
|
64
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
65
|
+
*/
|
|
66
|
+
| undefined;
|
|
67
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
68
|
+
};
|
|
69
|
+
}, $type: "network.attested.signature";
|
|
70
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
71
|
+
$type?: "network.attested.signature"
|
|
72
|
+
/**
|
|
73
|
+
* did:key public-key reference used to verify this signature.
|
|
74
|
+
*/
|
|
75
|
+
| undefined;
|
|
76
|
+
key: string;
|
|
77
|
+
cid: l.CidString;
|
|
78
|
+
signature: Uint8Array;
|
|
79
|
+
issuer?: l.DidString
|
|
80
|
+
/**
|
|
81
|
+
* Optional. When the signature was produced.
|
|
82
|
+
*/
|
|
83
|
+
| undefined;
|
|
84
|
+
issuedAt?: l.DatetimeString
|
|
85
|
+
/**
|
|
86
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
87
|
+
*/
|
|
88
|
+
| undefined;
|
|
89
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
90
|
+
}, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
91
|
+
$type?: "network.attested.signature"
|
|
92
|
+
/**
|
|
93
|
+
* did:key public-key reference used to verify this signature.
|
|
94
|
+
*/
|
|
95
|
+
| undefined;
|
|
96
|
+
key: string;
|
|
97
|
+
cid: l.CidString;
|
|
98
|
+
signature: Uint8Array;
|
|
99
|
+
issuer?: l.DidString
|
|
100
|
+
/**
|
|
101
|
+
* Optional. When the signature was produced.
|
|
102
|
+
*/
|
|
103
|
+
| undefined;
|
|
104
|
+
issuedAt?: l.DatetimeString
|
|
105
|
+
/**
|
|
106
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
107
|
+
*/
|
|
108
|
+
| undefined;
|
|
109
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
110
|
+
}, $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
111
|
+
$type?: "network.attested.signature"
|
|
112
|
+
/**
|
|
113
|
+
* did:key public-key reference used to verify this signature.
|
|
114
|
+
*/
|
|
115
|
+
| undefined;
|
|
116
|
+
key: string;
|
|
117
|
+
cid: l.CidString;
|
|
118
|
+
signature: Uint8Array;
|
|
119
|
+
issuer?: l.DidString
|
|
120
|
+
/**
|
|
121
|
+
* Optional. When the signature was produced.
|
|
122
|
+
*/
|
|
123
|
+
| undefined;
|
|
124
|
+
issuedAt?: l.DatetimeString
|
|
125
|
+
/**
|
|
126
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
127
|
+
*/
|
|
128
|
+
| undefined;
|
|
129
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
130
|
+
}) | undefined, $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
131
|
+
$type?: "network.attested.signature"
|
|
132
|
+
/**
|
|
133
|
+
* did:key public-key reference used to verify this signature.
|
|
134
|
+
*/
|
|
135
|
+
| undefined;
|
|
136
|
+
key: string;
|
|
137
|
+
cid: l.CidString;
|
|
138
|
+
signature: Uint8Array;
|
|
139
|
+
issuer?: l.DidString
|
|
140
|
+
/**
|
|
141
|
+
* Optional. When the signature was produced.
|
|
142
|
+
*/
|
|
143
|
+
| undefined;
|
|
144
|
+
issuedAt?: l.DatetimeString
|
|
145
|
+
/**
|
|
146
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
147
|
+
*/
|
|
148
|
+
| undefined;
|
|
149
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
150
|
+
}, $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
151
|
+
$type?: "network.attested.signature"
|
|
152
|
+
/**
|
|
153
|
+
* did:key public-key reference used to verify this signature.
|
|
154
|
+
*/
|
|
155
|
+
| undefined;
|
|
156
|
+
key: string;
|
|
157
|
+
cid: l.CidString;
|
|
158
|
+
signature: Uint8Array;
|
|
159
|
+
issuer?: l.DidString
|
|
160
|
+
/**
|
|
161
|
+
* Optional. When the signature was produced.
|
|
162
|
+
*/
|
|
163
|
+
| undefined;
|
|
164
|
+
issuedAt?: l.DatetimeString
|
|
165
|
+
/**
|
|
166
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
167
|
+
*/
|
|
168
|
+
| undefined;
|
|
169
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
170
|
+
}, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
171
|
+
$type?: "network.attested.signature"
|
|
172
|
+
/**
|
|
173
|
+
* did:key public-key reference used to verify this signature.
|
|
174
|
+
*/
|
|
175
|
+
| undefined;
|
|
176
|
+
key: string;
|
|
177
|
+
cid: l.CidString;
|
|
178
|
+
signature: Uint8Array;
|
|
179
|
+
issuer?: l.DidString
|
|
180
|
+
/**
|
|
181
|
+
* Optional. When the signature was produced.
|
|
182
|
+
*/
|
|
183
|
+
| undefined;
|
|
184
|
+
issuedAt?: l.DatetimeString
|
|
185
|
+
/**
|
|
186
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
187
|
+
*/
|
|
188
|
+
| undefined;
|
|
189
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
190
|
+
}>, $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
191
|
+
$type?: "network.attested.signature"
|
|
192
|
+
/**
|
|
193
|
+
* did:key public-key reference used to verify this signature.
|
|
194
|
+
*/
|
|
195
|
+
| undefined;
|
|
196
|
+
key: string;
|
|
197
|
+
cid: l.CidString;
|
|
198
|
+
signature: Uint8Array;
|
|
199
|
+
issuer?: l.DidString
|
|
200
|
+
/**
|
|
201
|
+
* Optional. When the signature was produced.
|
|
202
|
+
*/
|
|
203
|
+
| undefined;
|
|
204
|
+
issuedAt?: l.DatetimeString
|
|
205
|
+
/**
|
|
206
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
207
|
+
*/
|
|
208
|
+
| undefined;
|
|
209
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
210
|
+
}, $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
211
|
+
$type?: "network.attested.signature"
|
|
212
|
+
/**
|
|
213
|
+
* did:key public-key reference used to verify this signature.
|
|
214
|
+
*/
|
|
215
|
+
| undefined;
|
|
216
|
+
key: string;
|
|
217
|
+
cid: l.CidString;
|
|
218
|
+
signature: Uint8Array;
|
|
219
|
+
issuer?: l.DidString
|
|
220
|
+
/**
|
|
221
|
+
* Optional. When the signature was produced.
|
|
222
|
+
*/
|
|
223
|
+
| undefined;
|
|
224
|
+
issuedAt?: l.DatetimeString
|
|
225
|
+
/**
|
|
226
|
+
* Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).
|
|
227
|
+
*/
|
|
228
|
+
| undefined;
|
|
229
|
+
role?: ("broker" | "pos" | "appview" | "co-signer" | l.UnknownString) | undefined;
|
|
230
|
+
}>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as AttestedSignature from './signature.defs.js';
|
|
3
|
+
import * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js';
|
|
4
|
+
import * as AtiprotoActions from '../../com/atiproto/actions.defs.js';
|
|
5
|
+
declare const $nsid = "network.attested.verify";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** Verify signatures on a signed record (`network.attested.payment`, `network.attested.entitlement`, or any `com.atiproto.*` record using the same scheme). Open to any caller. Implemented by both brokers (over their `network.attested.payment` records) and the PoS (over its own records). To retrieve hydrated payment details, call `network.attested.payment.status`, which auto-fills private fields when the caller is a signing party. */
|
|
8
|
+
declare const main: l.Query<"network.attested.verify", l.ParamsSchema<{
|
|
9
|
+
readonly uri: l.StringSchema<{
|
|
10
|
+
readonly format: "at-uri";
|
|
11
|
+
}>;
|
|
12
|
+
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
13
|
+
uri: l.StringSchema<{
|
|
14
|
+
readonly format: "at-uri";
|
|
15
|
+
}>;
|
|
16
|
+
cid: l.OptionalSchema<l.StringSchema<{
|
|
17
|
+
readonly format: "cid";
|
|
18
|
+
}>>;
|
|
19
|
+
valid: l.BooleanSchema;
|
|
20
|
+
signatures: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<AttestedSignature.Main, AttestedSignature.Main>>, l.TypedRefSchema<l.TypedObjectValidator<RepoStrongRef.Main, RepoStrongRef.Main>>], false>>;
|
|
21
|
+
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
|
|
22
|
+
}>>, undefined>;
|
|
23
|
+
export { main };
|
|
24
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
25
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
26
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
27
|
+
export declare const $lxm: "network.attested.verify", $params: l.ParamsSchema<{
|
|
28
|
+
readonly uri: l.StringSchema<{
|
|
29
|
+
readonly format: "at-uri";
|
|
30
|
+
}>;
|
|
31
|
+
}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
32
|
+
uri: l.StringSchema<{
|
|
33
|
+
readonly format: "at-uri";
|
|
34
|
+
}>;
|
|
35
|
+
cid: l.OptionalSchema<l.StringSchema<{
|
|
36
|
+
readonly format: "cid";
|
|
37
|
+
}>>;
|
|
38
|
+
valid: l.BooleanSchema;
|
|
39
|
+
signatures: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<AttestedSignature.Main, AttestedSignature.Main>>, l.TypedRefSchema<l.TypedObjectValidator<RepoStrongRef.Main, RepoStrongRef.Main>>], false>>;
|
|
40
|
+
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
|
|
41
|
+
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as attested from './network/attested.js';
|
package/dist/schemas.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atiproto/lexicons",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"description": "ATProto lexicon types and utilities",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build:lexicons": "
|
|
20
|
+
"build:lexicons": "node ./scripts/build-lexicons.mjs",
|
|
21
21
|
"build": "npm run build:lexicons && tsup && tsc --emitDeclarationOnly --declaration --composite false --incremental false",
|
|
22
22
|
"prepack": "npm run build",
|
|
23
23
|
"test": "echo \"No tests yet\" && exit 0"
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
"homepage": "https://atiproto.com/docs/lexicon",
|
|
31
31
|
"bugs": "https://github.com/Yakrware/atiproto/issues",
|
|
32
32
|
"license": "MIT",
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"tag": "beta",
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
33
37
|
"dependencies": {
|
|
34
38
|
"@atproto/lex": "^0.0.23"
|
|
35
39
|
},
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { l } from '@atproto/lex';
|
|
2
|
-
import * as AtiprotoActions from '../../actions.defs.js';
|
|
3
|
-
import * as AtiprotoCart from '../../cart.defs.js';
|
|
4
|
-
import * as AtiprotoItem from '../../item.defs.js';
|
|
5
|
-
import * as AtiprotoSubscription from '../../subscription.defs.js';
|
|
6
|
-
declare const $nsid = "com.atiproto.payment.cart.clone";
|
|
7
|
-
export { $nsid };
|
|
8
|
-
/** Clone an existing cart, creating new item and subscription records. Useful for reopening expired carts or repeating payments. */
|
|
9
|
-
declare const main: l.Procedure<"com.atiproto.payment.cart.clone", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
10
|
-
uri: l.StringSchema<{
|
|
11
|
-
readonly format: "at-uri";
|
|
12
|
-
}>;
|
|
13
|
-
redirectUrl: l.OptionalSchema<l.StringSchema<{
|
|
14
|
-
readonly format: "uri";
|
|
15
|
-
}>>;
|
|
16
|
-
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.InboundWorkflow, AtiprotoActions.InboundWorkflow>>>;
|
|
17
|
-
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
18
|
-
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
|
|
19
|
-
cart: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoCart.View, AtiprotoCart.View>>>;
|
|
20
|
-
cartUri: l.OptionalSchema<l.StringSchema<{
|
|
21
|
-
readonly format: "at-uri";
|
|
22
|
-
}>>;
|
|
23
|
-
checkoutUrl: l.OptionalSchema<l.StringSchema<{
|
|
24
|
-
readonly format: "uri";
|
|
25
|
-
}>>;
|
|
26
|
-
items: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>>;
|
|
27
|
-
subscriptions: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>>;
|
|
28
|
-
}>>, undefined>;
|
|
29
|
-
export { main };
|
|
30
|
-
export type $Params = l.InferMethodParams<typeof main>;
|
|
31
|
-
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
32
|
-
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
33
|
-
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
34
|
-
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
35
|
-
export declare const $lxm: "com.atiproto.payment.cart.clone", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
36
|
-
uri: l.StringSchema<{
|
|
37
|
-
readonly format: "at-uri";
|
|
38
|
-
}>;
|
|
39
|
-
redirectUrl: l.OptionalSchema<l.StringSchema<{
|
|
40
|
-
readonly format: "uri";
|
|
41
|
-
}>>;
|
|
42
|
-
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.InboundWorkflow, AtiprotoActions.InboundWorkflow>>>;
|
|
43
|
-
}>>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
44
|
-
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
|
|
45
|
-
cart: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoCart.View, AtiprotoCart.View>>>;
|
|
46
|
-
cartUri: l.OptionalSchema<l.StringSchema<{
|
|
47
|
-
readonly format: "at-uri";
|
|
48
|
-
}>>;
|
|
49
|
-
checkoutUrl: l.OptionalSchema<l.StringSchema<{
|
|
50
|
-
readonly format: "uri";
|
|
51
|
-
}>>;
|
|
52
|
-
items: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>>;
|
|
53
|
-
subscriptions: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>>;
|
|
54
|
-
}>>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { l } from '@atproto/lex';
|
|
2
|
-
declare const $nsid = "com.atiproto.payment.item.validate";
|
|
3
|
-
export { $nsid };
|
|
4
|
-
/** Validate that the authenticated user (as the sender) has completed item payment(s). Looks up by itemUri (a specific item record), recordUri (sums all items for that record), or subject (recipient DID). These are mutually exclusive and resolved in that order. */
|
|
5
|
-
declare const main: l.Query<"com.atiproto.payment.item.validate", l.ParamsSchema<{
|
|
6
|
-
readonly itemUri: l.OptionalSchema<l.StringSchema<{
|
|
7
|
-
readonly format: "at-uri";
|
|
8
|
-
}>>;
|
|
9
|
-
readonly recordUri: l.OptionalSchema<l.StringSchema<{
|
|
10
|
-
readonly format: "at-uri";
|
|
11
|
-
}>>;
|
|
12
|
-
readonly subject: l.OptionalSchema<l.StringSchema<{
|
|
13
|
-
readonly format: "did";
|
|
14
|
-
}>>;
|
|
15
|
-
readonly amount: l.OptionalSchema<l.IntegerSchema>;
|
|
16
|
-
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
17
|
-
valid: l.BooleanSchema;
|
|
18
|
-
amount: l.OptionalSchema<l.IntegerSchema>;
|
|
19
|
-
currency: l.OptionalSchema<l.StringSchema<{
|
|
20
|
-
readonly maxLength: 3;
|
|
21
|
-
}>>;
|
|
22
|
-
reason: l.OptionalSchema<l.StringSchema<{
|
|
23
|
-
readonly maxLength: 1024;
|
|
24
|
-
}>>;
|
|
25
|
-
}>>, undefined>;
|
|
26
|
-
export { main };
|
|
27
|
-
export type $Params = l.InferMethodParams<typeof main>;
|
|
28
|
-
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
29
|
-
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
30
|
-
export declare const $lxm: "com.atiproto.payment.item.validate", $params: l.ParamsSchema<{
|
|
31
|
-
readonly itemUri: l.OptionalSchema<l.StringSchema<{
|
|
32
|
-
readonly format: "at-uri";
|
|
33
|
-
}>>;
|
|
34
|
-
readonly recordUri: l.OptionalSchema<l.StringSchema<{
|
|
35
|
-
readonly format: "at-uri";
|
|
36
|
-
}>>;
|
|
37
|
-
readonly subject: l.OptionalSchema<l.StringSchema<{
|
|
38
|
-
readonly format: "did";
|
|
39
|
-
}>>;
|
|
40
|
-
readonly amount: l.OptionalSchema<l.IntegerSchema>;
|
|
41
|
-
}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
42
|
-
valid: l.BooleanSchema;
|
|
43
|
-
amount: l.OptionalSchema<l.IntegerSchema>;
|
|
44
|
-
currency: l.OptionalSchema<l.StringSchema<{
|
|
45
|
-
readonly maxLength: 3;
|
|
46
|
-
}>>;
|
|
47
|
-
reason: l.OptionalSchema<l.StringSchema<{
|
|
48
|
-
readonly maxLength: 1024;
|
|
49
|
-
}>>;
|
|
50
|
-
}>>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { l } from '@atproto/lex';
|
|
2
|
-
import * as AtiprotoItem from '../item.defs.js';
|
|
3
|
-
import * as AtiprotoSubscription from '../subscription.defs.js';
|
|
4
|
-
declare const $nsid = "com.atiproto.payment.list";
|
|
5
|
-
export { $nsid };
|
|
6
|
-
/** List items and subscriptions for the authenticated user. Always returns items given by the user and subscriptions the user has created. */
|
|
7
|
-
declare const main: l.Query<"com.atiproto.payment.list", l.ParamsSchema<{
|
|
8
|
-
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
9
|
-
readonly maxLength: 512;
|
|
10
|
-
}>>;
|
|
11
|
-
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
12
|
-
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
13
|
-
items: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<AtiprotoItem.View, AtiprotoItem.View>>, l.TypedRefSchema<l.TypedObjectValidator<AtiprotoSubscription.View, AtiprotoSubscription.View>>], false>>;
|
|
14
|
-
cursor: l.OptionalSchema<l.StringSchema<{
|
|
15
|
-
readonly maxLength: 512;
|
|
16
|
-
}>>;
|
|
17
|
-
}>>, undefined>;
|
|
18
|
-
export { main };
|
|
19
|
-
export type $Params = l.InferMethodParams<typeof main>;
|
|
20
|
-
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
21
|
-
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
22
|
-
export declare const $lxm: "com.atiproto.payment.list", $params: l.ParamsSchema<{
|
|
23
|
-
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
24
|
-
readonly maxLength: 512;
|
|
25
|
-
}>>;
|
|
26
|
-
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
27
|
-
}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
28
|
-
items: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<AtiprotoItem.View, AtiprotoItem.View>>, l.TypedRefSchema<l.TypedObjectValidator<AtiprotoSubscription.View, AtiprotoSubscription.View>>], false>>;
|
|
29
|
-
cursor: l.OptionalSchema<l.StringSchema<{
|
|
30
|
-
readonly maxLength: 512;
|
|
31
|
-
}>>;
|
|
32
|
-
}>>;
|