@atiproto/lexicons 0.4.0 → 0.5.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 +1432 -885
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1432 -885
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons/com/atiproto/account/subscription/get.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/subscription/get.defs.d.ts +29 -0
- package/dist/lexicons/com/atiproto/account/subscription/list.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/subscription/list.defs.d.ts +31 -0
- package/dist/lexicons/com/atiproto/account/subscription/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/subscription/validate.defs.d.ts +44 -0
- package/dist/lexicons/com/atiproto/account/subscription.d.ts +3 -0
- package/dist/lexicons/com/atiproto/account/tip/get.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/tip/get.defs.d.ts +35 -0
- package/dist/lexicons/com/atiproto/account/tip/list.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/tip/list.defs.d.ts +43 -0
- package/dist/lexicons/com/atiproto/account/tip/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/tip/validate.defs.d.ts +50 -0
- package/dist/lexicons/com/atiproto/account/tip.d.ts +3 -0
- package/dist/lexicons/com/atiproto/account.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/subscription/create.defs.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/subscription/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/subscription/validate.defs.d.ts +44 -0
- package/dist/lexicons/com/atiproto/feed/subscription.d.ts +1 -0
- package/dist/lexicons/com/atiproto/feed/tip/create.defs.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/tip/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/tip/validate.defs.d.ts +50 -0
- package/dist/lexicons/com/atiproto/feed/tip.d.ts +1 -0
- package/dist/lexicons/com/atiproto/repo/subscription/count.d.ts +2 -0
- package/dist/lexicons/com/atiproto/repo/subscription/count.defs.d.ts +42 -0
- package/dist/lexicons/com/atiproto/repo/subscription.d.ts +1 -2
- package/dist/lexicons/com/atiproto/repo/tip/count.d.ts +2 -0
- package/dist/lexicons/com/atiproto/repo/tip/count.defs.d.ts +48 -0
- package/dist/lexicons/com/atiproto/repo/tip.d.ts +1 -2
- package/dist/lexicons/com/atiproto/subscription.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/tip.defs.d.ts +52 -12
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ type Main = {
|
|
|
7
7
|
/**
|
|
8
8
|
* DID of the user receiving the tip
|
|
9
9
|
*/
|
|
10
|
-
subject
|
|
10
|
+
subject?: l.DidString;
|
|
11
11
|
/**
|
|
12
12
|
* AT-URI of specific record being tipped
|
|
13
13
|
*/
|
|
@@ -54,7 +54,11 @@ export declare const $isTypeOf: <TValue extends {
|
|
|
54
54
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
55
55
|
createdAt: l.DatetimeString;
|
|
56
56
|
completedAt?: l.DatetimeString | undefined;
|
|
57
|
-
subject
|
|
57
|
+
subject?: l.DidString
|
|
58
|
+
/**
|
|
59
|
+
* AT-URI of specific record being tipped
|
|
60
|
+
*/
|
|
61
|
+
| undefined;
|
|
58
62
|
amount: number;
|
|
59
63
|
message?: string
|
|
60
64
|
/**
|
|
@@ -73,7 +77,11 @@ export declare const $isTypeOf: <TValue extends {
|
|
|
73
77
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
74
78
|
createdAt: l.DatetimeString;
|
|
75
79
|
completedAt?: l.DatetimeString | undefined;
|
|
76
|
-
subject
|
|
80
|
+
subject?: l.DidString
|
|
81
|
+
/**
|
|
82
|
+
* AT-URI of specific record being tipped
|
|
83
|
+
*/
|
|
84
|
+
| undefined;
|
|
77
85
|
amount: number;
|
|
78
86
|
message?: string
|
|
79
87
|
/**
|
|
@@ -93,7 +101,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
93
101
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
94
102
|
createdAt: l.DatetimeString;
|
|
95
103
|
completedAt?: l.DatetimeString | undefined;
|
|
96
|
-
subject
|
|
104
|
+
subject?: l.DidString
|
|
105
|
+
/**
|
|
106
|
+
* AT-URI of specific record being tipped
|
|
107
|
+
*/
|
|
108
|
+
| undefined;
|
|
97
109
|
amount: number;
|
|
98
110
|
message?: string
|
|
99
111
|
/**
|
|
@@ -111,7 +123,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
111
123
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
112
124
|
createdAt: l.DatetimeString;
|
|
113
125
|
completedAt?: l.DatetimeString | undefined;
|
|
114
|
-
subject
|
|
126
|
+
subject?: l.DidString
|
|
127
|
+
/**
|
|
128
|
+
* AT-URI of specific record being tipped
|
|
129
|
+
*/
|
|
130
|
+
| undefined;
|
|
115
131
|
amount: number;
|
|
116
132
|
message?: string
|
|
117
133
|
/**
|
|
@@ -129,7 +145,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
129
145
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
130
146
|
createdAt: l.DatetimeString;
|
|
131
147
|
completedAt?: l.DatetimeString | undefined;
|
|
132
|
-
subject
|
|
148
|
+
subject?: l.DidString
|
|
149
|
+
/**
|
|
150
|
+
* AT-URI of specific record being tipped
|
|
151
|
+
*/
|
|
152
|
+
| undefined;
|
|
133
153
|
amount: number;
|
|
134
154
|
message?: string
|
|
135
155
|
/**
|
|
@@ -147,7 +167,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
147
167
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
148
168
|
createdAt: l.DatetimeString;
|
|
149
169
|
completedAt?: l.DatetimeString | undefined;
|
|
150
|
-
subject
|
|
170
|
+
subject?: l.DidString
|
|
171
|
+
/**
|
|
172
|
+
* AT-URI of specific record being tipped
|
|
173
|
+
*/
|
|
174
|
+
| undefined;
|
|
151
175
|
amount: number;
|
|
152
176
|
message?: string
|
|
153
177
|
/**
|
|
@@ -165,7 +189,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
165
189
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
166
190
|
createdAt: l.DatetimeString;
|
|
167
191
|
completedAt?: l.DatetimeString | undefined;
|
|
168
|
-
subject
|
|
192
|
+
subject?: l.DidString
|
|
193
|
+
/**
|
|
194
|
+
* AT-URI of specific record being tipped
|
|
195
|
+
*/
|
|
196
|
+
| undefined;
|
|
169
197
|
amount: number;
|
|
170
198
|
message?: string
|
|
171
199
|
/**
|
|
@@ -183,7 +211,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
183
211
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
184
212
|
createdAt: l.DatetimeString;
|
|
185
213
|
completedAt?: l.DatetimeString | undefined;
|
|
186
|
-
subject
|
|
214
|
+
subject?: l.DidString
|
|
215
|
+
/**
|
|
216
|
+
* AT-URI of specific record being tipped
|
|
217
|
+
*/
|
|
218
|
+
| undefined;
|
|
187
219
|
amount: number;
|
|
188
220
|
message?: string
|
|
189
221
|
/**
|
|
@@ -201,7 +233,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
201
233
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
202
234
|
createdAt: l.DatetimeString;
|
|
203
235
|
completedAt?: l.DatetimeString | undefined;
|
|
204
|
-
subject
|
|
236
|
+
subject?: l.DidString
|
|
237
|
+
/**
|
|
238
|
+
* AT-URI of specific record being tipped
|
|
239
|
+
*/
|
|
240
|
+
| undefined;
|
|
205
241
|
amount: number;
|
|
206
242
|
message?: string
|
|
207
243
|
/**
|
|
@@ -219,7 +255,11 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
219
255
|
status: "pending" | "authorized" | "completed" | "failed" | "refunded";
|
|
220
256
|
createdAt: l.DatetimeString;
|
|
221
257
|
completedAt?: l.DatetimeString | undefined;
|
|
222
|
-
subject
|
|
258
|
+
subject?: l.DidString
|
|
259
|
+
/**
|
|
260
|
+
* AT-URI of specific record being tipped
|
|
261
|
+
*/
|
|
262
|
+
| undefined;
|
|
223
263
|
amount: number;
|
|
224
264
|
message?: string
|
|
225
265
|
/**
|
|
@@ -234,7 +274,7 @@ type View = {
|
|
|
234
274
|
/**
|
|
235
275
|
* DID of the user receiving the tip
|
|
236
276
|
*/
|
|
237
|
-
subject
|
|
277
|
+
subject?: l.DidString;
|
|
238
278
|
/**
|
|
239
279
|
* AT-URI of specific record being tipped
|
|
240
280
|
*/
|