@agentshouse/mdmodel 0.1.0-ccf1367190878 → 0.1.0-cd5ace6e0b27a
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/API.md +232 -182
- package/README.md +21 -22
- package/dist/definition.d.ts +18 -1
- package/dist/definition.d.ts.map +1 -1
- package/dist/definition.js +176 -48
- package/dist/divide.d.ts.map +1 -1
- package/dist/divide.js +32 -21
- package/dist/document.d.ts +10 -6
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +424 -207
- package/dist/event.d.ts +78 -0
- package/dist/event.d.ts.map +1 -0
- package/dist/event.js +201 -0
- package/dist/facts.d.ts +15 -0
- package/dist/facts.d.ts.map +1 -0
- package/dist/facts.js +41 -0
- package/dist/form.d.ts +4 -0
- package/dist/form.d.ts.map +1 -0
- package/dist/form.js +139 -0
- package/dist/index.d.ts +25 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -8
- package/dist/kinds.d.ts +18 -0
- package/dist/kinds.d.ts.map +1 -0
- package/dist/kinds.js +150 -0
- package/dist/markdown.d.ts +51 -0
- package/dist/markdown.d.ts.map +1 -0
- package/dist/markdown.js +271 -0
- package/dist/paths.d.ts +18 -2
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +69 -15
- package/dist/pattern.d.ts +10 -0
- package/dist/pattern.d.ts.map +1 -0
- package/dist/pattern.js +356 -0
- package/dist/project.d.ts +1 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +44 -26
- package/dist/query/language.d.ts +254 -0
- package/dist/query/language.d.ts.map +1 -0
- package/dist/query/language.js +620 -0
- package/dist/query/match.d.ts +14 -0
- package/dist/query/match.d.ts.map +1 -0
- package/dist/query/match.js +150 -0
- package/dist/query/rows.d.ts +32 -0
- package/dist/query/rows.d.ts.map +1 -0
- package/dist/query/rows.js +161 -0
- package/dist/query/sql.d.ts +39 -0
- package/dist/query/sql.d.ts.map +1 -0
- package/dist/query/sql.js +285 -0
- package/dist/references.d.ts.map +1 -1
- package/dist/references.js +6 -1
- package/dist/reserved.d.ts +6 -0
- package/dist/reserved.d.ts.map +1 -0
- package/dist/reserved.js +21 -0
- package/dist/schema.d.ts +1 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +55 -4
- package/dist/types.d.ts +46 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/validate.d.ts +31 -4
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +387 -129
- package/dist/yaml.d.ts.map +1 -1
- package/dist/yaml.js +40 -14
- package/fixtures/README.md +34 -7
- package/fixtures/cases/conditional-section/context.json +1 -0
- package/fixtures/cases/conditional-section/expected.json +6 -0
- package/fixtures/cases/conditional-section/library/questions/hosting.md +9 -0
- package/fixtures/cases/conditional-section/library/questions/payments.md +12 -0
- package/fixtures/cases/conditional-section/schema.yaml +14 -0
- package/fixtures/cases/cross-room-link/context.json +1 -0
- package/fixtures/cases/cross-room-link/expected.json +1 -0
- package/fixtures/cases/cross-room-link/library/clients/acme.md +6 -0
- package/fixtures/cases/cross-room-link/schema.yaml +3 -0
- package/fixtures/cases/cross-room-reference/context.json +1 -0
- package/fixtures/cases/cross-room-reference/expected.json +1 -0
- package/fixtures/cases/cross-room-reference/library/clients/acme.md +9 -0
- package/fixtures/cases/cross-room-reference/schema.yaml +9 -0
- package/fixtures/cases/equal-labels/context.json +1 -0
- package/fixtures/cases/equal-labels/expected.json +5 -0
- package/fixtures/cases/equal-labels/schema.yaml +4 -0
- package/fixtures/cases/labels-in-the-rooms-language/context.json +1 -0
- package/fixtures/cases/labels-in-the-rooms-language/expected.json +1 -0
- package/fixtures/cases/labels-in-the-rooms-language/library/deals/atlas.md +6 -0
- package/fixtures/cases/labels-in-the-rooms-language/schema.yaml +9 -0
- package/fixtures/cases/lazy-list-item/context.json +1 -0
- package/fixtures/cases/lazy-list-item/expected.json +3 -0
- package/fixtures/cases/lazy-list-item/library/item.md +8 -0
- package/fixtures/cases/lazy-list-item/schema.yaml +3 -0
- package/fixtures/cases/link-into-a-reserved-name/context.json +1 -0
- package/fixtures/cases/link-into-a-reserved-name/expected.json +5 -0
- package/fixtures/cases/link-into-a-reserved-name/library/notes/a.md +6 -0
- package/fixtures/cases/link-into-a-reserved-name/schema.yaml +3 -0
- package/fixtures/cases/link-into-a-reserved-name-from-an-untyped-document/context.json +1 -0
- package/fixtures/cases/link-into-a-reserved-name-from-an-untyped-document/expected.json +5 -0
- package/fixtures/cases/link-into-a-reserved-name-from-an-untyped-document/library/notes/b.md +5 -0
- package/fixtures/cases/long-value-past-six-levels/context.json +1 -0
- package/fixtures/cases/long-value-past-six-levels/expected.json +5 -0
- package/fixtures/cases/long-value-past-six-levels/schema.yaml +15 -0
- package/fixtures/cases/member-on-an-untyped-document/context.json +1 -0
- package/fixtures/cases/member-on-an-untyped-document/expected.json +6 -0
- package/fixtures/cases/member-on-an-untyped-document/library/note.md +4 -0
- package/fixtures/cases/member-on-another-type/context.json +1 -0
- package/fixtures/cases/member-on-another-type/expected.json +6 -0
- package/fixtures/cases/member-on-another-type/library/note.md +4 -0
- package/fixtures/cases/member-on-another-type/schema.yaml +7 -0
- package/fixtures/cases/name-not-a-string/context.json +1 -0
- package/fixtures/cases/name-not-a-string/expected.json +5 -0
- package/fixtures/cases/name-not-a-string/schema.yaml +5 -0
- package/fixtures/cases/one-key-two-labels/context.json +1 -0
- package/fixtures/cases/one-key-two-labels/expected.json +5 -0
- package/fixtures/cases/one-key-two-labels/schema.yaml +5 -0
- package/fixtures/cases/one-key-two-types/context.json +1 -0
- package/fixtures/cases/one-key-two-types/expected.json +5 -0
- package/fixtures/cases/one-key-two-types/schema.yaml +4 -0
- package/fixtures/cases/reference-into-a-reserved-name/context.json +1 -0
- package/fixtures/cases/reference-into-a-reserved-name/expected.json +6 -0
- package/fixtures/cases/reference-into-a-reserved-name/library/notes/a.md +4 -0
- package/fixtures/cases/reference-into-a-reserved-name/library/settings/brief.md +1 -0
- package/fixtures/cases/reference-into-a-reserved-name/schema.yaml +3 -0
- package/fixtures/cases/room-md-declares-a-type/context.json +1 -0
- package/fixtures/cases/room-md-declares-a-type/expected.json +6 -0
- package/fixtures/cases/room-md-declares-a-type/library/ROOM.md +5 -0
- package/fixtures/cases/thematic-break-in-a-list-section/context.json +1 -0
- package/fixtures/cases/thematic-break-in-a-list-section/expected.json +6 -0
- package/fixtures/cases/thematic-break-in-a-list-section/library/item.md +7 -0
- package/fixtures/cases/thematic-break-in-a-list-section/schema.yaml +3 -0
- package/fixtures/cases/typed-path-names-another-type/context.json +11 -0
- package/fixtures/cases/typed-path-names-another-type/expected.json +6 -0
- package/fixtures/cases/typed-path-names-another-type/library/settings/prefs/one.md +3 -0
- package/fixtures/cases/typed-path-names-another-type/schema.yaml +6 -0
- package/fixtures/cases/typed-path-names-its-type/context.json +11 -0
- package/fixtures/cases/typed-path-names-its-type/expected.json +3 -0
- package/fixtures/cases/typed-path-names-its-type/library/settings/prefs/deeper/two.md +1 -0
- package/fixtures/cases/typed-path-names-its-type/library/settings/prefs/one.md +4 -0
- package/fixtures/cases/typed-path-names-its-type/schema.yaml +6 -0
- package/fixtures/cases/typed-path-names-no-type/context.json +11 -0
- package/fixtures/cases/typed-path-names-no-type/expected.json +6 -0
- package/fixtures/cases/typed-path-names-no-type/library/settings/prefs/one.md +1 -0
- package/fixtures/cases/typed-path-names-no-type/schema.yaml +6 -0
- package/fixtures/cases/unnamed-typed-path-checks-its-fields/context.json +11 -0
- package/fixtures/cases/unnamed-typed-path-checks-its-fields/expected.json +6 -0
- package/fixtures/cases/unnamed-typed-path-checks-its-fields/library/rooms/team/tasks/plan.md +4 -0
- package/fixtures/cases/unnamed-typed-path-checks-its-fields/schema.yaml +5 -0
- package/fixtures/cases/unnamed-typed-path-names-a-type/context.json +11 -0
- package/fixtures/cases/unnamed-typed-path-names-a-type/expected.json +6 -0
- package/fixtures/cases/unnamed-typed-path-names-a-type/library/rooms/team/tasks/plan.md +6 -0
- package/fixtures/cases/unnamed-typed-path-names-a-type/schema.yaml +5 -0
- package/fixtures/cases/unnamed-typed-path-reads-its-type/context.json +11 -0
- package/fixtures/cases/unnamed-typed-path-reads-its-type/expected.json +3 -0
- package/fixtures/cases/unnamed-typed-path-reads-its-type/library/rooms/team/plan.md +1 -0
- package/fixtures/cases/unnamed-typed-path-reads-its-type/library/rooms/team/tasks/plan.md +5 -0
- package/fixtures/cases/unnamed-typed-path-reads-its-type/schema.yaml +5 -0
- package/fixtures/cases/unnamed-typed-path-without-a-body/context.json +11 -0
- package/fixtures/cases/unnamed-typed-path-without-a-body/expected.json +5 -0
- package/fixtures/cases/unnamed-typed-path-without-a-body/library/rooms/team/tasks/plan.md +5 -0
- package/fixtures/cases/unnamed-typed-path-without-a-body/schema.yaml +5 -0
- package/fixtures/division.json +73 -28
- package/fixtures/preamble.json +24 -3
- package/fixtures/projection.json +105 -2
- package/fixtures/queries.json +964 -0
- package/package.json +16 -2
- package/dist/blocks.d.ts +0 -11
- package/dist/blocks.d.ts.map +0 -1
- package/dist/blocks.js +0 -76
- package/dist/condition.d.ts +0 -149
- package/dist/condition.d.ts.map +0 -1
- package/dist/condition.js +0 -500
- package/dist/links.d.ts +0 -27
- package/dist/links.d.ts.map +0 -1
- package/dist/links.js +0 -774
- package/dist/profile.d.ts +0 -6
- package/dist/profile.d.ts.map +0 -1
- package/dist/profile.js +0 -5
- package/dist/sections.d.ts +0 -11
- package/dist/sections.d.ts.map +0 -1
- package/dist/sections.js +0 -57
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { type Definition } from '../definition.js';
|
|
2
|
+
export type Value = string | number | boolean | null;
|
|
3
|
+
export type Predicate = Value | {
|
|
4
|
+
$eq: Value;
|
|
5
|
+
} | {
|
|
6
|
+
$ne: Value;
|
|
7
|
+
} | {
|
|
8
|
+
$in: readonly Value[];
|
|
9
|
+
} | {
|
|
10
|
+
$nin: readonly Value[];
|
|
11
|
+
} | {
|
|
12
|
+
$gt?: Value;
|
|
13
|
+
$gte?: Value;
|
|
14
|
+
$lt?: Value;
|
|
15
|
+
$lte?: Value;
|
|
16
|
+
} | {
|
|
17
|
+
$all: readonly Value[];
|
|
18
|
+
} | {
|
|
19
|
+
$size: number;
|
|
20
|
+
} | {
|
|
21
|
+
$exists: boolean;
|
|
22
|
+
} | {
|
|
23
|
+
$prefix: string;
|
|
24
|
+
};
|
|
25
|
+
export type Where = {
|
|
26
|
+
$and?: readonly Where[];
|
|
27
|
+
$or?: readonly Where[];
|
|
28
|
+
[field: string]: Predicate | readonly Where[] | undefined;
|
|
29
|
+
};
|
|
30
|
+
export type Related = {
|
|
31
|
+
types?: readonly string[];
|
|
32
|
+
where?: Where;
|
|
33
|
+
pathPrefix?: string;
|
|
34
|
+
};
|
|
35
|
+
export type Filter = {
|
|
36
|
+
rooms?: readonly string[];
|
|
37
|
+
types?: readonly string[];
|
|
38
|
+
where?: Where;
|
|
39
|
+
pathPrefix?: string;
|
|
40
|
+
outside?: readonly string[];
|
|
41
|
+
folder?: string;
|
|
42
|
+
paths?: readonly string[];
|
|
43
|
+
fileIds?: readonly string[];
|
|
44
|
+
hop?: Related & {
|
|
45
|
+
field: string;
|
|
46
|
+
};
|
|
47
|
+
backlinks?: Related & {
|
|
48
|
+
field?: string;
|
|
49
|
+
};
|
|
50
|
+
text?: string;
|
|
51
|
+
};
|
|
52
|
+
export type Key = 'room' | 'path' | 'type' | 'folder' | 'size' | 'created' | 'updated' | {
|
|
53
|
+
field: string;
|
|
54
|
+
};
|
|
55
|
+
export type GroupKey = 'room' | 'type' | 'folder' | 'subfolder' | {
|
|
56
|
+
field: string;
|
|
57
|
+
};
|
|
58
|
+
export type Select = 'all' | {
|
|
59
|
+
fields?: 'all' | readonly string[];
|
|
60
|
+
sections?: 'all' | readonly string[];
|
|
61
|
+
preamble?: true;
|
|
62
|
+
markdown?: true;
|
|
63
|
+
backlinks?: true;
|
|
64
|
+
change?: true;
|
|
65
|
+
fileId?: true;
|
|
66
|
+
revision?: true;
|
|
67
|
+
size?: true;
|
|
68
|
+
created?: true;
|
|
69
|
+
};
|
|
70
|
+
export type GroupSelect = {
|
|
71
|
+
size?: true;
|
|
72
|
+
updated?: true;
|
|
73
|
+
greatest?: {
|
|
74
|
+
field: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export type GroupOrder = 'count' | 'size' | 'updated' | 'greatest';
|
|
78
|
+
export type OrderOptions = {
|
|
79
|
+
nulls?: 'first' | 'last';
|
|
80
|
+
stringSort?: 'lexical' | 'locale';
|
|
81
|
+
locale?: string;
|
|
82
|
+
localeOptions?: Readonly<Record<string, unknown>>;
|
|
83
|
+
};
|
|
84
|
+
export type Direction = 'asc' | 'desc';
|
|
85
|
+
export type DocumentQuery = Filter & {
|
|
86
|
+
select: Select;
|
|
87
|
+
orderBy?: readonly ({
|
|
88
|
+
by: Key;
|
|
89
|
+
direction?: Direction;
|
|
90
|
+
} & OrderOptions)[];
|
|
91
|
+
limit?: number;
|
|
92
|
+
after?: string;
|
|
93
|
+
total?: true;
|
|
94
|
+
};
|
|
95
|
+
export type GroupQuery = Filter & {
|
|
96
|
+
groupBy: readonly GroupKey[];
|
|
97
|
+
select?: GroupSelect;
|
|
98
|
+
orderBy?: readonly {
|
|
99
|
+
by: GroupOrder | GroupKey;
|
|
100
|
+
direction?: Direction;
|
|
101
|
+
nulls?: 'first' | 'last';
|
|
102
|
+
}[];
|
|
103
|
+
limit?: number;
|
|
104
|
+
after?: string;
|
|
105
|
+
total?: true;
|
|
106
|
+
};
|
|
107
|
+
export type LocalQuery = DocumentQuery | GroupQuery;
|
|
108
|
+
export type QueryErrorCode = 'invalid-query' | 'unknown-type' | 'unknown-field' | 'wrong-kind';
|
|
109
|
+
export type RoomFacts = {
|
|
110
|
+
locator: string;
|
|
111
|
+
available: boolean;
|
|
112
|
+
types: readonly Definition[];
|
|
113
|
+
};
|
|
114
|
+
export type HeldRooms = {
|
|
115
|
+
listed: boolean;
|
|
116
|
+
rooms: readonly RoomFacts[];
|
|
117
|
+
};
|
|
118
|
+
export type Test = {
|
|
119
|
+
op: 'eq';
|
|
120
|
+
value: Value;
|
|
121
|
+
} | {
|
|
122
|
+
op: 'ne';
|
|
123
|
+
value: Value;
|
|
124
|
+
} | {
|
|
125
|
+
op: 'in';
|
|
126
|
+
values: readonly Value[];
|
|
127
|
+
} | {
|
|
128
|
+
op: 'nin';
|
|
129
|
+
values: readonly Value[];
|
|
130
|
+
} | {
|
|
131
|
+
op: 'range';
|
|
132
|
+
bounds: readonly (readonly ['gt' | 'gte' | 'lt' | 'lte', Value])[];
|
|
133
|
+
} | {
|
|
134
|
+
op: 'all';
|
|
135
|
+
values: readonly Value[];
|
|
136
|
+
} | {
|
|
137
|
+
op: 'size';
|
|
138
|
+
size: number;
|
|
139
|
+
} | {
|
|
140
|
+
op: 'exists';
|
|
141
|
+
exists: boolean;
|
|
142
|
+
} | {
|
|
143
|
+
op: 'prefix';
|
|
144
|
+
prefix: string;
|
|
145
|
+
};
|
|
146
|
+
export type Clause = {
|
|
147
|
+
every: readonly Clause[];
|
|
148
|
+
} | {
|
|
149
|
+
some: readonly Clause[];
|
|
150
|
+
} | {
|
|
151
|
+
field: string;
|
|
152
|
+
test: Test;
|
|
153
|
+
};
|
|
154
|
+
export type Scope = {
|
|
155
|
+
types: readonly string[] | null;
|
|
156
|
+
where: Clause | null;
|
|
157
|
+
pathPrefix: string | null;
|
|
158
|
+
};
|
|
159
|
+
export type KeyPlan = {
|
|
160
|
+
of: 'room';
|
|
161
|
+
} | {
|
|
162
|
+
of: 'path';
|
|
163
|
+
} | {
|
|
164
|
+
of: 'type';
|
|
165
|
+
} | {
|
|
166
|
+
of: 'folder';
|
|
167
|
+
} | {
|
|
168
|
+
of: 'subfolder';
|
|
169
|
+
} | {
|
|
170
|
+
of: 'size';
|
|
171
|
+
} | {
|
|
172
|
+
of: 'created';
|
|
173
|
+
} | {
|
|
174
|
+
of: 'updated';
|
|
175
|
+
} | {
|
|
176
|
+
of: 'field';
|
|
177
|
+
field: string;
|
|
178
|
+
};
|
|
179
|
+
export type DocumentShape = {
|
|
180
|
+
kind: 'documents';
|
|
181
|
+
fields: 'all' | readonly string[] | null;
|
|
182
|
+
sections: 'all' | readonly string[] | null;
|
|
183
|
+
preamble: boolean;
|
|
184
|
+
markdown: boolean;
|
|
185
|
+
backlinks: boolean;
|
|
186
|
+
change: boolean;
|
|
187
|
+
fileId: boolean;
|
|
188
|
+
revision: boolean;
|
|
189
|
+
size: boolean;
|
|
190
|
+
created: boolean;
|
|
191
|
+
orderBy: readonly {
|
|
192
|
+
key: KeyPlan;
|
|
193
|
+
options: OrderOptions & {
|
|
194
|
+
direction: Direction;
|
|
195
|
+
};
|
|
196
|
+
}[];
|
|
197
|
+
};
|
|
198
|
+
export type GroupShape = {
|
|
199
|
+
kind: 'groups';
|
|
200
|
+
groupBy: readonly KeyPlan[];
|
|
201
|
+
size: boolean;
|
|
202
|
+
updated: boolean;
|
|
203
|
+
greatest: string | null;
|
|
204
|
+
orderBy: readonly {
|
|
205
|
+
by: GroupOrder | number;
|
|
206
|
+
direction: Direction;
|
|
207
|
+
nulls: 'first' | 'last' | null;
|
|
208
|
+
}[];
|
|
209
|
+
};
|
|
210
|
+
export type Continuation = {
|
|
211
|
+
text: string;
|
|
212
|
+
values: readonly unknown[] | null;
|
|
213
|
+
};
|
|
214
|
+
export type QueryPlan = {
|
|
215
|
+
key: string;
|
|
216
|
+
rooms: readonly string[] | null;
|
|
217
|
+
root: Scope;
|
|
218
|
+
outside: readonly string[] | null;
|
|
219
|
+
folder: string | null;
|
|
220
|
+
paths: readonly string[] | null;
|
|
221
|
+
fileIds: readonly string[] | null;
|
|
222
|
+
hop: (Scope & {
|
|
223
|
+
field: string;
|
|
224
|
+
}) | null;
|
|
225
|
+
backlinks: (Scope & {
|
|
226
|
+
field: string | null;
|
|
227
|
+
}) | null;
|
|
228
|
+
text: string | null;
|
|
229
|
+
shape: DocumentShape | GroupShape;
|
|
230
|
+
limit: number | null;
|
|
231
|
+
after: Continuation | null;
|
|
232
|
+
total: boolean;
|
|
233
|
+
};
|
|
234
|
+
export type Place = readonly (string | number)[];
|
|
235
|
+
type At = Place | string;
|
|
236
|
+
export declare class QueryError extends Error {
|
|
237
|
+
readonly code: QueryErrorCode;
|
|
238
|
+
readonly place: Place;
|
|
239
|
+
readonly accepts: readonly string[];
|
|
240
|
+
readonly retryable = false;
|
|
241
|
+
constructor(code: QueryErrorCode, at: At, problem: string, accepts?: readonly string[]);
|
|
242
|
+
}
|
|
243
|
+
type Entries = Readonly<Record<string, unknown>>;
|
|
244
|
+
export declare function bodied(shape: DocumentShape): boolean;
|
|
245
|
+
export declare function invalid(at: At, problem: string, accepts?: readonly string[]): never;
|
|
246
|
+
export declare function placeText(at: Place): string;
|
|
247
|
+
export declare function known(value: Entries, allowed: readonly string[], at: At): void;
|
|
248
|
+
export declare function planOf(input: unknown, facts: HeldRooms): QueryPlan;
|
|
249
|
+
export declare function cursorOf(values: readonly unknown[]): string;
|
|
250
|
+
export declare function decodedCursor(text: string): readonly unknown[] | null;
|
|
251
|
+
export declare function queryKey(query: unknown): string;
|
|
252
|
+
export declare function identityOf(plan: QueryPlan): string;
|
|
253
|
+
export {};
|
|
254
|
+
//# sourceMappingURL=language.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../src/query/language.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,UAAU,EAGhB,MAAM,kBAAkB,CAAC;AAK1B,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAErD,MAAM,MAAM,SAAS,GACjB,KAAK,GACL;IAAE,GAAG,EAAE,KAAK,CAAA;CAAE,GACd;IAAE,GAAG,EAAE,KAAK,CAAA;CAAE,GACd;IAAE,GAAG,EAAE,SAAS,KAAK,EAAE,CAAA;CAAE,GACzB;IAAE,IAAI,EAAE,SAAS,KAAK,EAAE,CAAA;CAAE,GAC1B;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