@seed-hypermedia/client 0.0.99 → 0.0.100
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-HUGY2OQM.mjs → chunk-73AJU7X4.mjs} +1 -1
- package/dist/{chunk-SD5QINAJ.mjs → chunk-DTGWQF2V.mjs} +1 -1
- package/dist/{chunk-RS4GOQBZ.mjs → chunk-E2T47UJW.mjs} +1 -1
- package/dist/{chunk-LXN2DFPO.mjs → chunk-EYZ2ASKH.mjs} +1 -1
- package/dist/{chunk-IXYSNJ4P.mjs → chunk-IBCBCFHK.mjs} +1 -1
- package/dist/{chunk-TWX7MSMH.mjs → chunk-JSOVDI7M.mjs} +2 -2
- package/dist/{chunk-XL2DYLXF.mjs → chunk-MEQO52BY.mjs} +1 -1
- package/dist/{chunk-4HRE5RLC.mjs → chunk-OJZMPYIA.mjs} +1 -1
- package/dist/{chunk-IW3I7TQJ.mjs → chunk-QVT252PP.mjs} +5 -1
- package/dist/{chunk-AN7IS7UT.mjs → chunk-RPDVEULA.mjs} +1 -1
- package/dist/{chunk-O6WMVXYX.mjs → chunk-SHO3IZ52.mjs} +3 -3
- package/dist/{chunk-7WWI7MDG.mjs → chunk-UQV5WEK6.mjs} +1 -1
- package/dist/{chunk-FCOBC7SH.mjs → chunk-WDFJI6D6.mjs} +1 -1
- package/dist/{chunk-PLHPUUUF.mjs → chunk-YYC5H3AY.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/explore-query.d.ts +28 -1
- package/dist/explore-query.mjs +51 -0
- package/dist/hm-resolver.mjs +2 -2
- package/dist/hm-types.d.ts +14 -2
- package/dist/hm-types.mjs +3 -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/auto-link.mjs
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
documentContainsLinkToChild,
|
|
5
5
|
documentHasSelfQuery,
|
|
6
6
|
shouldAutoLinkParent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JSOVDI7M.mjs";
|
|
8
8
|
import "./chunk-O5MHN2EO.mjs";
|
|
9
9
|
import "./chunk-PJ2RFT5A.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-RPDVEULA.mjs";
|
|
11
11
|
import "./chunk-LVAHHQIK.mjs";
|
|
12
12
|
import "./chunk-DR3HJ6BV.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QVT252PP.mjs";
|
|
14
14
|
import "./chunk-7P6ASYW6.mjs";
|
|
15
15
|
export {
|
|
16
16
|
autoLinkChildToParent,
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
emitFrontmatter,
|
|
8
8
|
parseDraftFilename,
|
|
9
9
|
slugify
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-E2T47UJW.mjs";
|
|
11
|
+
import "./chunk-QVT252PP.mjs";
|
|
12
12
|
import "./chunk-7P6ASYW6.mjs";
|
|
13
13
|
export {
|
|
14
14
|
blocksToMarkdown,
|
package/dist/capability.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCapability,
|
|
3
3
|
resolveCapability
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UQV5WEK6.mjs";
|
|
5
5
|
import "./chunk-LVAHHQIK.mjs";
|
|
6
6
|
import "./chunk-NBCHK76Q.mjs";
|
|
7
7
|
import "./chunk-DR3HJ6BV.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QVT252PP.mjs";
|
|
9
9
|
import "./chunk-3TPCJCVO.mjs";
|
|
10
10
|
import "./chunk-7P6ASYW6.mjs";
|
|
11
11
|
export {
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
} from "./chunk-PJ2RFT5A.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveDocumentState
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RPDVEULA.mjs";
|
|
11
11
|
import {
|
|
12
12
|
entityQueryPathToHmIdPath,
|
|
13
13
|
packHmId,
|
|
14
14
|
unpackHmId
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QVT252PP.mjs";
|
|
16
16
|
|
|
17
17
|
// src/auto-link.ts
|
|
18
18
|
import { CID } from "multiformats/cid";
|
|
@@ -905,6 +905,7 @@ var HMDocumentFilterComparisonOperatorSchema = z.enum([
|
|
|
905
905
|
"GREATER_THAN",
|
|
906
906
|
"GREATER_THAN_OR_EQUAL"
|
|
907
907
|
]);
|
|
908
|
+
var HMDocumentTimeFieldSchema = z.enum(["CREATE_TIME", "UPDATE_TIME"]);
|
|
908
909
|
var HMDocumentFilterSchema = z.lazy(
|
|
909
910
|
() => z.object({
|
|
910
911
|
and: z.object({ filters: z.array(HMDocumentFilterSchema) }).optional(),
|
|
@@ -921,7 +922,9 @@ var HMDocumentFilterSchema = z.lazy(
|
|
|
921
922
|
}).optional(),
|
|
922
923
|
urlMatch: z.object({ url: z.string(), prefix: z.boolean().optional() }).optional(),
|
|
923
924
|
spaceMatch: z.object({ space: z.string() }).optional(),
|
|
924
|
-
pathMatch: z.object({ path: z.string(), prefix: z.boolean().optional() }).optional()
|
|
925
|
+
pathMatch: z.object({ path: z.string(), prefix: z.boolean().optional() }).optional(),
|
|
926
|
+
authorMatch: z.object({ author: z.string() }).optional(),
|
|
927
|
+
timeRange: z.object({ field: HMDocumentTimeFieldSchema, start: z.string().optional(), end: z.string().optional() }).optional()
|
|
925
928
|
}).strict()
|
|
926
929
|
);
|
|
927
930
|
var HMBuiltinSortAttributeSchema = z.enum([
|
|
@@ -1789,6 +1792,7 @@ export {
|
|
|
1789
1792
|
HMSearchRequestSchema,
|
|
1790
1793
|
HMAttributeValueSchema,
|
|
1791
1794
|
HMDocumentFilterComparisonOperatorSchema,
|
|
1795
|
+
HMDocumentTimeFieldSchema,
|
|
1792
1796
|
HMDocumentFilterSchema,
|
|
1793
1797
|
HMBuiltinSortAttributeSchema,
|
|
1794
1798
|
HMDocumentSortSchema,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OJZMPYIA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createSeedClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MEQO52BY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
unpackHmId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QVT252PP.mjs";
|
|
10
10
|
|
|
11
11
|
// src/resource-read.ts
|
|
12
12
|
async function resolveIdWithClient(rawId, options = {}) {
|
package/dist/client.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSeedClient,
|
|
3
3
|
deserializeQueryString
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MEQO52BY.mjs";
|
|
5
5
|
import "./chunk-CBELM7KX.mjs";
|
|
6
6
|
import "./chunk-O5MHN2EO.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-QVT252PP.mjs";
|
|
11
11
|
import "./chunk-7P6ASYW6.mjs";
|
|
12
12
|
export {
|
|
13
13
|
createSeedClient,
|
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-73AJU7X4.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-QVT252PP.mjs";
|
|
12
12
|
import "./chunk-7P6ASYW6.mjs";
|
|
13
13
|
export {
|
|
14
14
|
commentRecordIdFromBlob,
|
package/dist/document-state.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
followToDocument,
|
|
5
5
|
resolveDocumentState,
|
|
6
6
|
resolveEditableDocument
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-RPDVEULA.mjs";
|
|
8
|
+
import "./chunk-QVT252PP.mjs";
|
|
9
9
|
import "./chunk-7P6ASYW6.mjs";
|
|
10
10
|
export {
|
|
11
11
|
describeRedirect,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
editorBlockToHMBlock,
|
|
3
3
|
editorBlocksToHMBlockNodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WDFJI6D6.mjs";
|
|
5
5
|
import "./chunk-JKKS35IS.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-QVT252PP.mjs";
|
|
7
7
|
import "./chunk-7P6ASYW6.mjs";
|
|
8
8
|
export {
|
|
9
9
|
editorBlockToHMBlock,
|
package/dist/explore-query.d.ts
CHANGED
|
@@ -30,11 +30,28 @@ export type ExploreScopePredicate = {
|
|
|
30
30
|
value: string;
|
|
31
31
|
prefix: boolean;
|
|
32
32
|
};
|
|
33
|
+
/** Built-in document timestamps a time predicate can test. */
|
|
34
|
+
export type ExploreTimeField = 'created' | 'updated';
|
|
35
|
+
/** Comparisons a time predicate accepts; equality has no useful meaning against a millisecond clock. */
|
|
36
|
+
export type ExploreTimeComparison = '<' | '<=' | '>' | '>=';
|
|
37
|
+
/**
|
|
38
|
+
* A bound on a document's creation or last-update time. `value` is an ISO date (`2026-09-01`,
|
|
39
|
+
* compared by whole UTC days) or an ISO date-time (compared exactly).
|
|
40
|
+
*/
|
|
41
|
+
export type ExploreTimePredicate = {
|
|
42
|
+
kind: 'time';
|
|
43
|
+
field: ExploreTimeField;
|
|
44
|
+
comparison: ExploreTimeComparison;
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
33
47
|
/** Leaf predicates in the Explore query AST. */
|
|
34
48
|
export type ExplorePredicate = ExploreAttributePredicate | ExploreScopePredicate | {
|
|
35
49
|
kind: 'type';
|
|
36
50
|
value: HMExploreResultType;
|
|
37
|
-
}
|
|
51
|
+
} | {
|
|
52
|
+
kind: 'author';
|
|
53
|
+
value: string;
|
|
54
|
+
} | ExploreTimePredicate;
|
|
38
55
|
/** Boolean Explore query AST. */
|
|
39
56
|
export type ExploreQueryNode = {
|
|
40
57
|
kind: 'text';
|
|
@@ -85,6 +102,16 @@ export type ExploreQueryContext = {
|
|
|
85
102
|
type: 'site';
|
|
86
103
|
url: string;
|
|
87
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* The half-open `[start, end)` range a time predicate selects, as the ISO instants the daemon's
|
|
107
|
+
* `TimeRange` takes; undefined when the value is not a date. A bare date covers its whole UTC day,
|
|
108
|
+
* so `$created<=2026-09-01` includes the 1st and `$created>2026-09-01` starts on the 2nd. A
|
|
109
|
+
* date-time is compared to the millisecond.
|
|
110
|
+
*/
|
|
111
|
+
export declare function exploreTimeBounds(predicate: ExploreTimePredicate): {
|
|
112
|
+
start?: string;
|
|
113
|
+
end?: string;
|
|
114
|
+
} | undefined;
|
|
88
115
|
/** Quotes a value for the grammar when it contains whitespace, parentheses, quotes, or operators. */
|
|
89
116
|
export declare function quoteExploreValue(value: string): string;
|
|
90
117
|
/** Parses an Explore query into a forgiving boolean AST and presentation directives. */
|
package/dist/explore-query.mjs
CHANGED
|
@@ -3,6 +3,31 @@ import "./chunk-7P6ASYW6.mjs";
|
|
|
3
3
|
// src/explore-query.ts
|
|
4
4
|
var resultTypes = /* @__PURE__ */ new Set(["document", "block", "comment", "space", "contact"]);
|
|
5
5
|
var comparisonOperators = /* @__PURE__ */ new Set(["=", "!=", "<", "<=", ">", ">="]);
|
|
6
|
+
var AUTHOR_KEY = "$author";
|
|
7
|
+
var timeKeys = /* @__PURE__ */ new Map([
|
|
8
|
+
["$created", "created"],
|
|
9
|
+
["$updated", "updated"]
|
|
10
|
+
]);
|
|
11
|
+
var timeComparisons = /* @__PURE__ */ new Set(["<", "<=", ">", ">="]);
|
|
12
|
+
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
13
|
+
function exploreTimeBounds(predicate) {
|
|
14
|
+
const dayOnly = /^\d{4}-\d{2}-\d{2}$/.test(predicate.value);
|
|
15
|
+
if (!dayOnly && !/^\d{4}-\d{2}-\d{2}T/.test(predicate.value)) return void 0;
|
|
16
|
+
const instant = Date.parse(dayOnly ? `${predicate.value}T00:00:00Z` : predicate.value);
|
|
17
|
+
if (Number.isNaN(instant)) return void 0;
|
|
18
|
+
const step = dayOnly ? DAY_MS : 1;
|
|
19
|
+
const iso = (ms) => new Date(ms).toISOString();
|
|
20
|
+
switch (predicate.comparison) {
|
|
21
|
+
case ">=":
|
|
22
|
+
return { start: iso(instant) };
|
|
23
|
+
case ">":
|
|
24
|
+
return { start: iso(instant + step) };
|
|
25
|
+
case "<":
|
|
26
|
+
return { end: iso(instant) };
|
|
27
|
+
case "<=":
|
|
28
|
+
return { end: iso(instant + step) };
|
|
29
|
+
}
|
|
30
|
+
}
|
|
6
31
|
function diagnostic(message, start, end, severity = "warning") {
|
|
7
32
|
return { message, start, end, severity };
|
|
8
33
|
}
|
|
@@ -229,6 +254,23 @@ var ExploreParser = class {
|
|
|
229
254
|
predicate: { kind: "scope", scope: "path", value: prefix ? value.slice(0, -2) : value, prefix }
|
|
230
255
|
};
|
|
231
256
|
}
|
|
257
|
+
if (operator.value === ":" && token.value === AUTHOR_KEY) {
|
|
258
|
+
return { kind: "predicate", predicate: { kind: "author", value } };
|
|
259
|
+
}
|
|
260
|
+
const timeField = timeKeys.get(token.value);
|
|
261
|
+
if (timeField) {
|
|
262
|
+
const predicate = {
|
|
263
|
+
kind: "time",
|
|
264
|
+
field: timeField,
|
|
265
|
+
comparison: operator.value,
|
|
266
|
+
value
|
|
267
|
+
};
|
|
268
|
+
if (timeComparisons.has(operator.value) && exploreTimeBounds(predicate)) return { kind: "predicate", predicate };
|
|
269
|
+
this.diagnostics.push(
|
|
270
|
+
diagnostic(`"${token.value}" takes <, <=, > or >= and a date such as 2026-09-01.`, token.start, valueToken.end)
|
|
271
|
+
);
|
|
272
|
+
return { kind: "text", value: `${token.value}${operator.value}${value}`, phrase: false };
|
|
273
|
+
}
|
|
232
274
|
if ((token.value === "has" || token.value === "missing") && operator.value === ":") {
|
|
233
275
|
return {
|
|
234
276
|
kind: "predicate",
|
|
@@ -274,6 +316,8 @@ function nodePrecedence(node) {
|
|
|
274
316
|
}
|
|
275
317
|
function serializePredicate(predicate) {
|
|
276
318
|
if (predicate.kind === "type") return `type:${predicate.value}`;
|
|
319
|
+
if (predicate.kind === "author") return `${AUTHOR_KEY}:${predicate.value}`;
|
|
320
|
+
if (predicate.kind === "time") return `$${predicate.field}${predicate.comparison}${predicate.value}`;
|
|
277
321
|
if (predicate.kind === "scope") {
|
|
278
322
|
if (predicate.scope === "space" || predicate.scope === "url") return `in:${predicate.value}`;
|
|
279
323
|
const pathPredicate = predicate;
|
|
@@ -327,6 +371,12 @@ function comparisonOperatorJson(operator) {
|
|
|
327
371
|
}
|
|
328
372
|
function predicateFilter(predicate) {
|
|
329
373
|
if (predicate.kind === "type") return void 0;
|
|
374
|
+
if (predicate.kind === "author") return { authorMatch: { author: predicate.value } };
|
|
375
|
+
if (predicate.kind === "time") {
|
|
376
|
+
const bounds = exploreTimeBounds(predicate);
|
|
377
|
+
if (!bounds) return void 0;
|
|
378
|
+
return { timeRange: { field: predicate.field === "created" ? "CREATE_TIME" : "UPDATE_TIME", ...bounds } };
|
|
379
|
+
}
|
|
330
380
|
if (predicate.kind === "scope") {
|
|
331
381
|
if (predicate.scope === "space") return { spaceMatch: { space: predicate.value } };
|
|
332
382
|
if (predicate.scope === "url") return { urlMatch: { url: predicate.value, prefix: true } };
|
|
@@ -449,6 +499,7 @@ function compileExploreQuery(parsed, context) {
|
|
|
449
499
|
}
|
|
450
500
|
export {
|
|
451
501
|
compileExploreQuery,
|
|
502
|
+
exploreTimeBounds,
|
|
452
503
|
parseExploreQuery,
|
|
453
504
|
quoteExploreValue,
|
|
454
505
|
serializeExploreQuery
|
package/dist/hm-resolver.mjs
CHANGED
package/dist/hm-types.d.ts
CHANGED
|
@@ -22803,11 +22803,15 @@ export declare const HMAttributeValueSchema: z.ZodObject<{
|
|
|
22803
22803
|
export type HMAttributeValue = z.infer<typeof HMAttributeValueSchema>;
|
|
22804
22804
|
export declare const HMDocumentFilterComparisonOperatorSchema: z.ZodEnum<["EQUAL", "NOT_EQUAL", "LESS_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN", "GREATER_THAN_OR_EQUAL"]>;
|
|
22805
22805
|
export type HMDocumentFilterComparisonOperator = z.infer<typeof HMDocumentFilterComparisonOperatorSchema>;
|
|
22806
|
+
/** A built-in document timestamp a timeRange filter can test. */
|
|
22807
|
+
export declare const HMDocumentTimeFieldSchema: z.ZodEnum<["CREATE_TIME", "UPDATE_TIME"]>;
|
|
22808
|
+
export type HMDocumentTimeField = z.infer<typeof HMDocumentTimeFieldSchema>;
|
|
22806
22809
|
/**
|
|
22807
22810
|
* A recursive predicate over document attributes and built-in fields (proto `DocumentFilter`):
|
|
22808
22811
|
* exactly one of `and`, `or`, `not`, `comparison`, `exists`, `missing`, `stringMatch`, `urlMatch`,
|
|
22809
|
-
* `spaceMatch`, `pathMatch`. Attribute keys are dotted paths into the
|
|
22810
|
-
* (`status`, `address.city`, `attributesSchema`).
|
|
22812
|
+
* `spaceMatch`, `pathMatch`, `authorMatch`, `timeRange`. Attribute keys are dotted paths into the
|
|
22813
|
+
* document's metadata (`status`, `address.city`, `attributesSchema`). `timeRange` bounds are
|
|
22814
|
+
* RFC 3339 instants: `start` inclusive, `end` exclusive, either may be omitted.
|
|
22811
22815
|
*/
|
|
22812
22816
|
export type HMDocumentFilter = {
|
|
22813
22817
|
and?: {
|
|
@@ -22847,6 +22851,14 @@ export type HMDocumentFilter = {
|
|
|
22847
22851
|
path: string;
|
|
22848
22852
|
prefix?: boolean;
|
|
22849
22853
|
};
|
|
22854
|
+
authorMatch?: {
|
|
22855
|
+
author: string;
|
|
22856
|
+
};
|
|
22857
|
+
timeRange?: {
|
|
22858
|
+
field: HMDocumentTimeField;
|
|
22859
|
+
start?: string;
|
|
22860
|
+
end?: string;
|
|
22861
|
+
};
|
|
22850
22862
|
};
|
|
22851
22863
|
export declare const HMDocumentFilterSchema: z.ZodType<HMDocumentFilter>;
|
|
22852
22864
|
export declare const HMBuiltinSortAttributeSchema: z.ZodEnum<["BUILTIN_SORT_ATTRIBUTE_NAME", "BUILTIN_SORT_ATTRIBUTE_PATH", "BUILTIN_SORT_ATTRIBUTE_CREATE_TIME", "BUILTIN_SORT_ATTRIBUTE_UPDATE_TIME", "BUILTIN_SORT_ATTRIBUTE_ACTIVITY_TIME", "BUILTIN_SORT_ATTRIBUTE_COMMENT_COUNT"]>;
|
package/dist/hm-types.mjs
CHANGED
|
@@ -62,6 +62,7 @@ import {
|
|
|
62
62
|
HMDocumentMetadataSchema,
|
|
63
63
|
HMDocumentSchema,
|
|
64
64
|
HMDocumentSortSchema,
|
|
65
|
+
HMDocumentTimeFieldSchema,
|
|
65
66
|
HMDomainInfoSchema,
|
|
66
67
|
HMDraftContentSchema,
|
|
67
68
|
HMDraftMetaSchema,
|
|
@@ -211,7 +212,7 @@ import {
|
|
|
211
212
|
toNumber,
|
|
212
213
|
unpackHmId,
|
|
213
214
|
unpackedHmIdSchema
|
|
214
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-QVT252PP.mjs";
|
|
215
216
|
import "./chunk-7P6ASYW6.mjs";
|
|
216
217
|
export {
|
|
217
218
|
BUILTIN_METADATA_KEYS,
|
|
@@ -277,6 +278,7 @@ export {
|
|
|
277
278
|
HMDocumentMetadataSchema,
|
|
278
279
|
HMDocumentSchema,
|
|
279
280
|
HMDocumentSortSchema,
|
|
281
|
+
HMDocumentTimeFieldSchema,
|
|
280
282
|
HMDomainInfoSchema,
|
|
281
283
|
HMDraftContentSchema,
|
|
282
284
|
HMDraftMetaSchema,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
annotationContains,
|
|
3
3
|
hmBlockToEditorBlock,
|
|
4
4
|
hmBlocksToEditorContent
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-EYZ2ASKH.mjs";
|
|
6
|
+
import "./chunk-QVT252PP.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-SHO3IZ52.mjs";
|
|
4
4
|
import {
|
|
5
5
|
annotationContains,
|
|
6
6
|
hmBlockToEditorBlock,
|
|
7
7
|
hmBlocksToEditorContent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EYZ2ASKH.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-DTGWQF2V.mjs";
|
|
23
23
|
import {
|
|
24
24
|
teiToBlocks
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IBCBCFHK.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-WDFJI6D6.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-OJZMPYIA.mjs";
|
|
51
51
|
import {
|
|
52
52
|
createSeedClient
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-MEQO52BY.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-73AJU7X4.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-JSOVDI7M.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-RPDVEULA.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-E2T47UJW.mjs";
|
|
128
128
|
import {
|
|
129
129
|
createCapability,
|
|
130
130
|
resolveCapability
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-UQV5WEK6.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-QVT252PP.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-DTGWQF2V.mjs";
|
|
4
|
+
import "./chunk-IBCBCFHK.mjs";
|
|
5
5
|
import "./chunk-2FJBS3V7.mjs";
|
|
6
6
|
import "./chunk-PPAY4WZX.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-QVT252PP.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-SHO3IZ52.mjs";
|
|
4
|
+
import "./chunk-OJZMPYIA.mjs";
|
|
5
|
+
import "./chunk-MEQO52BY.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-QVT252PP.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-YYC5H3AY.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-QVT252PP.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-YYC5H3AY.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-QVT252PP.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