@mnmal-ai/substrate 1.0.0-alpha.8 → 1.0.0-beta.1

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.
Files changed (53) hide show
  1. package/README.md +32 -14
  2. package/dist/boot-store-BMQUbHKv.js +4086 -0
  3. package/dist/{runtime-metrics-DwpDJ8vz.d.ts → bridge-DnToJedN.d.ts} +2 -87
  4. package/dist/cli-DModIbnN.js +3390 -0
  5. package/dist/client.browser.js +2507 -0
  6. package/dist/client.d.ts +222 -171
  7. package/dist/client.js +6 -7
  8. package/dist/cluster-worker.js +0 -1
  9. package/dist/{content-type-C7T28xNb.js → content-type-wLljot5M.js} +0 -1
  10. package/dist/{env-utils-CGNazUNt.js → env-utils-s25Z1YSA.js} +0 -1
  11. package/dist/{errors-D4vKuwz8.d.ts → errors-Cmkp1qxf.d.ts} +44 -4
  12. package/dist/{fake-DUVtKVSE.js → fake-DdXtb-m8.js} +0 -1
  13. package/dist/{index-D7mSOFlM.d.ts → index-BI4KqFiR.d.ts} +7 -11
  14. package/dist/msgpackr-Dq18g6Ds.js +16 -0
  15. package/dist/node-version-BtK_Nq6z.js +32 -0
  16. package/dist/pack.d.ts +75 -11
  17. package/dist/pack.js +4 -4
  18. package/dist/{plugin-B3NxUCVn.js → plugin-CEOhrEme.js} +149 -6
  19. package/dist/proposals-bootstrap.js +6 -5
  20. package/dist/proposals.config.schema.json +5 -0
  21. package/dist/proposals.d.ts +17 -5
  22. package/dist/proposals.default-config.json +2 -1
  23. package/dist/proposals.js +2 -3
  24. package/dist/recall-bootstrap.js +5 -4
  25. package/dist/recall.config.schema.json +6 -0
  26. package/dist/recall.d.ts +27 -6
  27. package/dist/recall.js +2 -3
  28. package/dist/{repl-DeKzfvNV.js → repl-BvDZy-Ut.js} +52 -26
  29. package/dist/{row-ByLFE2Wx.d.ts → row-D0If4qif.d.ts} +92 -12
  30. package/dist/run-BT123RV1.js +2443 -0
  31. package/dist/{plugin-t2g2wX0b.d.ts → schema-aIkY8sR3.d.ts} +1293 -63
  32. package/dist/{script-C6DSa_Na.js → script-ByQ9pzhC.js} +54 -26
  33. package/dist/script-runner.js +78 -0
  34. package/dist/sdk.d.ts +236 -38
  35. package/dist/sdk.js +5 -110
  36. package/dist/semver-D_zdq0hi.js +17 -0
  37. package/dist/src-BMD2OE--.js +8289 -0
  38. package/dist/{src-BLgbLq2k.js → src-B_kHkbsr.js} +780 -330
  39. package/dist/{src-DjIuRjzF.js → src-CKSJ13p8.js} +10231 -4237
  40. package/dist/{src-CkZw6xVD.js → src-CW7eRDss.js} +188 -87
  41. package/dist/{row-DZ0Fnpc6.js → src-DmiUWOLp.js} +2 -1
  42. package/dist/{src-DCy7Iy2l.js → src-DmjwFMu8.js} +900 -77
  43. package/dist/{src-DiNTSaFk.js → src-FXO5JPyk.js} +686 -856
  44. package/dist/substrate-admin.js +17 -782
  45. package/dist/substrate.js +4 -5206
  46. package/dist/testing.d.ts +473 -96
  47. package/dist/testing.js +19 -165
  48. package/dist/{ws-C72iVS5T.d.ts → ws-DW8ng02H.d.ts} +4 -5
  49. package/package.json +26 -26
  50. package/dist/dataset-jZS_4ci4.js +0 -1535
  51. package/dist/pg-edges-store-KH_FQCxx.js +0 -381
  52. package/dist/schema-g4FQLr0V.d.ts +0 -433
  53. package/dist/src-BD27zeGF.js +0 -2339
