@atiproto/lexicons 0.8.0 → 1.1.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.
Files changed (95) hide show
  1. package/dist/index.js +2728 -2419
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2728 -2419
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/lexicons/com/atiproto/authEnhanced.defs.d.ts +1 -1
  6. package/dist/lexicons/com/atiproto/authGeneral.defs.d.ts +1 -1
  7. package/dist/lexicons/com/atiproto/cart.defs.d.ts +5 -5
  8. package/dist/lexicons/com/atiproto/item.d.ts +2 -0
  9. package/dist/lexicons/com/atiproto/{tip.defs.d.ts → item.defs.d.ts} +36 -36
  10. package/dist/lexicons/com/atiproto/{account → payment}/cart/clone.defs.d.ts +7 -7
  11. package/dist/lexicons/com/atiproto/{account → payment}/cart/create.defs.d.ts +3 -3
  12. package/dist/lexicons/com/atiproto/{account → payment}/cart/get.defs.d.ts +26 -11
  13. package/dist/lexicons/com/atiproto/{account → payment}/cart/list.defs.d.ts +12 -6
  14. package/dist/lexicons/com/atiproto/{account → payment}/cart/put.defs.d.ts +3 -3
  15. package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/create.defs.d.ts +9 -9
  16. package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/get.defs.d.ts +7 -7
  17. package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/list.defs.d.ts +7 -7
  18. package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/put.defs.d.ts +7 -7
  19. package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/validate.defs.d.ts +6 -6
  20. package/dist/lexicons/com/atiproto/payment/item.d.ts +5 -0
  21. package/dist/lexicons/com/atiproto/{feed → payment}/list.defs.d.ts +7 -7
  22. package/dist/lexicons/com/atiproto/{feed → payment}/subscription/cancel.defs.d.ts +3 -3
  23. package/dist/lexicons/com/atiproto/{feed → payment}/subscription/create.defs.d.ts +3 -3
  24. package/dist/lexicons/com/atiproto/{feed → payment}/subscription/get.defs.d.ts +3 -3
  25. package/dist/lexicons/com/atiproto/{feed → payment}/subscription/list.defs.d.ts +3 -3
  26. package/dist/lexicons/com/atiproto/{feed → payment}/subscription/put.defs.d.ts +3 -3
  27. package/dist/lexicons/com/atiproto/{feed → payment}/subscription/validate.defs.d.ts +3 -3
  28. package/dist/lexicons/com/atiproto/payment.d.ts +4 -0
  29. package/dist/lexicons/com/atiproto/profile.defs.d.ts +14 -14
  30. package/dist/lexicons/com/atiproto/recipient/payment/cart/get.defs.d.ts +53 -0
  31. package/dist/lexicons/com/atiproto/recipient/payment/cart/list.defs.d.ts +54 -0
  32. package/dist/lexicons/com/atiproto/recipient/payment/cart.d.ts +2 -0
  33. package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/item}/get.defs.d.ts +7 -7
  34. package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/item}/list.defs.d.ts +7 -7
  35. package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/item}/validate.defs.d.ts +6 -6
  36. package/dist/lexicons/com/atiproto/recipient/payment/item.d.ts +3 -0
  37. package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/get.defs.d.ts +4 -4
  38. package/dist/lexicons/com/atiproto/recipient/payment/subscription/list.d.ts +2 -0
  39. package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/list.defs.d.ts +4 -4
  40. package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/validate.defs.d.ts +3 -3
  41. package/dist/lexicons/com/atiproto/recipient/payment.d.ts +3 -0
  42. package/dist/lexicons/com/atiproto/recipient/profile/get.d.ts +2 -0
  43. package/dist/lexicons/com/atiproto/{account → recipient}/profile/get.defs.d.ts +3 -3
  44. package/dist/lexicons/com/atiproto/{account → recipient}/profile/put.defs.d.ts +5 -5
  45. package/dist/lexicons/com/atiproto/recipient.d.ts +2 -0
  46. package/dist/lexicons/com/atiproto/repo/{tip → item}/count.defs.d.ts +4 -4
  47. package/dist/lexicons/com/atiproto/repo/item.d.ts +1 -0
  48. package/dist/lexicons/com/atiproto/repo.d.ts +1 -1
  49. package/dist/lexicons/com/atiproto/subscription.defs.d.ts +4 -0
  50. package/dist/lexicons/com/atiproto.d.ts +3 -3
  51. package/package.json +1 -1
  52. package/dist/lexicons/com/atiproto/account/tip.d.ts +0 -3
  53. package/dist/lexicons/com/atiproto/account.d.ts +0 -4
  54. package/dist/lexicons/com/atiproto/feed/tip.d.ts +0 -5
  55. package/dist/lexicons/com/atiproto/feed.d.ts +0 -3
  56. package/dist/lexicons/com/atiproto/repo/subscription/search.d.ts +0 -2
  57. package/dist/lexicons/com/atiproto/repo/subscription/search.defs.d.ts +0 -48
  58. package/dist/lexicons/com/atiproto/repo/subscription/validate.d.ts +0 -2
  59. package/dist/lexicons/com/atiproto/repo/subscription/validate.defs.d.ts +0 -50
  60. package/dist/lexicons/com/atiproto/repo/tip/search.d.ts +0 -2
  61. package/dist/lexicons/com/atiproto/repo/tip/search.defs.d.ts +0 -48
  62. package/dist/lexicons/com/atiproto/repo/tip/validate.d.ts +0 -2
  63. package/dist/lexicons/com/atiproto/repo/tip/validate.defs.d.ts +0 -56
  64. package/dist/lexicons/com/atiproto/repo/tip.d.ts +0 -1
  65. package/dist/lexicons/com/atiproto/tip.d.ts +0 -2
  66. /package/dist/lexicons/com/atiproto/{account → payment}/cart/clone.d.ts +0 -0
  67. /package/dist/lexicons/com/atiproto/{account → payment}/cart/create.d.ts +0 -0
  68. /package/dist/lexicons/com/atiproto/{account → payment}/cart/get.d.ts +0 -0
  69. /package/dist/lexicons/com/atiproto/{account → payment}/cart/list.d.ts +0 -0
  70. /package/dist/lexicons/com/atiproto/{account → payment}/cart/put.d.ts +0 -0
  71. /package/dist/lexicons/com/atiproto/{account → payment}/cart.d.ts +0 -0
  72. /package/dist/lexicons/com/atiproto/{feed/subscription → payment/item}/create.d.ts +0 -0
  73. /package/dist/lexicons/com/atiproto/{account/profile → payment/item}/get.d.ts +0 -0
  74. /package/dist/lexicons/com/atiproto/{account/subscription → payment/item}/list.d.ts +0 -0
  75. /package/dist/lexicons/com/atiproto/{account/profile → payment/item}/put.d.ts +0 -0
  76. /package/dist/lexicons/com/atiproto/{account/subscription → payment/item}/validate.d.ts +0 -0
  77. /package/dist/lexicons/com/atiproto/{account/tip → payment}/list.d.ts +0 -0
  78. /package/dist/lexicons/com/atiproto/{feed → payment}/subscription/cancel.d.ts +0 -0
  79. /package/dist/lexicons/com/atiproto/{feed/tip → payment/subscription}/create.d.ts +0 -0
  80. /package/dist/lexicons/com/atiproto/{account → payment}/subscription/get.d.ts +0 -0
  81. /package/dist/lexicons/com/atiproto/{feed → payment/subscription}/list.d.ts +0 -0
  82. /package/dist/lexicons/com/atiproto/{feed → payment}/subscription/put.d.ts +0 -0
  83. /package/dist/lexicons/com/atiproto/{account/tip → payment/subscription}/validate.d.ts +0 -0
  84. /package/dist/lexicons/com/atiproto/{feed → payment}/subscription.d.ts +0 -0
  85. /package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/cart}/get.d.ts +0 -0
  86. /package/dist/lexicons/com/atiproto/{feed/subscription → recipient/payment/cart}/list.d.ts +0 -0
  87. /package/dist/lexicons/com/atiproto/{feed/subscription → recipient/payment/item}/get.d.ts +0 -0
  88. /package/dist/lexicons/com/atiproto/{feed/tip → recipient/payment/item}/list.d.ts +0 -0
  89. /package/dist/lexicons/com/atiproto/{feed/subscription → recipient/payment/item}/validate.d.ts +0 -0
  90. /package/dist/lexicons/com/atiproto/{feed/tip → recipient/payment/subscription}/get.d.ts +0 -0
  91. /package/dist/lexicons/com/atiproto/{feed/tip → recipient/payment/subscription}/validate.d.ts +0 -0
  92. /package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription.d.ts +0 -0
  93. /package/dist/lexicons/com/atiproto/{feed/tip → recipient/profile}/put.d.ts +0 -0
  94. /package/dist/lexicons/com/atiproto/{account → recipient}/profile.d.ts +0 -0
  95. /package/dist/lexicons/com/atiproto/repo/{tip → item}/count.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import { l } from '@atproto/lex';
