@dev.fast/review-share-protocol 0.2.0 → 0.3.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 +37 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -43
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const SHARE_FORMAT = "review-share/2";
|
|
3
|
-
/**
|
|
3
|
+
/** UTF-8 bytes of a bundle's JSON, as uploaded and as stored. */
|
|
4
4
|
export declare const MAX_SHARE_BYTES: number;
|
|
5
|
-
/** The bundle once inflated. */
|
|
6
|
-
export declare const MAX_SHARE_JSON_BYTES: number;
|
|
7
|
-
export declare const objectIdSchema: z.ZodString;
|
|
8
5
|
export declare const shareIdSchema: z.ZodUUID;
|
|
9
6
|
export declare const capabilitySchema: z.ZodString;
|
|
10
7
|
export declare const sharePathSchema: z.ZodString;
|
|
11
8
|
/** The published identity is independent of the author's credential transport. */
|
|
12
9
|
export declare function normalizeGitHubRemote(remote: string): string;
|
|
13
10
|
export declare const gitHubRepositoryUrlSchema: z.ZodString;
|
|
14
|
-
/**
|
|
15
|
-
* kinds can carry whole files or name objects read from the repository. */
|
|
11
|
+
/** An excerpt is the lines a board references. */
|
|
16
12
|
export declare const shareSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17
13
|
kind: z.ZodLiteral<"excerpt">;
|
|
18
14
|
file: z.ZodString;
|
|
@@ -20,7 +16,6 @@ export declare const shareSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
20
16
|
fromLine: z.ZodNumber;
|
|
21
17
|
lines: z.ZodArray<z.ZodString>;
|
|
22
18
|
}, z.core.$strict>], "kind">;
|
|
23
|
-
/** One self-contained, gzipped JSON document. */
|
|
24
19
|
export declare const shareBundleSchema: z.ZodObject<{
|
|
25
20
|
format: z.ZodLiteral<"review-share/2">;
|
|
26
21
|
reviewId: z.ZodString;
|
|
@@ -62,18 +57,44 @@ export type ShareBundle = z.infer<typeof shareBundleSchema>;
|
|
|
62
57
|
export type ShareSource = z.infer<typeof shareSourceSchema>;
|
|
63
58
|
export declare const createShareSchema: z.ZodObject<{
|
|
64
59
|
requestId: z.ZodUUID;
|
|
65
|
-
reviewId: z.ZodString;
|
|
66
|
-
version: z.ZodNumber;
|
|
67
|
-
title: z.ZodString;
|
|
68
60
|
bundle: z.ZodObject<{
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
format: z.ZodLiteral<"review-share/2">;
|
|
62
|
+
reviewId: z.ZodString;
|
|
63
|
+
version: z.ZodNumber;
|
|
64
|
+
title: z.ZodString;
|
|
65
|
+
snapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
66
|
+
images: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
67
|
+
png: z.ZodBase64;
|
|
68
|
+
}, z.core.$strict>>;
|
|
69
|
+
traces: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
70
|
+
maps: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
71
|
+
commits: z.ZodArray<z.ZodUnknown>;
|
|
72
|
+
selections: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
73
|
+
side: z.ZodEnum<{
|
|
74
|
+
base: "base";
|
|
75
|
+
head: "head";
|
|
76
|
+
}>;
|
|
77
|
+
file: z.ZodString;
|
|
78
|
+
fromLine: z.ZodNumber;
|
|
79
|
+
toLine: z.ZodNumber;
|
|
80
|
+
pins: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
repositoryId: z.ZodString;
|
|
82
|
+
head: z.ZodString;
|
|
83
|
+
base: z.ZodOptional<z.ZodString>;
|
|
84
|
+
}, z.core.$strict>>;
|
|
85
|
+
}, z.core.$strict>>>;
|
|
86
|
+
sources: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
87
|
+
kind: z.ZodLiteral<"excerpt">;
|
|
88
|
+
file: z.ZodString;
|
|
89
|
+
commit: z.ZodString;
|
|
90
|
+
fromLine: z.ZodNumber;
|
|
91
|
+
lines: z.ZodArray<z.ZodString>;
|
|
92
|
+
}, z.core.$strict>], "kind">>;
|
|
93
|
+
repository: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
cloneUrl: z.ZodString;
|
|
95
|
+
}, z.core.$strict>>;
|
|
71
96
|
}, z.core.$strict>;
|
|
72
97
|
}, z.core.$strict>;
|
|
73
|
-
export declare function packShare(bundle: ShareBundle): Promise<Uint8Array>;
|
|
74
|
-
/** Inflates within MAX_SHARE_JSON_BYTES, then validates the envelope. */
|
|
75
|
-
export declare function unpackShare(bytes: Uint8Array): Promise<ShareBundle>;
|
|
76
|
-
/** The capability is the link's last path segment; the server stores only its digest. */
|
|
77
98
|
export declare function shareLink(origin: string, capability: string): string;
|
|
78
99
|
export declare function parseShareLink(value: string): {
|
|
79
100
|
origin: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAE7C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAE7C,iEAAiE;AACjE,eAAO,MAAM,eAAe,QAAmB,CAAC;AAEhD,eAAO,MAAM,aAAa,WAAW,CAAC;AAEtC,eAAO,MAAM,gBAAgB,aAA0C,CAAC;AAExE,eAAO,MAAM,eAAe,aAazB,CAAC;AAEJ,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CA8B5D;AAED,eAAO,MAAM,yBAAyB,aAMgC,CAAC;AAMvE,kDAAkD;AAClD,eAAO,MAAM,iBAAiB;;;;;;4BAQ5B,CAAC;AAgBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiB5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG5B,CAAC;AAEH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM;IAaxC,MAAM;IACN,UAAU;EAIb"}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export const SHARE_FORMAT = "review-share/2";
|
|
3
|
-
/**
|
|
4
|
-
export const MAX_SHARE_BYTES =
|
|
5
|
-
/** The bundle once inflated. */
|
|
6
|
-
export const MAX_SHARE_JSON_BYTES = 128 * 1024 * 1024;
|
|
7
|
-
export const objectIdSchema = z.string().regex(/^[a-f0-9]{64}$/);
|
|
3
|
+
/** UTF-8 bytes of a bundle's JSON, as uploaded and as stored. */
|
|
4
|
+
export const MAX_SHARE_BYTES = 16 * 1024 * 1024;
|
|
8
5
|
export const shareIdSchema = z.uuid();
|
|
9
6
|
export const capabilitySchema = z.string().regex(/^[A-Za-z0-9_-]{43}$/);
|
|
10
7
|
export const sharePathSchema = z
|
|
@@ -46,8 +43,7 @@ export const gitHubRepositoryUrlSchema = z.string().refine((value) => {
|
|
|
46
43
|
}, "Use a canonical GitHub HTTPS repository URL without credentials.");
|
|
47
44
|
const commitSchema = z.string().regex(/^[a-f0-9]{40}([a-f0-9]{24})?$/);
|
|
48
45
|
const sideSchema = z.enum(["base", "head"]);
|
|
49
|
-
/**
|
|
50
|
-
* kinds can carry whole files or name objects read from the repository. */
|
|
46
|
+
/** An excerpt is the lines a board references. */
|
|
51
47
|
export const shareSourceSchema = z.discriminatedUnion("kind", [
|
|
52
48
|
z.strictObject({
|
|
53
49
|
kind: z.literal("excerpt"),
|
|
@@ -70,12 +66,11 @@ const lineRangeSchema = z.strictObject({
|
|
|
70
66
|
})
|
|
71
67
|
.optional(),
|
|
72
68
|
});
|
|
73
|
-
/** One self-contained, gzipped JSON document. */
|
|
74
69
|
export const shareBundleSchema = z.strictObject({
|
|
75
70
|
format: z.literal(SHARE_FORMAT),
|
|
76
71
|
reviewId: z.string().min(1).max(256),
|
|
77
72
|
version: z.number().int().nonnegative(),
|
|
78
|
-
title: z.string().
|
|
73
|
+
title: z.string().max(4096),
|
|
79
74
|
/** Validated against the document schema by the reader. */
|
|
80
75
|
snapshot: z.record(z.string(), z.unknown()),
|
|
81
76
|
images: z.record(z.string(), z.strictObject({ png: z.base64() })),
|
|
@@ -91,41 +86,8 @@ export const shareBundleSchema = z.strictObject({
|
|
|
91
86
|
});
|
|
92
87
|
export const createShareSchema = z.strictObject({
|
|
93
88
|
requestId: z.uuid(),
|
|
94
|
-
|
|
95
|
-
version: z.number().int().nonnegative(),
|
|
96
|
-
title: z.string().min(1).max(4096),
|
|
97
|
-
bundle: z.strictObject({
|
|
98
|
-
sha256: objectIdSchema,
|
|
99
|
-
size: z.number().int().positive().max(MAX_SHARE_BYTES),
|
|
100
|
-
}),
|
|
89
|
+
bundle: shareBundleSchema,
|
|
101
90
|
});
|
|
102
|
-
export async function packShare(bundle) {
|
|
103
|
-
const json = new Blob([JSON.stringify(shareBundleSchema.parse(bundle))]);
|
|
104
|
-
return new Uint8Array(await new Response(json.stream().pipeThrough(new CompressionStream("gzip"))).arrayBuffer());
|
|
105
|
-
}
|
|
106
|
-
/** Inflates within MAX_SHARE_JSON_BYTES, then validates the envelope. */
|
|
107
|
-
export async function unpackShare(bytes) {
|
|
108
|
-
const reader = new Blob([Uint8Array.from(bytes)])
|
|
109
|
-
.stream()
|
|
110
|
-
.pipeThrough(new DecompressionStream("gzip"))
|
|
111
|
-
.getReader();
|
|
112
|
-
const decoder = new TextDecoder();
|
|
113
|
-
let json = "";
|
|
114
|
-
let size = 0;
|
|
115
|
-
for (;;) {
|
|
116
|
-
const { done, value } = await reader.read();
|
|
117
|
-
if (done)
|
|
118
|
-
break;
|
|
119
|
-
size += value.byteLength;
|
|
120
|
-
if (size > MAX_SHARE_JSON_BYTES) {
|
|
121
|
-
await reader.cancel();
|
|
122
|
-
throw new Error("Share exceeds its size limit.");
|
|
123
|
-
}
|
|
124
|
-
json += decoder.decode(value, { stream: true });
|
|
125
|
-
}
|
|
126
|
-
return shareBundleSchema.parse(JSON.parse(json + decoder.decode()));
|
|
127
|
-
}
|
|
128
|
-
/** The capability is the link's last path segment; the server stores only its digest. */
|
|
129
91
|
export function shareLink(origin, capability) {
|
|
130
92
|
return new URL(`/s/${capabilitySchema.parse(capability)}`, origin).href;
|
|
131
93
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAE7C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAE7C,iEAAiE;AACjE,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD,MAAM,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AAK,KAAK,CAAC;QAEzD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IAEzD,OAAO;QACL,MAAM,EAAE,GAAG,CAAC,MAAM;QAClB,UAAU,EAAE,gBAAgB,CAAC,KAAK,CAChC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CACzC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev.fast/review-share-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Portable immutable Review sharing envelope.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"registry": "https://registry.npmjs.org"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"zod": "4.6.
|
|
27
|
+
"zod": "4.6.6"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"vitest": "4.1.11"
|