@seed-hypermedia/client 0.0.101 → 0.0.102
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 +2 -2
- package/dist/capability.mjs +2 -2
- package/dist/{chunk-KUCHTHLG.mjs → chunk-4MZHSZFQ.mjs} +7 -5
- package/dist/{chunk-QRXNROVO.mjs → chunk-DQR4RPYC.mjs} +5 -1
- package/dist/{chunk-GCBKFXKL.mjs → chunk-EZ5DM5TI.mjs} +1 -1
- package/dist/{chunk-PO3UBPBJ.mjs → chunk-G6AYTCLG.mjs} +1 -1
- package/dist/{chunk-7DXNZGR5.mjs → chunk-GIKXPGFZ.mjs} +1 -1
- package/dist/{chunk-OAIUNL5V.mjs → chunk-KDI4WJKM.mjs} +1 -1
- package/dist/{chunk-5ECP2AA6.mjs → chunk-MHICVQJI.mjs} +3 -3
- package/dist/{chunk-GJ3L3MYM.mjs → chunk-NSNLRZ3X.mjs} +1 -1
- package/dist/{chunk-VPEN5FUU.mjs → chunk-S4XBFD3S.mjs} +1 -1
- package/dist/{chunk-RBX7IGCN.mjs → chunk-SKIKB2TP.mjs} +29 -1
- package/dist/{chunk-TQLNIME2.mjs → chunk-TLOQU4IT.mjs} +2 -2
- package/dist/{chunk-YLWLQUUZ.mjs → chunk-UPYQNWW5.mjs} +4 -1
- package/dist/{chunk-TJFFZMRI.mjs → chunk-V5XCZMPG.mjs} +1 -1
- package/dist/{chunk-AVFMKA27.mjs → chunk-Z5BSKGOF.mjs} +1 -1
- package/dist/client.mjs +2 -2
- package/dist/comment.mjs +2 -2
- package/dist/document-state.mjs +2 -2
- package/dist/editor-types.d.ts +1 -0
- package/dist/editorblock-to-hmblock.mjs +2 -2
- package/dist/hm-resolver.mjs +2 -2
- package/dist/hm-types.d.ts +293 -0
- package/dist/hm-types.mjs +7 -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-resolve.mjs +2 -2
- package/dist/schema-subtypes.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
|
@@ -148,6 +148,7 @@ import {
|
|
|
148
148
|
HMQueryDocumentsInputSchema,
|
|
149
149
|
HMQueryDocumentsOutputSchema,
|
|
150
150
|
HMQueryDocumentsRequestSchema,
|
|
151
|
+
HMQueryFilterSchema,
|
|
151
152
|
HMQueryInclusionSchema,
|
|
152
153
|
HMQueryRequestSchema,
|
|
153
154
|
HMQueryResultSchema,
|
|
@@ -196,6 +197,7 @@ import {
|
|
|
196
197
|
countCustomMetadataFields,
|
|
197
198
|
entityQueryPathToHmIdPath,
|
|
198
199
|
getHMQueryString,
|
|
200
|
+
getSupportedHMQueryFilters,
|
|
199
201
|
hmIdPathToEntityQueryPath,
|
|
200
202
|
hmMetadataJsonCorrection,
|
|
201
203
|
isKnownBlockType,
|
|
@@ -207,12 +209,13 @@ import {
|
|
|
207
209
|
packHmId,
|
|
208
210
|
parseCustomURL,
|
|
209
211
|
parseFragment,
|
|
212
|
+
parseHMQueryFiltersJSON,
|
|
210
213
|
serializeBlockRange,
|
|
211
214
|
siteDiscoverRequestSchema,
|
|
212
215
|
toNumber,
|
|
213
216
|
unpackHmId,
|
|
214
217
|
unpackedHmIdSchema
|
|
215
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-SKIKB2TP.mjs";
|
|
216
219
|
import "./chunk-7P6ASYW6.mjs";
|
|
217
220
|
export {
|
|
218
221
|
BUILTIN_METADATA_KEYS,
|
|
@@ -364,6 +367,7 @@ export {
|
|
|
364
367
|
HMQueryDocumentsInputSchema,
|
|
365
368
|
HMQueryDocumentsOutputSchema,
|
|
366
369
|
HMQueryDocumentsRequestSchema,
|
|
370
|
+
HMQueryFilterSchema,
|
|
367
371
|
HMQueryInclusionSchema,
|
|
368
372
|
HMQueryRequestSchema,
|
|
369
373
|
HMQueryResultSchema,
|
|
@@ -412,6 +416,7 @@ export {
|
|
|
412
416
|
countCustomMetadataFields,
|
|
413
417
|
entityQueryPathToHmIdPath,
|
|
414
418
|
getHMQueryString,
|
|
419
|
+
getSupportedHMQueryFilters,
|
|
415
420
|
hmIdPathToEntityQueryPath,
|
|
416
421
|
hmMetadataJsonCorrection,
|
|
417
422
|
isKnownBlockType,
|
|
@@ -423,6 +428,7 @@ export {
|
|
|
423
428
|
packHmId,
|
|
424
429
|
parseCustomURL,
|
|
425
430
|
parseFragment,
|
|
431
|
+
parseHMQueryFiltersJSON,
|
|
426
432
|
serializeBlockRange,
|
|
427
433
|
siteDiscoverRequestSchema,
|
|
428
434
|
toNumber,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
annotationContains,
|
|
3
3
|
hmBlockToEditorBlock,
|
|
4
4
|
hmBlocksToEditorContent
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-4MZHSZFQ.mjs";
|
|
6
|
+
import "./chunk-SKIKB2TP.mjs";
|
|
7
7
|
import "./chunk-7P6ASYW6.mjs";
|
|
8
8
|
export {
|
|
9
9
|
annotationContains,
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveIdWithClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MHICVQJI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
annotationContains,
|
|
6
6
|
hmBlockToEditorBlock,
|
|
7
7
|
hmBlocksToEditorContent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4MZHSZFQ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
keyfile_exports
|
|
11
11
|
} from "./chunk-EY6RQVAP.mjs";
|
|
@@ -19,17 +19,17 @@ import {
|
|
|
19
19
|
} from "./chunk-K5NYTWBJ.mjs";
|
|
20
20
|
import {
|
|
21
21
|
pdfToBlocks
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NSNLRZ3X.mjs";
|
|
23
23
|
import {
|
|
24
24
|
teiToBlocks
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GIKXPGFZ.mjs";
|
|
26
26
|
import {
|
|
27
27
|
embeddedPdfToBlocks
|
|
28
28
|
} from "./chunk-2FJBS3V7.mjs";
|
|
29
29
|
import {
|
|
30
30
|
editorBlockToHMBlock,
|
|
31
31
|
editorBlocksToHMBlockNodes
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DQR4RPYC.mjs";
|
|
33
33
|
import {
|
|
34
34
|
encryption_exports
|
|
35
35
|
} from "./chunk-UOL3F6XQ.mjs";
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
resolveHypermediaUrl,
|
|
49
49
|
resolveId
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-V5XCZMPG.mjs";
|
|
51
51
|
import {
|
|
52
52
|
createSeedClient
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-G6AYTCLG.mjs";
|
|
54
54
|
import {
|
|
55
55
|
SeedClientError,
|
|
56
56
|
SeedNetworkError,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
deleteComment,
|
|
63
63
|
trimTrailingEmptyBlocks,
|
|
64
64
|
updateComment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-EZ5DM5TI.mjs";
|
|
66
66
|
import {
|
|
67
67
|
AnnotationSet,
|
|
68
68
|
addSpanToAnnotation,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
documentContainsLinkToChild,
|
|
84
84
|
documentHasSelfQuery,
|
|
85
85
|
shouldAutoLinkParent
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-TLOQU4IT.mjs";
|
|
87
87
|
import {
|
|
88
88
|
createChange,
|
|
89
89
|
createChangeOps,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
followToDocument,
|
|
106
106
|
resolveDocumentState,
|
|
107
107
|
resolveEditableDocument
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-Z5BSKGOF.mjs";
|
|
109
109
|
import "./chunk-2MD3FXKB.mjs";
|
|
110
110
|
import {
|
|
111
111
|
computeReplaceOps,
|
|
@@ -124,11 +124,11 @@ import {
|
|
|
124
124
|
emitFrontmatter,
|
|
125
125
|
parseDraftFilename,
|
|
126
126
|
slugify
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-UPYQNWW5.mjs";
|
|
128
128
|
import {
|
|
129
129
|
createCapability,
|
|
130
130
|
resolveCapability
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-KDI4WJKM.mjs";
|
|
132
132
|
import "./chunk-LVAHHQIK.mjs";
|
|
133
133
|
import "./chunk-NBCHK76Q.mjs";
|
|
134
134
|
import {
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
parseFragment,
|
|
149
149
|
serializeBlockRange,
|
|
150
150
|
unpackHmId
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-SKIKB2TP.mjs";
|
|
152
152
|
import "./chunk-3TPCJCVO.mjs";
|
|
153
153
|
import "./chunk-7P6ASYW6.mjs";
|
|
154
154
|
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-NSNLRZ3X.mjs";
|
|
4
|
+
import "./chunk-GIKXPGFZ.mjs";
|
|
5
5
|
import "./chunk-2FJBS3V7.mjs";
|
|
6
6
|
import "./chunk-PPAY4WZX.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-SKIKB2TP.mjs";
|
|
8
8
|
import "./chunk-7P6ASYW6.mjs";
|
|
9
9
|
export {
|
|
10
10
|
pdfToBlocks
|
package/dist/resource-read.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveIdWithClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-MHICVQJI.mjs";
|
|
4
|
+
import "./chunk-V5XCZMPG.mjs";
|
|
5
|
+
import "./chunk-G6AYTCLG.mjs";
|
|
6
6
|
import "./chunk-CBELM7KX.mjs";
|
|
7
7
|
import "./chunk-O5MHN2EO.mjs";
|
|
8
8
|
import "./chunk-PJ2RFT5A.mjs";
|
|
9
9
|
import "./chunk-LVAHHQIK.mjs";
|
|
10
10
|
import "./chunk-DR3HJ6BV.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-SKIKB2TP.mjs";
|
|
12
12
|
import "./chunk-7P6ASYW6.mjs";
|
|
13
13
|
export {
|
|
14
14
|
resolveIdWithClient
|
package/dist/schema-resolve.mjs
CHANGED
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
resolveSchemaRef,
|
|
18
18
|
schemaDefinitionCid,
|
|
19
19
|
withoutSchemaLink
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S4XBFD3S.mjs";
|
|
21
21
|
import "./chunk-FFH7G6KW.mjs";
|
|
22
22
|
import "./chunk-ZWKMAGDU.mjs";
|
|
23
23
|
import "./chunk-VWSAFDOL.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-SKIKB2TP.mjs";
|
|
25
25
|
import "./chunk-7P6ASYW6.mjs";
|
|
26
26
|
export {
|
|
27
27
|
bareCid,
|
package/dist/schema-subtypes.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyRef
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S4XBFD3S.mjs";
|
|
4
4
|
import {
|
|
5
5
|
kindOf,
|
|
6
6
|
nameForCid,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import "./chunk-VWSAFDOL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
unpackHmId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SKIKB2TP.mjs";
|
|
17
17
|
import "./chunk-7P6ASYW6.mjs";
|
|
18
18
|
|
|
19
19
|
// src/schema-subtypes.ts
|
package/dist/tei-to-blocks.mjs
CHANGED
package/dist/unicode.mjs
CHANGED