2
2
  declare const $nsid = "com.atiproto.authEnhanced";
3
3
  export { $nsid };
4
- declare const main: l.PermissionSet<"com.atiproto.authEnhanced", readonly [l.Permission<"repo", Record<string, string | number | boolean | number[] | string[] | boolean[] | undefined>>, l.Permission<"rpc", Record<string, string | number | boolean | number[] | string[] | boolean[] | undefined>>]>;
4
+ declare const main: l.PermissionSet<"com.atiproto.authEnhanced", readonly [l.Permission<"repo", Record<string, string | number | boolean | boolean[] | number[] | string[] | undefined>>, l.Permission<"rpc", Record<string, string | number | boolean | boolean[] | number[] | string[] | undefined>>]>;
5
5
  export { main };
@@ -1,5 +1,5 @@
1
1
  import { l } from '@atproto/lex';
2
2
  declare const $nsid = "com.atiproto.authGeneral";
3
3
  export { $nsid };
4
- declare const main: l.PermissionSet<"com.atiproto.authGeneral", readonly [l.Permission<"repo", Record<string, string | number | boolean | number[] | string[] | boolean[] | undefined>>, l.Permission<"rpc", Record<string, string | number | boolean | number[] | string[] | boolean[] | undefined>>]>;
4
+ declare const main: l.PermissionSet<"com.atiproto.authGeneral", readonly [l.Permission<"repo", Record<string, string | number | boolean | boolean[] | number[] | string[] | undefined>>, l.Permission<"rpc", Record<string, string | number | boolean | boolean[] | number[] | string[] | undefined>>]>;
5
5
  export { main };
