@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.
Files changed (39) hide show
  1. package/dist/auto-link.mjs +3 -3
  2. package/dist/blocks-to-markdown.mjs +3 -3
  3. package/dist/capability.mjs +2 -2
  4. package/dist/{chunk-X6SZZ5HV.mjs → chunk-24T2PNWV.mjs} +1 -1
  5. package/dist/{chunk-ASEEN3OZ.mjs → chunk-24TTS3ME.mjs} +2 -2
  6. package/dist/{chunk-7IKOUDLO.mjs → chunk-3DKBM2GC.mjs} +1 -1
  7. package/dist/{chunk-5LHO2KV6.mjs → chunk-3ZHRLKFZ.mjs} +1 -1
  8. package/dist/{chunk-53V3XTMB.mjs → chunk-4M5R2VFY.mjs} +3 -3
  9. package/dist/{chunk-HSDV6WEU.mjs → chunk-6RZWE7TK.mjs} +2 -2
  10. package/dist/{chunk-DOQ6BCKU.mjs → chunk-HNNTGZHW.mjs} +2 -2
  11. package/dist/{chunk-SJLLXOSE.mjs → chunk-HXLXTWF3.mjs} +1 -1
  12. package/dist/{chunk-YVM3WBZH.mjs → chunk-JF67NGZ3.mjs} +1 -1
  13. package/dist/{chunk-25Q3F35L.mjs → chunk-JKEM44N2.mjs} +1 -1
  14. package/dist/{chunk-LOAGYTC2.mjs → chunk-JKSJEGHK.mjs} +1 -1
  15. package/dist/{chunk-EBP7SWTZ.mjs → chunk-MM6UBHZ3.mjs} +6 -0
  16. package/dist/{chunk-EKRKNALC.mjs → chunk-RY2LVH3Z.mjs} +3 -3
  17. package/dist/{chunk-PJI7DMX3.mjs → chunk-RZD7WFAP.mjs} +1 -1
  18. package/dist/{chunk-M2LRSKSU.mjs → chunk-SBSEYR26.mjs} +1 -1
  19. package/dist/{chunk-MZMGRUTQ.mjs → chunk-TSK67IPM.mjs} +1 -1
  20. package/dist/client.mjs +2 -2
  21. package/dist/comment.mjs +2 -2
  22. package/dist/document-state.mjs +2 -2
  23. package/dist/editorblock-to-hmblock.mjs +2 -2
  24. package/dist/hm-resolver.mjs +2 -2
  25. package/dist/hm-types.d.ts +198 -0
  26. package/dist/hm-types.mjs +1 -1
  27. package/dist/hmblock-to-editorblock.mjs +2 -2
  28. package/dist/index.mjs +13 -13
  29. package/dist/pdf-to-blocks.mjs +3 -3
  30. package/dist/resource-read.mjs +4 -4
  31. package/dist/schema-engine.mjs +2 -2
  32. package/dist/schema-registry.generated.mjs +1 -1
  33. package/dist/schema-resolve.mjs +4 -4
  34. package/dist/schema-subtypes.mjs +4 -4
  35. package/dist/schema-types.generated.d.ts +6 -0
  36. package/dist/signed-blob.mjs +2 -2
  37. package/dist/tei-to-blocks.mjs +2 -2
  38. package/dist/unicode.mjs +1 -1
  39. package/package.json +1 -1
package/dist/hm-types.mjs CHANGED
@@ -215,7 +215,7 @@ import {
215
215
  toNumber,
216
216
  unpackHmId,
217
217
  unpackedHmIdSchema
218
- } from "./chunk-EBP7SWTZ.mjs";
218
+ } from "./chunk-MM6UBHZ3.mjs";
219
219
  import "./chunk-AHQWDCHV.mjs";
220
220
  import "./chunk-7P6ASYW6.mjs";
221
221
  export {
@@ -2,8 +2,8 @@ import {
2
2
  annotationContains,
3
3
  hmBlockToEditorBlock,
4
4
  hmBlocksToEditorContent
5
- } from "./chunk-PJI7DMX3.mjs";
6
- import "./chunk-EBP7SWTZ.mjs";
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-X6SZZ5HV.mjs";
3
+ } from "./chunk-24T2PNWV.mjs";
4
4
  import {
5
5
  teiToBlocks
6
- } from "./chunk-7IKOUDLO.mjs";
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-EKRKNALC.mjs";
12
+ } from "./chunk-RY2LVH3Z.mjs";
13
13
  import {
14
14
  annotationContains,
15
15
  hmBlockToEditorBlock,
16
16
  hmBlocksToEditorContent
17
- } from "./chunk-PJI7DMX3.mjs";
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-SJLLXOSE.mjs";
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-M2LRSKSU.mjs";
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-LOAGYTC2.mjs";
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-DOQ6BCKU.mjs";
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-25Q3F35L.mjs";
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-ASEEN3OZ.mjs";
132
+ } from "./chunk-24TTS3ME.mjs";
133
133
  import {
134
134
  extractCommentIdFromUrl,
135
135
  hmDomainUrlToWebUrl,
136
136
  resolveHypermediaUrl,
137
137
  resolveId
138
- } from "./chunk-5LHO2KV6.mjs";
138
+ } from "./chunk-3ZHRLKFZ.mjs";
139
139
  import {
140
140
  createCapability,
141
141
  resolveCapability
142
- } from "./chunk-YVM3WBZH.mjs";
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-EBP7SWTZ.mjs";
162
+ } from "./chunk-MM6UBHZ3.mjs";
163
163
  import "./chunk-AHQWDCHV.mjs";
