@seed-hypermedia/client 0.0.135 → 0.0.136
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 +6 -6
- package/dist/auto-link.mjs +4 -4
- package/dist/block-diff.mjs +4 -4
- package/dist/blocks-to-markdown.mjs +3 -3
- package/dist/capability.mjs +2 -2
- package/dist/{chunk-QFIEZZYJ.mjs → chunk-4CLAG2ZO.mjs} +2 -2
- package/dist/{chunk-U5K6COJT.mjs → chunk-5CYFQIM3.mjs} +2 -2
- package/dist/{chunk-QS6PIRUE.mjs → chunk-5DRX6MJ6.mjs} +1 -1
- package/dist/{chunk-H2R4GYNV.mjs → chunk-6HOMACAF.mjs} +1 -1
- package/dist/{chunk-FU7FIYHI.mjs → chunk-7SM52PZ4.mjs} +1 -1
- package/dist/{chunk-KAZNQFXV.mjs → chunk-BIUZ2PNE.mjs} +1 -1
- package/dist/{chunk-YRNPRWYG.mjs → chunk-FQNFKGLA.mjs} +1 -1
- package/dist/{chunk-7FPJWOXB.mjs → chunk-HWXF5HWC.mjs} +1 -1
- package/dist/{chunk-LDCWJXIP.mjs → chunk-KCSNLBCS.mjs} +1 -1
- package/dist/{chunk-O36UBGLF.mjs → chunk-MUV2CJEU.mjs} +3 -3
- package/dist/{chunk-Z7VKSY7P.mjs → chunk-PN4FREGN.mjs} +3 -3
- package/dist/{chunk-ETIDW7ZJ.mjs → chunk-UYADUQ6I.mjs} +1 -1
- package/dist/{chunk-ZFMYEBAU.mjs → chunk-WTK4IVK5.mjs} +3 -3
- package/dist/{chunk-AU3QZNYC.mjs → chunk-X4I2LH7P.mjs} +1 -1
- package/dist/{chunk-Q7CWMEBZ.mjs → chunk-XL4OR2M2.mjs} +1 -1
- package/dist/{chunk-HL43SJUP.mjs → chunk-YFIEJK62.mjs} +26 -4
- package/dist/{chunk-DGNAMVGH.mjs → chunk-YSTZP4QT.mjs} +19 -1
- package/dist/{chunk-IFELP3LQ.mjs → chunk-ZPRXUG5Y.mjs} +1 -1
- package/dist/client.mjs +2 -2
- package/dist/comment.d.ts +4 -1
- 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 +388 -0
- package/dist/hm-types.mjs +3 -1
- package/dist/hmblock-to-editorblock.mjs +2 -2
- package/dist/index.mjs +15 -15
- package/dist/pdf-to-blocks.mjs +3 -3
- package/dist/prepare-change.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 +5 -3
- 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/pdf-to-blocks.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pdfToBlocks
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-FQNFKGLA.mjs";
|
|
4
|
+
import "./chunk-7SM52PZ4.mjs";
|
|
5
5
|
import "./chunk-2FJBS3V7.mjs";
|
|
6
6
|
import "./chunk-PPAY4WZX.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-YSTZP4QT.mjs";
|
|
8
8
|
import "./chunk-AHQWDCHV.mjs";
|
|
9
9
|
import "./chunk-7P6ASYW6.mjs";
|
|
10
10
|
export {
|
package/dist/prepare-change.mjs
CHANGED
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
nativeBlockToProtoBlock,
|
|
11
11
|
preparableDocumentChanges,
|
|
12
12
|
prepareDocumentUpdateBlobs
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-BIUZ2PNE.mjs";
|
|
14
|
+
import "./chunk-5DRX6MJ6.mjs";
|
|
15
15
|
import "./chunk-CBELM7KX.mjs";
|
|
16
16
|
import "./chunk-KM2NR4YA.mjs";
|
|
17
17
|
import "./chunk-PJ2RFT5A.mjs";
|
|
18
18
|
import "./chunk-LVAHHQIK.mjs";
|
|
19
19
|
import "./chunk-DR3HJ6BV.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-YSTZP4QT.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-PN4FREGN.mjs";
|
|
4
|
+
import "./chunk-6HOMACAF.mjs";
|
|
5
5
|
import "./chunk-CBELM7KX.mjs";
|
|
6
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-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XL4OR2M2.mjs";
|
|
11
|
+
import "./chunk-YSTZP4QT.mjs";
|
|
12
12
|
import "./chunk-AHQWDCHV.mjs";
|
|
13
13
|
import "./chunk-7P6ASYW6.mjs";
|
|
14
14
|
export {
|
package/dist/schema-engine.mjs
CHANGED
|
@@ -43,11 +43,11 @@ import {
|
|
|
43
43
|
validate,
|
|
44
44
|
validateAdvisory,
|
|
45
45
|
validateDefaults
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-X4I2LH7P.mjs";
|
|
47
47
|
import {
|
|
48
48
|
HM_SCHEMAS,
|
|
49
49
|
HM_SCHEMA_MANIFEST
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5CYFQIM3.mjs";
|
|
51
51
|
import "./chunk-7P6ASYW6.mjs";
|
|
52
52
|
export {
|
|
53
53
|
HM_SCHEMAS,
|
package/dist/schema-resolve.mjs
CHANGED
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
resolveSchemaRef,
|
|
19
19
|
schemaDefinitionCid,
|
|
20
20
|
withoutSchemaLink
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-WTK4IVK5.mjs";
|
|
22
|
+
import "./chunk-X4I2LH7P.mjs";
|
|
23
|
+
import "./chunk-5CYFQIM3.mjs";
|
|
24
24
|
import "./chunk-VWSAFDOL.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-YSTZP4QT.mjs";
|
|
26
26
|
import "./chunk-AHQWDCHV.mjs";
|
|
27
27
|
import "./chunk-7P6ASYW6.mjs";
|
|
28
28
|
export {
|
package/dist/schema-subtypes.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyRef
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WTK4IVK5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
kindOf,
|
|
6
6
|
nameForCid,
|
|
7
7
|
nameToUrl,
|
|
8
8
|
schemaCid
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X4I2LH7P.mjs";
|
|
10
10
|
import {
|
|
11
11
|
HM_SCHEMAS
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5CYFQIM3.mjs";
|
|
13
13
|
import "./chunk-VWSAFDOL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
unpackHmId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YSTZP4QT.mjs";
|
|
17
17
|
import "./chunk-AHQWDCHV.mjs";
|
|
18
18
|
import "./chunk-7P6ASYW6.mjs";
|
|
19
19
|
|
|
@@ -640,7 +640,7 @@ export type HMCid = HMLink;
|
|
|
640
640
|
/**
|
|
641
641
|
* Comment
|
|
642
642
|
* A signed comment on a document version, threaded through threadRoot and replyParent, with a body that is a tree of comment blocks.
|
|
643
|
-
* A signed comment on a document version,
|
|
643
|
+
* A signed comment on a document version, optionally written by an authorized agent for a stable account authority.
|
|
644
644
|
* Schema: hm://hyper.media/comment
|
|
645
645
|
*/
|
|
646
646
|
export type HMComment = HMBlob & {
|
|
@@ -649,12 +649,14 @@ export type HMComment = HMBlob & {
|
|
|
649
649
|
id?: string;
|
|
650
650
|
/** Deprecated and ignored; some old comment blobs still carry it. */
|
|
651
651
|
capability?: HMCid;
|
|
652
|
+
/** Stable account authority represented by a delegated signer; omitted when it equals the signer. */
|
|
653
|
+
account?: HMPrincipal;
|
|
652
654
|
/** Space of the commented document; omitted when it equals the signer. */
|
|
653
655
|
space?: HMPrincipal;
|
|
654
656
|
/** Path of the commented document within `space`. */
|
|
655
657
|
path?: string;
|
|
656
|
-
/** CIDs of the document heads the author was looking at;
|
|
657
|
-
version
|
|
658
|
+
/** CIDs of the document heads the author was looking at; a comment without them is invalid. */
|
|
659
|
+
version: HMCid[];
|
|
658
660
|
/** CID of the first comment of the thread; present on every reply. */
|
|
659
661
|
threadRoot?: HMCid;
|
|
660
662
|
/** CID of the comment this one replies to; omitted when it equals `threadRoot`. */
|
package/dist/signed-blob.mjs
CHANGED
package/dist/tei-to-blocks.mjs
CHANGED
package/dist/unicode.mjs
CHANGED