@@ -1,7 +1,7 @@
1
1
  import { l } from '@atproto/lex';
2
2
  declare const $nsid = "com.atiproto.cart";
3
3
  export { $nsid };
4
- /** A record representing a shopping cart for tips/subscriptions */
4
+ /** A record representing a shopping cart for items/subscriptions */
5
5
  type Main = {
6
6
  $type: 'com.atiproto.cart';
7
7
  items: CartItem[];
@@ -31,7 +31,7 @@ type Main = {
31
31
  completedAt?: l.DatetimeString;
32
32
  };
33
33
  export type { Main };
34
- /** A record representing a shopping cart for tips/subscriptions */
34
+ /** A record representing a shopping cart for items/subscriptions */
35
35
  declare const main: l.RecordSchema<"any", "com.atiproto.cart", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
36
36
  export { main };
37
37
  export declare const $isTypeOf: <TValue extends {
@@ -171,11 +171,11 @@ export { view };
171
171
  type CartItem = {
172
172
  $type?: 'com.atiproto.cart#cartItem';
173
173
  /**
174
- * Item type: tip or subscription
174
+ * Type of cart item: item or subscription
175
175
  */
176
- type: 'com.atiproto.tip' | 'com.atiproto.subscription';
176
+ type: 'com.atiproto.item' | 'com.atiproto.subscription';
177
177
  /**
178
- * AT-URI for tip on record
178
+ * AT-URI for item on record
179
179
  */
180
180
  recordUri: l.AtUriString;
181
181
  };
@@ -0,0 +1,2 @@
1
+ export * from './item.defs.js';
2
+ export * as $defs from './item.defs.js';
@@ -1,11 +1,11 @@
1
1
  import { l } from '@atproto/lex';
2
- declare const $nsid = "com.atiproto.tip";
2
+ declare const $nsid = "com.atiproto.item";
3
3
  export { $nsid };
4
- /** A record representing a tip given by one user to another */
4
+ /** A record representing a item given by one user to another */
5
5
  type Main = {
6
- $type: 'com.atiproto.tip';
6
+ $type: 'com.atiproto.item';
7
7
  /**
8
- * DID of the user receiving the tip
8
+ * DID of the user receiving the item
9
9
  */
10
10
  subject?: l.DidString;
11
11
  /**
@@ -13,7 +13,7 @@ type Main = {
13
13
  */
14
14
  recordUri?: l.AtUriString;
15
15
  /**
16
- * Tip amount in cents (0 when recipient allows zero tips)
16
+ * Tip amount in cents (0 when recipient allows zero items)
17
17
  */
18
18
  amount: number;
19
19
  /**
@@ -38,12 +38,12 @@ type Main = {
38
38
  completedAt?: l.DatetimeString;
39
39
  };
40
40
  export type { Main };
41
- /** A record representing a tip given by one user to another */
42
- declare const main: l.RecordSchema<"any", "com.atiproto.tip", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
41
+ /** A record representing a item given by one user to another */
42
+ declare const main: l.RecordSchema<"any", "com.atiproto.item", l.Validator<Omit<Main, "$type">, Omit<Main, "$type">>>;
43
43
  export { main };
44
44
  export declare const $isTypeOf: <TValue extends {
45
45
  $type?: unknown;
46
- }>(value: TValue) => value is l.TypedRecord<"com.atiproto.tip", TValue>, $build: {
46
+ }>(value: TValue) => value is l.TypedRecord<"com.atiproto.item", TValue>, $build: {
47
47
  (input: Omit<Omit<Main, "$type">, "$type">): {
48
48
  message?: string
49
49
  /**
@@ -52,7 +52,7 @@ export declare const $isTypeOf: <TValue extends {
52
52
  | undefined;
53
53
  recordUri?: l.AtUriString
54
54
  /**
55
- * Tip amount in cents (0 when recipient allows zero tips)
55
+ * Tip amount in cents (0 when recipient allows zero items)
56
56
  */
57
57
  | undefined;
58
58
  currency: string;
@@ -65,7 +65,7 @@ export declare const $isTypeOf: <TValue extends {
65
65
  */
66
66
  | undefined;
67
67
  amount: number;
68
- $type: "com.atiproto.tip";
68
+ $type: "com.atiproto.item";
69
69
  };
70
70
  (input: Omit<Omit<Main, "$type">, "$type">): {
71
71
  message?: string
@@ -75,7 +75,7 @@ export declare const $isTypeOf: <TValue extends {
75
75
  | undefined;
76
76
  recordUri?: l.AtUriString
77
77
  /**
78
- * Tip amount in cents (0 when recipient allows zero tips)
78
+ * Tip amount in cents (0 when recipient allows zero items)
79
79
  */
80
80
  | undefined;
81
81
  currency: string;
@@ -88,9 +88,9 @@ export declare const $isTypeOf: <TValue extends {
88
88
  */
89
89
  | undefined;
90
90
  amount: number;
91
- $type: "com.atiproto.tip";
91
+ $type: "com.atiproto.item";
92
92
  };
93
- }, $type: "com.atiproto.tip";
93
+ }, $type: "com.atiproto.item";
94
94
  export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
95
95
  message?: string
96
96
  /**
@@ -99,7 +99,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
99
99
  | undefined;
100
100
  recordUri?: l.AtUriString
101
101
  /**
102
- * Tip amount in cents (0 when recipient allows zero tips)
102
+ * Tip amount in cents (0 when recipient allows zero items)
103
103
  */
104
104
  | undefined;
105
105
  currency: string;
@@ -112,7 +112,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
112
112
  */
113
113
  | undefined;
114
114
  amount: number;
115
- $type: "com.atiproto.tip";
115
+ $type: "com.atiproto.item";
116
116
  }, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
117
117
  message?: string
118
118
  /**
@@ -121,7 +121,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
121
121
  | undefined;
122
122
  recordUri?: l.AtUriString
123
123
  /**
124
- * Tip amount in cents (0 when recipient allows zero tips)
124
+ * Tip amount in cents (0 when recipient allows zero items)
125
125
  */
126
126
  | undefined;
127
127
  currency: string;
@@ -134,7 +134,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
134
134
  */
135
135
  | undefined;
136
136
  amount: number;
137
- $type: "com.atiproto.tip";
137
+ $type: "com.atiproto.item";
138
138
  }, $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
139
139
  message?: string
140
140
  /**
@@ -143,7 +143,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
143
143
  | undefined;
144
144
  recordUri?: l.AtUriString
145
145
  /**
146
- * Tip amount in cents (0 when recipient allows zero tips)
146
+ * Tip amount in cents (0 when recipient allows zero items)
147
147
  */
148
148
  | undefined;
149
149
  currency: string;
@@ -156,7 +156,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
156
156
  */
157
157
  | undefined;
158
158
  amount: number;
159
- $type: "com.atiproto.tip";
159
+ $type: "com.atiproto.item";
160
160
  }) | undefined, $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
161
161
  message?: string
162
162
  /**
@@ -165,7 +165,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
165
165
  | undefined;
166
166
  recordUri?: l.AtUriString
167
167
  /**
168
- * Tip amount in cents (0 when recipient allows zero tips)
168
+ * Tip amount in cents (0 when recipient allows zero items)
169
169
  */
170
170
  | undefined;
171
171
  currency: string;
@@ -178,7 +178,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
178
178
  */
179
179
  | undefined;
180
180
  amount: number;
181
- $type: "com.atiproto.tip";
181
+ $type: "com.atiproto.item";
182
182
  }, $parse: (input: unknown, options?: l.ParseOptions) => {
183
183
  message?: string
184
184
  /**
@@ -187,7 +187,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
187
187
  | undefined;
188
188
  recordUri?: l.AtUriString
189
189
  /**
190
- * Tip amount in cents (0 when recipient allows zero tips)
190
+ * Tip amount in cents (0 when recipient allows zero items)
191
191
  */
192
192
  | undefined;
193
193
  currency: string;
@@ -200,7 +200,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
200
200
  */
201
201
  | undefined;
202
202
  amount: number;
203
- $type: "com.atiproto.tip";
203
+ $type: "com.atiproto.item";
204
204
  }, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
