@seed-hypermedia/client 0.0.131 → 0.0.132
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/apps.mjs +4 -4
- package/dist/auto-link.mjs +5 -5
- package/dist/blocks-to-markdown.mjs +3 -3
- package/dist/capability.mjs +2 -2
- package/dist/change.d.ts +2 -0
- package/dist/change.mjs +1 -1
- package/dist/{chunk-D3PRDISB.mjs → chunk-325UCLMT.mjs} +3 -3
- package/dist/{chunk-IRP2ZGH3.mjs → chunk-6QBB3P3Q.mjs} +10 -6
- package/dist/{chunk-QU6XHE3U.mjs → chunk-DGNAMVGH.mjs} +5 -2
- package/dist/{chunk-2XNVA2GK.mjs → chunk-ETIDW7ZJ.mjs} +1 -1
- package/dist/{chunk-ANR3R5NH.mjs → chunk-FU7FIYHI.mjs} +1 -1
- package/dist/{chunk-HY4NWSHF.mjs → chunk-H2R4GYNV.mjs} +4 -3
- package/dist/{chunk-2LSZJ2IM.mjs → chunk-HL43SJUP.mjs} +1 -1
- package/dist/{chunk-JM4WXPLC.mjs → chunk-IFELP3LQ.mjs} +1 -1
- package/dist/{chunk-IXSAJRZA.mjs → chunk-JQKYF5NB.mjs} +3 -3
- package/dist/{chunk-O5MHN2EO.mjs → chunk-KM2NR4YA.mjs} +1 -0
- package/dist/{chunk-RPBGROOJ.mjs → chunk-LDCWJXIP.mjs} +1 -1
- package/dist/{chunk-JRJ6U6B2.mjs → chunk-NEUDKUBC.mjs} +1 -1
- package/dist/{chunk-4JFL3SUQ.mjs → chunk-Q7CWMEBZ.mjs} +1 -1
- package/dist/{chunk-QLR4OWHG.mjs → chunk-QS6PIRUE.mjs} +1 -1
- package/dist/{chunk-QRSUQQTZ.mjs → chunk-T7SWLR32.mjs} +2 -2
- package/dist/{chunk-WD332LPF.mjs → chunk-VSMUWHIY.mjs} +1 -1
- package/dist/{chunk-NWOYBZWP.mjs → chunk-Y4PWAEJ5.mjs} +2 -2
- package/dist/{chunk-APL23ACF.mjs → chunk-YRNPRWYG.mjs} +1 -1
- package/dist/{chunk-ETQZ6PRJ.mjs → chunk-Z7VKSY7P.mjs} +3 -3
- package/dist/client.d.ts +2 -0
- package/dist/client.mjs +3 -3
- package/dist/comment.mjs +2 -2
- package/dist/create-document.mjs +2 -2
- package/dist/document-state.mjs +2 -2
- package/dist/editorblock-to-hmblock.mjs +2 -2
- package/dist/hm-resolver.mjs +2 -2
- package/dist/hm-types.d.ts +9 -0
- package/dist/hm-types.mjs +1 -1
- package/dist/hmblock-to-editorblock.mjs +2 -2
- package/dist/index.mjs +16 -16
- package/dist/pdf-to-blocks.mjs +3 -3
- package/dist/prepare-change.d.ts +6 -0
- package/dist/prepare-change.mjs +4 -4
- package/dist/resource-read.mjs +5 -5
- package/dist/schema-engine.mjs +2 -2
- package/dist/schema-registry.generated.mjs +1 -1
- package/dist/schema-resolve.mjs +4 -4
- package/dist/schema-subtypes.mjs +4 -4
- package/dist/schema-types.generated.d.ts +2 -0
- package/dist/signed-blob.mjs +2 -2
- package/dist/tei-to-blocks.mjs +2 -2
- package/dist/unicode.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q7CWMEBZ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
normalizeQuerySort,
|
|
6
6
|
unpackHmId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DGNAMVGH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/blocks-to-markdown.ts
|
|
10
10
|
import { stringify as stringifyYaml } from "yaml";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSeedClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H2R4GYNV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
extractCommentIdFromUrl,
|
|
6
6
|
hmDomainUrlToWebUrl,
|
|
7
7
|
resolveId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q7CWMEBZ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
unpackHmId
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DGNAMVGH.mjs";
|
|
12
12
|
|
|
13
13
|
// src/resource-read.ts
|
|
14
14
|
async function resolveIdWithClient(rawId, options = {}) {
|
package/dist/client.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ export type PublishDocumentInput = {
|
|
|
21
21
|
generation?: number | bigint;
|
|
22
22
|
capability?: string;
|
|
23
23
|
visibility?: number;
|
|
24
|
+
/** Optional human-readable description of the change, like a commit message. */
|
|
25
|
+
message?: string;
|
|
24
26
|
};
|
|
25
27
|
export type SeedClientOptions = {
|
|
26
28
|
fetch?: typeof globalThis.fetch;
|
package/dist/client.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSeedClient,
|
|
3
3
|
deserializeQueryString
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H2R4GYNV.mjs";
|
|
5
5
|
import "./chunk-CBELM7KX.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-KM2NR4YA.mjs";
|
|
7
7
|
import "./chunk-PJ2RFT5A.mjs";
|
|
8
8
|
import "./chunk-LVAHHQIK.mjs";
|
|
9
9
|
import "./chunk-DR3HJ6BV.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
11
11
|
import "./chunk-AHQWDCHV.mjs";
|
|
12
12
|
import "./chunk-7P6ASYW6.mjs";
|
|
13
13
|
export {
|
package/dist/comment.mjs
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
deleteComment,
|
|
5
5
|
trimTrailingEmptyBlocks,
|
|
6
6
|
updateComment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HL43SJUP.mjs";
|
|
8
8
|
import "./chunk-JKKS35IS.mjs";
|
|
9
9
|
import "./chunk-LVAHHQIK.mjs";
|
|
10
10
|
import "./chunk-DR3HJ6BV.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
12
12
|
import "./chunk-AHQWDCHV.mjs";
|
|
13
13
|
import "./chunk-7P6ASYW6.mjs";
|
|
14
14
|
export {
|
package/dist/create-document.mjs
CHANGED
package/dist/document-state.mjs
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
resolveDocumentState,
|
|
7
7
|
resolveEditableDocument,
|
|
8
8
|
sameDocumentVersion
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QS6PIRUE.mjs";
|
|
10
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
11
11
|
import "./chunk-AHQWDCHV.mjs";
|
|
12
12
|
import "./chunk-7P6ASYW6.mjs";
|
|
13
13
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
editorBlockToHMBlock,
|
|
3
3
|
editorBlocksToHMBlockNodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IFELP3LQ.mjs";
|
|
5
5
|
import "./chunk-JKKS35IS.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
7
7
|
import "./chunk-AHQWDCHV.mjs";
|
|
8
8
|
import "./chunk-7P6ASYW6.mjs";
|
|
9
9
|
export {
|
package/dist/hm-resolver.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
hmDomainUrlToWebUrl,
|
|
4
4
|
resolveHypermediaUrl,
|
|
5
5
|
resolveId
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-Q7CWMEBZ.mjs";
|
|
7
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
8
8
|
import "./chunk-AHQWDCHV.mjs";
|
|
9
9
|
import "./chunk-7P6ASYW6.mjs";
|
|
10
10
|
export {
|
package/dist/hm-types.d.ts
CHANGED
|
@@ -6581,6 +6581,7 @@ export declare const HMRawDocumentChangeSchema: z.ZodObject<{
|
|
|
6581
6581
|
author: z.ZodOptional<z.ZodString>;
|
|
6582
6582
|
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6583
6583
|
createTime: z.ZodOptional<z.ZodString>;
|
|
6584
|
+
message: z.ZodOptional<z.ZodString>;
|
|
6584
6585
|
}, z.z.core.$strip>;
|
|
6585
6586
|
export type HMRawDocumentChange = z.infer<typeof HMRawDocumentChangeSchema>;
|
|
6586
6587
|
export declare const HMListChangesOutputSchema: z.ZodObject<{
|
|
@@ -6589,6 +6590,7 @@ export declare const HMListChangesOutputSchema: z.ZodObject<{
|
|
|
6589
6590
|
author: z.ZodOptional<z.ZodString>;
|
|
6590
6591
|
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6591
6592
|
createTime: z.ZodOptional<z.ZodString>;
|
|
6593
|
+
message: z.ZodOptional<z.ZodString>;
|
|
6592
6594
|
}, z.z.core.$strip>>;
|
|
6593
6595
|
latestVersion: z.ZodOptional<z.ZodString>;
|
|
6594
6596
|
}, z.z.core.$strip>;
|
|
@@ -6642,6 +6644,7 @@ export declare const HMListChangesRequestSchema: z.ZodObject<{
|
|
|
6642
6644
|
author: z.ZodOptional<z.ZodString>;
|
|
6643
6645
|
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6644
6646
|
createTime: z.ZodOptional<z.ZodString>;
|
|
6647
|
+
message: z.ZodOptional<z.ZodString>;
|
|
6645
6648
|
}, z.z.core.$strip>>;
|
|
6646
6649
|
latestVersion: z.ZodOptional<z.ZodString>;
|
|
6647
6650
|
}, z.z.core.$strip>;
|
|
@@ -7881,6 +7884,7 @@ export declare const HMPrepareDocumentChangeInputSchema: z.ZodObject<{
|
|
|
7881
7884
|
}, z.z.core.$strip>>;
|
|
7882
7885
|
capability: z.ZodOptional<z.ZodString>;
|
|
7883
7886
|
visibility: z.ZodOptional<z.ZodNumber>;
|
|
7887
|
+
message: z.ZodOptional<z.ZodString>;
|
|
7884
7888
|
}, z.z.core.$strip>;
|
|
7885
7889
|
export type HMPrepareDocumentChangeInput = z.infer<typeof HMPrepareDocumentChangeInputSchema>;
|
|
7886
7890
|
export declare const HMPrepareDocumentChangeOutputSchema: z.ZodObject<{
|
|
@@ -7956,6 +7960,7 @@ export declare const HMPrepareDocumentChangeRequestSchema: z.ZodObject<{
|
|
|
7956
7960
|
}, z.z.core.$strip>>;
|
|
7957
7961
|
capability: z.ZodOptional<z.ZodString>;
|
|
7958
7962
|
visibility: z.ZodOptional<z.ZodNumber>;
|
|
7963
|
+
message: z.ZodOptional<z.ZodString>;
|
|
7959
7964
|
}, z.z.core.$strip>;
|
|
7960
7965
|
output: z.ZodObject<{
|
|
7961
7966
|
unsignedChange: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
@@ -9742,6 +9747,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9742
9747
|
author: z.ZodOptional<z.ZodString>;
|
|
9743
9748
|
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9744
9749
|
createTime: z.ZodOptional<z.ZodString>;
|
|
9750
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9745
9751
|
}, z.z.core.$strip>>;
|
|
9746
9752
|
latestVersion: z.ZodOptional<z.ZodString>;
|
|
9747
9753
|
}, z.z.core.$strip>;
|
|
@@ -10223,6 +10229,7 @@ export declare const HMActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10223
10229
|
}, z.z.core.$strip>>;
|
|
10224
10230
|
capability: z.ZodOptional<z.ZodString>;
|
|
10225
10231
|
visibility: z.ZodOptional<z.ZodNumber>;
|
|
10232
|
+
message: z.ZodOptional<z.ZodString>;
|
|
10226
10233
|
}, z.z.core.$strip>;
|
|
10227
10234
|
output: z.ZodObject<{
|
|
10228
10235
|
unsignedChange: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
@@ -12013,6 +12020,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12013
12020
|
author: z.ZodOptional<z.ZodString>;
|
|
12014
12021
|
deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12015
12022
|
createTime: z.ZodOptional<z.ZodString>;
|
|
12023
|
+
message: z.ZodOptional<z.ZodString>;
|
|
12016
12024
|
}, z.z.core.$strip>>;
|
|
12017
12025
|
latestVersion: z.ZodOptional<z.ZodString>;
|
|
12018
12026
|
}, z.z.core.$strip>;
|
|
@@ -12492,6 +12500,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12492
12500
|
}, z.z.core.$strip>>;
|
|
12493
12501
|
capability: z.ZodOptional<z.ZodString>;
|
|
12494
12502
|
visibility: z.ZodOptional<z.ZodNumber>;
|
|
12503
|
+
message: z.ZodOptional<z.ZodString>;
|
|
12495
12504
|
}, z.z.core.$strip>;
|
|
12496
12505
|
output: z.ZodObject<{
|
|
12497
12506
|
unsignedChange: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
package/dist/hm-types.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
annotationContains,
|
|
3
3
|
hmBlockToEditorBlock,
|
|
4
4
|
hmBlocksToEditorContent
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ETIDW7ZJ.mjs";
|
|
6
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
7
7
|
import "./chunk-AHQWDCHV.mjs";
|
|
8
8
|
import "./chunk-7P6ASYW6.mjs";
|
|
9
9
|
export {
|
package/dist/index.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pdfToBlocks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YRNPRWYG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
teiToBlocks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FU7FIYHI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
embeddedPdfToBlocks
|
|
9
9
|
} from "./chunk-2FJBS3V7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
resolveIdWithClient
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z7VKSY7P.mjs";
|
|
13
13
|
import {
|
|
14
14
|
annotationContains,
|
|
15
15
|
hmBlockToEditorBlock,
|
|
16
16
|
hmBlocksToEditorContent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ETIDW7ZJ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
keyfile_exports
|
|
20
20
|
} from "./chunk-EY6RQVAP.mjs";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
editorBlockToHMBlock,
|
|
38
38
|
editorBlocksToHMBlockNodes
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-IFELP3LQ.mjs";
|
|
40
40
|
import {
|
|
41
41
|
encryption_exports
|
|
42
42
|
} from "./chunk-UOL3F6XQ.mjs";
|
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
} from "./chunk-PPAY4WZX.mjs";
|
|
56
56
|
import {
|
|
57
57
|
createSeedClient
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-H2R4GYNV.mjs";
|
|
59
59
|
import {
|
|
60
60
|
commentRecordIdFromBlob,
|
|
61
61
|
createComment,
|
|
62
62
|
deleteComment,
|
|
63
63
|
trimTrailingEmptyBlocks,
|
|
64
64
|
updateComment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-HL43SJUP.mjs";
|
|
66
66
|
import {
|
|
67
67
|
AnnotationSet,
|
|
68
68
|
addSpanToAnnotation,
|
|
@@ -76,14 +76,14 @@ import {
|
|
|
76
76
|
} from "./chunk-37WRGUK4.mjs";
|
|
77
77
|
import {
|
|
78
78
|
createDocumentBlobs
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-VSMUWHIY.mjs";
|
|
80
80
|
import {
|
|
81
81
|
autoLinkChildToParent,
|
|
82
82
|
createAutoLinkOps,
|
|
83
83
|
documentContainsLinkToChild,
|
|
84
84
|
documentHasSelfQuery,
|
|
85
85
|
shouldAutoLinkParent
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-325UCLMT.mjs";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_MAX_PREPARED_CHANGE_BYTES,
|
|
89
89
|
DEFAULT_PREPARE_TIMEOUT_MS,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
nativeBlockToProtoBlock,
|
|
97
97
|
preparableDocumentChanges,
|
|
98
98
|
prepareDocumentUpdateBlobs
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-6QBB3P3Q.mjs";
|
|
100
100
|
import {
|
|
101
101
|
SeedClientError,
|
|
102
102
|
SeedNetworkError,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
createHomeGenesisChange,
|
|
112
112
|
signDocumentChange,
|
|
113
113
|
signPreparedChange
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-KM2NR4YA.mjs";
|
|
115
115
|
import {
|
|
116
116
|
createRedirectRef,
|
|
117
117
|
createTombstoneRef,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
resolveDocumentState,
|
|
126
126
|
resolveEditableDocument,
|
|
127
127
|
sameDocumentVersion
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-QS6PIRUE.mjs";
|
|
129
129
|
import "./chunk-2MD3FXKB.mjs";
|
|
130
130
|
import {
|
|
131
131
|
computeReplaceOps,
|
|
@@ -144,17 +144,17 @@ import {
|
|
|
144
144
|
emitFrontmatter,
|
|
145
145
|
parseDraftFilename,
|
|
146
146
|
slugify
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-Y4PWAEJ5.mjs";
|
|
148
148
|
import {
|
|
149
149
|
extractCommentIdFromUrl,
|
|
150
150
|
hmDomainUrlToWebUrl,
|
|
151
151
|
resolveHypermediaUrl,
|
|
152
152
|
resolveId
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-Q7CWMEBZ.mjs";
|
|
154
154
|
import {
|
|
155
155
|
createCapability,
|
|
156
156
|
resolveCapability
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-LDCWJXIP.mjs";
|
|
158
158
|
import "./chunk-LVAHHQIK.mjs";
|
|
159
159
|
import "./chunk-GBSWXJGU.mjs";
|
|
160
160
|
import "./chunk-3TPCJCVO.mjs";
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
parseFragment,
|
|
176
176
|
serializeBlockRange,
|
|
177
177
|
unpackHmId
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-DGNAMVGH.mjs";
|
|
179
179
|
import "./chunk-AHQWDCHV.mjs";
|
|
180
180
|
import "./chunk-7P6ASYW6.mjs";
|
|
181
181
|
export {
|
package/dist/pdf-to-blocks.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pdfToBlocks
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YRNPRWYG.mjs";
|
|
4
|
+
import "./chunk-FU7FIYHI.mjs";
|
|
5
5
|
import "./chunk-2FJBS3V7.mjs";
|
|
6
6
|
import "./chunk-PPAY4WZX.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
8
8
|
import "./chunk-AHQWDCHV.mjs";
|
|
9
9
|
import "./chunk-7P6ASYW6.mjs";
|
|
10
10
|
export {
|
package/dist/prepare-change.d.ts
CHANGED
|
@@ -210,6 +210,8 @@ export type PrepareDocumentUpdateInput = {
|
|
|
210
210
|
visibility?: number;
|
|
211
211
|
/** Aborts the request. */
|
|
212
212
|
signal?: AbortSignal;
|
|
213
|
+
/** Optional human-readable description of the change, like a commit message. */
|
|
214
|
+
message?: string;
|
|
213
215
|
};
|
|
214
216
|
/** The outcome of {@link prepareDocumentUpdateBlobs}. */
|
|
215
217
|
export type PrepareDocumentUpdateResult = {
|
|
@@ -270,6 +272,8 @@ export type ClientBuiltDocumentUpdateInput = {
|
|
|
270
272
|
visibility?: number;
|
|
271
273
|
/** This machine's clock in milliseconds. Defaults to `Date.now`. */
|
|
272
274
|
now?: () => number;
|
|
275
|
+
/** Optional human-readable description of the change, like a commit message. */
|
|
276
|
+
message?: string;
|
|
273
277
|
};
|
|
274
278
|
/**
|
|
275
279
|
* Builds the blobs for the next version of an existing document without the daemon: the Change
|
|
@@ -346,6 +350,8 @@ export type DocumentUpdateBlobsInput = {
|
|
|
346
350
|
prepareTimeoutMs?: number;
|
|
347
351
|
/** The largest prepared Change to sign. Defaults to {@link DEFAULT_MAX_PREPARED_CHANGE_BYTES}. */
|
|
348
352
|
maxPreparedChangeBytes?: number;
|
|
353
|
+
/** Optional human-readable description of the change, like a commit message. */
|
|
354
|
+
message?: string;
|
|
349
355
|
};
|
|
350
356
|
/** The outcome of {@link documentUpdateBlobs}. */
|
|
351
357
|
export type DocumentUpdateBlobsResult = (Extract<PrepareDocumentUpdateResult, {
|
package/dist/prepare-change.mjs
CHANGED
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
nativeBlockToProtoBlock,
|
|
11
11
|
preparableDocumentChanges,
|
|
12
12
|
prepareDocumentUpdateBlobs
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6QBB3P3Q.mjs";
|
|
14
14
|
import "./chunk-CBELM7KX.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KM2NR4YA.mjs";
|
|
16
16
|
import "./chunk-PJ2RFT5A.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-QS6PIRUE.mjs";
|
|
18
18
|
import "./chunk-LVAHHQIK.mjs";
|
|
19
19
|
import "./chunk-DR3HJ6BV.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
21
21
|
import "./chunk-AHQWDCHV.mjs";
|
|
22
22
|
import "./chunk-7P6ASYW6.mjs";
|
|
23
23
|
export {
|
package/dist/resource-read.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveIdWithClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Z7VKSY7P.mjs";
|
|
4
|
+
import "./chunk-H2R4GYNV.mjs";
|
|
5
5
|
import "./chunk-CBELM7KX.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-KM2NR4YA.mjs";
|
|
7
7
|
import "./chunk-PJ2RFT5A.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-Q7CWMEBZ.mjs";
|
|
9
9
|
import "./chunk-LVAHHQIK.mjs";
|
|
10
10
|
import "./chunk-DR3HJ6BV.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
12
12
|
import "./chunk-AHQWDCHV.mjs";
|
|
13
13
|
import "./chunk-7P6ASYW6.mjs";
|
|
14
14
|
export {
|
package/dist/schema-engine.mjs
CHANGED
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
typeOf,
|
|
36
36
|
validate,
|
|
37
37
|
validateAdvisory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NEUDKUBC.mjs";
|
|
39
39
|
import {
|
|
40
40
|
HM_SCHEMAS,
|
|
41
41
|
HM_SCHEMA_MANIFEST
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-T7SWLR32.mjs";
|
|
43
43
|
import "./chunk-7P6ASYW6.mjs";
|
|
44
44
|
export {
|
|
45
45
|
HM_SCHEMAS,
|
package/dist/schema-resolve.mjs
CHANGED
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
resolveSchemaRef,
|
|
18
18
|
schemaDefinitionCid,
|
|
19
19
|
withoutSchemaLink
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-JQKYF5NB.mjs";
|
|
21
|
+
import "./chunk-NEUDKUBC.mjs";
|
|
22
|
+
import "./chunk-T7SWLR32.mjs";
|
|
23
23
|
import "./chunk-VWSAFDOL.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-DGNAMVGH.mjs";
|
|
25
25
|
import "./chunk-AHQWDCHV.mjs";
|
|
26
26
|
import "./chunk-7P6ASYW6.mjs";
|
|
27
27
|
export {
|
package/dist/schema-subtypes.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyRef
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JQKYF5NB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
kindOf,
|
|
6
6
|
nameForCid,
|
|
7
7
|
nameToUrl,
|
|
8
8
|
schemaCid
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NEUDKUBC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
HM_SCHEMAS
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T7SWLR32.mjs";
|
|
13
13
|
import "./chunk-VWSAFDOL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
unpackHmId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DGNAMVGH.mjs";
|
|
17
17
|
import "./chunk-AHQWDCHV.mjs";
|
|
18
18
|
import "./chunk-7P6ASYW6.mjs";
|
|
19
19
|
|
|
@@ -545,6 +545,8 @@ export type HMChange<Block = HMBlock> = HMBlob & {
|
|
|
545
545
|
depth?: number;
|
|
546
546
|
/** The operations this Change applies to the document's content and metadata. */
|
|
547
547
|
body?: HMChangeBody<Block>;
|
|
548
|
+
/** Optional human-readable description of the Change, like a commit message; omitted when empty. */
|
|
549
|
+
message?: string;
|
|
548
550
|
};
|
|
549
551
|
/**
|
|
550
552
|
* Change Body
|
package/dist/signed-blob.mjs
CHANGED
package/dist/tei-to-blocks.mjs
CHANGED
package/dist/unicode.mjs
CHANGED