@atproto/lexicon 0.3.1 → 0.3.2
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/CHANGELOG.md +7 -0
- package/LICENSE.txt +1 -1
- package/dist/blob-refs.d.ts +3 -3
- package/dist/index.js.map +2 -2
- package/dist/lexicons.d.ts +3 -1
- package/dist/serialize.d.ts +2 -2
- package/dist/types.d.ts +425 -425
- package/package.json +2 -2
- package/src/lexicons.ts +13 -17
package/CHANGELOG.md
CHANGED
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Dual MIT/Apache-2.0 License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2022-
|
|
3
|
+
Copyright (c) 2022-2024 Bluesky PBC, and Contributors
|
|
4
4
|
|
|
5
5
|
Except as otherwise noted in individual files, this software is licensed under the MIT license (<http://opensource.org/licenses/MIT>), or the Apache License, Version 2.0 (<http://www.apache.org/licenses/LICENSE-2.0>).
|
|
6
6
|
|
package/dist/blob-refs.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const typedJsonBlobRef: z.ZodObject<{
|
|
|
16
16
|
size: number;
|
|
17
17
|
ref?: any;
|
|
18
18
|
}>;
|
|
19
|
-
export
|
|
19
|
+
export type TypedJsonBlobRef = z.infer<typeof typedJsonBlobRef>;
|
|
20
20
|
export declare const untypedJsonBlobRef: z.ZodObject<{
|
|
21
21
|
cid: z.ZodString;
|
|
22
22
|
mimeType: z.ZodString;
|
|
@@ -27,7 +27,7 @@ export declare const untypedJsonBlobRef: z.ZodObject<{
|
|
|
27
27
|
cid: string;
|
|
28
28
|
mimeType: string;
|
|
29
29
|
}>;
|
|
30
|
-
export
|
|
30
|
+
export type UntypedJsonBlobRef = z.infer<typeof untypedJsonBlobRef>;
|
|
31
31
|
export declare const jsonBlobRef: z.ZodUnion<[z.ZodObject<{
|
|
32
32
|
$type: z.ZodLiteral<"blob">;
|
|
33
33
|
ref: z.ZodEffects<z.ZodEffects<z.ZodAny, any, any>, CID, any>;
|
|
@@ -53,7 +53,7 @@ export declare const jsonBlobRef: z.ZodUnion<[z.ZodObject<{
|
|
|
53
53
|
cid: string;
|
|
54
54
|
mimeType: string;
|
|
55
55
|
}>]>;
|
|
56
|
-
export
|
|
56
|
+
export type JsonBlobRef = z.infer<typeof jsonBlobRef>;
|
|
57
57
|
export declare class BlobRef {
|
|
58
58
|
ref: CID;
|
|
59
59
|
mimeType: string;
|