205
205
  message?: string
206
206
  /**
@@ -209,7 +209,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
209
209
  | undefined;
210
210
  recordUri?: l.AtUriString
211
211
  /**
212
- * Tip amount in cents (0 when recipient allows zero tips)
212
+ * Tip amount in cents (0 when recipient allows zero items)
213
213
  */
214
214
  | undefined;
215
215
  currency: string;
@@ -222,7 +222,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
222
222
  */
223
223
  | undefined;
224
224
  amount: number;
225
- $type: "com.atiproto.tip";
225
+ $type: "com.atiproto.item";
226
226
  }>, $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
227
227
  message?: string
228
228
  /**
@@ -231,7 +231,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
231
231
  | undefined;
232
232
  recordUri?: l.AtUriString
233
233
  /**
234
- * Tip amount in cents (0 when recipient allows zero tips)
234
+ * Tip amount in cents (0 when recipient allows zero items)
235
235
  */
236
236
  | undefined;
237
237
  currency: string;
@@ -244,7 +244,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
244
244
  */
245
245
  | undefined;
246
246
  amount: number;
247
- $type: "com.atiproto.tip";
247
+ $type: "com.atiproto.item";
248
248
  }, $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
249
249
  message?: string
250
250
  /**
@@ -253,7 +253,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
253
253
  | undefined;
254
254
  recordUri?: l.AtUriString
255
255
  /**
256
- * Tip amount in cents (0 when recipient allows zero tips)
256
+ * Tip amount in cents (0 when recipient allows zero items)
257
257
  */
