@semiont/core 0.5.24 → 0.5.25
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/README.md +31 -0
- package/dist/{chunk-4JTZMWZB.js → chunk-FMFOBVTE.js} +6 -2
- package/dist/chunk-FMFOBVTE.js.map +1 -0
- package/dist/{chunk-3WTQZOGO.js → chunk-I3ZOWCTH.js} +3 -3
- package/dist/{chunk-3WTQZOGO.js.map → chunk-I3ZOWCTH.js.map} +1 -1
- package/dist/config/node-config-loader.d.ts +37 -4
- package/dist/config/node-config-loader.js +19 -6
- package/dist/config/node-config-loader.js.map +1 -1
- package/dist/index.d.ts +686 -3
- package/dist/index.js +228 -12
- package/dist/index.js.map +1 -1
- package/dist/testing/axioms.js +2 -2
- package/dist/testing.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-4JTZMWZB.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { createTomlConfigLoader, loadTomlConfig } from './chunk-XQTWEBJ5.js';
|
|
2
|
-
import { BUS_OPERATIONS } from './chunk-
|
|
3
|
-
export { BRIDGED_CHANNELS, BUS_OPERATIONS, EventBus, ScopedEventBus, accessToken, annotationUri, authCode, baseUrl, busLog, busLogEnabled, cloneToken, email, entityType, googleCredential, jobId, mcpToken, refreshToken, resourceAnnotationUri, resourceUri, searchQuery, setBusLogTraceIdProvider, userDID } from './chunk-
|
|
2
|
+
import { BUS_OPERATIONS } from './chunk-FMFOBVTE.js';
|
|
3
|
+
export { BRIDGED_CHANNELS, BUS_OPERATIONS, EventBus, ScopedEventBus, accessToken, annotationUri, authCode, baseUrl, busLog, busLogEnabled, cloneToken, email, entityType, googleCredential, jobId, mcpToken, refreshToken, resourceAnnotationUri, resourceUri, searchQuery, setBusLogTraceIdProvider, userDID } from './chunk-FMFOBVTE.js';
|
|
4
4
|
import { Observable, merge, TimeoutError, throwError, firstValueFrom } from 'rxjs';
|
|
5
5
|
import { filter, map, take, timeout, catchError, defaultIfEmpty } from 'rxjs/operators';
|
|
6
6
|
|
|
@@ -179,6 +179,10 @@ var CHANNEL_SCHEMAS = {
|
|
|
179
179
|
"browse:resource-result": "BrowseResourceResult",
|
|
180
180
|
"browse:resource-failed": null,
|
|
181
181
|
// { correlationId } & CommandError
|
|
182
|
+
"browse:anchored-text-requested": "BrowseAnchoredTextRequest",
|
|
183
|
+
"browse:anchored-text-result": "BrowseAnchoredTextResult",
|
|
184
|
+
"browse:anchored-text-failed": null,
|
|
185
|
+
// { correlationId } & CommandError
|
|
182
186
|
"browse:resources-requested": "BrowseResourcesRequest",
|
|
183
187
|
"browse:resources-result": "BrowseResourcesResult",
|
|
184
188
|
"browse:resources-failed": null,
|
|
@@ -271,12 +275,17 @@ var CHANNEL_SCHEMAS = {
|
|
|
271
275
|
"weave:applied": null,
|
|
272
276
|
// { resourceId; sequenceNumber }
|
|
273
277
|
"smelt:settled": null,
|
|
274
|
-
// { resourceId; contentChecksum; outcome }
|
|
278
|
+
// { resourceId; contentChecksum; outcome; reason? }
|
|
275
279
|
"weave:rebuild": "WeaveRebuildCommand",
|
|
276
280
|
"weave:rebuild-ok": null,
|
|
277
281
|
// { correlationId }
|
|
278
282
|
"weave:rebuild-failed": null,
|
|
279
283
|
// { correlationId; message }
|
|
284
|
+
"smelt:rebuild-anchors": "SmeltRebuildAnchorsCommand",
|
|
285
|
+
"smelt:rebuild-anchors-ok": null,
|
|
286
|
+
// { correlationId }
|
|
287
|
+
"smelt:rebuild-anchors-failed": null,
|
|
288
|
+
// { correlationId; message }
|
|
280
289
|
// ── SSE infrastructure ──────────────────────────────────────────
|
|
281
290
|
"stream-connected": null,
|
|
282
291
|
// Record<string, never>
|
|
@@ -745,6 +754,136 @@ function getPageFromFragment(fragment) {
|
|
|
745
754
|
return match ? parseInt(match[1], 10) : null;
|
|
746
755
|
}
|
|
747
756
|
|
|
757
|
+
// src/pdf-anchoring.ts
|
|
758
|
+
function isTextRun(item) {
|
|
759
|
+
return typeof item === "object" && item !== null && "str" in item;
|
|
760
|
+
}
|
|
761
|
+
function anchorRuns(runs, page) {
|
|
762
|
+
const items = [];
|
|
763
|
+
let text = "";
|
|
764
|
+
for (const run of runs) {
|
|
765
|
+
if (run.str.trim()) {
|
|
766
|
+
const start = text.length;
|
|
767
|
+
text += run.str;
|
|
768
|
+
const end = text.length;
|
|
769
|
+
const [, , , , x, y] = run.transform;
|
|
770
|
+
items.push({ start, end, page, x, y, width: run.width, height: run.height });
|
|
771
|
+
text += run.hasEOL ? "\n" : " ";
|
|
772
|
+
} else if (run.hasEOL) {
|
|
773
|
+
text += "\n";
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
return { text, items };
|
|
777
|
+
}
|
|
778
|
+
var SAME_LINE_THRESHOLD_PT = 2;
|
|
779
|
+
function locate(anchored, start, end) {
|
|
780
|
+
const overlap = anchored.items.filter(
|
|
781
|
+
(item) => item.start < end && item.end > start
|
|
782
|
+
);
|
|
783
|
+
if (overlap.length === 0) return { rects: [], overlap };
|
|
784
|
+
const pages = groupItemsByPage(overlap);
|
|
785
|
+
const rects = [];
|
|
786
|
+
for (const [page, pageItems] of pages) {
|
|
787
|
+
const lines = groupItemsByLine(pageItems, SAME_LINE_THRESHOLD_PT);
|
|
788
|
+
for (const lineItems of lines) {
|
|
789
|
+
const edges = lineItems.map((i) => {
|
|
790
|
+
const chars = i.end - i.start;
|
|
791
|
+
const left = i.start < start && chars > 0 ? i.x + i.width * ((start - i.start) / chars) : i.x;
|
|
792
|
+
const right2 = i.end > end && chars > 0 ? i.x + i.width * ((end - i.start) / chars) : i.x + i.width;
|
|
793
|
+
return { left, right: right2 };
|
|
794
|
+
});
|
|
795
|
+
const x = Math.min(...edges.map((e) => e.left));
|
|
796
|
+
const right = Math.max(...edges.map((e) => e.right));
|
|
797
|
+
const y = Math.min(...lineItems.map((i) => i.y));
|
|
798
|
+
const top = Math.max(...lineItems.map((i) => i.y + i.height));
|
|
799
|
+
rects.push({ page, x, y, width: right - x, height: top - y });
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
return { rects, overlap };
|
|
803
|
+
}
|
|
804
|
+
function textUnder(anchored, rect) {
|
|
805
|
+
const covered = anchored.items.filter((item) => item.page === rect.page && covers(item, rect)).sort((a, b) => a.start - b.start);
|
|
806
|
+
if (covered.length === 0) return "";
|
|
807
|
+
let quoted = slice(anchored, covered[0]);
|
|
808
|
+
for (let i = 1; i < covered.length; i++) {
|
|
809
|
+
const gap = anchored.text.slice(covered[i - 1].end, covered[i].start);
|
|
810
|
+
quoted += (gap.trim() === "" ? gap : " ") + slice(anchored, covered[i]);
|
|
811
|
+
}
|
|
812
|
+
return quoted.trim();
|
|
813
|
+
}
|
|
814
|
+
var slice = (anchored, item) => anchored.text.slice(item.start, item.end);
|
|
815
|
+
var RUN_COVERAGE_THRESHOLD = 0.5;
|
|
816
|
+
function covers(item, rect) {
|
|
817
|
+
const overlapX = Math.min(item.x + item.width, rect.x + rect.width) - Math.max(item.x, rect.x);
|
|
818
|
+
const overlapY = Math.min(item.y + item.height, rect.y + rect.height) - Math.max(item.y, rect.y);
|
|
819
|
+
if (overlapX <= 0 || overlapY <= 0) return false;
|
|
820
|
+
return overlapX * overlapY >= RUN_COVERAGE_THRESHOLD * item.width * item.height;
|
|
821
|
+
}
|
|
822
|
+
function groupItemsByPage(items) {
|
|
823
|
+
const map2 = /* @__PURE__ */ new Map();
|
|
824
|
+
for (const item of items) {
|
|
825
|
+
const existing = map2.get(item.page);
|
|
826
|
+
if (existing) {
|
|
827
|
+
existing.push(item);
|
|
828
|
+
} else {
|
|
829
|
+
map2.set(item.page, [item]);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
return map2;
|
|
833
|
+
}
|
|
834
|
+
function groupItemsByLine(items, sameLineThreshold) {
|
|
835
|
+
const sorted = [...items].sort((a, b) => b.y - a.y || a.x - b.x);
|
|
836
|
+
const lines = [];
|
|
837
|
+
let currentLine = [];
|
|
838
|
+
for (const item of sorted) {
|
|
839
|
+
if (currentLine.length === 0 || Math.abs(item.y - currentLine[0].y) <= sameLineThreshold) {
|
|
840
|
+
currentLine.push(item);
|
|
841
|
+
} else {
|
|
842
|
+
lines.push(currentLine);
|
|
843
|
+
currentLine = [item];
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
if (currentLine.length > 0) lines.push(currentLine);
|
|
847
|
+
return lines;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
// src/pdf-citation-search.ts
|
|
851
|
+
var BREAK_MARKER = "";
|
|
852
|
+
var BREAK_GAP = `(?: ?${BREAK_MARKER} ?)?`;
|
|
853
|
+
var escapeRegExp = (ch) => ch.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
854
|
+
function findClaimSpan(anchored, exact) {
|
|
855
|
+
const needle = exact.replace(/\s+/g, " ").trim();
|
|
856
|
+
if (needle.length === 0) return null;
|
|
857
|
+
let norm = "";
|
|
858
|
+
const map2 = [];
|
|
859
|
+
let pendingWsAt = -1;
|
|
860
|
+
for (let i = 0; i < anchored.text.length; i++) {
|
|
861
|
+
const ch = anchored.text[i];
|
|
862
|
+
if (/\s/.test(ch)) {
|
|
863
|
+
if (norm.length > 0 && pendingWsAt < 0) pendingWsAt = i;
|
|
864
|
+
continue;
|
|
865
|
+
}
|
|
866
|
+
if (pendingWsAt >= 0) {
|
|
867
|
+
norm += " ";
|
|
868
|
+
map2.push(pendingWsAt);
|
|
869
|
+
pendingWsAt = -1;
|
|
870
|
+
}
|
|
871
|
+
norm += ch;
|
|
872
|
+
map2.push(i);
|
|
873
|
+
}
|
|
874
|
+
const idx = norm.indexOf(needle);
|
|
875
|
+
if (idx >= 0) {
|
|
876
|
+
return { start: map2[idx], end: map2[idx + needle.length - 1] + 1 };
|
|
877
|
+
}
|
|
878
|
+
const marker = anchored.text.replace(/\n/g, BREAK_MARKER);
|
|
879
|
+
const pattern = [...needle].map(escapeRegExp).join(BREAK_GAP);
|
|
880
|
+
const match = new RegExp(pattern).exec(marker);
|
|
881
|
+
if (match) {
|
|
882
|
+
return { start: match.index, end: match.index + match[0].length };
|
|
883
|
+
}
|
|
884
|
+
return null;
|
|
885
|
+
}
|
|
886
|
+
|
|
748
887
|
// src/resource-utils.ts
|
|
749
888
|
function getResourceId(resource) {
|
|
750
889
|
if (!resource) return void 0;
|
|
@@ -1579,7 +1718,8 @@ var storedBinary = (extension, label) => ({
|
|
|
1579
1718
|
anchoring: "none",
|
|
1580
1719
|
extractText: "none",
|
|
1581
1720
|
authorable: false,
|
|
1582
|
-
uploadable: true
|
|
1721
|
+
uploadable: true,
|
|
1722
|
+
generatable: false
|
|
1583
1723
|
});
|
|
1584
1724
|
var storedText = (extension, label) => ({
|
|
1585
1725
|
...storedBinary(extension, label),
|
|
@@ -1587,13 +1727,15 @@ var storedText = (extension, label) => ({
|
|
|
1587
1727
|
});
|
|
1588
1728
|
var MEDIA_TYPES = {
|
|
1589
1729
|
// Full-capability tier
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
"text/
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1595
|
-
"
|
|
1596
|
-
"
|
|
1730
|
+
// `generatable: application/pdf` — the Typst renderer (PDF-GENERATION P3):
|
|
1731
|
+
// the model writes Typst, the worker's pinned binary compiles it.
|
|
1732
|
+
"text/markdown": { extension: ".md", label: "Markdown", render: "text", anchoring: "text-selector", extractText: "decode", authorable: true, uploadable: true, generatable: true },
|
|
1733
|
+
"text/plain": { extension: ".txt", label: "Plain Text", render: "text", anchoring: "text-selector", extractText: "decode", authorable: true, uploadable: true, generatable: true },
|
|
1734
|
+
"text/html": { extension: ".html", label: "HTML", render: "text", anchoring: "text-selector", extractText: "decode", authorable: true, uploadable: true, generatable: false },
|
|
1735
|
+
"application/json": { extension: ".json", label: "JSON", render: "text", anchoring: "text-selector", extractText: "decode", authorable: false, uploadable: true, generatable: false },
|
|
1736
|
+
"image/png": { extension: ".png", label: "PNG image", render: "image", anchoring: "spatial", extractText: "none", authorable: false, uploadable: true, generatable: false },
|
|
1737
|
+
"image/jpeg": { extension: ".jpg", label: "JPEG image", render: "image", anchoring: "spatial", extractText: "none", authorable: false, uploadable: true, generatable: false },
|
|
1738
|
+
"application/pdf": { extension: ".pdf", label: "PDF", render: "pdf", anchoring: "spatial", extractText: "pdf-text-layer", authorable: false, uploadable: true, generatable: true },
|
|
1597
1739
|
// Storage tier — the big tent. Every row is a deliberate admission,
|
|
1598
1740
|
// promotable by editing its row. Text-flavored rows embed (decode).
|
|
1599
1741
|
// Text
|
|
@@ -1707,6 +1849,53 @@ var AUTHORABLE_MEDIA_TYPES = REGISTRY_KEYS.filter(
|
|
|
1707
1849
|
var EMBEDDABLE_MEDIA_TYPES = REGISTRY_KEYS.filter(
|
|
1708
1850
|
(type) => MEDIA_TYPES[type].extractText !== "none"
|
|
1709
1851
|
);
|
|
1852
|
+
var GENERATABLE_MEDIA_TYPES = REGISTRY_KEYS.filter(
|
|
1853
|
+
(type) => MEDIA_TYPES[type].generatable
|
|
1854
|
+
);
|
|
1855
|
+
|
|
1856
|
+
// src/chunking.ts
|
|
1857
|
+
var DEFAULT_CHUNKING_CONFIG = {
|
|
1858
|
+
chunkSize: 512,
|
|
1859
|
+
overlap: 64
|
|
1860
|
+
};
|
|
1861
|
+
function estimateTokens(text) {
|
|
1862
|
+
return Math.ceil(text.length / 4);
|
|
1863
|
+
}
|
|
1864
|
+
function chunkText(text, config = DEFAULT_CHUNKING_CONFIG) {
|
|
1865
|
+
if (text.length === 0) return [];
|
|
1866
|
+
const totalTokens = estimateTokens(text);
|
|
1867
|
+
if (totalTokens <= config.chunkSize) {
|
|
1868
|
+
return [text];
|
|
1869
|
+
}
|
|
1870
|
+
const chunkChars = config.chunkSize * 4;
|
|
1871
|
+
const overlapChars = config.overlap * 4;
|
|
1872
|
+
const chunks = [];
|
|
1873
|
+
let start = 0;
|
|
1874
|
+
while (start < text.length) {
|
|
1875
|
+
let end = Math.min(start + chunkChars, text.length);
|
|
1876
|
+
if (end < text.length) {
|
|
1877
|
+
const paraBreak = text.lastIndexOf("\n\n", end);
|
|
1878
|
+
if (paraBreak > start + chunkChars / 2) {
|
|
1879
|
+
end = paraBreak;
|
|
1880
|
+
} else {
|
|
1881
|
+
const sentenceBreak = text.lastIndexOf(". ", end);
|
|
1882
|
+
if (sentenceBreak > start + chunkChars / 2) {
|
|
1883
|
+
end = sentenceBreak + 1;
|
|
1884
|
+
} else {
|
|
1885
|
+
const wordBreak = text.lastIndexOf(" ", end);
|
|
1886
|
+
if (wordBreak > start + chunkChars / 2) {
|
|
1887
|
+
end = wordBreak;
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
chunks.push(text.slice(start, end).trim());
|
|
1893
|
+
const nextStart = end - overlapChars;
|
|
1894
|
+
start = nextStart > start ? nextStart : end;
|
|
1895
|
+
if (start >= text.length) break;
|
|
1896
|
+
}
|
|
1897
|
+
return chunks.filter((c) => c.length > 0);
|
|
1898
|
+
}
|
|
1710
1899
|
|
|
1711
1900
|
// src/type-guards.ts
|
|
1712
1901
|
function isString(value) {
|
|
@@ -1922,9 +2111,36 @@ async function retryWithBackoff(fn, isRetryable, policy, onRetry) {
|
|
|
1922
2111
|
}
|
|
1923
2112
|
}
|
|
1924
2113
|
|
|
2114
|
+
// src/shard-utils.ts
|
|
2115
|
+
function jumpConsistentHash(key, numBuckets = 65536) {
|
|
2116
|
+
const hash = hashToUint32(key);
|
|
2117
|
+
return hash % numBuckets;
|
|
2118
|
+
}
|
|
2119
|
+
function hashToUint32(str) {
|
|
2120
|
+
let hash = 0;
|
|
2121
|
+
for (let i = 0; i < str.length; i++) {
|
|
2122
|
+
hash = (hash << 5) - hash + str.charCodeAt(i);
|
|
2123
|
+
hash = hash & 4294967295;
|
|
2124
|
+
}
|
|
2125
|
+
return Math.abs(hash);
|
|
2126
|
+
}
|
|
2127
|
+
function shardIdToPath(shardId) {
|
|
2128
|
+
if (shardId < 0 || shardId >= 65536) {
|
|
2129
|
+
throw new Error(`Invalid shard ID: ${shardId}. Must be 0-65535 for 4-hex sharding.`);
|
|
2130
|
+
}
|
|
2131
|
+
const shardHex = shardId.toString(16).padStart(4, "0");
|
|
2132
|
+
const ab = shardHex.substring(0, 2);
|
|
2133
|
+
const cd = shardHex.substring(2, 4);
|
|
2134
|
+
return [ab, cd];
|
|
2135
|
+
}
|
|
2136
|
+
function getShardPath(key, numBuckets = 65536) {
|
|
2137
|
+
const shardId = jumpConsistentHash(key, numBuckets);
|
|
2138
|
+
return shardIdToPath(shardId);
|
|
2139
|
+
}
|
|
2140
|
+
|
|
1925
2141
|
// src/discovery.ts
|
|
1926
2142
|
var DISCOVERY_URL_PATH = "/discovery/kbs.json";
|
|
1927
2143
|
|
|
1928
|
-
export { AUTHORABLE_MEDIA_TYPES, BusRequestError, CHANNEL_SCHEMAS, CONTEXT_FULL_WEIGHT, CONTEXT_PARTIAL_WEIGHT, ConfigurationError, ConflictError, DISCOVERY_URL_PATH, EMBEDDABLE_MEDIA_TYPES, JWTTokenSchema, LOCALES, MEDIA_TYPES, NotFoundError, PERSISTED_EVENT_TYPES, POSITION_WEIGHT_MAX, POSITION_WINDOW, RESOURCE_BROADCAST_TYPES, STARTUP_FETCH_RETRY, ScriptError, SemiontError, UnauthorizedError, ValidationError, agentToDid, anchorAnnotation, annotationId, applyBodyOperations, assembleAnnotation, baseMediaType, buildContentCache, burstBuffer, busRequest, capabilitiesOf, createCircleSvg, createFragmentSelector, createPolygonSvg, createRectangleSvg, decodeRepresentation, decodeWithCharset, deriveViews, didToAgent, errField, extensionForMediaType, extractBoundingBox, extractCharset, extractContext, findBestTextMatch, findBodyItem, formatLocaleDisplay, generateUuid, getAllLocaleCodes, getAllPlatformTypes, getAnnotationExactText, getAnnotationUriFromEvent, getBodySource, getBodyType, getChecksum, getCommentText, getCreator, getDerivedFrom, getExactText, getFragmentSelector, getLanguage, getLocaleEnglishName, getLocaleInfo, getLocaleNativeName, getNodeEncoding, getPageFromFragment, getPrimaryMediaType, getPrimaryRepresentation, getPrimarySelector, getResourceEntityTypes, getResourceId, getStorageUri, getSvgSelector, getTargetSelector, getTargetSource, getTextPositionSelector, getTextQuoteSelector, hasTargetSelector, isAnnotationId, isArchived, isArray, isAssessment, isBodyResolved, isBoolean, isComment, isDefined, isDraft, isEventRelatedToAnnotation, isFunction, isHighlight, isNull, isNullish, isNumber, isObject, isReference, isResolvedReference, isResourceId, isStoredEvent, isString, isStubReference, isSupportedMediaType, isTag, isTransientFetchError, isUndefined, isValidEmail, isValidPlatformType, kbDid, mediaTypeForExtension, normalizeCoordinates, normalizeText, parseEnvironment, parseFragmentSelector, parseSvgSelector, reconcileSelector, resourceId, retryWithBackoff, scaleSvgToNative, serializePerKey, softwareToAgent, textExtractionOf, userId, userToAgent, userToDid, uuidV4, validateData, validateEnvironment, validateSvgMarkup, verifyPosition };
|
|
2144
|
+
export { AUTHORABLE_MEDIA_TYPES, BusRequestError, CHANNEL_SCHEMAS, CONTEXT_FULL_WEIGHT, CONTEXT_PARTIAL_WEIGHT, ConfigurationError, ConflictError, DEFAULT_CHUNKING_CONFIG, DISCOVERY_URL_PATH, EMBEDDABLE_MEDIA_TYPES, GENERATABLE_MEDIA_TYPES, JWTTokenSchema, LOCALES, MEDIA_TYPES, NotFoundError, PERSISTED_EVENT_TYPES, POSITION_WEIGHT_MAX, POSITION_WINDOW, RESOURCE_BROADCAST_TYPES, STARTUP_FETCH_RETRY, ScriptError, SemiontError, UnauthorizedError, ValidationError, agentToDid, anchorAnnotation, anchorRuns, annotationId, applyBodyOperations, assembleAnnotation, baseMediaType, buildContentCache, burstBuffer, busRequest, capabilitiesOf, chunkText, createCircleSvg, createFragmentSelector, createPolygonSvg, createRectangleSvg, decodeRepresentation, decodeWithCharset, deriveViews, didToAgent, errField, estimateTokens, extensionForMediaType, extractBoundingBox, extractCharset, extractContext, findBestTextMatch, findBodyItem, findClaimSpan, formatLocaleDisplay, generateUuid, getAllLocaleCodes, getAllPlatformTypes, getAnnotationExactText, getAnnotationUriFromEvent, getBodySource, getBodyType, getChecksum, getCommentText, getCreator, getDerivedFrom, getExactText, getFragmentSelector, getLanguage, getLocaleEnglishName, getLocaleInfo, getLocaleNativeName, getNodeEncoding, getPageFromFragment, getPrimaryMediaType, getPrimaryRepresentation, getPrimarySelector, getResourceEntityTypes, getResourceId, getShardPath, getStorageUri, getSvgSelector, getTargetSelector, getTargetSource, getTextPositionSelector, getTextQuoteSelector, hasTargetSelector, isAnnotationId, isArchived, isArray, isAssessment, isBodyResolved, isBoolean, isComment, isDefined, isDraft, isEventRelatedToAnnotation, isFunction, isHighlight, isNull, isNullish, isNumber, isObject, isReference, isResolvedReference, isResourceId, isStoredEvent, isString, isStubReference, isSupportedMediaType, isTag, isTextRun, isTransientFetchError, isUndefined, isValidEmail, isValidPlatformType, jumpConsistentHash, kbDid, locate, mediaTypeForExtension, normalizeCoordinates, normalizeText, parseEnvironment, parseFragmentSelector, parseSvgSelector, reconcileSelector, resourceId, retryWithBackoff, scaleSvgToNative, serializePerKey, softwareToAgent, textExtractionOf, textUnder, userId, userToAgent, userToDid, uuidV4, validateData, validateEnvironment, validateSvgMarkup, verifyPosition };
|
|
1929
2145
|
//# sourceMappingURL=index.js.map
|
|
1930
2146
|
//# sourceMappingURL=index.js.map
|