164
164
  import "./chunk-3TPCJCVO.mjs";
165
165
  import "./chunk-7P6ASYW6.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pdfToBlocks
3
- } from "./chunk-X6SZZ5HV.mjs";
4
- import "./chunk-7IKOUDLO.mjs";
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-EBP7SWTZ.mjs";
7
+ import "./chunk-MM6UBHZ3.mjs";
8
8
  import "./chunk-AHQWDCHV.mjs";
9
9
  import "./chunk-7P6ASYW6.mjs";
10
10
  export {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  resolveIdWithClient
3
- } from "./chunk-EKRKNALC.mjs";
4
- import "./chunk-M2LRSKSU.mjs";
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-5LHO2KV6.mjs";
8
+ import "./chunk-3ZHRLKFZ.mjs";
9
9
  import "./chunk-LVAHHQIK.mjs";
10
10
  import "./chunk-DR3HJ6BV.mjs";
11
- import "./chunk-EBP7SWTZ.mjs";
11
+ import "./chunk-MM6UBHZ3.mjs";
12
12
  import "./chunk-AHQWDCHV.mjs";
13
13
  import "./chunk-7P6ASYW6.mjs";
14
14
  export {
@@ -35,11 +35,11 @@ import {
35
35
  typeOf,
36
36
  validate,
37
37
  validateAdvisory
38
- } from "./chunk-MZMGRUTQ.mjs";
38
+ } from "./chunk-TSK67IPM.mjs";
39
39
  import {
40
40
  HM_SCHEMAS,
41
41
  HM_SCHEMA_MANIFEST
42
- } from "./chunk-HSDV6WEU.mjs";
42
+ } from "./chunk-6RZWE7TK.mjs";
43
43
  import "./chunk-7P6ASYW6.mjs";
44
44
  export {
45
45
  HM_SCHEMAS,
@@ -2,7 +2,7 @@ import {
2
2
  HM_SCHEMAS,
3
3
  HM_SCHEMA_MANIFEST,
4
4
  HM_SCHEMA_PAGES
5
- } from "./chunk-HSDV6WEU.mjs";
5
+ } from "./chunk-6RZWE7TK.mjs";
6
6
  import "./chunk-7P6ASYW6.mjs";
7
7
  export {
8
8
  HM_SCHEMAS,
@@ -17,11 +17,11 @@ import {
17
17
  resolveSchemaRef,
18
18
  schemaDefinitionCid,
19
19
  withoutSchemaLink
20
- } from "./chunk-53V3XTMB.mjs";
21
- import "./chunk-MZMGRUTQ.mjs";
22
- import "./chunk-HSDV6WEU.mjs";
20
+ } from "./chunk-4M5R2VFY.mjs";
21
+ import "./chunk-TSK67IPM.mjs";
22
+ import "./chunk-6RZWE7TK.mjs";
23
23
  import "./chunk-VWSAFDOL.mjs";
24
- import "./chunk-EBP7SWTZ.mjs";
24
+ import "./chunk-MM6UBHZ3.mjs";
25
25
  import "./chunk-AHQWDCHV.mjs";
26
26
  import "./chunk-7P6ASYW6.mjs";
27
27
  export {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  classifyRef
3
- } from "./chunk-53V3XTMB.mjs";
3
+ } from "./chunk-4M5R2VFY.mjs";
4
4
  import {
5
5
  kindOf,
6
6
  nameForCid,
7
7
  nameToUrl,
8
8
  schemaCid
9
- } from "./chunk-MZMGRUTQ.mjs";
9
+ } from "./chunk-TSK67IPM.mjs";
10
10
  import {
11
11
  HM_SCHEMAS
12
- } from "./chunk-HSDV6WEU.mjs";
12
+ } from "./chunk-6RZWE7TK.mjs";
13
13
  import "./chunk-VWSAFDOL.mjs";
14
14
  import {
15
15
  unpackHmId
16
- } from "./chunk-EBP7SWTZ.mjs";
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. */
@@ -5,8 +5,8 @@ import {
5
5
  literalValue,
6
6
  resolveSchema,
7
7
  structFields
8
- } from "./chunk-MZMGRUTQ.mjs";
9
- import "./chunk-HSDV6WEU.mjs";
8
+ } from "./chunk-TSK67IPM.mjs";
9
+ import "./chunk-6RZWE7TK.mjs";
10
10
  import {
11
11
  dagJsonToIpld,
12
12
  findSeedIndexerCollision
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  teiToBlocks
3
- } from "./chunk-7IKOUDLO.mjs";
4
- import "./chunk-EBP7SWTZ.mjs";
3
+ } from "./chunk-3DKBM2GC.mjs";
4
+ import "./chunk-MM6UBHZ3.mjs";
5
5
  import "./chunk-AHQWDCHV.mjs";
6
6
  import "./chunk-7P6ASYW6.mjs";
7
7
  export {
package/dist/unicode.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  codePointLength,
9
9
  isSurrogate
10
- } from "./chunk-EBP7SWTZ.mjs";
10
+ } from "./chunk-MM6UBHZ3.mjs";
11
11
  import "./chunk-AHQWDCHV.mjs";
12
12
  import "./chunk-7P6ASYW6.mjs";
13
13
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",