258
258
  | undefined;
259
259
  currency: string;
@@ -266,17 +266,17 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
266
266
  */
267
267
  | undefined;
268
268
  amount: number;
269
- $type: "com.atiproto.tip";
269
+ $type: "com.atiproto.item";
270
270
  }>;
271
- /** View of a tip record for use in API responses */
271
+ /** View of a item record for use in API responses */
272
272
  type View = {
273
- $type?: 'com.atiproto.tip#view';
273
+ $type?: 'com.atiproto.item#view';
274
274
  /**
275
- * AT-URI of the tip record
275
+ * AT-URI of the item record
276
276
  */
277
277
  uri: l.AtUriString;
278
278
  /**
279
- * DID of the user receiving the tip
279
+ * DID of the user receiving the item
280
280
  */
281
281
  subject?: l.DidString;
282
282
  /**
@@ -284,7 +284,7 @@ type View = {
284
284
  */
285
285
  recordUri?: l.AtUriString;
286
286
  /**
287
- * Tip amount in cents (0 when recipient allows zero tips)
287
+ * Tip amount in cents (0 when recipient allows zero items)
288
288
  */
289
289
  amount: number;
290
290
  /**
@@ -309,6 +309,6 @@ type View = {
309
309
  completedAt?: l.DatetimeString;
310
310
  };
311
311
  export type { View };
312
- /** View of a tip record for use in API responses */
313
- declare const view: l.TypedObjectSchema<"com.atiproto.tip#view", l.Validator<View, View>>;
312
+ /** View of a item record for use in API responses */
313
+ declare const view: l.TypedObjectSchema<"com.atiproto.item#view", l.Validator<View, View>>;
314
314
  export { view };
@@ -1,12 +1,12 @@
1
1
  import { l } from '@atproto/lex';
2
2
  import * as AtiprotoActions from '../../actions.defs.js';
3
3
  import * as AtiprotoCart from '../../cart.defs.js';
4
- import * as AtiprotoTip from '../../tip.defs.js';
4
+ import * as AtiprotoItem from '../../item.defs.js';
5
5
  import * as AtiprotoSubscription from '../../subscription.defs.js';
6
- declare const $nsid = "com.atiproto.account.cart.clone";
6
+ declare const $nsid = "com.atiproto.payment.cart.clone";
7
7
  export { $nsid };
8
- /** Clone an existing cart, creating new tip and subscription records. Useful for reopening expired carts or repeating tips. */
9
- declare const main: l.Procedure<"com.atiproto.account.cart.clone", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
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
10
  uri: l.StringSchema<{
11
11
  readonly format: "at-uri";
12
12
  }>;
@@ -23,7 +23,7 @@ declare const main: l.Procedure<"com.atiproto.account.cart.clone", l.ParamsSchem
23
23
  checkoutUrl: l.OptionalSchema<l.StringSchema<{
24
24
  readonly format: "uri";
25
25
  }>>;
26
- tips: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>>;
26
+ items: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>>;
27
27
  subscriptions: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>>;
28
28
  }>>, undefined>;
29
29
  export { main };
@@ -32,7 +32,7 @@ export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
32
32
  export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
33
33
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
34
34
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
35
- export declare const $lxm: "com.atiproto.account.cart.clone", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
35
+ export declare const $lxm: "com.atiproto.payment.cart.clone", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
36
36
  uri: l.StringSchema<{
37
37
  readonly format: "at-uri";
38
38
  }>;
@@ -49,6 +49,6 @@ export declare const $lxm: "com.atiproto.account.cart.clone", $params: l.ParamsS
49
49
  checkoutUrl: l.OptionalSchema<l.StringSchema<{
50
50
  readonly format: "uri";
51
51
  }>>;
52
- tips: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>>;
52
+ items: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>>;
53
53
  subscriptions: l.OptionalSchema<l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>>;
54
54
  }>>;
@@ -1,10 +1,10 @@
1
1
  import { l } from '@atproto/lex';
2
2
  import * as AtiprotoActions from '../../actions.defs.js';
3
3
  import * as AtiprotoCart from '../../cart.defs.js';
4
- declare const $nsid = "com.atiproto.account.cart.create";
4
+ declare const $nsid = "com.atiproto.payment.cart.create";
5
5
  export { $nsid };
6
6
  /** Create a new empty cart */
7
- declare const main: l.Procedure<"com.atiproto.account.cart.create", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
7
+ declare const main: l.Procedure<"com.atiproto.payment.cart.create", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
8
8
  currency: l.StringSchema<{
9
9
  readonly maxLength: 3;
10
10
  }>;
@@ -28,7 +28,7 @@ export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
28
28
  export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
