@agentshouse/app-bridge 0.1.0-c4e2f96a8f06c → 0.1.0-c4ed9ded90f19
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 +7 -7
- package/dist/index.d.ts +581 -23
- package/dist/mdmodel/body.d.ts +84 -0
- package/dist/mdmodel/built-in.d.ts +3 -0
- package/dist/mdmodel/definition.d.ts +20 -11
- package/dist/mdmodel/document.d.ts +14 -8
- package/dist/mdmodel/event.d.ts +76 -0
- package/dist/mdmodel/facts.d.ts +14 -0
- package/dist/mdmodel/fields.d.ts +1 -1
- package/dist/mdmodel/house-model.d.ts +835 -0
- package/dist/mdmodel/house-references/crockford.d.ts +3 -0
- package/dist/mdmodel/house-references/patterns.d.ts +8 -0
- package/dist/mdmodel/index.d.ts +38 -15
- package/dist/mdmodel/kinds.d.ts +17 -0
- package/dist/mdmodel/markdown.d.ts +74 -0
- package/dist/mdmodel/media-type.d.ts +71 -0
- package/dist/mdmodel/not-ready.d.ts +1 -0
- package/dist/mdmodel/paths.d.ts +10 -1
- package/dist/mdmodel/pattern.d.ts +9 -0
- package/dist/mdmodel/query/language.d.ts +253 -0
- package/dist/mdmodel/query/match.d.ts +13 -0
- package/dist/mdmodel/query/rows.d.ts +31 -0
- package/dist/mdmodel/query/sql.d.ts +38 -0
- package/dist/mdmodel/references.d.ts +2 -2
- package/dist/mdmodel/reserved.d.ts +5 -0
- package/dist/mdmodel/room-types.d.ts +6 -0
- package/dist/mdmodel/types.d.ts +22 -17
- package/dist/mdmodel/validate.d.ts +10 -6
- package/dist/mdmodel/yaml.d.ts +4 -4
- package/dist/mdruntime/actions.d.ts +25 -0
- package/dist/mdruntime/adapter.d.ts +173 -111
- package/dist/mdruntime/attached-model.d.ts +6 -0
- package/dist/mdruntime/bootstrap.d.ts +43 -0
- package/dist/mdruntime/cell.d.ts +5 -0
- package/dist/mdruntime/chain.d.ts +2 -1
- package/dist/mdruntime/change-set.d.ts +4 -0
- package/dist/mdruntime/change.d.ts +5 -0
- package/dist/mdruntime/client.d.ts +33 -25
- package/dist/mdruntime/collection.d.ts +31 -7
- package/dist/mdruntime/compile.d.ts +8 -6
- package/dist/mdruntime/conversation-live.d.ts +149 -0
- package/dist/mdruntime/conversation-row.d.ts +39 -0
- package/dist/mdruntime/conversation.d.ts +68 -50
- package/dist/mdruntime/declaration.d.ts +9 -0
- package/dist/mdruntime/durability.d.ts +19 -1
- package/dist/mdruntime/failure.d.ts +3 -0
- package/dist/mdruntime/figures.d.ts +48 -0
- package/dist/mdruntime/holdings.d.ts +28 -0
- package/dist/mdruntime/identity.d.ts +0 -1
- package/dist/mdruntime/install.d.ts +59 -0
- package/dist/mdruntime/listing.d.ts +51 -0
- package/dist/mdruntime/live.d.ts +24 -0
- package/dist/mdruntime/media.d.ts +12 -0
- package/dist/mdruntime/messages.d.ts +35 -5
- package/dist/mdruntime/model.d.ts +8 -11
- package/dist/mdruntime/observation.d.ts +29 -13
- package/dist/mdruntime/opened.d.ts +1 -1
- package/dist/mdruntime/outcome.d.ts +24 -6
- package/dist/mdruntime/overlay.d.ts +7 -2
- package/dist/mdruntime/preparation.d.ts +40 -0
- package/dist/mdruntime/presence.d.ts +57 -0
- package/dist/mdruntime/query.d.ts +18 -208
- package/dist/mdruntime/reach.d.ts +21 -13
- package/dist/mdruntime/readiness.d.ts +12 -21
- package/dist/mdruntime/reads.d.ts +38 -0
- package/dist/mdruntime/recovery.d.ts +3 -0
- package/dist/mdruntime/refresh.d.ts +26 -0
- package/dist/mdruntime/replica.d.ts +13 -19
- package/dist/mdruntime/retried.d.ts +29 -0
- package/dist/mdruntime/room-draft.d.ts +51 -12
- package/dist/mdruntime/room-drafts.d.ts +23 -0
- package/dist/mdruntime/runtime.d.ts +33 -0
- package/dist/mdruntime/save.d.ts +42 -84
- package/dist/mdruntime/saves.d.ts +31 -0
- package/dist/mdruntime/search.d.ts +12 -63
- package/dist/mdruntime/seed.d.ts +11 -2
- package/dist/mdruntime/socket/admission.d.ts +6 -0
- package/dist/mdruntime/socket/answers.d.ts +5 -0
- package/dist/mdruntime/socket/lanes.d.ts +27 -0
- package/dist/mdruntime/socket/session.d.ts +37 -0
- package/dist/mdruntime/socket.d.ts +66 -0
- package/dist/mdruntime/source.d.ts +58 -0
- package/dist/mdruntime/status.d.ts +4 -5
- package/dist/mdruntime/store/installs.d.ts +29 -0
- package/dist/mdruntime/store/readiness.d.ts +10 -0
- package/dist/mdruntime/store/records.d.ts +217 -0
- package/dist/mdruntime/store/room-held.d.ts +7 -0
- package/dist/mdruntime/store/rooms-shown.d.ts +7 -0
- package/dist/mdruntime/store/space.d.ts +10 -0
- package/dist/mdruntime/store/watchers.d.ts +16 -0
- package/dist/mdruntime/store/writes.d.ts +23 -0
- package/dist/mdruntime/store.d.ts +113 -156
- package/dist/mdruntime/stored.d.ts +79 -57
- package/dist/mdruntime/surface.d.ts +89 -0
- package/dist/mdruntime/tables.d.ts +135 -70
- package/dist/mdruntime/tallies.d.ts +17 -0
- package/dist/mdruntime/transfer.d.ts +0 -5
- package/dist/mdruntime/wire.d.ts +67 -13
- package/dist/session-content/bounds.d.ts +7 -0
- package/dist/session-content/check.d.ts +18 -0
- package/dist/session-content/index.d.ts +7 -0
- package/dist/session-content/parts.d.ts +103 -0
- package/dist/session-content/state.d.ts +61 -0
- package/dist/session-content/turn.d.ts +328 -0
- package/dist/test-host.d.ts +8 -4
- package/dist/test-host.js +28 -28
- package/docs/families.md +71 -65
- package/package.json +2 -2
- package/dist/calls.d.ts +0 -1007
- package/dist/calls.js +0 -1
- package/dist/mdmodel/blocks.d.ts +0 -10
- package/dist/mdmodel/condition.d.ts +0 -160
- package/dist/mdmodel/links.d.ts +0 -28
- package/dist/mdmodel/profile.d.ts +0 -5
- package/dist/mdruntime/connection.d.ts +0 -151
- package/dist/mdruntime/file.d.ts +0 -11
- package/dist/mdruntime/fulltext.d.ts +0 -26
- package/dist/mdruntime/shared.d.ts +0 -15
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { type ValueFacts } from './definition.js';
|
|
2
|
+
import { type Reading, type SectionSpan } from './markdown.js';
|
|
3
|
+
import type { Extent } from './types.js';
|
|
4
|
+
export declare const NAME_FIELD = "name";
|
|
5
|
+
export declare const DEEPEST_HEADING = 6;
|
|
6
|
+
export type Form = 'text' | 'number' | 'boolean' | 'reference' | 'group' | 'list' | 'json';
|
|
7
|
+
export type Placement = {
|
|
8
|
+
readonly key: string;
|
|
9
|
+
readonly as: 'name' | 'line' | 'heading';
|
|
10
|
+
readonly start: number;
|
|
11
|
+
readonly end: number;
|
|
12
|
+
readonly next: number;
|
|
13
|
+
};
|
|
14
|
+
export type ProseText = Extent & {
|
|
15
|
+
readonly text: string;
|
|
16
|
+
readonly markdown: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type Destination = Extent & {
|
|
19
|
+
readonly bracketed: boolean;
|
|
20
|
+
};
|
|
21
|
+
export type Body = {
|
|
22
|
+
readonly values: Readonly<Record<string, unknown>>;
|
|
23
|
+
readonly ranges: Readonly<Record<string, Extent>>;
|
|
24
|
+
readonly prose: readonly ProseText[];
|
|
25
|
+
readonly links: Readonly<Record<string, Destination>>;
|
|
26
|
+
readonly labels: readonly LabelAt[];
|
|
27
|
+
readonly top: readonly Placement[];
|
|
28
|
+
readonly name: Placement | null;
|
|
29
|
+
readonly list: Extent | null;
|
|
30
|
+
readonly listAt: number;
|
|
31
|
+
readonly head: number;
|
|
32
|
+
readonly preamble: Extent;
|
|
33
|
+
readonly sections: readonly SectionSpan[];
|
|
34
|
+
readonly free: readonly Extent[];
|
|
35
|
+
readonly ending: Extent | null;
|
|
36
|
+
readonly anchor: number;
|
|
37
|
+
};
|
|
38
|
+
export type BodyRefusal = {
|
|
39
|
+
readonly rule: string;
|
|
40
|
+
readonly location: string;
|
|
41
|
+
readonly at: number;
|
|
42
|
+
};
|
|
43
|
+
export declare function formOf(facts: ValueFacts | undefined): Form;
|
|
44
|
+
export declare function labelOf(key: string, facts: ValueFacts | undefined): string;
|
|
45
|
+
export declare function unescaped(text: string): string;
|
|
46
|
+
export declare function longText(value: string): string;
|
|
47
|
+
export type LabelAt = Extent & {
|
|
48
|
+
readonly path: string;
|
|
49
|
+
readonly written: 'line' | 'heading' | 'cell';
|
|
50
|
+
};
|
|
51
|
+
export declare function readBody(content: string, bodyStart: number, reading: Reading, root: ValueFacts): {
|
|
52
|
+
readonly ok: true;
|
|
53
|
+
readonly body: Body;
|
|
54
|
+
} | {
|
|
55
|
+
readonly ok: false;
|
|
56
|
+
readonly refusal: BodyRefusal;
|
|
57
|
+
};
|
|
58
|
+
export type Naming = (reference: string) => string | undefined;
|
|
59
|
+
export type Written = {
|
|
60
|
+
readonly ending: string;
|
|
61
|
+
readonly nameOf: Naming | undefined;
|
|
62
|
+
};
|
|
63
|
+
export declare function lineFits(text: string): boolean;
|
|
64
|
+
export declare function lineOfValue(key: string, facts: ValueFacts | undefined, value: unknown, indent: string, written: Written, pointer: string): string | null;
|
|
65
|
+
export declare function regionOfValue(key: string, facts: ValueFacts | undefined, value: unknown, level: number, written: Written, pointer: string, heading?: string): string;
|
|
66
|
+
export declare function groupBody(facts: ValueFacts, value: Record<string, unknown>, level: number, written: Written, pointer: string, root: boolean): string;
|
|
67
|
+
export type Placed = {
|
|
68
|
+
readonly as: 'name';
|
|
69
|
+
readonly text: string;
|
|
70
|
+
} | {
|
|
71
|
+
readonly as: 'line';
|
|
72
|
+
readonly text: string;
|
|
73
|
+
} | {
|
|
74
|
+
readonly as: 'heading';
|
|
75
|
+
readonly text: string;
|
|
76
|
+
};
|
|
77
|
+
export declare function placedValue(key: string, root: ValueFacts, value: unknown, written: Written): Placed | {
|
|
78
|
+
readonly unwritable: string;
|
|
79
|
+
};
|
|
80
|
+
export declare function bodyOrder(root: ValueFacts): readonly string[];
|
|
81
|
+
export declare function writtenValue(value: unknown, facts: ValueFacts | undefined): unknown;
|
|
82
|
+
export declare function labelAt(root: ValueFacts, path: string): string | undefined;
|
|
83
|
+
export declare function labelsIn(facts: ValueFacts, path?: string, into?: Map<string, string>): Map<string, string>;
|
|
84
|
+
export declare function writtenLabel(label: string, written: LabelAt['written']): string;
|
|
@@ -8,6 +8,9 @@ export type ValueFacts = {
|
|
|
8
8
|
readonly crossRoom?: true;
|
|
9
9
|
readonly prose: boolean;
|
|
10
10
|
readonly conditional?: true;
|
|
11
|
+
readonly title?: string;
|
|
12
|
+
readonly markdown?: true;
|
|
13
|
+
readonly json?: true;
|
|
11
14
|
readonly prefix?: readonly ValueFacts[];
|
|
12
15
|
readonly items?: ValueFacts;
|
|
13
16
|
readonly properties?: Readonly<Record<string, ValueFacts>>;
|
|
@@ -18,14 +21,6 @@ export type PatternFacts = {
|
|
|
18
21
|
readonly pattern: string;
|
|
19
22
|
readonly facts: ValueFacts;
|
|
20
23
|
};
|
|
21
|
-
export type SectionSpec = {
|
|
22
|
-
readonly kind: 'text';
|
|
23
|
-
readonly required: boolean;
|
|
24
|
-
} | {
|
|
25
|
-
readonly kind: 'list';
|
|
26
|
-
readonly required: boolean;
|
|
27
|
-
readonly items: ValueFacts;
|
|
28
|
-
};
|
|
29
24
|
export type Shape = {
|
|
30
25
|
readonly schema: Readonly<Record<string, unknown>>;
|
|
31
26
|
readonly defs: Readonly<Record<string, unknown>>;
|
|
@@ -44,9 +39,8 @@ export type FieldRules = {
|
|
|
44
39
|
export type Definition = {
|
|
45
40
|
readonly name: string;
|
|
46
41
|
readonly memberDocument: boolean;
|
|
47
|
-
readonly
|
|
42
|
+
readonly root: ValueFacts;
|
|
48
43
|
readonly fields: Readonly<Record<string, ValueFacts>>;
|
|
49
|
-
readonly sections: Readonly<Record<string, SectionSpec>>;
|
|
50
44
|
readonly rules: Readonly<Record<string, FieldRules>>;
|
|
51
45
|
readonly createRoles?: readonly string[];
|
|
52
46
|
readonly deleteRoles?: readonly string[];
|
|
@@ -56,17 +50,31 @@ export type Failure = {
|
|
|
56
50
|
readonly rule: string;
|
|
57
51
|
readonly location?: string;
|
|
58
52
|
};
|
|
53
|
+
export type Placed = {
|
|
54
|
+
readonly node: Record<string, unknown>;
|
|
55
|
+
readonly at: string;
|
|
56
|
+
};
|
|
59
57
|
export declare const JSON_TYPES: readonly JsonType[];
|
|
60
58
|
export declare const BUILT_IN_TYPE = "any";
|
|
61
59
|
export declare const ATTACHMENT = "attachment";
|
|
60
|
+
export declare const OPENING: readonly string[];
|
|
62
61
|
export declare const ARRAY_INDEX: RegExp;
|
|
63
62
|
export declare const JSON_POINTER: RegExp;
|
|
63
|
+
export declare function refuse(rule: string, location: string): Failure;
|
|
64
64
|
export declare function escapePointer(key: string): string;
|
|
65
65
|
export declare function pointerSegments(pointer: string): string[];
|
|
66
66
|
export declare function refTarget(reference: string, defs: Readonly<Record<string, unknown>>): {
|
|
67
67
|
readonly name: string;
|
|
68
68
|
readonly node: unknown;
|
|
69
69
|
} | undefined;
|
|
70
|
+
export declare function conjoined(declared: readonly {
|
|
71
|
+
readonly node: unknown;
|
|
72
|
+
readonly at: string;
|
|
73
|
+
}[], defs: Readonly<Record<string, unknown>>, ancestry: ReadonlySet<unknown>): {
|
|
74
|
+
readonly held: readonly Placed[];
|
|
75
|
+
readonly ancestry: ReadonlySet<unknown>;
|
|
76
|
+
};
|
|
77
|
+
export declare function variantsOf({ node, at }: Placed): Placed[];
|
|
70
78
|
export declare function valueFacts(node: unknown, defs: Readonly<Record<string, unknown>>): ValueFacts;
|
|
71
79
|
export declare function itemFacts(facts: ValueFacts, index: number): ValueFacts | undefined;
|
|
72
80
|
export declare function memberFacts(facts: ValueFacts, key: string): ValueFacts | undefined;
|
|
@@ -78,4 +86,5 @@ export type PointerFacts = {
|
|
|
78
86
|
export declare function crossedFacts(facts: ValueFacts): ValueFacts[];
|
|
79
87
|
export declare function fieldFacts(definition: Definition, key: string): ValueFacts | undefined;
|
|
80
88
|
export declare function pointerFacts(definition: Definition, pointer: string): PointerFacts | undefined;
|
|
81
|
-
export declare function
|
|
89
|
+
export declare function untitled(definition: Definition): Definition;
|
|
90
|
+
export declare function readSchema(text: string, provided?: VerifiedModel, checked?: boolean): VerifiedModel | Failure;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
+
import { type Body, type Naming } from './body.js';
|
|
1
2
|
import { type Definition } from './definition.js';
|
|
2
|
-
import { type
|
|
3
|
-
import type { ApplyResult, BodyResult,
|
|
4
|
-
|
|
5
|
-
export declare function
|
|
6
|
-
export declare function
|
|
7
|
-
export declare function
|
|
3
|
+
import { type HrefOccurrence, type Reading } from './markdown.js';
|
|
4
|
+
import type { ApplyResult, BodyResult, Change, DefinitionOf, Document, Link, ParseResult, Refusal, Span, UnlinkedBody } from './types.js';
|
|
5
|
+
export declare function readingOf(document: Document): Reading;
|
|
6
|
+
export declare function bodyOf(document: Document): Body | null;
|
|
7
|
+
export declare function linkDestinations(document: Document): readonly HrefOccurrence[];
|
|
8
|
+
export declare function textSpans(document: Document): readonly Span[];
|
|
9
|
+
export declare function parse(content: string, file?: string, definition?: Definition | DefinitionOf): ParseResult;
|
|
10
|
+
export declare function create(type: string | undefined, definition?: Definition): Document;
|
|
8
11
|
export declare function relativize(document: Document, file: string, handle: string, definition?: Definition, kept?: ReadonlySet<string>): ApplyResult;
|
|
9
12
|
export declare function relativizeBody(body: string, file: string, handle: string): BodyResult;
|
|
10
13
|
export declare function relinkBody(body: string, file: string, moves: ReadonlyMap<string, string>): BodyResult;
|
|
14
|
+
export declare function unlinkBody(body: string, hrefs: ReadonlySet<string>): UnlinkedBody;
|
|
11
15
|
export declare function links(document: Document, file: string): readonly Link[];
|
|
12
16
|
export declare function bodyLinks(body: string, file: string): readonly Link[];
|
|
13
|
-
export declare function
|
|
17
|
+
export declare function bodyWith(document: Document, definition: Definition | undefined): Body | null | Refusal;
|
|
18
|
+
export declare function apply(document: Document, changes: readonly Change[], definition?: Definition, nameOf?: Naming): ApplyResult;
|
|
19
|
+
export declare function relabel(document: Document, before: Definition, after: Definition): string;
|
|
20
|
+
export declare function relabels(before: Definition, after: Definition): boolean;
|
|
14
21
|
export declare function serialize(document: Document): string;
|
|
15
|
-
export declare function frontmatter(document: Document): YamlMap | null;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type Definition } from './definition.js';
|
|
2
|
+
import { type Kind } from './kinds.js';
|
|
3
|
+
import type { Candidate } from './query/match.js';
|
|
4
|
+
import type { Document, VerifiedModel } from './types.js';
|
|
5
|
+
type Scalar = string | number | boolean;
|
|
6
|
+
export type Fact = {
|
|
7
|
+
readonly kind: Kind;
|
|
8
|
+
readonly value: Scalar;
|
|
9
|
+
readonly member?: string;
|
|
10
|
+
} | {
|
|
11
|
+
readonly kind: 'prose';
|
|
12
|
+
} | {
|
|
13
|
+
readonly kind: 'null';
|
|
14
|
+
} | {
|
|
15
|
+
readonly kind: 'unreadable';
|
|
16
|
+
} | {
|
|
17
|
+
readonly kind: 'list';
|
|
18
|
+
readonly items: readonly Fact[];
|
|
19
|
+
} | {
|
|
20
|
+
readonly kind: 'object';
|
|
21
|
+
readonly fields: Readonly<Record<string, Fact>>;
|
|
22
|
+
};
|
|
23
|
+
export type DocumentFacts = {
|
|
24
|
+
readonly id: string;
|
|
25
|
+
readonly path: string;
|
|
26
|
+
readonly type: string | null;
|
|
27
|
+
readonly fields: Readonly<Record<string, Fact>>;
|
|
28
|
+
};
|
|
29
|
+
export declare const TEXT_FIELD = "/text";
|
|
30
|
+
export declare const WRITE_DOORS: readonly ['browser', 'agent', 'client', 'function'];
|
|
31
|
+
export type WriteDoor = (typeof WRITE_DOORS)[number];
|
|
32
|
+
export type Actor = {
|
|
33
|
+
readonly user?: string;
|
|
34
|
+
readonly site?: string;
|
|
35
|
+
readonly app?: string;
|
|
36
|
+
readonly door?: WriteDoor;
|
|
37
|
+
};
|
|
38
|
+
export type DocumentEvent = {
|
|
39
|
+
readonly before: DocumentFacts | null;
|
|
40
|
+
readonly after: DocumentFacts | null;
|
|
41
|
+
readonly changed: readonly string[];
|
|
42
|
+
readonly by: Actor;
|
|
43
|
+
readonly moved_between_rooms: boolean;
|
|
44
|
+
};
|
|
45
|
+
export type ItemFacts = {
|
|
46
|
+
readonly delivery: string;
|
|
47
|
+
readonly source: string | null;
|
|
48
|
+
readonly address: string | null;
|
|
49
|
+
readonly container: string | null;
|
|
50
|
+
readonly author: string | null;
|
|
51
|
+
readonly headers: Readonly<Record<string, string>>;
|
|
52
|
+
readonly json: {
|
|
53
|
+
readonly value: unknown;
|
|
54
|
+
} | null;
|
|
55
|
+
};
|
|
56
|
+
export type MessageFacts = {
|
|
57
|
+
readonly sender: string;
|
|
58
|
+
readonly agent_function: string | null;
|
|
59
|
+
readonly path: string | null;
|
|
60
|
+
};
|
|
61
|
+
export type Resolved = {
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly member?: string;
|
|
64
|
+
};
|
|
65
|
+
export declare function facts(document: Pick<Document, 'type' | 'fields'>, at: {
|
|
66
|
+
readonly id: string;
|
|
67
|
+
readonly path: string;
|
|
68
|
+
}, model: VerifiedModel, resolve: (target: string) => Resolved | undefined): DocumentFacts;
|
|
69
|
+
export declare function prosePaths(facts: DocumentFacts): string[];
|
|
70
|
+
export declare function members(document: DocumentFacts, path: string): readonly string[];
|
|
71
|
+
export declare function pointed(value: unknown, pointer: string): unknown;
|
|
72
|
+
export declare function valuedChange(definition: Definition, pointer: string): boolean;
|
|
73
|
+
export declare function datePointers(definition: Definition): string[];
|
|
74
|
+
export declare function memberPointers(definition: Definition, memberType: string): string[];
|
|
75
|
+
export declare function candidateOf(document: DocumentFacts): Candidate;
|
|
76
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Document, ParseResult, VerifiedModel } from './types.js';
|
|
2
|
+
export type SavedFacts = {
|
|
3
|
+
readonly type: string;
|
|
4
|
+
readonly fields: Readonly<Record<string, unknown>>;
|
|
5
|
+
readonly links: readonly string[];
|
|
6
|
+
};
|
|
7
|
+
export type ReferenceTarget = {
|
|
8
|
+
readonly location: string;
|
|
9
|
+
readonly to: readonly string[];
|
|
10
|
+
readonly target: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function referenceTarget(file: string, value: string): string | null;
|
|
13
|
+
export declare function referenceTargets(document: Document, file: string, model: VerifiedModel): readonly ReferenceTarget[];
|
|
14
|
+
export declare function documentFacts(file: string, parsed: ParseResult, model: VerifiedModel): SavedFacts | null;
|
package/dist/mdmodel/fields.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TYPE_FIELD = "type";
|
|
2
2
|
export declare const MEMBER_FIELD = "member";
|
|
3
3
|
export declare const SITE_FIELD = "site";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const SUBMITTED_FIELD = "submitted";
|
|
5
5
|
export declare const HOUSE_FIELDS: readonly string[];
|