@@ -1,433 +0,0 @@
1
- //#region ../../packages/substrate-types/src/core.d.ts
2
- /**
3
- * Core substrate-neutral types. Spec: §4.5 Dataset, §4.6 Edge.
4
- */
5
- type Id = string | number;
6
- interface Row {
7
- id: Id;
8
- _deletedAt?: Date | null;
9
- /**
10
- * Server-managed row-lifecycle metadata, set by autoCRUD on create/update
11
- * and projected on every read alongside `id`. Each dataset stores it in
12
- * its own way.
13
- */
14
- _metadata?: RowMetadata;
15
- [field: string]: unknown;
16
- }
17
- type IdentityKind = 'agent' | 'user' | 'system';
18
- /**
19
- * Row-attribution actor — records who created or last updated a row.
20
- * Distinct from the auth `Identity` in `policy.ts` (JWT principal).
21
- */
22
- interface ActorIdentity {
23
- readonly kind: IdentityKind;
24
- readonly id: string;
25
- }
26
- interface RowMetadata {
27
- readonly createdAt: string | null;
28
- readonly updatedAt: string | null;
29
- readonly createdBy: ActorIdentity | null;
30
- readonly updatedBy: ActorIdentity | null;
31
- }
32
- declare const CLIENT_SUPPLIED_SERVER_FIELD: 'client_supplied_server_field';
33
- type ClientSuppliedServerFieldError = typeof CLIENT_SUPPLIED_SERVER_FIELD;
34
- declare const ROW_METADATA_FIELDS: readonly ['createdAt', 'updatedAt', 'createdBy', 'updatedBy'];
35
- type RowMetadataField = (typeof ROW_METADATA_FIELDS)[number];
36
- //#endregion
37
- //#region ../../packages/substrate-types/src/edge.d.ts
38
- type OnDelete = 'set_null' | 'cascade' | 'restrict' | 'orphan';
39
- type OnMissing = 'reject' | 'allow';
40
- interface EdgeRef {
41
- ns: string;
42
- type: string;
43
- id: Id;
44
- bridged?: boolean;
45
- }
46
- interface Edge {
47
- id: string;
48
- from: EdgeRef;
49
- to: EdgeRef;
50
- fieldName: string;
51
- policy: OnDelete;
52
- createdAt: Date;
53
- deletedAt?: Date;
54
- lastSweptAt?: Date;
55
- blocked?: boolean;
56
- }
57
- /**
58
- * Narrow patch type for `EdgesStore.update`. Immutable fields (from, to,
59
- * policy, fieldName, createdAt, id-as-identity) cannot be changed post-write.
60
- * `deletedAt` is managed exclusively by `tombstone(id)`.
61
- */
62
- type EdgePatch = Pick<Edge, 'id'> & Partial<Pick<Edge, 'lastSweptAt' | 'blocked'>>;
63
- type EdgeWriteInput = Omit<Edge, 'id' | 'createdAt' | 'lastSweptAt' | 'deletedAt' | 'blocked'>;
64
- type CanDeleteResult = {
65
- ok: true;
66
- } | {
67
- ok: false;
68
- blockedBy: Edge[];
69
- };
70
- interface EdgesStore {
71
- /**
72
- * Stable identifier for the storage substrate this edges store wraps.
73
- * Parallels `Dataset.txScopeId` (spec §5.3). When an `EdgesStore`
74
- * and a `Dataset` share a `txScopeId`, the engine enlists edge
75
- * mutations into the dataset's `withScopedTransaction`, making
76
- * row-tombstone + edge-tombstone within one frame atomic.
77
- *
78
- * Convention:
79
- * - pg: derived from the `postgres.Sql` pool reference identity. A
80
- * `PgEdgesStore` constructed against the same `Sql` as a
81
- * `PgDataset` advertises the same `txScopeId`.
82
- * - memory: unique per `MemoryEdgesStore` instance. A memory edges
83
- * store can never coalesce into a dataset's substrate tx; the engine
84
- * falls back to nested independent transactions for that case.
85
- */
86
- readonly txScopeId: string;
87
- write(input: EdgeWriteInput): Promise<Edge>;
88
- tombstone(id: string, at?: Date): Promise<void>;
89
- update(patch: EdgePatch): Promise<void>;
90
- readNextBatch(cursorId: string | null, size: number): Promise<{
91
- edges: Edge[];
92
- lastId: string | null;
93
- }>;
94
- findEdgesTo(ref: EdgeRef): Promise<Edge[]>;
95
- /**
96
- * Batched `findEdgesTo`: all live (non-tombstoned) inbound edges whose `to`
97
- * matches ANY of `refs`, in a single round-trip. Empty `refs` yields an
98
- * empty result. Callers group the flat result by `edge.to` themselves.
99
- */
100
- findEdgesToMany(refs: readonly EdgeRef[]): Promise<Edge[]>;
101
- findEdgesFrom(ref: EdgeRef): Promise<Edge[]>;
102
- canDelete(ref: EdgeRef): Promise<CanDeleteResult>;
103
- findBlocked(): Promise<Edge[]>;
104
- /**
105
- * List live (non-tombstoned) edges where `from_ns === namespace` OR
106
- * `to_ns === namespace`. Used by drop-namespace to detect dangling refs
107
- * when `cascade === 'refuse'`. Bounded by `limit` — callers only need
108
- * enough to decide + surface a sample.
109
- */
110
- findEdgesTouchingNamespace(namespace: string, limit: number): Promise<Edge[]>;
111
- /**
112
- * List live (non-tombstoned) edges where either endpoint matches
113
- * `(namespace, type)`. Used by drop-type for the same cascade-refuse check.
114
- */
115
- findEdgesTouchingType(namespace: string, type: string, limit: number): Promise<Edge[]>;
116
- /**
117
- * Distinct namespaces other than `namespace` at the far end of any edge
118
- * (tombstoned or live) touching `namespace`, or `(namespace, type)` when
119
- * `type` is given: the namespaces `dropEdgesByNamespace` / `dropEdgesByType`
120
- * would delete edges from.
121
- */
122
- namespacesLinkedTo(namespace: string, type?: string): Promise<string[]>;
123
- /**
124
- * Physically delete every edge (tombstoned or live) where `from_ns === namespace`
125
- * OR `to_ns === namespace`. Used by drop-namespace when `cascade === 'delete'`.
126
- * Returns the exact count physically removed.
127
- *
128
- * Same atomicity rules as `tombstone` — MUST run inside a caller-supplied
129
- * `withTransaction` for multi-store atomicity.
130
- */
131
- dropEdgesByNamespace(namespace: string, within?: readonly string[]): Promise<number>;
132
- /**
133
- * Physically delete every edge (tombstoned or live) where either endpoint
134
- * matches `(namespace, type)`. Used by drop-type when `cascade === 'delete'`.
135
- * `within` restricts both drops to edges whose far end is `namespace` or one
136
- * of the listed namespaces.
137
- */
138
- dropEdgesByType(namespace: string, type: string, within?: readonly string[]): Promise<number>;
139
- /**
140
- * Execute `fn` atomically. All ops performed on the `tx` argument run inside
141
- * one substrate transaction. On throw, every mutation inside the callback
142
- * rolls back; on resolve, the transaction commits and the value is returned.
143
- *
144
- * Nested calls flatten into the outer tx (savepoints out of scope).
145
- * Cross-store atomicity with a sibling `Dataset.withTransaction` is the
146
- * engine's concern; each store manages its own tx independently here.
147
- * For enlisted cross-store atomicity, see `Dataset.withScopedTransaction`
148
- * which yields a tx-bound `EdgesStore` alongside the tx-bound datasets.
149
- *
150
- * Mirrors `Dataset.withTransaction` (§4.5, G1 §5.3).
151
- */
152
- withTransaction<T>(fn: (tx: EdgesStore) => Promise<T>): Promise<T>;
153
- }
154
- //#endregion
155
- //#region ../../packages/substrate-types/src/schema.d.ts
156
- interface FieldDefScalar {
157
- kind: 'scalar';
158
- /**
159
- * `'json'` is an opaque body: msgpack-friendly nested object/array, value
160
- * round-trips unchanged, but no per-leaf filtering or ordering. Use it for
161
- * freeform payloads (audit details, debug bags). When you need filterable
162
- * inner keys, use `field.struct` instead.
163
- */
164
- type: 'string' | 'number' | 'boolean' | 'date' | 'json';
165
- indexed?: boolean;
166
- /** Metadata: when true, consumers SHOULD expect `null` as a legitimate value. */
167
- nullable?: boolean;
168
- /**
169
- * Metadata: when true, this field is populated by the engine (not the caller)
170
- * and write attempts that include it MUST be rejected. Used for the
171
- * auto-injected `shortId` field. Consumers (autoCRUD create, schema
172
- * publisher, client codegen) rely on this flag as a declarative contract —
173
- * do not imperatively guard readonly fields without also flipping this.
174
- */
175
- readonly?: boolean;
176
- /**
177
- * Server-managed date flag. Clients may not supply the field in the
178
- * indicated phase(s) — autoCRUD rejects it with `client_supplied_server_field`:
179
- * - 'create' — on create only
180
- * - 'update' — on update only
181
- * - 'both' — on create and update
182
- * Nothing stamps it automatically: server-side code (a custom resolver or a
183
- * system writer such as `applyUpdatePatch`) sets it. A non-nullable,
184
- * non-defaulted field gated on create is refused by autoCRUD at install,
185
- * since nothing could fill it. Only honoured on `type: 'date'`.
186
- */
187
- serverSet?: 'create' | 'update' | 'both';
188
- /**
189
- * Controlled vocabulary. When present, the value MUST be one of these
190
- * strings. Consumed by autoCRUD write-validation (covers memory + pg
191
- * uniformly) and surfaced verbatim in the published schema. `type` stays
192
- * 'string' — an enum is a constrained string, so pack / client decoder /
193
- * where-validation treat it identically with no new branch.
194
- */
195
- enum?: readonly string[];
196
- /**
197
- * Governed vocabulary: alias -> canonical value (each canonical value is in
198
- * `enum`). autoCRUD stores the canonical value when an alias is written, and
199
- * `where` filters on the field match it, so synonyms converge instead of
200
- * sprawling. Matching is case-insensitive. Published in the schema so every
201
- * client reads the same table.
202
- */
203
- aliases?: Readonly<Record<string, string>>;
204
- /**
205
- * `false` admits values outside `enum` (aliases are still normalised): a
206
- * transition mode for adopting a vocabulary over existing free-string data.
207
- * Absent means strict.
208
- */
209
- strict?: boolean;
210
- /**
211
- * Alias (or canonical value) -> sibling fields it implies, e.g.
212
- * `done -> { resolution: 'completed' }`. On write the siblings are filled
213
- * when the caller omits them and a contradicting value is refused; an
214
- * `eq` filter on the alias also matches the implied siblings. Keys match
215
- * case-insensitively.
216
- */
217
- implies?: Readonly<Record<string, Readonly<Record<string, unknown>>>>;
218
- /**
219
- * Default value applied by autoCRUD `create` when the caller omits this
220
- * field. Two effects: (1) the row is written with the default instead of
221
- * being absent; (2) it satisfies the non-nullable presence check, so a
222
- * non-nullable scalar WITHOUT a default that is omitted on create is
223
- * rejected (`missing_required_field`) — that is how "required" is expressed.
224
- * Only applied on create (update is a partial patch). The value should match
225
- * `type` (booleans for boolean, ISO string for date, etc.).
226
- */
227
- default?: string | number | boolean;
228
- }
229
- interface FieldDefCrossRef {
230
- kind: 'crossRef';
231
- ns: string;
232
- type: string;
233
- onDelete: OnDelete;
234
- /**
235
- * Write-time existence policy. 'reject' refuses a create/update
236
- * whose crossRef value points at a non-existent or tombstoned target;
237
- * 'allow' is the default when absent. Consulted only at write time, never
238
- * stored on the edge. Enforced only for locally-resolvable
239
- * target namespaces (compose rejects 'reject' on bridged/unknown targets).
240
- */
241
- onMissing?: OnMissing;
242
- /**
243
- * Substrate-level indexing hint for the edge-source column, mirroring
244
- * `FieldDefScalar.indexed`, so the dataset need not infer it from the
245
- * presence of the crossRef itself.
246
- */
247
- indexed?: boolean;
248
- /** Metadata: when true, consumers SHOULD expect `null` as a legitimate value. */
249
- nullable?: boolean;
250
- /**
251
- * Activation-spreading opt-in. When `spread: true`,
252
- * recall hits on a row touching this crossRef propagate a damped salience
253
- * boost to the linked row (forward direction, X → row X references) AND to
254
- * rows whose same field points at the boosted row (backward direction,
255
- * X ← rows that reference X). Default off — operators opt in per-edge to
256
- * avoid polluting attention with low-signal edges (e.g. Decision.sessionId).
257
- *
258
- * Damping (typically 0.3) + depth bound (1) are configured on the recall
259
- * substrate, not per-field.
260
- */
261
- spread?: boolean;
262
- /**
263
- * Cross-TYPE opt-in for the recall expansion path.
264
- * Only meaningful when `spread: true` (the SDK `field.crossRef` builder
265
- * rejects `expandCrossType` without `spread` at registration). When both
266
- * are set, BACKWARD walks via this edge are allowed to surface neighbours
267
- * whose type differs from the request's `scope.type` (e.g. a Concept-typed
268
- * query surfaces Decisions via inbound `Decision.establishesConcept`).
269
- *
270
- * Cross-NAMESPACE expansion is always rejected regardless of this flag.
271
- * Forward walks always honour scope strictly: allowing them lets
272
- * neighbour-type rows displace the rows that establish them in the ranking.
273
- * Default false.
274
- */
275
- expandCrossType?: boolean;
276
- }
277
- interface FieldDefStruct {
278
- kind: 'struct';
279
- fields: Record<string, FieldDef>;
280
- /** Metadata: when true, consumers SHOULD expect `null` as a legitimate value. */
281
- nullable?: boolean;
282
- }
283
- interface FieldDefList {
284
- kind: 'list';
285
- of: FieldDef;
286
- /**
287
- * When true, the field is server-side filterable via the `has` (element
288
- * membership) operator without `_allowTableScan`, and is backed by a GIN
289
- * index on `(body -> '<field>')`. List fields are stored as native JSONB
290
- * arrays. Default false — an unindexed list field rejects `has` unless the
291
- * caller opts into a table scan. The substrate binary derives the matching GIN
292
- * as an idempotent migration at boot from this flag; no hand-authored
293
- * migration is needed per field.
294
- */
295
- indexed?: boolean;
296
- /** Metadata: when true, consumers SHOULD expect `null` as a legitimate value. */
297
- nullable?: boolean;
298
- }
299
- type FieldDef = FieldDefScalar | FieldDefCrossRef | FieldDefStruct | FieldDefList;
300
- /**
301
- * Per-type schema entry. Fields may be declared at registration time; MVP emits
302
- * `fields: {}` for types registered without a field map (e.g. mutations whose
303
- * shape is inferred from the resolver's return).
304
- */
305
- interface TypeSchema {
306
- fields: Record<string, FieldDef>;
307
- }
308
- /**
309
- * Per-mutation schema entry. `params` describes the input shape a client
310
- * sends; `returns` describes the shape a client decodes on success. Both are
311
- * required — an empty param bag surfaces as `{}`, never as an absent key.
312
- *
313
- * `returns` is typically a `FieldDefStruct` describing the row shape the
314
- * mutation produces (e.g. `create<T>` returns the inserted row; `delete<T>`
315
- * returns `{ id, deleted }`). `get<T>` and `update<T>` mark the struct
316
- * `nullable: true` because an id-miss legitimately produces `null`.
317
- *
318
- * Mutations registered without explicit `returns` metadata receive a sentinel
319
- * fallback (`{ kind: 'scalar', type: 'string', nullable: true }`) so substrate-pack
320
- * can still round-trip the response — clients treating it as "unknown shape"
321
- * should fall back to JSON passthrough.
322
- */
323
- interface MutationSchema {
324
- params: Record<string, FieldDef>;
325
- returns: FieldDef;
326
- }
327
- /**
328
- * The published schema shape surfaced at `GET /substrate/v1/schema`. Spec: §4.2, §6.1,
329
- * §7.1. `schemaVersion` is the 12-char SHA-256 prefix over the canonicalized
330
- * schema JSON and travels on every response envelope (§7.0) so the client can
331
- * detect drift.
332
- */
333
- interface Schema {
334
- schemaVersion: string;
335
- types: Record<string, TypeSchema>;
336
- mutations: Record<string, MutationSchema>;
337
- /** Present (true) on substrate-contributed virtual namespaces: no autoCRUD, no storage, query/mutate one-shot only. */
338
- virtual?: true;
339
- /**
340
- * The namespace's opaque per-consumer metadata (`defineNamespace` option).
341
- * Not part of `schemaVersion`: an annotations-only change does not move it.
342
- */
343
- annotations?: Readonly<Record<string, unknown>>;
344
- }
345
- /**
346
- * Per-key shape. A single frame resolves to `'single' | 'list'`. A batched
347
- * mutate op-key (array of frames) resolves to `Array<'single' | 'list'>` —
348
- * one shape per frame, in frame-array order. The decoder keys off the
349
- * discriminator: string → single frame; array → batched.
350
- */
351
- type EnvelopeShape = 'single' | 'list' | Array<'single' | 'list'>;
352
- /**
353
- * The response envelope. Spec: §7.0.
354
- *
355
- * Query data values are positionally encoded using the client-sent `FieldInput`
356
- * selection; mutation data values are positionally encoded using the declared
357
- * `MutationSchema.returns` (§4.2) — mutations don't carry a FieldInput
358
- * since there's no field selection on a return row.
359
- */
360
- interface PackEnvelope {
361
- schemaVersion: string;
362
- data: Record<string, unknown>;
363
- shapes: Record<string, EnvelopeShape>;
364
- _meta?: Record<string, unknown>;
365
- _pagination?: Record<string, {
366
- nextCursor?: string;
367
- hasMore: boolean;
368
- }>;
369
- /**
370
- * Per-top-level-key completeness. ABSENT MEANS COMPLETE — callers that
371
- * predate this field stay correct without change.
372
- *
373
- * Set when a bridged key could not be fully resolved (§6.5 "reads never
374
- * fail" means such a read still returns 200 with orphan markers). The
375
- * per-row `__orphan` marker says a row is missing; this says the RESULT SET
376
- * is partial, which a consumer cannot otherwise distinguish from an
377
- * genuinely empty result.
378
- */
379
- _completeness?: Record<string, {
380
- complete: boolean;
381
- unreachable?: string[];
382
- }>;
383
- /**
384
- * Non-fatal read diagnostics, keyed by top-level frame key. ABSENT MEANS
385
- * NOTHING TO REPORT — callers that predate this field stay correct without
386
- * change, same contract as `_completeness`.
387
- *
388
- * Deliberately NOT `errors`: a consumer doing `if (env.errors) throw` would
389
- * start failing on reads that succeeded.
390
- *
391
- * A client that maps rows into declared interfaces MUST surface this (log,
392
- * attach to the result, or throw in development): an unknown projection key
393
- * arrives as `null`, satisfies the interface, and the read looks correct.
394
- */
395
- _diagnostics?: Record<string, {
396
- /**
397
- * Projection keys the type does not declare. The read still returned
398
- * every row; each unknown key materialises as `null` on all of them,
399
- * indistinguishable from a declared field that is null everywhere.
400
- */
401
- unknownProjectionFields?: string[];
402
- /**
403
- * The where-clause reached the substrate without being schema-validated,
404
- * because the type is registered but absent from its namespace's
405
- * published schema (e.g. runtime-created types). The result is still
406
- * correct — substrates refuse a predicate they cannot honour — but an
407
- * unindexed filter scans instead of rejecting.
408
- */
409
- filterValidationSkipped?: string;
410
- }>;
411
- errors?: Array<{
412
- message: string;
413
- path?: string[];
414
- code?: string;
415
- /**
416
- * Optional structured payload — populated when the underlying error class
417
- * carries one (e.g. `ResolverFrameError({ field: '...' })`).
418
- */
419
- details?: Record<string, unknown>;
420
- }>;
421
- }
422
- /**
423
- * Client-sent field selection tree. Defined here rather than in
424
- * `@mnmal-ai/substrate-pack` so subscription and streaming machinery (§5.4, §5.5)
425
- * can reference the same shape without adding substrate-pack to their dependency
426
- * set — substrate-pack already imports from types, so moving the type upward
427
- * avoids the would-be cycle.
428
- */
429
- type FieldInput = {
430
- [field: string]: true | FieldInput;
431
- };
432
- //#endregion
433
- export { Id as C, RowMetadata as D, Row as E, RowMetadataField as O, ClientSuppliedServerFieldError as S, ROW_METADATA_FIELDS as T, EdgesStore as _, FieldDefScalar as a, ActorIdentity as b, MutationSchema as c, TypeSchema as d, CanDeleteResult as f, EdgeWriteInput as g, EdgeRef as h, FieldDefList as i, PackEnvelope as l, EdgePatch as m, FieldDef as n, FieldDefStruct as o, Edge as p, FieldDefCrossRef as r, FieldInput as s, EnvelopeShape as t, Schema as u, OnDelete as v, IdentityKind as w, CLIENT_SUPPLIED_SERVER_FIELD as x, OnMissing as y };