29
29
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
30
30
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
31
- export declare const $lxm: "com.atiproto.account.cart.create", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
31
+ export declare const $lxm: "com.atiproto.payment.cart.create", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
32
32
  currency: l.StringSchema<{
33
33
  readonly maxLength: 3;
34
34
  }>;
@@ -1,15 +1,23 @@
1
1
  import { l } from '@atproto/lex';
2
+ import * as AtiprotoActions from '../../actions.defs.js';
2
3
  import * as AtiprotoCart from '../../cart.defs.js';
3
- import * as AtiprotoTip from '../../tip.defs.js';
4
+ import * as AtiprotoItem from '../../item.defs.js';
4
5
  import * as AtiprotoSubscription from '../../subscription.defs.js';
5
- declare const $nsid = "com.atiproto.account.cart.get";
6
+ declare const $nsid = "com.atiproto.payment.cart.get";
6
7
  export { $nsid };
7
- /** Get a specific cart by URI, including resolved tip and subscription records */
8
- declare const main: l.Query<"com.atiproto.account.cart.get", l.ParamsSchema<{
9
- readonly uri: l.StringSchema<{
8
+ /** Get a specific cart sent by the authenticated user, including resolved item and subscription records. One of `uri`, `itemUri`, or `subscriptionUri` is required. */
9
+ declare const main: l.Query<"com.atiproto.payment.cart.get", l.ParamsSchema<{
10
+ readonly uri: l.OptionalSchema<l.StringSchema<{
10
11
  readonly format: "at-uri";
11
- }>;
12
+ }>>;
13
+ readonly itemUri: l.OptionalSchema<l.StringSchema<{
14
+ readonly format: "at-uri";
15
+ }>>;
16
+ readonly subscriptionUri: l.OptionalSchema<l.StringSchema<{
17
+ readonly format: "at-uri";
18
+ }>>;
12
19
  }>, l.Payload<"application/json", l.ObjectSchema<{
20
+ workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
13
21
  uri: l.StringSchema<{
14
22
  readonly format: "at-uri";
15
23
  }>;
@@ -20,18 +28,25 @@ declare const main: l.Query<"com.atiproto.account.cart.get", l.ParamsSchema<{
20
28
  checkoutUrl: l.OptionalSchema<l.StringSchema<{
21
29
  readonly format: "uri";
22
30
  }>>;
23
- tips: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
31
+ items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
24
32
  subscriptions: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>;
25
33
  }>>, undefined>;
26
34
  export { main };
27
35
  export type $Params = l.InferMethodParams<typeof main>;
28
36
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
29
37
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
30
- export declare const $lxm: "com.atiproto.account.cart.get", $params: l.ParamsSchema<{
31
- readonly uri: l.StringSchema<{
38
+ export declare const $lxm: "com.atiproto.payment.cart.get", $params: l.ParamsSchema<{
39
+ readonly uri: l.OptionalSchema<l.StringSchema<{
32
40
  readonly format: "at-uri";
33
- }>;
41
+ }>>;
42
+ readonly itemUri: l.OptionalSchema<l.StringSchema<{
43
+ readonly format: "at-uri";
44
+ }>>;
45
+ readonly subscriptionUri: l.OptionalSchema<l.StringSchema<{
46
+ readonly format: "at-uri";
47
+ }>>;
34
48
  }>, $output: l.Payload<"application/json", l.ObjectSchema<{
49
+ workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
35
50
  uri: l.StringSchema<{
36
51
  readonly format: "at-uri";
37
52
  }>;
@@ -42,6 +57,6 @@ export declare const $lxm: "com.atiproto.account.cart.get", $params: l.ParamsSch
42
57
  checkoutUrl: l.OptionalSchema<l.StringSchema<{
43
58
  readonly format: "uri";
44
59
  }>>;
45
- tips: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
60
+ items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
46
61
  subscriptions: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>;
47
62
  }>>;
@@ -1,9 +1,12 @@
1
1
  import { l } from '@atproto/lex';
2
2
  import * as AtiprotoCart from '../../cart.defs.js';
3
- declare const $nsid = "com.atiproto.account.cart.list";
3
+ declare const $nsid = "com.atiproto.payment.cart.list";
4
4
  export { $nsid };
5
- /** List carts for the authenticated user */
6
- declare const main: l.Query<"com.atiproto.account.cart.list", l.ParamsSchema<{
5
+ /** List carts created by the authenticated user. */
6
+ declare const main: l.Query<"com.atiproto.payment.cart.list", l.ParamsSchema<{
7
+ readonly subject: l.OptionalSchema<l.StringSchema<{
8
+ readonly format: "did";
9
+ }>>;
7
10
  readonly status: l.OptionalSchema<l.EnumSchema<"open" | "completed" | "expired" | "abandoned">>;
8
11
  readonly cursor: l.OptionalSchema<l.StringSchema<{
9
12
  readonly maxLength: 512;
@@ -19,7 +22,10 @@ export { main };
19
22
  export type $Params = l.InferMethodParams<typeof main>;
20
23
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
21
24
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
22
- export declare const $lxm: "com.atiproto.account.cart.list", $params: l.ParamsSchema<{
25
+ export declare const $lxm: "com.atiproto.payment.cart.list", $params: l.ParamsSchema<{
26
+ readonly subject: l.OptionalSchema<l.StringSchema<{
27
+ readonly format: "did";
28
+ }>>;
23
29
  readonly status: l.OptionalSchema<l.EnumSchema<"open" | "completed" | "expired" | "abandoned">>;
24
30
  readonly cursor: l.OptionalSchema<l.StringSchema<{
25
31
  readonly maxLength: 512;
@@ -32,7 +38,7 @@ export declare const $lxm: "com.atiproto.account.cart.list", $params: l.ParamsSc
32
38
  }>>;
33
39
  }>>;
34
40
  type CartResponse = {
35
- $type?: 'com.atiproto.account.cart.list#cartResponse';
41
+ $type?: 'com.atiproto.payment.cart.list#cartResponse';
36
42
  /**
37
43
  * AT-URI of the cart record
38
44
  */
@@ -44,5 +50,5 @@ type CartResponse = {
44
50
  record: AtiprotoCart.View;
45
51
  };
46
52
  export type { CartResponse };
47
- declare const cartResponse: l.TypedObjectSchema<"com.atiproto.account.cart.list#cartResponse", l.Validator<CartResponse, CartResponse>>;
53
+ declare const cartResponse: l.TypedObjectSchema<"com.atiproto.payment.cart.list#cartResponse", l.Validator<CartResponse, CartResponse>>;
48
54
  export { cartResponse };
@@ -1,10 +1,10 @@
1
1
  import { l } from '@atproto/lex';
2
2
  import * as AtiprotoCart from '../../cart.defs.js';
3
3
  import * as AtiprotoActions from '../../actions.defs.js';
4
- declare const $nsid = "com.atiproto.account.cart.put";
4
+ declare const $nsid = "com.atiproto.payment.cart.put";
5
5
  export { $nsid };
6
6
  /** Update a cart. Only open carts can be updated. */
7
- declare const main: l.Procedure<"com.atiproto.account.cart.put", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
7
+ declare const main: l.Procedure<"com.atiproto.payment.cart.put", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
8
8
  uri: l.StringSchema<{
9
9
  readonly format: "at-uri";
10
10
  }>;
@@ -25,7 +25,7 @@ export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
25
25
  export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
26
26
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
27
27
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
28
- export declare const $lxm: "com.atiproto.account.cart.put", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
28
+ export declare const $lxm: "com.atiproto.payment.cart.put", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
29
29
  uri: l.StringSchema<{
30
30
  readonly format: "at-uri";
31
31
  }>;
@@ -1,11 +1,11 @@
1
1
  import { l } from '@atproto/lex';
2
2
  import * as AtiprotoActions from '../../actions.defs.js';
3
- import * as AtiprotoTip from '../../tip.defs.js';
3
+ import * as AtiprotoItem from '../../item.defs.js';
4
4
  import * as AtiprotoCart from '../../cart.defs.js';
5
- declare const $nsid = "com.atiproto.feed.tip.create";
5
+ declare const $nsid = "com.atiproto.payment.item.create";
6
6
  export { $nsid };
7
- /** Create a tip on a DID or specific record. Creates or adds to a cart and returns a checkout URL. */
8
- declare const main: l.Procedure<"com.atiproto.feed.tip.create", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
7
+ /** Create a item on a DID or specific record. Creates or adds to a cart and returns a checkout URL. */
8
+ declare const main: l.Procedure<"com.atiproto.payment.item.create", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
9
9
  subject: l.StringSchema<{
10
10
  readonly format: "did";
11
11
  }>;
@@ -30,10 +30,10 @@ declare const main: l.Procedure<"com.atiproto.feed.tip.create", l.ParamsSchema<{
30
30
  workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.InboundWorkflow, AtiprotoActions.InboundWorkflow>>>;
31
31
  }>>, l.Payload<"application/json", l.ObjectSchema<{
32
32
  workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
33
- tipUri: l.OptionalSchema<l.StringSchema<{
33
+ itemUri: l.OptionalSchema<l.StringSchema<{
34
34
  readonly format: "at-uri";
35
35
  }>>;
36
- tip: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
36
+ item: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
37
37
  cartUri: l.OptionalSchema<l.StringSchema<{
38
38
  readonly format: "at-uri";
39
39
  }>>;
@@ -48,7 +48,7 @@ export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
48
48
  export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
49
49
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
50
50
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
51
- export declare const $lxm: "com.atiproto.feed.tip.create", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
51
+ export declare const $lxm: "com.atiproto.payment.item.create", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
52
52
  subject: l.StringSchema<{
53
53
  readonly format: "did";
54
54
  }>;
@@ -73,10 +73,10 @@ export declare const $lxm: "com.atiproto.feed.tip.create", $params: l.ParamsSche
73
73
  workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.InboundWorkflow, AtiprotoActions.InboundWorkflow>>>;
74
74
  }>>, $output: l.Payload<"application/json", l.ObjectSchema<{
75
75
  workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
76
- tipUri: l.OptionalSchema<l.StringSchema<{
76
+ itemUri: l.OptionalSchema<l.StringSchema<{
77
77
  readonly format: "at-uri";
78
78
  }>>;
79
- tip: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
79
+ item: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
80
80
  cartUri: l.OptionalSchema<l.StringSchema<{
81
81
  readonly format: "at-uri";
82
82
  }>>;
@@ -1,9 +1,9 @@
1
1
  import { l } from '@atproto/lex';
2
- import * as AtiprotoTip from '../../tip.defs.js';
3
- declare const $nsid = "com.atiproto.feed.tip.get";
2
+ import * as AtiprotoItem from '../../item.defs.js';
3
+ declare const $nsid = "com.atiproto.payment.item.get";
4
4
  export { $nsid };
5
- /** Get a specific tip sent by the authenticated user. Looks up by tip record uri, subject (recipient) DID, or record uri. These are mutually exclusive and resolved in that order. */
6
- declare const main: l.Query<"com.atiproto.feed.tip.get", l.ParamsSchema<{
5
+ /** Get a specific item sent by the authenticated user. Looks up by item record uri, subject (recipient) DID, or record uri. These are mutually exclusive and resolved in that order. */
6
+ declare const main: l.Query<"com.atiproto.payment.item.get", l.ParamsSchema<{
7
7
  readonly uri: l.OptionalSchema<l.StringSchema<{
8
8
  readonly format: "at-uri";
9
9
  }>>;
@@ -14,13 +14,13 @@ declare const main: l.Query<"com.atiproto.feed.tip.get", l.ParamsSchema<{
14
14
  readonly format: "at-uri";
15
15
  }>>;
16
16
  }>, l.Payload<"application/json", l.ObjectSchema<{
17
- tip: l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>;
17
+ item: l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>;
18
18
  }>>, undefined>;
19
19
  export { main };
20
20
  export type $Params = l.InferMethodParams<typeof main>;
21
21
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
22
22
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
23
- export declare const $lxm: "com.atiproto.feed.tip.get", $params: l.ParamsSchema<{
23
+ export declare const $lxm: "com.atiproto.payment.item.get", $params: l.ParamsSchema<{
24
24
  readonly uri: l.OptionalSchema<l.StringSchema<{
25
25
  readonly format: "at-uri";
26
26
  }>>;
@@ -31,5 +31,5 @@ export declare const $lxm: "com.atiproto.feed.tip.get", $params: l.ParamsSchema<
31
31
  readonly format: "at-uri";
32
32
  }>>;
33
33
  }>, $output: l.Payload<"application/json", l.ObjectSchema<{
34
- tip: l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>;
34
+ item: l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>;
35
35
  }>>;
@@ -1,9 +1,9 @@
1
1
  import { l } from '@atproto/lex';
2
- import * as AtiprotoTip from '../../tip.defs.js';
3
- declare const $nsid = "com.atiproto.feed.tip.list";
2
+ import * as AtiprotoItem from '../../item.defs.js';
3
+ declare const $nsid = "com.atiproto.payment.item.list";
4
4
  export { $nsid };
5
- /** List tips sent by the authenticated user */
6
- declare const main: l.Query<"com.atiproto.feed.tip.list", l.ParamsSchema<{
5
+ /** List items sent by the authenticated user */
6
+ declare const main: l.Query<"com.atiproto.payment.item.list", l.ParamsSchema<{
7
7
  readonly subject: l.OptionalSchema<l.StringSchema<{
8
8
  readonly format: "did";
9
9
  }>>;
@@ -15,7 +15,7 @@ declare const main: l.Query<"com.atiproto.feed.tip.list", l.ParamsSchema<{
15
15
  }>>;
16
16
  readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
17
17
  }>, l.Payload<"application/json", l.ObjectSchema<{
18
- tips: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
18
+ items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
19
19
  cursor: l.OptionalSchema<l.StringSchema<{
20
20
  readonly maxLength: 512;
21
21
  }>>;
@@ -24,7 +24,7 @@ export { main };
24
24
  export type $Params = l.InferMethodParams<typeof main>;
25
25
  export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
26
26
  export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
27
- export declare const $lxm: "com.atiproto.feed.tip.list", $params: l.ParamsSchema<{
27
+ export declare const $lxm: "com.atiproto.payment.item.list", $params: l.ParamsSchema<{
28
28
  readonly subject: l.OptionalSchema<l.StringSchema<{
29
29
  readonly format: "did";
30
30
  }>>;
@@ -36,7 +36,7 @@ export declare const $lxm: "com.atiproto.feed.tip.list", $params: l.ParamsSchema
36
36
  }>>;
37
37
  readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
38
38
  }>, $output: l.Payload<"application/json", l.ObjectSchema<{
39
- tips: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
39
+ items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
40
40
  cursor: l.OptionalSchema<l.StringSchema<{
41
41
  readonly maxLength: 512;
42
42
  }>>;