@seed-hypermedia/client 0.0.117 → 0.0.118
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/auto-link.mjs +3 -3
- package/dist/blocks-to-markdown.mjs +3 -3
- package/dist/capability.mjs +2 -2
- package/dist/{chunk-X6SZZ5HV.mjs → chunk-24T2PNWV.mjs} +1 -1
- package/dist/{chunk-ASEEN3OZ.mjs → chunk-24TTS3ME.mjs} +2 -2
- package/dist/{chunk-7IKOUDLO.mjs → chunk-3DKBM2GC.mjs} +1 -1
- package/dist/{chunk-5LHO2KV6.mjs → chunk-3ZHRLKFZ.mjs} +1 -1
- package/dist/{chunk-53V3XTMB.mjs → chunk-4M5R2VFY.mjs} +3 -3
- package/dist/{chunk-HSDV6WEU.mjs → chunk-6RZWE7TK.mjs} +2 -2
- package/dist/{chunk-DOQ6BCKU.mjs → chunk-HNNTGZHW.mjs} +2 -2
- package/dist/{chunk-SJLLXOSE.mjs → chunk-HXLXTWF3.mjs} +1 -1
- package/dist/{chunk-YVM3WBZH.mjs → chunk-JF67NGZ3.mjs} +1 -1
- package/dist/{chunk-25Q3F35L.mjs → chunk-JKEM44N2.mjs} +1 -1
- package/dist/{chunk-LOAGYTC2.mjs → chunk-JKSJEGHK.mjs} +1 -1
- package/dist/{chunk-EBP7SWTZ.mjs → chunk-MM6UBHZ3.mjs} +6 -0
- package/dist/{chunk-EKRKNALC.mjs → chunk-RY2LVH3Z.mjs} +3 -3
- package/dist/{chunk-PJI7DMX3.mjs → chunk-RZD7WFAP.mjs} +1 -1
- package/dist/{chunk-M2LRSKSU.mjs → chunk-SBSEYR26.mjs} +1 -1
- package/dist/{chunk-MZMGRUTQ.mjs → chunk-TSK67IPM.mjs} +1 -1
- package/dist/client.mjs +2 -2
- package/dist/comment.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 +198 -0
- package/dist/hm-types.mjs +1 -1
- package/dist/hmblock-to-editorblock.mjs +2 -2
- package/dist/index.mjs +13 -13
- package/dist/pdf-to-blocks.mjs +3 -3
- package/dist/resource-read.mjs +4 -4
- 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 +6 -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
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-RZD7WFAP.mjs";
|
|
6
|
+
import "./chunk-MM6UBHZ3.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-24T2PNWV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
teiToBlocks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3DKBM2GC.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-RY2LVH3Z.mjs";
|
|
13
13
|
import {
|
|
14
14
|
annotationContains,
|
|
15
15
|
hmBlockToEditorBlock,
|
|
16
16
|
hmBlocksToEditorContent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RZD7WFAP.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-HXLXTWF3.mjs";
|
|
40
40
|
import {
|
|
41
41
|
encryption_exports
|
|
42
42
|
} from "./chunk-UOL3F6XQ.mjs";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-PPAY4WZX.mjs";
|
|
56
56
|
import {
|
|
57
57
|
createSeedClient
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-SBSEYR26.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SeedClientError,
|
|
61
61
|
SeedNetworkError,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
deleteComment,
|
|
68
68
|
trimTrailingEmptyBlocks,
|
|
69
69
|
updateComment
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-JKSJEGHK.mjs";
|
|
71
71
|
import {
|
|
72
72
|
AnnotationSet,
|
|
73
73
|
addSpanToAnnotation,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
documentContainsLinkToChild,
|
|
89
89
|
documentHasSelfQuery,
|
|
90
90
|
shouldAutoLinkParent
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-HNNTGZHW.mjs";
|
|
92
92
|
import {
|
|
93
93
|
createChange,
|
|
94
94
|
createChangeOps,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
followToDocument,
|
|
111
111
|
resolveDocumentState,
|
|
112
112
|
resolveEditableDocument
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-JKEM44N2.mjs";
|
|
114
114
|
import "./chunk-2MD3FXKB.mjs";
|
|
115
115
|
import {
|
|
116
116
|
computeReplaceOps,
|
|
@@ -129,17 +129,17 @@ import {
|
|
|
129
129
|
emitFrontmatter,
|
|
130
130
|
parseDraftFilename,
|
|
131
131
|
slugify
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-24TTS3ME.mjs";
|
|
133
133
|
import {
|
|
134
134
|
extractCommentIdFromUrl,
|
|
135
135
|
hmDomainUrlToWebUrl,
|
|
136
136
|
resolveHypermediaUrl,
|
|
137
137
|
resolveId
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-3ZHRLKFZ.mjs";
|
|
139
139
|
import {
|
|
140
140
|
createCapability,
|
|
141
141
|
resolveCapability
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-JF67NGZ3.mjs";
|
|
143
143
|
import "./chunk-LVAHHQIK.mjs";
|
|
144
144
|
import "./chunk-NBCHK76Q.mjs";
|
|
145
145
|
import {
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
parseFragment,
|
|
160
160
|
serializeBlockRange,
|
|
161
161
|
unpackHmId
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-MM6UBHZ3.mjs";
|
|
163
163
|
import "./chunk-AHQWDCHV.mjs";
|
|
164
164
|
import "./chunk-3TPCJCVO.mjs";
|
|
165
165
|
import "./chunk-7P6ASYW6.mjs";
|
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-24T2PNWV.mjs";
|
|
4
|
+
import "./chunk-3DKBM2GC.mjs";
|
|
5
5
|
import "./chunk-2FJBS3V7.mjs";
|
|
6
6
|
import "./chunk-PPAY4WZX.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MM6UBHZ3.mjs";
|
|
8
8
|
import "./chunk-AHQWDCHV.mjs";
|
|
9
9
|
import "./chunk-7P6ASYW6.mjs";
|
|
10
10
|
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-RY2LVH3Z.mjs";
|
|
4
|
+
import "./chunk-SBSEYR26.mjs";
|
|
5
5
|
import "./chunk-CBELM7KX.mjs";
|
|
6
6
|
import "./chunk-O5MHN2EO.mjs";
|
|
7
7
|
import "./chunk-PJ2RFT5A.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-3ZHRLKFZ.mjs";
|
|
9
9
|
import "./chunk-LVAHHQIK.mjs";
|
|
10
10
|
import "./chunk-DR3HJ6BV.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MM6UBHZ3.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-TSK67IPM.mjs";
|
|
39
39
|
import {
|
|
40
40
|
HM_SCHEMAS,
|
|
41
41
|
HM_SCHEMA_MANIFEST
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6RZWE7TK.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-4M5R2VFY.mjs";
|
|
21
|
+
import "./chunk-TSK67IPM.mjs";
|
|
22
|
+
import "./chunk-6RZWE7TK.mjs";
|
|
23
23
|
import "./chunk-VWSAFDOL.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-MM6UBHZ3.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-4M5R2VFY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
kindOf,
|
|
6
6
|
nameForCid,
|
|
7
7
|
nameToUrl,
|
|
8
8
|
schemaCid
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TSK67IPM.mjs";
|
|
10
10
|
import {
|
|
11
11
|
HM_SCHEMAS
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6RZWE7TK.mjs";
|
|
13
13
|
import "./chunk-VWSAFDOL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
unpackHmId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MM6UBHZ3.mjs";
|
|
17
17
|
import "./chunk-AHQWDCHV.mjs";
|
|
18
18
|
import "./chunk-7P6ASYW6.mjs";
|
|
19
19
|
|
|
@@ -1217,6 +1217,12 @@ export type HMMetadata = {
|
|
|
1217
1217
|
showOutline?: boolean;
|
|
1218
1218
|
/** Whether to show the document's activity and tools. */
|
|
1219
1219
|
showActivity?: boolean;
|
|
1220
|
+
/** Whether readers may start and join conversations on the space's documents. Set on a space home document; absent means they may. */
|
|
1221
|
+
showConversations?: boolean;
|
|
1222
|
+
/** Whether the sidebar with the space's document browser starts open when readers arrive; when false it starts collapsed and readers can still open it. Set on a space home document; absent means it starts open. */
|
|
1223
|
+
showDocumentBrowser?: boolean;
|
|
1224
|
+
/** Whether collections offer readers search, filter, sort and view controls. Set on a space home document; absent means they do. */
|
|
1225
|
+
showCollectionControls?: boolean;
|
|
1220
1226
|
/** Width of the content column: `S`, `M` or `L`. */
|
|
1221
1227
|
contentWidth?: 'S' | 'M' | 'L';
|
|
1222
1228
|
/** Layout of the document's root-level blocks, a block children type. */
|
package/dist/signed-blob.mjs
CHANGED
package/dist/tei-to-blocks.mjs
CHANGED
package/dist/unicode.mjs
CHANGED