@yahoo/uds-create-config 5.27.0 → 5.28.0
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/configs/system.js +2 -0
- package/dist/entities/system/LinkedSystem.d.ts +12 -0
- package/dist/entities/system/LinkedSystem.js +114 -18
- package/dist/entities/system/link-declaration.d.ts +43 -2
- package/dist/entities/system/link-declaration.js +110 -15
- package/dist/entities/system/link-plan.js +109 -4
- package/dist/framework/Config.d.ts +16 -4
- package/dist/framework/Config.js +89 -14
- package/dist/framework/defineEntity.d.ts +4 -3
- package/dist/framework/defineEntity.js +1 -0
- package/dist/framework/registry.d.ts +5 -0
- package/dist/framework/registry.js +2 -1
- package/dist/framework/rejection.d.ts +4 -2
- package/dist/framework/schema-version.d.ts +1 -1
- package/dist/framework/schema-version.js +5 -5
- package/dist/framework/source-integrity.d.ts +9 -2
- package/dist/framework/source-integrity.js +25 -3
- package/dist/framework/utils/refs.d.ts +14 -2
- package/dist/framework/utils/refs.js +22 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/migrations/20261013182150_link_exclude_op.d.ts +13 -0
- package/dist/migrations/20261013182150_link_exclude_op.js +10 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/framework/Config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./config-operation-kind.js";
|
|
2
2
|
import { ConfigFormatError, ConfigRejection, isConfigRejection, issuePath, refusalIssues, reject, rejectData, rejectInvalid, rejectReferrers } from "./rejection.js";
|
|
3
|
-
import {
|
|
3
|
+
import { MINTED, collectRefs, entityPathProblem, entityRefOf, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, pathOf, qualifyRefs, ref, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, singletonRef, sourceHops, sourceOf, splitRef } from "./utils/refs.js";
|
|
4
4
|
import { describePatch } from "./plan.js";
|
|
5
5
|
import { applyPathDelta, isPlainObject, namedFields, pathSegments, sectionDelta, touchedFields } from "./utils/field-path.js";
|
|
6
6
|
import { METADATA_KEYS, declaredField } from "./utils/field-schema.js";
|
|
@@ -272,7 +272,8 @@ function cachesFor(snapshot, sources) {
|
|
|
272
272
|
membersIndexed: /* @__PURE__ */ new Set(),
|
|
273
273
|
leaves: /* @__PURE__ */ new Map(),
|
|
274
274
|
computed: /* @__PURE__ */ new Map(),
|
|
275
|
-
closures: /* @__PURE__ */ new Map()
|
|
275
|
+
closures: /* @__PURE__ */ new Map(),
|
|
276
|
+
runtimeClosures: /* @__PURE__ */ new Map()
|
|
276
277
|
};
|
|
277
278
|
buckets.push(bucket);
|
|
278
279
|
return bucket;
|
|
@@ -2022,7 +2023,8 @@ var Config = class Config {
|
|
|
2022
2023
|
if (!entry.schemas[verb]) reject("UNSUPPORTED", `${patch.kind} has no ${verb} operation`);
|
|
2023
2024
|
if (entry.singleton && "path" in patch && patch.path !== void 0 && patch.path !== entry.name) reject("INVALID_PATH", `${patch.kind} has one item, at "${entry.name}" — leave \`path\` out. A field is written by its path in \`data\` (\`{ "${patch.path}": … }\`) or through sub-update/<section>.`);
|
|
2024
2025
|
if (patch.operation === "create") {
|
|
2025
|
-
|
|
2026
|
+
const problem = entityPathProblem(patch.path);
|
|
2027
|
+
if (problem !== void 0) reject("INVALID_PATH", `Cannot create ${patch.kind} "${patch.path}" — ${problem}`);
|
|
2026
2028
|
const occupant = snapshot.get(patch.kind, patch.path);
|
|
2027
2029
|
if (occupant && !isMintedRow(occupant.toJSON())) reject("ALREADY_EXISTS", `${patch.kind} "${patch.path}" already exists`);
|
|
2028
2030
|
return snapshot.withChanges([this.wholeBodyChange({
|
|
@@ -2112,7 +2114,8 @@ var Config = class Config {
|
|
|
2112
2114
|
}]);
|
|
2113
2115
|
}
|
|
2114
2116
|
if (patch.operation === "rename") {
|
|
2115
|
-
|
|
2117
|
+
const problem = entityPathProblem(patch.to);
|
|
2118
|
+
if (problem !== void 0) reject("INVALID_PATH", `Cannot rename ${patch.kind} "${patch.path}" to "${patch.to}" — ${problem}`);
|
|
2116
2119
|
const occupant = patch.to === patch.path ? void 0 : snapshot.get(patch.kind, patch.to);
|
|
2117
2120
|
if (occupant && !isMintedRow(occupant.toJSON())) reject("ALREADY_EXISTS", `Cannot rename ${patch.kind} "${patch.path}" to "${patch.to}" — a ${patch.kind} already exists there.`);
|
|
2118
2121
|
const storedBody = stored;
|
|
@@ -3611,6 +3614,23 @@ var Config = class Config {
|
|
|
3611
3614
|
return this.sourceDirective(slug, kind, path).overlay;
|
|
3612
3615
|
}
|
|
3613
3616
|
/**
|
|
3617
|
+
* Whether the declared source at `slug` excludes one of its paths ({@link EntityKind.bulkExcludes}):
|
|
3618
|
+
* left out on purpose, so no row derives there. Matched on the path the source spells.
|
|
3619
|
+
*/
|
|
3620
|
+
sourceExcludes(slug, kind, path) {
|
|
3621
|
+
const accessor = this.accessorOf(kind);
|
|
3622
|
+
return this.sourceKinds().some((sourceKind) => {
|
|
3623
|
+
const excludes = this.entityOf(sourceKind)?.bulkExcludes;
|
|
3624
|
+
const pin = this.storedBody(sourceKind, slug);
|
|
3625
|
+
return excludes !== void 0 && pin !== void 0 && excludes({
|
|
3626
|
+
body: pin,
|
|
3627
|
+
kind,
|
|
3628
|
+
accessor,
|
|
3629
|
+
path
|
|
3630
|
+
});
|
|
3631
|
+
});
|
|
3632
|
+
}
|
|
3633
|
+
/**
|
|
3614
3634
|
* The field-path delta that records `overlay` as the pin's directive for one path, or `null` when
|
|
3615
3635
|
* there is nothing to write.
|
|
3616
3636
|
*
|
|
@@ -4383,9 +4403,8 @@ var Config = class Config {
|
|
|
4383
4403
|
* only the reached ones would leave those rows absent from the artifact. Reachability stays the
|
|
4384
4404
|
* floor either way, so a ref always brings its target whether or not a declaration claims it.
|
|
4385
4405
|
*
|
|
4386
|
-
*
|
|
4387
|
-
*
|
|
4388
|
-
* drift, and the drift would look like a token that emits but isn't validated.
|
|
4406
|
+
* Preserves the original source definitions for saved configs and Web emission. Native emission
|
|
4407
|
+
* and condition validation use runtimeSourceClosure to follow the definitions after overrides.
|
|
4389
4408
|
*
|
|
4390
4409
|
* `kind` narrows it for a caller that emits or validates one kind, which is the caller's business
|
|
4391
4410
|
* to name; the walk itself follows refs wherever they go, so borrowing something other than a token
|
|
@@ -4397,10 +4416,25 @@ var Config = class Config {
|
|
|
4397
4416
|
const cache = this.caches.closures;
|
|
4398
4417
|
const hit = cache.get(slug);
|
|
4399
4418
|
if (hit) return kind === void 0 ? hit : hit.filter((target) => kindOf(target) === kind);
|
|
4400
|
-
const targets = this.computeSourceClosure(
|
|
4419
|
+
const targets = this.computeSourceClosure({
|
|
4420
|
+
slug,
|
|
4421
|
+
includeExtensionBases: true
|
|
4422
|
+
});
|
|
4401
4423
|
cache.set(slug, targets);
|
|
4402
4424
|
return kind === void 0 ? targets : targets.filter((target) => kindOf(target) === kind);
|
|
4403
4425
|
}
|
|
4426
|
+
/** References used after local overrides; sourceClosure also preserves the original bases. */
|
|
4427
|
+
runtimeSourceClosure({ slug, kind }) {
|
|
4428
|
+
let targets = this.caches.runtimeClosures.get(slug);
|
|
4429
|
+
if (!targets) {
|
|
4430
|
+
targets = this.computeSourceClosure({
|
|
4431
|
+
slug,
|
|
4432
|
+
includeExtensionBases: false
|
|
4433
|
+
});
|
|
4434
|
+
this.caches.runtimeClosures.set(slug, targets);
|
|
4435
|
+
}
|
|
4436
|
+
return kind === void 0 ? targets : targets.filter((target) => kindOf(target) === kind);
|
|
4437
|
+
}
|
|
4404
4438
|
/**
|
|
4405
4439
|
* The walk behind {@link sourceClosure}, run once per snapshot and source set.
|
|
4406
4440
|
*
|
|
@@ -4409,7 +4443,7 @@ var Config = class Config {
|
|
|
4409
4443
|
* over a config that is routinely megabytes, for one answer that cannot change while the snapshot
|
|
4410
4444
|
* and its sources are fixed.
|
|
4411
4445
|
*/
|
|
4412
|
-
computeSourceClosure(slug) {
|
|
4446
|
+
computeSourceClosure({ slug, includeExtensionBases }) {
|
|
4413
4447
|
const source = this.sourceFor(slug);
|
|
4414
4448
|
if (!source) return [];
|
|
4415
4449
|
const queue = [];
|
|
@@ -4417,6 +4451,7 @@ var Config = class Config {
|
|
|
4417
4451
|
for (const item of this.state.snapshot.slice(owned).items.values()) {
|
|
4418
4452
|
const stored = item.toJSON();
|
|
4419
4453
|
if (!isExtendedRef(stored)) continue;
|
|
4454
|
+
if (!includeExtensionBases && this.resolve(owned, item.path)) continue;
|
|
4420
4455
|
for (const target of collectRefs(stored)) {
|
|
4421
4456
|
if (sourceOf(target) !== slug) continue;
|
|
4422
4457
|
queue.push(`${kindOf(target)}:${pathOf(target)}`);
|
|
@@ -4427,7 +4462,11 @@ var Config = class Config {
|
|
|
4427
4462
|
queue.push(`${kindOf(target)}:${pathOf(target)}`);
|
|
4428
4463
|
}
|
|
4429
4464
|
}
|
|
4430
|
-
for (const target of this.adoptedFrom(slug))
|
|
4465
|
+
for (const target of this.adoptedFrom(slug)) {
|
|
4466
|
+
const local = this.storedBody(kindOf(target), pathOf(target));
|
|
4467
|
+
if (!includeExtensionBases && isExtendedRef(local) && !isMintedRow(local) && this.resolve(kindOf(target), pathOf(target))) continue;
|
|
4468
|
+
queue.push(target);
|
|
4469
|
+
}
|
|
4431
4470
|
const reached = /* @__PURE__ */ new Set();
|
|
4432
4471
|
while (queue.length > 0) {
|
|
4433
4472
|
const target = queue.pop();
|
|
@@ -4771,6 +4810,7 @@ var Config = class Config {
|
|
|
4771
4810
|
config: this,
|
|
4772
4811
|
source
|
|
4773
4812
|
})) continue;
|
|
4813
|
+
if (this.sourceExcludes(slug, kind, path)) continue;
|
|
4774
4814
|
const current = this.state.snapshot.get(kind, path);
|
|
4775
4815
|
if (current && !isMintedRow(current.toJSON())) continue;
|
|
4776
4816
|
if (placed.has(target)) continue;
|
|
@@ -5010,6 +5050,8 @@ var Config = class Config {
|
|
|
5010
5050
|
for (const { bag } of sites(body)) for (const prop of Object.keys(bag)) {
|
|
5011
5051
|
const target = `style-property:${prop}`;
|
|
5012
5052
|
if (members.has(target)) continue;
|
|
5053
|
+
const local = this.storedBody("style-property", prop);
|
|
5054
|
+
if (local && !isMintedRow(local)) continue;
|
|
5013
5055
|
const declared = source.resolve("style-property", prop);
|
|
5014
5056
|
if (!declared) continue;
|
|
5015
5057
|
members.add(target);
|
|
@@ -5058,15 +5100,37 @@ var Config = class Config {
|
|
|
5058
5100
|
}
|
|
5059
5101
|
}
|
|
5060
5102
|
};
|
|
5103
|
+
const visitExtension = ({ kind, extension, linked = false }) => {
|
|
5104
|
+
const base = source.resolve(kind, pathOf(extension));
|
|
5105
|
+
if (!base) return;
|
|
5106
|
+
const body = this.laidLinkedBody({
|
|
5107
|
+
kind,
|
|
5108
|
+
path: pathOf(extension),
|
|
5109
|
+
body: qualifyRefs({
|
|
5110
|
+
value: base.toJSON(),
|
|
5111
|
+
source: slug,
|
|
5112
|
+
owns: (name) => source.ownedKinds().includes(name)
|
|
5113
|
+
}),
|
|
5114
|
+
extend: extension.extend
|
|
5115
|
+
});
|
|
5116
|
+
visitEntity(kind, body, false, linked);
|
|
5117
|
+
visitBags(kind, body, linked);
|
|
5118
|
+
};
|
|
5061
5119
|
for (const kind of this.ownedKinds()) {
|
|
5062
5120
|
const slice = this.state.snapshot.slice(kind);
|
|
5063
5121
|
for (const [, stored] of slice.items) {
|
|
5064
5122
|
const body = stored.toJSON();
|
|
5065
5123
|
if (isMintedRow(body)) continue;
|
|
5124
|
+
if (isExtendedRef(body) && sourceOf(body) === slug) {
|
|
5125
|
+
visitExtension({
|
|
5126
|
+
kind,
|
|
5127
|
+
extension: body
|
|
5128
|
+
});
|
|
5129
|
+
continue;
|
|
5130
|
+
}
|
|
5066
5131
|
if (isRef(body) && sourceOf(body) === slug) {
|
|
5067
5132
|
const theirs = source.resolve(kindOf(body), pathOf(body))?.toJSON();
|
|
5068
5133
|
if (theirs) visitEntity(kind, theirs, true);
|
|
5069
|
-
if (isExtendedRef(body)) visit(body.extend);
|
|
5070
5134
|
continue;
|
|
5071
5135
|
}
|
|
5072
5136
|
visitEntity(kind, body);
|
|
@@ -5078,6 +5142,15 @@ var Config = class Config {
|
|
|
5078
5142
|
}
|
|
5079
5143
|
}
|
|
5080
5144
|
for (const target of this.adoptedFrom(slug)) {
|
|
5145
|
+
const local = this.storedBody(kindOf(target), pathOf(target));
|
|
5146
|
+
if (isExtendedRef(local) && !isMintedRow(local) && sourceOf(local) === slug) {
|
|
5147
|
+
visitExtension({
|
|
5148
|
+
kind: kindOf(target),
|
|
5149
|
+
extension: local,
|
|
5150
|
+
linked: true
|
|
5151
|
+
});
|
|
5152
|
+
continue;
|
|
5153
|
+
}
|
|
5081
5154
|
const body = source.resolve(kindOf(target), pathOf(target))?.toJSON();
|
|
5082
5155
|
if (body) visitEntity(kindOf(target), body, true, true);
|
|
5083
5156
|
}
|
|
@@ -5780,7 +5853,7 @@ var Config = class Config {
|
|
|
5780
5853
|
* links from the provided sources. A declared `linkedKind` with no provided source throws. */
|
|
5781
5854
|
hydrateFrom(stored, options) {
|
|
5782
5855
|
const claimed = schemaVersionOf(stored);
|
|
5783
|
-
if (claimed >
|
|
5856
|
+
if (claimed > 20261013182150) throw new SchemaVersionTooNew(claimed);
|
|
5784
5857
|
const wire = upgradeSerializedConfig(stored);
|
|
5785
5858
|
if (!Array.isArray(wire.ownedKinds) || typeof wire.items !== "object" || wire.items === null) throw new ConfigFormatError(`Config "${stored.name ?? "system-config"}" cannot be hydrated: this is not a serialized config-v2 config (no "ownedKinds"/"items"). A pre-cutover build artifact converts through the registered cutover migration — import the config type's module (e.g. \`configs/system\`) before hydrating, or port the repo once with \`uds migrate\`.`);
|
|
5786
5859
|
const leftover = wire.options;
|
|
@@ -5899,7 +5972,8 @@ function isPathSegment(meta, kind, raw) {
|
|
|
5899
5972
|
function loadItemChange(meta, kind, path, raw, phase = "author") {
|
|
5900
5973
|
const entry = meta.entities.get(kind);
|
|
5901
5974
|
if (!entry) throw new Error(`Unknown entity kind: ${kind}`);
|
|
5902
|
-
|
|
5975
|
+
const problem = phase === "author" ? entityPathProblem(path) : void 0;
|
|
5976
|
+
if (problem !== void 0) reject("INVALID_PATH", `${kind} "${path}" — ${problem}`);
|
|
5903
5977
|
if (phase === "author") refusePhantomsIn({
|
|
5904
5978
|
kind,
|
|
5905
5979
|
path,
|
|
@@ -6147,7 +6221,8 @@ function itemChange(entry, kind, path, raw, validate = false) {
|
|
|
6147
6221
|
function loadGroupChange(meta, kind, path, raw, phase = "author") {
|
|
6148
6222
|
const entry = meta.entities.get(kind);
|
|
6149
6223
|
if (!entry) throw new Error(`Unknown entity kind: ${kind}`);
|
|
6150
|
-
|
|
6224
|
+
const problem = phase === "author" ? entityPathProblem(path) : void 0;
|
|
6225
|
+
if (problem !== void 0) reject("INVALID_PATH", `${kind} group "${path}" — ${problem}`);
|
|
6151
6226
|
if (phase === "author") refusePhantomsIn({
|
|
6152
6227
|
kind,
|
|
6153
6228
|
path,
|
|
@@ -338,10 +338,11 @@ declare function defineEntity<F extends FieldsSchema, G extends FieldsSchema = z
|
|
|
338
338
|
*/
|
|
339
339
|
bulkAdopts?: (args: BulkQuery) => boolean;
|
|
340
340
|
/**
|
|
341
|
-
* Whether the pin
|
|
342
|
-
*
|
|
343
|
-
*
|
|
341
|
+
* Whether the pin leaves this path out on purpose — the counterpart to {@link EntityKind.bulkAdopts}.
|
|
342
|
+
* An excluded path derives no row however the link reaches it, so the name is free for this config
|
|
343
|
+
* to author, and the source's entity stays reachable qualified.
|
|
344
344
|
*/
|
|
345
|
+
bulkExcludes?: (args: BulkQuery) => boolean;
|
|
345
346
|
/**
|
|
346
347
|
* What the declared source lays over the entity at this path, when it declares anything — the
|
|
347
348
|
* bodies a minted row carries in place of an empty `extend`, so a bulk adjustment and a hand-written
|
|
@@ -120,6 +120,7 @@ function defineEntity(spec) {
|
|
|
120
120
|
bareMember: spec.bareMember,
|
|
121
121
|
sourceResolution: spec.sourceResolution,
|
|
122
122
|
bulkAdopts: spec.bulkAdopts,
|
|
123
|
+
bulkExcludes: spec.bulkExcludes,
|
|
123
124
|
bulkOverlay: spec.bulkOverlay,
|
|
124
125
|
bulkDirectives: spec.bulkDirectives,
|
|
125
126
|
bulkOverlayWrite: spec.bulkOverlayWrite,
|
|
@@ -260,6 +260,11 @@ interface EntityKind {
|
|
|
260
260
|
* nothing, and no delete is ever refused for it.
|
|
261
261
|
*/
|
|
262
262
|
readonly bulkAdopts?: (args: BulkQuery) => boolean;
|
|
263
|
+
/**
|
|
264
|
+
* Whether the declaration leaves this path out on purpose. An excluded path derives no row, and an
|
|
265
|
+
* excluded modifier is one the source's tokens may vary under without this config stating it.
|
|
266
|
+
*/
|
|
267
|
+
readonly bulkExcludes?: (args: BulkQuery) => boolean;
|
|
263
268
|
/** What the declared source lays over the entity at this path, when it declares anything. */
|
|
264
269
|
readonly bulkOverlay?: (args: BulkQuery) => SourceOverlay | undefined;
|
|
265
270
|
/**
|
|
@@ -32,7 +32,7 @@ function titleCase(kind) {
|
|
|
32
32
|
/** Derive a kind's immutable metadata from its field schemas — the value a `defineEntity`/
|
|
33
33
|
* `defineDerivedEntity` attaches to its class and a `Config.register` stores in `#entities`. */
|
|
34
34
|
function buildKind(spec) {
|
|
35
|
-
const { name, prepareLinkedBody, rebaseLinkedBody, layerKeys, fields, groupFields, subEntities = {}, computed, label, labelPlural, schemas: userSchemas, derived, sourceIdentity, sourceOrigin, authoredRefs, linkable, localGroupFields, emergentGroups, singleton = false, bareMember, sourceResolution, bulkAdopts, bulkOverlay, bulkDirectives, bulkOverlayWrite, nameEdges, rewriteName, styleBags, uniqueLeaves, authoredValue, mentionFields, invariants, structuralBody } = spec;
|
|
35
|
+
const { name, prepareLinkedBody, rebaseLinkedBody, layerKeys, fields, groupFields, subEntities = {}, computed, label, labelPlural, schemas: userSchemas, derived, sourceIdentity, sourceOrigin, authoredRefs, linkable, localGroupFields, emergentGroups, singleton = false, bareMember, sourceResolution, bulkAdopts, bulkExcludes, bulkOverlay, bulkDirectives, bulkOverlayWrite, nameEdges, rewriteName, styleBags, uniqueLeaves, authoredValue, mentionFields, invariants, structuralBody } = spec;
|
|
36
36
|
const allComputed = {
|
|
37
37
|
sources: ({ member, config }) => sourceSlugs(member, config),
|
|
38
38
|
borrowedFrom: ({ config, path }) => config.borrowedFrom(name, path),
|
|
@@ -73,6 +73,7 @@ function buildKind(spec) {
|
|
|
73
73
|
...bareMember ? { bareMember } : {},
|
|
74
74
|
...sourceResolution ? { sourceResolution } : {},
|
|
75
75
|
...bulkAdopts ? { bulkAdopts } : {},
|
|
76
|
+
...bulkExcludes ? { bulkExcludes } : {},
|
|
76
77
|
...bulkOverlay ? { bulkOverlay } : {},
|
|
77
78
|
...bulkDirectives ? { bulkDirectives } : {},
|
|
78
79
|
...bulkOverlayWrite ? { bulkOverlayWrite } : {},
|
|
@@ -8,8 +8,10 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
type ConfigIssueCode = /** Nothing at that path / no such member — an update, delete or rename with no target. */'NOT_FOUND' /** A create over an existing path, or a rename onto a taken one. */ | 'ALREADY_EXISTS'
|
|
10
10
|
/**
|
|
11
|
-
* The address cannot be an identity — a path carrying `@` other
|
|
12
|
-
*
|
|
11
|
+
* The address cannot be an identity — a path `entityPathProblem` refuses: one carrying `@` other
|
|
12
|
+
* than as a leading npm scope, or `#`, or with an empty segment, or a segment starting with `!` or
|
|
13
|
+
* that is `*`. Each misreads as another address: a borrowed one, a member, a link's exclusion or
|
|
14
|
+
* its wildcard.
|
|
13
15
|
*
|
|
14
16
|
* A distinct code rather than `INVALID_DATA`: nothing about the data is wrong, and the surface that
|
|
15
17
|
* reports it is a name field rather than a form. This is a distinction `apply` genuinely makes.
|
|
@@ -15,7 +15,7 @@ import { Patch, SerializedConfig } from "./Config.js";
|
|
|
15
15
|
* sets this constant to its own older timestamp; the merge ref then carries a registered migration
|
|
16
16
|
* newer than the constant, and the assertion fails until the author re-mints.
|
|
17
17
|
*/
|
|
18
|
-
declare const CURRENT_SCHEMA_VERSION =
|
|
18
|
+
declare const CURRENT_SCHEMA_VERSION = 20261013182150;
|
|
19
19
|
/** What the walkers need to see of an envelope — loose on purpose, so a typed `SerializedConfig`
|
|
20
20
|
* and a raw old-shape record both flow in without casts. */
|
|
21
21
|
interface VersionStamped {
|
|
@@ -13,7 +13,7 @@ import { ConfigFormatError } from "./rejection.js";
|
|
|
13
13
|
* sets this constant to its own older timestamp; the merge ref then carries a registered migration
|
|
14
14
|
* newer than the constant, and the assertion fails until the author re-mints.
|
|
15
15
|
*/
|
|
16
|
-
const CURRENT_SCHEMA_VERSION =
|
|
16
|
+
const CURRENT_SCHEMA_VERSION = 20261013182150;
|
|
17
17
|
/** The mint that moved `options` into the `settings` kind — restated here, rather than imported
|
|
18
18
|
* from the migration that owns it, because that migration imports this module. */
|
|
19
19
|
const SETTINGS_AS_KIND_VERSION = 20260908171448;
|
|
@@ -45,7 +45,7 @@ function registerSchemaMigrations(...migrations) {
|
|
|
45
45
|
for (const migration of migrations) {
|
|
46
46
|
if (migration.version !== 1 && !isMintTimestamp(migration.version)) throw new Error(`Schema migration version ${migration.version} is not a mint timestamp — mint one with \`date +%Y%m%d%H%M%S\`, like a supabase migration.`);
|
|
47
47
|
if (REGISTERED.has(migration.version)) throw new Error(`A schema migration at version ${migration.version} is already registered.`);
|
|
48
|
-
if (migration.version >
|
|
48
|
+
if (migration.version > 20261013182150) throw new Error(`Schema migration ${migration.version} is newer than CURRENT_SCHEMA_VERSION (${CURRENT_SCHEMA_VERSION}) — a stale branch merged, or the mint forgot to bump the constant. Re-mint: set CURRENT_SCHEMA_VERSION to the newest migration version.`);
|
|
49
49
|
REGISTERED.set(migration.version, migration);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -102,7 +102,7 @@ function pendingFor(version, target, options) {
|
|
|
102
102
|
* Already-current input passes through untouched — same reference, so hot paths pay nothing.
|
|
103
103
|
*/
|
|
104
104
|
function upgradeSerializedConfig(json, options) {
|
|
105
|
-
const target = options?.target ??
|
|
105
|
+
const target = options?.target ?? 20261013182150;
|
|
106
106
|
const version = detectedWireVersion(json);
|
|
107
107
|
if (version > target) throw new SchemaVersionTooNew(version, target);
|
|
108
108
|
const raw = json;
|
|
@@ -160,7 +160,7 @@ function upgradedSources(json, options) {
|
|
|
160
160
|
* meaning under the current schema and replay skips it — reported by the caller, not swallowed here.
|
|
161
161
|
*/
|
|
162
162
|
function upgradePatch(patch, writtenAt, options) {
|
|
163
|
-
const target = options?.target ??
|
|
163
|
+
const target = options?.target ?? 20261013182150;
|
|
164
164
|
if (writtenAt > target) throw new SchemaVersionTooNew(writtenAt, target);
|
|
165
165
|
let current = patch;
|
|
166
166
|
for (const migration of pendingFor(writtenAt, target, options)) {
|
|
@@ -179,7 +179,7 @@ function upgradePatch(patch, writtenAt, options) {
|
|
|
179
179
|
* stamp would cause.
|
|
180
180
|
*/
|
|
181
181
|
function upgradeDraftEntries(draft, options) {
|
|
182
|
-
const target = options?.target ??
|
|
182
|
+
const target = options?.target ?? 20261013182150;
|
|
183
183
|
const entries = [];
|
|
184
184
|
const held = [];
|
|
185
185
|
const retired = [];
|
|
@@ -232,7 +232,14 @@ interface UnstatableCondition {
|
|
|
232
232
|
consumer: ModifierCategory | 'plain';
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
/**
|
|
235
|
+
/**
|
|
236
|
+
* Whether an override's condition names a modifier this config doesn't hold because a pin excludes
|
|
237
|
+
* it ({@link Config.sourceExcludes}). Such an override is left out, as the stylesheet leaves out a
|
|
238
|
+
* condition it cannot state, and the build doesn't refuse it.
|
|
239
|
+
*/
|
|
240
|
+
declare function excludedCondition(config: Config, on: unknown): boolean;
|
|
241
|
+
/** Borrowed conditions need a consumer modifier with the same name and category, unless the pin
|
|
242
|
+
* excludes that modifier. */
|
|
236
243
|
declare function unstatableConditions(config: Config): UnstatableCondition[];
|
|
237
244
|
/** A token of ours whose conditional value names another system's modifier. */
|
|
238
245
|
interface UnstatableOverride {
|
|
@@ -254,4 +261,4 @@ interface UnstatableOverride {
|
|
|
254
261
|
*/
|
|
255
262
|
declare function unstatableOverrides(config: Config): UnstatableOverride[];
|
|
256
263
|
//#endregion
|
|
257
|
-
export { DanglingDirective, DanglingRef, LeafAddress, MisdeclaredOverlay, OverlayVerb, RedundantQualifier, UnadoptedDirective, UnreadableBorrow, UnstatableCondition, UnstatableOverride, classifyOverlay, danglingDirectives, danglingSourcedRefs, leafAddresses, leafVerb, misdeclaredOverlays, overlayVerb, redundantQualifiers, unadoptedDirectives, unreadableBorrows, unstatableConditions, unstatableOverrides, valueAt };
|
|
264
|
+
export { DanglingDirective, DanglingRef, LeafAddress, MisdeclaredOverlay, OverlayVerb, RedundantQualifier, UnadoptedDirective, UnreadableBorrow, UnstatableCondition, UnstatableOverride, classifyOverlay, danglingDirectives, danglingSourcedRefs, excludedCondition, leafAddresses, leafVerb, misdeclaredOverlays, overlayVerb, redundantQualifiers, unadoptedDirectives, unreadableBorrows, unstatableConditions, unstatableOverrides, valueAt };
|
|
@@ -424,13 +424,33 @@ function danglingDirectives(config) {
|
|
|
424
424
|
}
|
|
425
425
|
return found;
|
|
426
426
|
}
|
|
427
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* Whether an override's condition names a modifier this config doesn't hold because a pin excludes
|
|
429
|
+
* it ({@link Config.sourceExcludes}). Such an override is left out, as the stylesheet leaves out a
|
|
430
|
+
* condition it cannot state, and the build doesn't refuse it.
|
|
431
|
+
*/
|
|
432
|
+
function excludedCondition(config, on) {
|
|
433
|
+
return (Array.isArray(on) ? on : [on]).some((ref) => {
|
|
434
|
+
if (!isRef(ref)) return false;
|
|
435
|
+
const modifier = pathOf(ref);
|
|
436
|
+
if (config.resolve("modifier", modifier)) return false;
|
|
437
|
+
return config.sourceSlugs().some((slug) => {
|
|
438
|
+
const spelled = config.sourceFor(slug)?.resolve("modifier", modifier)?.path ?? modifier;
|
|
439
|
+
return config.sourceExcludes(slug, "modifier", spelled);
|
|
440
|
+
});
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
/** Borrowed conditions need a consumer modifier with the same name and category, unless the pin
|
|
444
|
+
* excludes that modifier. */
|
|
428
445
|
function unstatableConditions(config) {
|
|
429
446
|
const found = [];
|
|
430
447
|
for (const slug of config.sourceSlugs()) {
|
|
431
448
|
const source = config.sourceFor(slug);
|
|
432
449
|
if (!source) continue;
|
|
433
|
-
for (const target of config.
|
|
450
|
+
for (const target of config.runtimeSourceClosure({
|
|
451
|
+
slug,
|
|
452
|
+
kind: "token"
|
|
453
|
+
})) {
|
|
434
454
|
const token = pathOf(target);
|
|
435
455
|
const { overrides } = source.resolve("token", token)?.toJSON() ?? {};
|
|
436
456
|
if (!overrides) continue;
|
|
@@ -440,6 +460,8 @@ function unstatableConditions(config) {
|
|
|
440
460
|
if (!isRef(ref)) continue;
|
|
441
461
|
const modifier = pathOf(ref);
|
|
442
462
|
if (!config.resolve("modifier", modifier)) {
|
|
463
|
+
const spelled = source.resolve("modifier", modifier)?.path ?? modifier;
|
|
464
|
+
if (config.sourceExcludes(slug, "modifier", spelled)) continue;
|
|
443
465
|
found.push({
|
|
444
466
|
slug,
|
|
445
467
|
token,
|
|
@@ -572,4 +594,4 @@ function borrowedSlug(body) {
|
|
|
572
594
|
return isRef(body) ? sourceOf(body) : void 0;
|
|
573
595
|
}
|
|
574
596
|
//#endregion
|
|
575
|
-
export { borrowedSlug, classifyOverlay, danglingDirectives, danglingSourcedRefs, leafAddresses, leafVerb, misdeclaredOverlays, overlayVerb, redundantQualifiers, sourceSlugs, unadoptedDirectives, unreadableBorrows, unstatableConditions, unstatableOverrides, valueAt };
|
|
597
|
+
export { borrowedSlug, classifyOverlay, danglingDirectives, danglingSourcedRefs, excludedCondition, leafAddresses, leafVerb, misdeclaredOverlays, overlayVerb, redundantQualifiers, sourceSlugs, unadoptedDirectives, unreadableBorrows, unstatableConditions, unstatableOverrides, valueAt };
|
|
@@ -57,12 +57,24 @@ interface ExtendedRef<Delta extends Record<string, unknown> = Record<string, unk
|
|
|
57
57
|
* `if (!source) return ''` escape and the declaration vanishes), reports a false dangling ref naming a
|
|
58
58
|
* source that does not exist, and marks the item borrowed on every provenance surface. Nothing throws.
|
|
59
59
|
*
|
|
60
|
+
* The rest of the grammar a path is read in is refused the same way, since each misreads as silently:
|
|
61
|
+
* - `#` anywhere: the ref grammar splits on the first `#` before anything else, so `token:size/a#b`
|
|
62
|
+
* is a member ref (`b`) into `size/a`.
|
|
63
|
+
* - An empty segment (`''`, `a//b`, `/a`, `a/`): `/` is what makes a folder, and a pin's `link` covers
|
|
64
|
+
* a folder's members as the paths under `<folder>/`.
|
|
65
|
+
* - A segment starting with `!`: a `link` list entry `'!text'` leaves `text` out, so a path of that
|
|
66
|
+
* name couldn't be linked by name.
|
|
67
|
+
* - A segment that is `*`: in a `link` list, `'*'` is every path.
|
|
68
|
+
*
|
|
60
69
|
* Checked where a path becomes an identity — a create, a rename's target, an authored entry — and
|
|
61
70
|
* deliberately not on reads, so an existing bad path stays addressable and, more to the point,
|
|
62
71
|
* deletable.
|
|
63
72
|
*/
|
|
73
|
+
declare function entityPathProblem(path: string): string | undefined;
|
|
74
|
+
/** Whether `path` can be an entity's own path: {@link entityPathProblem} finds nothing wrong with it. */
|
|
64
75
|
declare function isEntityPath(path: string): boolean;
|
|
65
|
-
/** What a
|
|
76
|
+
/** What a path carrying a misplaced `@` should say, so a create, a rename and a register word it
|
|
77
|
+
* alike. {@link entityPathProblem} says it for every rule. */
|
|
66
78
|
declare const ENTITY_PATH_MESSAGE = "An entity path may not contain \"@\" except as a leading npm scope \u2014 \"@\" marks the source a ref is drawn from, so a path carrying one cannot be told apart from a borrowed address.";
|
|
67
79
|
/**
|
|
68
80
|
* A reference to another entity: `ref('token', 'color/brand')`. Resolution is prefix-or-leaf against
|
|
@@ -200,4 +212,4 @@ declare function rewriteRefNamespace(value: unknown, kind: string, from: string,
|
|
|
200
212
|
*/
|
|
201
213
|
declare function rewriteRefSource(value: unknown, from: string, to: string | undefined): unknown;
|
|
202
214
|
//#endregion
|
|
203
|
-
export { ENTITY_PATH_MESSAGE, ExtendableRef, ExtendedRef, MINTED, Ref, collectRefs, declarationText, entityRefOf, isEntityPath, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, orRef, pathOf, ref, refKey, refLeaf, refOfKey, refSchema, refTo, replaceRefMarkers, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, sourceHops, sourceOf, splitRef, splitRefMarkers };
|
|
215
|
+
export { ENTITY_PATH_MESSAGE, ExtendableRef, ExtendedRef, MINTED, Ref, collectRefs, declarationText, entityPathProblem, entityRefOf, isEntityPath, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, orRef, pathOf, ref, refKey, refLeaf, refOfKey, refSchema, refTo, replaceRefMarkers, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, sourceHops, sourceOf, splitRef, splitRefMarkers };
|
|
@@ -59,14 +59,33 @@ function memberOf(target) {
|
|
|
59
59
|
* `if (!source) return ''` escape and the declaration vanishes), reports a false dangling ref naming a
|
|
60
60
|
* source that does not exist, and marks the item borrowed on every provenance surface. Nothing throws.
|
|
61
61
|
*
|
|
62
|
+
* The rest of the grammar a path is read in is refused the same way, since each misreads as silently:
|
|
63
|
+
* - `#` anywhere: the ref grammar splits on the first `#` before anything else, so `token:size/a#b`
|
|
64
|
+
* is a member ref (`b`) into `size/a`.
|
|
65
|
+
* - An empty segment (`''`, `a//b`, `/a`, `a/`): `/` is what makes a folder, and a pin's `link` covers
|
|
66
|
+
* a folder's members as the paths under `<folder>/`.
|
|
67
|
+
* - A segment starting with `!`: a `link` list entry `'!text'` leaves `text` out, so a path of that
|
|
68
|
+
* name couldn't be linked by name.
|
|
69
|
+
* - A segment that is `*`: in a `link` list, `'*'` is every path.
|
|
70
|
+
*
|
|
62
71
|
* Checked where a path becomes an identity — a create, a rename's target, an authored entry — and
|
|
63
72
|
* deliberately not on reads, so an existing bad path stays addressable and, more to the point,
|
|
64
73
|
* deletable.
|
|
65
74
|
*/
|
|
75
|
+
function entityPathProblem(path) {
|
|
76
|
+
if (path.lastIndexOf("@") > 0) return ENTITY_PATH_MESSAGE;
|
|
77
|
+
if (path.includes("#")) return "An entity path may not contain \"#\" — \"#\" marks the member a ref points into, so a path carrying one reads as a member of a shorter path.";
|
|
78
|
+
const segments = path.split("/");
|
|
79
|
+
if (segments.some((segment) => segment === "")) return "An entity path may not have an empty segment — \"/\" separates a folder from its members, so \"\", \"a//b\", \"/a\" and \"a/\" name no folder a link or a ref can address.";
|
|
80
|
+
if (segments.some((segment) => segment.startsWith("!"))) return "An entity path segment may not start with \"!\" — a link's \"!path\" entry leaves that path out, so a path named that way could not be linked by name.";
|
|
81
|
+
if (segments.some((segment) => segment === "*")) return "An entity path segment may not be \"*\" — in a link, \"*\" stands for every path.";
|
|
82
|
+
}
|
|
83
|
+
/** Whether `path` can be an entity's own path: {@link entityPathProblem} finds nothing wrong with it. */
|
|
66
84
|
function isEntityPath(path) {
|
|
67
|
-
return path
|
|
85
|
+
return entityPathProblem(path) === void 0;
|
|
68
86
|
}
|
|
69
|
-
/** What a
|
|
87
|
+
/** What a path carrying a misplaced `@` should say, so a create, a rename and a register word it
|
|
88
|
+
* alike. {@link entityPathProblem} says it for every rule. */
|
|
70
89
|
const ENTITY_PATH_MESSAGE = "An entity path may not contain \"@\" except as a leading npm scope — \"@\" marks the source a ref is drawn from, so a path carrying one cannot be told apart from a borrowed address.";
|
|
71
90
|
/**
|
|
72
91
|
* A reference to another entity: `ref('token', 'color/brand')`. Resolution is prefix-or-leaf against
|
|
@@ -455,4 +474,4 @@ function canonicalCondition(when) {
|
|
|
455
474
|
return entries.length === 0 ? "*" : entries.map(([k, v]) => `${k}=${String(refLeaf(v))}`).join("&");
|
|
456
475
|
}
|
|
457
476
|
//#endregion
|
|
458
|
-
export { ENTITY_PATH_MESSAGE, MINTED, canonicalCondition, collectRefs, declarationText, entityRefOf, hasRefMarker, isEntityPath, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, orRef, pathOf, qualifyRefs, ref, refKey, refLeaf, refOfKey, refSchema, refTo, replaceRefMarkers, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, singletonRef, sourceHops, sourceOf, splitRef, splitRefMarkers };
|
|
477
|
+
export { ENTITY_PATH_MESSAGE, MINTED, canonicalCondition, collectRefs, declarationText, entityPathProblem, entityRefOf, hasRefMarker, isEntityPath, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, orRef, pathOf, qualifyRefs, ref, refKey, refLeaf, refOfKey, refSchema, refTo, replaceRefMarkers, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, singletonRef, sourceHops, sourceOf, splitRef, splitRefMarkers };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { RebaseConflict, RebaseResult, StampedPatch, stamp } from "./framework/o
|
|
|
7
7
|
import { DeletePlan, EntityAddress, Plan, PlanImpact, PlanOp, RenamePlan, describePatch } from "./framework/plan.js";
|
|
8
8
|
import { Entity } from "./framework/Entity.js";
|
|
9
9
|
import { Ref } from "./framework/utils/ref-grammar.js";
|
|
10
|
-
import { ENTITY_PATH_MESSAGE, ExtendedRef, MINTED, collectRefs, declarationText, entityRefOf, isEntityPath, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, orRef, pathOf, ref, refKey, refLeaf, refOfKey, refSchema, refTo, replaceRefMarkers, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, sourceHops, sourceOf, splitRef, splitRefMarkers } from "./framework/utils/refs.js";
|
|
10
|
+
import { ENTITY_PATH_MESSAGE, ExtendedRef, MINTED, collectRefs, declarationText, entityPathProblem, entityRefOf, isEntityPath, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, orRef, pathOf, ref, refKey, refLeaf, refOfKey, refSchema, refTo, replaceRefMarkers, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, sourceHops, sourceOf, splitRef, splitRefMarkers } from "./framework/utils/refs.js";
|
|
11
11
|
import { RefGraph, RefGraphEntry, RefIndex, RefIndexChange, RefTarget, TraverseOptions, buildRefGraph, buildRefIndex, refGraphOf, updateRefIndex } from "./framework/ref-graph.js";
|
|
12
12
|
import { CreateInput, FieldsSchema, declaredField, deriveCreateSchema, deriveUpdateSchema, fieldKeys } from "./framework/utils/field-schema.js";
|
|
13
13
|
import { DerivedOp, OpHandler, SchemaEntry, UserSchemas } from "./framework/schemas.js";
|
|
@@ -112,7 +112,7 @@ import { InferredRename, inferredRenames } from "./framework/rename-inference.js
|
|
|
112
112
|
import { CURRENT_SCHEMA_VERSION, SchemaMigration, SchemaVersionTooNew, UpgradedDraft, WalkOptions, detectedWireVersion, registerSchemaMigrations, schemaVersionOf, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig } from "./framework/schema-version.js";
|
|
113
113
|
import { ConfigSession, ConfigSessionOptions, ConfigSink, ConfigSource, DraftSource, RebaseOrigin, SourceChange, memoryConfigSource } from "./framework/session.js";
|
|
114
114
|
import { SignatureOptions, renderSignature, signatureOf } from "./framework/signature.js";
|
|
115
|
-
import { DanglingDirective, DanglingRef, LeafAddress, MisdeclaredOverlay, OverlayVerb, RedundantQualifier, UnadoptedDirective, UnreadableBorrow, UnstatableCondition, UnstatableOverride, classifyOverlay, danglingDirectives, danglingSourcedRefs, leafAddresses, leafVerb, misdeclaredOverlays, overlayVerb, redundantQualifiers, unadoptedDirectives, unreadableBorrows, unstatableConditions, unstatableOverrides, valueAt } from "./framework/source-integrity.js";
|
|
115
|
+
import { DanglingDirective, DanglingRef, LeafAddress, MisdeclaredOverlay, OverlayVerb, RedundantQualifier, UnadoptedDirective, UnreadableBorrow, UnstatableCondition, UnstatableOverride, classifyOverlay, danglingDirectives, danglingSourcedRefs, excludedCondition, leafAddresses, leafVerb, misdeclaredOverlays, overlayVerb, redundantQualifiers, unadoptedDirectives, unreadableBorrows, unstatableConditions, unstatableOverrides, valueAt } from "./framework/source-integrity.js";
|
|
116
116
|
import { applyPathDelta, isPlainObject, namedFields, pathDelta, pathSegments, setAtPath, touchedFields } from "./framework/utils/field-path.js";
|
|
117
117
|
import { isIdentifier, isReservedWord } from "./framework/utils/identifier.js";
|
|
118
118
|
import { EXPORT_MEMBER, packageKey, packageName } from "./framework/utils/package-path.js";
|
|
@@ -120,4 +120,4 @@ import { SpecNode, validateSpec } from "./framework/validate-spec.js";
|
|
|
120
120
|
import { valueLeavesOf, valueSchemaOf } from "./framework/value-domain.js";
|
|
121
121
|
import { views } from "./framework/views-facade.js";
|
|
122
122
|
import { RN_STYLE_KEYS } from "./react-native/style-keys.generated.js";
|
|
123
|
-
export { AI_LANES, ANATOMY_MARKER, type Add, AiChat, type AiChatClass, AiFlow, type AiFlowClass, type AiFlowOrigin, AiGeneration, type AiGenerationClass, type AiLane, AiMessage, type AiMessageClass, type AiMultiAgentMode, type AnatomyIssue, type AnatomyIssueKind, type AnatomyReport, Annotation, type AnnotationClass, AnnotationFields, type AnnotationSegment, type AnySystemConfig, type AppliedOp, type AsInput, type AttachedSources, type Authored, type AuthoredComponent, type AuthoredProp, type AuthoredPropBody, type AuthoredStyleBag, type AuthoredStyleField, type AuthoringSignatureOptions, BUILD_DEFAULTS, type BatchReceipt, type BindingKind, type BreakOutcome, type BreakPlan, type BreakPlanInput, type BreakPlanRow, type BreakReach, BuildSection, type BuildSectionClass, CANVAS_ROLES, COMPONENT_ENTRY_STATIC, CONFIG_OPERATION_KIND, CREATED_COMPONENT_DIRECTORY, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, type Calc, type CalcOperand, Canvas, type CanvasClass, CanvasConfig, type CanvasConfigClass, CanvasRole, type CanvasRoleClass, type CanvasRoleName, CanvasSection, type CanvasSectionClass, type CaptureToSpecOptions, type CaptureToSpecResult, type CapturedChild, type CapturedElement, CapturedNode, type CapturedNodeJson, type Spec as CapturedSpec, type SpecElement as CapturedSpecElement, type CapturedText, type Cell, type CellSlot, type Change, type ChangeHook, type ChangeTarget, type CheckedTokenRefPath, type ChildrenPolicy, type ClassGrammar, type CodeSlot, type Collection, type ColorValue, Component, type ComponentBody, type ComponentBuilder, type ComponentClass, type ComponentContractOf, type ComponentCreateInput, type ComponentElementBody, type ComponentInteraction, type ComponentItemInput, type ComponentModuleSource, type ComponentPropBody, type ComponentPropsOf, type ComponentReference, type ComponentRegistryImport, type ComponentRegistryImportBinding, type ComponentRuleClass, type ComponentSpec, type ComponentSpecs, type ComponentState, type ComponentStyleBody, type ComposedValue, type ComposedValueAuthoring, type ComposedValueForm, Composite, type CompositeClass, type ComputedFields, type ComputedFunctions, type ComputedInput, type ComputedMap, type ComputedValue, Config, type ConfigClass, type ConfigEdit, ConfigFormatError, type ConfigInstance, type ConfigIssue, type ConfigIssueCode, type ConfigKind, type ConfigOp, ConfigRejection, ConfigSession, type ConfigSessionOptions, type ConfigSink, type ConfigSource, type CopyPlan, type CopyPlanInput, type CopyPlanRow, type CreateInput, type CssGrammar, type CssPrefix, type CssPropertyEntry, CssSection, type CssSectionClass, DERIVED_COLOR_DEFAULT_SPACE, DERIVED_COLOR_SPACE, DERIVED_MUTATIONS, type DanglingDirective, type DanglingLocalRef, type DanglingRef, type DeclaredRuntimeModule, type DeletePlan, type DeriveMembers, type DerivedColor, type DerivedEntityClass, type DerivedOp, Device, type DeviceClass, type DiffOptions, type Divide, Documentation, type DocumentationClass, DocumentationLibrary, type DocumentationLibraryClass, type DomLikeElement, type DraftSource, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, type Edition, type ElementVisibility, type ElementVisibilityInput, type ElementVisibilitySchema, Entity, type EntityAddress, type EntityChange, type EntityClass, type EntityKind, type EntityMap, type EntryGroup, type ExpandOptions, type ExpansionResult, type ExtendedComponentRef, type ExtendedRef, type FieldsSchema, File, type FileClass, Font, type FontClass, FontFile, type FontFileClass, type ForwardBlockedReason, type ForwardClaims, type ForwardOption, type ForwardOptions, type ForwardRequest, GROUP, GUIDANCE_LANES, GlobalStyle, type GlobalStyleClass, type GlyphComponent, type GlyphExportRule, type GlyphSource, type GlyphValue, type GoverningCondition, type Gradient, type GroupBody, type GroupComputedInput, Guidance, type GuidanceClass, type GuidanceLane, type GuidanceScope, type GuidanceSegment, GuidanceStyle, type GuidanceStyleBody, type GuidanceStyleClass, type HasSnapshot, type HydrationOptions, ICON_METADATA_FORMATS, Icon, type IconAnswer, type IconClass, type IconGlyph, type IconHook, type IconLibrary, type IconMemberMetadata, type IconMetadataAdapter, type IconMetadataDeclaration, type IconMetadataFile, type IconMetadataFormat, type IconTool, type IconVariantAs, type IdentifiedOp, type InferredRename, type InlineMotion, type Instance, type InstanceSlot, type InstanceSpec, type InteractionCondition, type ItemOf, type KindRef, type KindSignature, type KindSlice, LINK_SLUG, LINK_SLUG_MESSAGE, type LayerElement, type LayerMap, type LayerPropDriver, type LayerStyleOptions, type LeafAddress, type LinkArrival, type LinkDeclaration, type LinkPaths, type LinkPlan, type LinkPlanInput, type LinkedElsewhere, LinkedSystem, type LinkedSystemClass, type LinkedSystemCreateInput, type LinkedSystemItemInput, type LinkedSystemResolver, type LinkedSystemState, type ListOptions, type LiveConfig, type LocalOverlay, MINTED, MODIFIER_CATEGORIES, MOTION_FACTORY, MOTION_VARIANT_STATES, type MarkerKind, type MisdeclaredOverlay, Modifier, type ModifierCategory, type ModifierClass, type ModifierGroupMeta, Motion, type MotionClass, type MotionPresetToken, type Multiply, NATIVE_ACTIVATIONS, type NativeActivation, NativeModifier, type NativeModifierClass, NativeSettings, NativeStyleProperty, NativeToken, Node, type NodeClass, type OklchColor, type OnLinked, type OpHandler, type OpInput, Operation, type OperationClass, type OrphanedMotionVariant, type OverlayVerb, type OverrideCondition, type OwnedRecords, PLACED_NODE_KEY, PLAYGROUND_DEFAULTS, Package, type PackageClass, Page, type PageClass, type Patch, type PathOf, type PickedComposite, type PinDirective, type PinOptions, type PinOptionsField, type PinOptionsInput, type PlacedMotion, type Plan, type PlanImpact, type PlanOp, PlaygroundSection, type PlaygroundSectionClass, Presence, type PresenceProps, type PreviewElement, type PreviewMatrix, type ProjectedVisibility, type PropCondition, type PropDecl, type PropDeclaration, type PropMap, type PropRoute, type PropShapeSchema, RN_STYLE_KEYS, ReactNativeSystem, type ReactNativeSystemClass, type ReactNativeSystemConfig, type RebaseConflict, type RebaseOrigin, type RebaseResult, type RecordedSource, type RedundantQualifier, type Ref, type RefGraph, type RefGraphEntry, type RefIndex, type RefIndexChange, type RefMember, type RefTarget, type RegisteredComponentContracts, type RegisteredEntities, type RegisteredMembers, type RegisteredModifiers, type RegisteredMotionRuntimes, type RegisteredPaths, type RegisteredStyleBag, type RegisteredStyleProps, type RegisteredTokenValues, type RenamePlan, type RenderArgs, type RenderElement, type RenderSpec, type RenderedNode, type RenderedTarget, type RepeatRow, type RepeatSpec, type RequiredContent, type RequiredPropUnforwarded, type ResolveContext, type ResolveValueTypeInput, type ResolvedBinding, type ResolvedSource, type RootFontSize, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, SLOT_CODE_FORMS, STYLE_PROPERTIES, STYLE_PROP_NUMBER_UNITS, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, type SafelistEntry, type SchemaEntry, type SchemaMigration, SchemaVersionTooNew, type SerializedConfig, type SerializedSourceAnswer, Settings, type SettingsClass, type Shadow, type ShadowColor, type ShadowLayer, type ShadowParts, type SignatureOptions, type SkippedOp, type Slot, type SlotCell, type SlotCodeForm, type SlotDecl, type SlotHost, type SlotTarget, Snapshot, type Source, type SourceAnswer, type SourceChange, type SourceMap, type SourceResolution, type SourceResolutionSchemas, type SourceResolver, type SourceRowState, type SourceState, type SourceUnavailable, type SourcesBySlug, type SourcesOf, type SpecNode, type SplitStyleProps, type StampedPatch, type StoredConfig, type StoredPreviewCondition, type StyleClass, type StyleDeclarationGroup, type StylePropEntry, type StylePropLeaf, type StylePropNumberUnit, type StylePropValue, type StylePropValueCtx, type StylePropValueKind, StyleProperty, type StylePropertyClass, type StylePropertyItem, type StyleRuleInput, type StyleValue, type SubEntityClass, type SubPatch, type Subtract, type SurfaceCompositeProp, type SurfaceProp, type SurfacePropCondition, type SurfacePropKind, type SurfaceScalarProp, type SurfaceSlotProp, type SurfaceStylePropertyProp, type SurfaceVariantProp, System, type SystemClass, type SystemConfig, SystemSection, type SystemSectionClass, SystemSource, type SystemSourceClass, TOKEN_READERS, type TimingValue, Token, type TokenBinding, type TokenBody, type TokenClass, type TokenGroupReader, type TokenGroupVariableReader, type TokenMatch, type TokenReader, type TokenReaders, type TokenRefPath, type TokenReference, type TokenValueEntry, type TokenValueRow, type TokenValueState, type TokenVariableAsText, type TokenVariableReaders, Tool, type ToolClass, type Transition, type TransitionSegment, type TraverseOptions, type TreeNode, UDS_FORCE_STATES, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, type UnadoptedDirective, type UnknownStyleLeaf, type UnlinkPlan, type UnlinkPlanInput, type UnreadableBorrow, type UnstatableCondition, type UnstatableOverride, type UpgradedDraft, type UserSchemas, VOID_ELEMENTS, type ValueOf, type ValueRefs, type ValueType, type VarNaming, type VariantValueBody, type VariantValues, type VisibilityOperator, type VisibilityTerm, WEB_ACTIVATIONS, type WalkOptions, type WebActivation, add, addressOf, adoptLinkedModule, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta, arbitraryClassName, arbitraryNeedsClass, authoredBag, authoredValue, authoringSignatures, baseOf, bindStateRef, bindingPath, blankComponentBody, bodyNumberLeaves, bodyNumberUnit, borrowedGroup, borrowedItem, boundElementType, brandGroup, buildRefGraph, buildRefIndex, calcOperands, calcOperator, canonicalWhen, capturedFromDom, changeOf, changeValueAt, changesOf, childrenPolicy, classGrammar, classLeaf, className, classPrefixOf, classSelector, classifyOverlay, classifyStylePropValue, codeSlotsOf, collectRefs, componentClassBase, componentCompositeClasses, componentInteractions, componentLayerClass, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentMotionClasses, componentPropClasses, componentPropComposites, componentRegistryImports, componentRuleClasses, componentSpec, componentStateAttribute, componentStateAttributes, componentStateDefaults, componentStates, composedValueAuthoring, composedValueFormOf, composedValueForms, composedValueSchemas, condArms, condValue, containsMarker, convertLinkedTokenValue, createCanvasConfig, createSliceMemo, createdComponentFilePath, createdComponentPathOf, createdModuleKey, cssPrefixes, cssPropValue, cssProperty, cssPropertyNames, cssString, cssValueIssue, cssVar, cssVarRef, danglingDirectives, danglingLocalRefs, danglingSourcedRefs, darken, declarationKeyName, declarationText, declaredField, declaredPropDefaults, declaredPropRouting, declaredRuntimeModules, declaredVariants, declaresCssVariable, defineComponent, defineConfig, defineDerivedEntity, defineEntity, defineOverride, defineSubEntity, deriveCreateSchema, deriveSpec, deriveUpdateSchema, describeBody, describePatch, detectedWireVersion, diffRendered, divide, editOp, elementFromCaptured, entityRefOf, entryKeyOf, evaluateCalc, expandComponent, expandSpec, fieldKeys, fontFamilyStack, forceModeAttribute, forceModeAttributeOf, forceModeProp, forceModePropGroup, forceModePropValue, forceModeProps, forceStateAttribute, forceStateSelector, forwardClaims, forwardRoutes, forwardedLayers, forwardedNames, forwardsOf, globalStyleName, glyphComponentOf, glyphExportNames, glyphExportRule, glyphLibrariesOf, glyphPropsOf, glyphSourcesOf, glyphType, glyphVariantProp, graftPreviewElements, guidanceReaches, guidanceScopeOf, guidanceTextOf, hasInteraction, hasJsMotion, heldLinked, iconCategories, iconLibraries, iconLibrary, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, iconMetadataSourceFile, iconResolver, iconToolAxisOptions, iconToolFor, iconToolLibraries, iconToolOf, iconToolsOf, iconVariantAs, inferredRenames, inlineJsMotion, inlineMotionId, inlineMotionProps, inlineMotions, inlineRuleComposites, inputOf, instanceHolding, instanceSpec, interactionKey, interactionModifiers, intoName, isAdd, isAuthored, isBinaryAsset, isCalc, isComposedValue, isConfigFormatError, isConfigRejection, isCreatedComponent, isCssProperty, isCustomPropertyKey, isDeclaredElementProp, isDerivedColor, isDivide, isEntityPath, isExtendedRef, isForceModeProp, isGradient, isGroupBody, isIdentifier, isInlineMotion, isInteractionModifier, isLinkSlug, isMintedRow, isMultiply, isNativeConfig, isOklchColor, isPlainObject, isPreviewElement, isRef, isReservedWord, isShadow, isSubtract, isSystemConfig, isTokenReader, isTransition, isValueSlot, jsMotionBody, jsMotionPresets, jsMotionPropFields, kebabComponent, keyedPreviewConditions, kindOf, kindsOf, layerJsMotionPresets, layerPropDrivers, layerPropRoutes, layerRef, layerRoutedProps, layerStyles, layerTextProp, leafAddresses, leafVerb, leavesOfStylePropValue, librariesBoundBy, libraryHolding, lighten, linearGradient, linkedComponentModule, linkedModuleView, linkedVarNaming, literalValueOf, liveStateProps, markerKind, matchEntities, matchTokens, memberFromLeaf, memberLeaves, memberOf, memberRef, memberVariantOptions, memoryConfigSource, misdeclaredOverlays, mix, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf, modifierUtilitiesUsed, motionClassName, motionPresetTokens, motionVariantGroups, multiply, nameIconsInTree, nameStyleNumbers, namedFields, nativeTokenValue, negatedCssValue, normalizeName, normalizeStyleValue, oklch, opOf, opVerb, opacityPercentage, opsForKind, orList, orRef, orphanedMotionVariants, overlayVerb, overrideCondition, overrideKey, overrideKeyModifiers, overrideModifiers, ownTextProp, ownValues, ownerOf, ownsItsValues, packageKey, packageName, parseRootFontSize, parseTokenValue, partsOf, pathDelta, pathOf, pathSegments, pinStyleNumbers, placedGlyphElement, placedMotions, planBreak, planCopy, planLink, planUnlink, prefixed, prepareLinkedTokenBody, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, previewSpec, propApplies, propInto, propOwner, propRegistryRef, propValueDomain, propValueFromAxis, propsIntoLayer, readStatePointer, readsState, redundantQualifiers, ref, refGraphOf, refKey, refLeaf, refListOf, refOfKey, refSchema, refTo, registerSchemaMigrations, renderBindingsOf, renderComposedValue, renderDerivedColor, renderGradient, renderInterpolated, renderOklch, renderShadow, renderSignature, renderStyleValue, renderTransition, renderValue, renderedElement, renderedSignatureOf, renderedTarget, replaceRefMarkers, requiredContentCondition, requiredContentLayers, requiredPropsUnforwarded, resolutionSchema, resolveBinding, resolveComponentProps, resolveFieldValue, resolveIconLibraries, resolveInputDir, resolveOutDir, resolveOutputAlias, resolveRegistryDir, resolveSourceAlias, resolveTokenValue, resolveTokenValueUnder, resolveValue, resolveValueType, resolveVisibility, resolvedSource, rewriteRefNamespace, rewriteRefSource, rewriteRefs, rewriteStyleNumbers, rnStyleKey, rootFontSize, rootLayerOf, routeOf, routedBag, routedProp, routedPropIn, routedSource, routesContent, routesOf, ruleApplies, ruleCondition, runChangeHooks, safelistEntrySchema, schemaVersionOf, searchEntities, searchTokens, setAtPath, shadow, signatureOf, slotCodeForms, slotTargetsOf, snapshotHtml, sniffValueType, sourceEntries, sourceHops, sourceOf, sourceOfGroup, sourceOfItem, sourceRowStates, sourceSlugFor, sourceUnavailable, sourceUnreachable, sourceVarPrefix, specFromCapture, specToNodePatches, specWithResolvedVisibility, spellTokenRead, splitRef, splitRefMarkers, splitStyleProps, splitVariants, stamp, standsInForCode, statePointerProp, stateRef, stateTest, stateVariantNames, storedPreview, styleAliasesOf, styleDeclarationGroups, styleDeclarations, styleNumberAsPainted, styleNumberReadingChanges, stylePropClassBase, stylePropClassName, stylePropClasses, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropNumberCss, stylePropNumberLeaf, stylePropNumberLeaves, stylePropNumberName, stylePropNumberNamedLeaves, stylePropNumberUnit, stylePropNumberUnitRefusal, stylePropOffScaleLiteral, stylePropOwnClasses, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFormOf, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValueSchema, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, styleRuleMotionClasses, subtract, suggestLinkSlug, summarizeChanges, surfaceProp, surfaceProps, tablerExportName, tablerStyledExportName, toCssPropertyName, tokenBinding, tokenExists, tokenReference, tokenValueRow, tokenValueRows, tokenVariablesAsText, touchedFields, transition, unadoptedDirectives, unconditionalPreviewProps, unknownStyleLeaves, unreadableBorrows, unstatableConditions, unstatableOverrides, updateRefIndex, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig, validateComponentProps, validateSpec, valueAt, valueForwardsOf, valueLeavesOf, valueRef, valueSchemaOf, valueTypeOf, varPrefixOf, views, visibilityStateProps, visibilityTerms, whenParts, withRequiredContentHidden, withoutTruthyTerm, wrappedElementKey };
|
|
123
|
+
export { AI_LANES, ANATOMY_MARKER, type Add, AiChat, type AiChatClass, AiFlow, type AiFlowClass, type AiFlowOrigin, AiGeneration, type AiGenerationClass, type AiLane, AiMessage, type AiMessageClass, type AiMultiAgentMode, type AnatomyIssue, type AnatomyIssueKind, type AnatomyReport, Annotation, type AnnotationClass, AnnotationFields, type AnnotationSegment, type AnySystemConfig, type AppliedOp, type AsInput, type AttachedSources, type Authored, type AuthoredComponent, type AuthoredProp, type AuthoredPropBody, type AuthoredStyleBag, type AuthoredStyleField, type AuthoringSignatureOptions, BUILD_DEFAULTS, type BatchReceipt, type BindingKind, type BreakOutcome, type BreakPlan, type BreakPlanInput, type BreakPlanRow, type BreakReach, BuildSection, type BuildSectionClass, CANVAS_ROLES, COMPONENT_ENTRY_STATIC, CONFIG_OPERATION_KIND, CREATED_COMPONENT_DIRECTORY, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, type Calc, type CalcOperand, Canvas, type CanvasClass, CanvasConfig, type CanvasConfigClass, CanvasRole, type CanvasRoleClass, type CanvasRoleName, CanvasSection, type CanvasSectionClass, type CaptureToSpecOptions, type CaptureToSpecResult, type CapturedChild, type CapturedElement, CapturedNode, type CapturedNodeJson, type Spec as CapturedSpec, type SpecElement as CapturedSpecElement, type CapturedText, type Cell, type CellSlot, type Change, type ChangeHook, type ChangeTarget, type CheckedTokenRefPath, type ChildrenPolicy, type ClassGrammar, type CodeSlot, type Collection, type ColorValue, Component, type ComponentBody, type ComponentBuilder, type ComponentClass, type ComponentContractOf, type ComponentCreateInput, type ComponentElementBody, type ComponentInteraction, type ComponentItemInput, type ComponentModuleSource, type ComponentPropBody, type ComponentPropsOf, type ComponentReference, type ComponentRegistryImport, type ComponentRegistryImportBinding, type ComponentRuleClass, type ComponentSpec, type ComponentSpecs, type ComponentState, type ComponentStyleBody, type ComposedValue, type ComposedValueAuthoring, type ComposedValueForm, Composite, type CompositeClass, type ComputedFields, type ComputedFunctions, type ComputedInput, type ComputedMap, type ComputedValue, Config, type ConfigClass, type ConfigEdit, ConfigFormatError, type ConfigInstance, type ConfigIssue, type ConfigIssueCode, type ConfigKind, type ConfigOp, ConfigRejection, ConfigSession, type ConfigSessionOptions, type ConfigSink, type ConfigSource, type CopyPlan, type CopyPlanInput, type CopyPlanRow, type CreateInput, type CssGrammar, type CssPrefix, type CssPropertyEntry, CssSection, type CssSectionClass, DERIVED_COLOR_DEFAULT_SPACE, DERIVED_COLOR_SPACE, DERIVED_MUTATIONS, type DanglingDirective, type DanglingLocalRef, type DanglingRef, type DeclaredRuntimeModule, type DeletePlan, type DeriveMembers, type DerivedColor, type DerivedEntityClass, type DerivedOp, Device, type DeviceClass, type DiffOptions, type Divide, Documentation, type DocumentationClass, DocumentationLibrary, type DocumentationLibraryClass, type DomLikeElement, type DraftSource, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, type Edition, type ElementVisibility, type ElementVisibilityInput, type ElementVisibilitySchema, Entity, type EntityAddress, type EntityChange, type EntityClass, type EntityKind, type EntityMap, type EntryGroup, type ExpandOptions, type ExpansionResult, type ExtendedComponentRef, type ExtendedRef, type FieldsSchema, File, type FileClass, Font, type FontClass, FontFile, type FontFileClass, type ForwardBlockedReason, type ForwardClaims, type ForwardOption, type ForwardOptions, type ForwardRequest, GROUP, GUIDANCE_LANES, GlobalStyle, type GlobalStyleClass, type GlyphComponent, type GlyphExportRule, type GlyphSource, type GlyphValue, type GoverningCondition, type Gradient, type GroupBody, type GroupComputedInput, Guidance, type GuidanceClass, type GuidanceLane, type GuidanceScope, type GuidanceSegment, GuidanceStyle, type GuidanceStyleBody, type GuidanceStyleClass, type HasSnapshot, type HydrationOptions, ICON_METADATA_FORMATS, Icon, type IconAnswer, type IconClass, type IconGlyph, type IconHook, type IconLibrary, type IconMemberMetadata, type IconMetadataAdapter, type IconMetadataDeclaration, type IconMetadataFile, type IconMetadataFormat, type IconTool, type IconVariantAs, type IdentifiedOp, type InferredRename, type InlineMotion, type Instance, type InstanceSlot, type InstanceSpec, type InteractionCondition, type ItemOf, type KindRef, type KindSignature, type KindSlice, LINK_SLUG, LINK_SLUG_MESSAGE, type LayerElement, type LayerMap, type LayerPropDriver, type LayerStyleOptions, type LeafAddress, type LinkArrival, type LinkDeclaration, type LinkPaths, type LinkPlan, type LinkPlanInput, type LinkedElsewhere, LinkedSystem, type LinkedSystemClass, type LinkedSystemCreateInput, type LinkedSystemItemInput, type LinkedSystemResolver, type LinkedSystemState, type ListOptions, type LiveConfig, type LocalOverlay, MINTED, MODIFIER_CATEGORIES, MOTION_FACTORY, MOTION_VARIANT_STATES, type MarkerKind, type MisdeclaredOverlay, Modifier, type ModifierCategory, type ModifierClass, type ModifierGroupMeta, Motion, type MotionClass, type MotionPresetToken, type Multiply, NATIVE_ACTIVATIONS, type NativeActivation, NativeModifier, type NativeModifierClass, NativeSettings, NativeStyleProperty, NativeToken, Node, type NodeClass, type OklchColor, type OnLinked, type OpHandler, type OpInput, Operation, type OperationClass, type OrphanedMotionVariant, type OverlayVerb, type OverrideCondition, type OwnedRecords, PLACED_NODE_KEY, PLAYGROUND_DEFAULTS, Package, type PackageClass, Page, type PageClass, type Patch, type PathOf, type PickedComposite, type PinDirective, type PinOptions, type PinOptionsField, type PinOptionsInput, type PlacedMotion, type Plan, type PlanImpact, type PlanOp, PlaygroundSection, type PlaygroundSectionClass, Presence, type PresenceProps, type PreviewElement, type PreviewMatrix, type ProjectedVisibility, type PropCondition, type PropDecl, type PropDeclaration, type PropMap, type PropRoute, type PropShapeSchema, RN_STYLE_KEYS, ReactNativeSystem, type ReactNativeSystemClass, type ReactNativeSystemConfig, type RebaseConflict, type RebaseOrigin, type RebaseResult, type RecordedSource, type RedundantQualifier, type Ref, type RefGraph, type RefGraphEntry, type RefIndex, type RefIndexChange, type RefMember, type RefTarget, type RegisteredComponentContracts, type RegisteredEntities, type RegisteredMembers, type RegisteredModifiers, type RegisteredMotionRuntimes, type RegisteredPaths, type RegisteredStyleBag, type RegisteredStyleProps, type RegisteredTokenValues, type RenamePlan, type RenderArgs, type RenderElement, type RenderSpec, type RenderedNode, type RenderedTarget, type RepeatRow, type RepeatSpec, type RequiredContent, type RequiredPropUnforwarded, type ResolveContext, type ResolveValueTypeInput, type ResolvedBinding, type ResolvedSource, type RootFontSize, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, SLOT_CODE_FORMS, STYLE_PROPERTIES, STYLE_PROP_NUMBER_UNITS, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, type SafelistEntry, type SchemaEntry, type SchemaMigration, SchemaVersionTooNew, type SerializedConfig, type SerializedSourceAnswer, Settings, type SettingsClass, type Shadow, type ShadowColor, type ShadowLayer, type ShadowParts, type SignatureOptions, type SkippedOp, type Slot, type SlotCell, type SlotCodeForm, type SlotDecl, type SlotHost, type SlotTarget, Snapshot, type Source, type SourceAnswer, type SourceChange, type SourceMap, type SourceResolution, type SourceResolutionSchemas, type SourceResolver, type SourceRowState, type SourceState, type SourceUnavailable, type SourcesBySlug, type SourcesOf, type SpecNode, type SplitStyleProps, type StampedPatch, type StoredConfig, type StoredPreviewCondition, type StyleClass, type StyleDeclarationGroup, type StylePropEntry, type StylePropLeaf, type StylePropNumberUnit, type StylePropValue, type StylePropValueCtx, type StylePropValueKind, StyleProperty, type StylePropertyClass, type StylePropertyItem, type StyleRuleInput, type StyleValue, type SubEntityClass, type SubPatch, type Subtract, type SurfaceCompositeProp, type SurfaceProp, type SurfacePropCondition, type SurfacePropKind, type SurfaceScalarProp, type SurfaceSlotProp, type SurfaceStylePropertyProp, type SurfaceVariantProp, System, type SystemClass, type SystemConfig, SystemSection, type SystemSectionClass, SystemSource, type SystemSourceClass, TOKEN_READERS, type TimingValue, Token, type TokenBinding, type TokenBody, type TokenClass, type TokenGroupReader, type TokenGroupVariableReader, type TokenMatch, type TokenReader, type TokenReaders, type TokenRefPath, type TokenReference, type TokenValueEntry, type TokenValueRow, type TokenValueState, type TokenVariableAsText, type TokenVariableReaders, Tool, type ToolClass, type Transition, type TransitionSegment, type TraverseOptions, type TreeNode, UDS_FORCE_STATES, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, type UnadoptedDirective, type UnknownStyleLeaf, type UnlinkPlan, type UnlinkPlanInput, type UnreadableBorrow, type UnstatableCondition, type UnstatableOverride, type UpgradedDraft, type UserSchemas, VOID_ELEMENTS, type ValueOf, type ValueRefs, type ValueType, type VarNaming, type VariantValueBody, type VariantValues, type VisibilityOperator, type VisibilityTerm, WEB_ACTIVATIONS, type WalkOptions, type WebActivation, add, addressOf, adoptLinkedModule, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta, arbitraryClassName, arbitraryNeedsClass, authoredBag, authoredValue, authoringSignatures, baseOf, bindStateRef, bindingPath, blankComponentBody, bodyNumberLeaves, bodyNumberUnit, borrowedGroup, borrowedItem, boundElementType, brandGroup, buildRefGraph, buildRefIndex, calcOperands, calcOperator, canonicalWhen, capturedFromDom, changeOf, changeValueAt, changesOf, childrenPolicy, classGrammar, classLeaf, className, classPrefixOf, classSelector, classifyOverlay, classifyStylePropValue, codeSlotsOf, collectRefs, componentClassBase, componentCompositeClasses, componentInteractions, componentLayerClass, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentMotionClasses, componentPropClasses, componentPropComposites, componentRegistryImports, componentRuleClasses, componentSpec, componentStateAttribute, componentStateAttributes, componentStateDefaults, componentStates, composedValueAuthoring, composedValueFormOf, composedValueForms, composedValueSchemas, condArms, condValue, containsMarker, convertLinkedTokenValue, createCanvasConfig, createSliceMemo, createdComponentFilePath, createdComponentPathOf, createdModuleKey, cssPrefixes, cssPropValue, cssProperty, cssPropertyNames, cssString, cssValueIssue, cssVar, cssVarRef, danglingDirectives, danglingLocalRefs, danglingSourcedRefs, darken, declarationKeyName, declarationText, declaredField, declaredPropDefaults, declaredPropRouting, declaredRuntimeModules, declaredVariants, declaresCssVariable, defineComponent, defineConfig, defineDerivedEntity, defineEntity, defineOverride, defineSubEntity, deriveCreateSchema, deriveSpec, deriveUpdateSchema, describeBody, describePatch, detectedWireVersion, diffRendered, divide, editOp, elementFromCaptured, entityPathProblem, entityRefOf, entryKeyOf, evaluateCalc, excludedCondition, expandComponent, expandSpec, fieldKeys, fontFamilyStack, forceModeAttribute, forceModeAttributeOf, forceModeProp, forceModePropGroup, forceModePropValue, forceModeProps, forceStateAttribute, forceStateSelector, forwardClaims, forwardRoutes, forwardedLayers, forwardedNames, forwardsOf, globalStyleName, glyphComponentOf, glyphExportNames, glyphExportRule, glyphLibrariesOf, glyphPropsOf, glyphSourcesOf, glyphType, glyphVariantProp, graftPreviewElements, guidanceReaches, guidanceScopeOf, guidanceTextOf, hasInteraction, hasJsMotion, heldLinked, iconCategories, iconLibraries, iconLibrary, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, iconMetadataSourceFile, iconResolver, iconToolAxisOptions, iconToolFor, iconToolLibraries, iconToolOf, iconToolsOf, iconVariantAs, inferredRenames, inlineJsMotion, inlineMotionId, inlineMotionProps, inlineMotions, inlineRuleComposites, inputOf, instanceHolding, instanceSpec, interactionKey, interactionModifiers, intoName, isAdd, isAuthored, isBinaryAsset, isCalc, isComposedValue, isConfigFormatError, isConfigRejection, isCreatedComponent, isCssProperty, isCustomPropertyKey, isDeclaredElementProp, isDerivedColor, isDivide, isEntityPath, isExtendedRef, isForceModeProp, isGradient, isGroupBody, isIdentifier, isInlineMotion, isInteractionModifier, isLinkSlug, isMintedRow, isMultiply, isNativeConfig, isOklchColor, isPlainObject, isPreviewElement, isRef, isReservedWord, isShadow, isSubtract, isSystemConfig, isTokenReader, isTransition, isValueSlot, jsMotionBody, jsMotionPresets, jsMotionPropFields, kebabComponent, keyedPreviewConditions, kindOf, kindsOf, layerJsMotionPresets, layerPropDrivers, layerPropRoutes, layerRef, layerRoutedProps, layerStyles, layerTextProp, leafAddresses, leafVerb, leavesOfStylePropValue, librariesBoundBy, libraryHolding, lighten, linearGradient, linkedComponentModule, linkedModuleView, linkedVarNaming, literalValueOf, liveStateProps, markerKind, matchEntities, matchTokens, memberFromLeaf, memberLeaves, memberOf, memberRef, memberVariantOptions, memoryConfigSource, misdeclaredOverlays, mix, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf, modifierUtilitiesUsed, motionClassName, motionPresetTokens, motionVariantGroups, multiply, nameIconsInTree, nameStyleNumbers, namedFields, nativeTokenValue, negatedCssValue, normalizeName, normalizeStyleValue, oklch, opOf, opVerb, opacityPercentage, opsForKind, orList, orRef, orphanedMotionVariants, overlayVerb, overrideCondition, overrideKey, overrideKeyModifiers, overrideModifiers, ownTextProp, ownValues, ownerOf, ownsItsValues, packageKey, packageName, parseRootFontSize, parseTokenValue, partsOf, pathDelta, pathOf, pathSegments, pinStyleNumbers, placedGlyphElement, placedMotions, planBreak, planCopy, planLink, planUnlink, prefixed, prepareLinkedTokenBody, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, previewSpec, propApplies, propInto, propOwner, propRegistryRef, propValueDomain, propValueFromAxis, propsIntoLayer, readStatePointer, readsState, redundantQualifiers, ref, refGraphOf, refKey, refLeaf, refListOf, refOfKey, refSchema, refTo, registerSchemaMigrations, renderBindingsOf, renderComposedValue, renderDerivedColor, renderGradient, renderInterpolated, renderOklch, renderShadow, renderSignature, renderStyleValue, renderTransition, renderValue, renderedElement, renderedSignatureOf, renderedTarget, replaceRefMarkers, requiredContentCondition, requiredContentLayers, requiredPropsUnforwarded, resolutionSchema, resolveBinding, resolveComponentProps, resolveFieldValue, resolveIconLibraries, resolveInputDir, resolveOutDir, resolveOutputAlias, resolveRegistryDir, resolveSourceAlias, resolveTokenValue, resolveTokenValueUnder, resolveValue, resolveValueType, resolveVisibility, resolvedSource, rewriteRefNamespace, rewriteRefSource, rewriteRefs, rewriteStyleNumbers, rnStyleKey, rootFontSize, rootLayerOf, routeOf, routedBag, routedProp, routedPropIn, routedSource, routesContent, routesOf, ruleApplies, ruleCondition, runChangeHooks, safelistEntrySchema, schemaVersionOf, searchEntities, searchTokens, setAtPath, shadow, signatureOf, slotCodeForms, slotTargetsOf, snapshotHtml, sniffValueType, sourceEntries, sourceHops, sourceOf, sourceOfGroup, sourceOfItem, sourceRowStates, sourceSlugFor, sourceUnavailable, sourceUnreachable, sourceVarPrefix, specFromCapture, specToNodePatches, specWithResolvedVisibility, spellTokenRead, splitRef, splitRefMarkers, splitStyleProps, splitVariants, stamp, standsInForCode, statePointerProp, stateRef, stateTest, stateVariantNames, storedPreview, styleAliasesOf, styleDeclarationGroups, styleDeclarations, styleNumberAsPainted, styleNumberReadingChanges, stylePropClassBase, stylePropClassName, stylePropClasses, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropNumberCss, stylePropNumberLeaf, stylePropNumberLeaves, stylePropNumberName, stylePropNumberNamedLeaves, stylePropNumberUnit, stylePropNumberUnitRefusal, stylePropOffScaleLiteral, stylePropOwnClasses, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFormOf, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValueSchema, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, styleRuleMotionClasses, subtract, suggestLinkSlug, summarizeChanges, surfaceProp, surfaceProps, tablerExportName, tablerStyledExportName, toCssPropertyName, tokenBinding, tokenExists, tokenReference, tokenValueRow, tokenValueRows, tokenVariablesAsText, touchedFields, transition, unadoptedDirectives, unconditionalPreviewProps, unknownStyleLeaves, unreadableBorrows, unstatableConditions, unstatableOverrides, updateRefIndex, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig, validateComponentProps, validateSpec, valueAt, valueForwardsOf, valueLeavesOf, valueRef, valueSchemaOf, valueTypeOf, varPrefixOf, views, visibilityStateProps, visibilityTerms, whenParts, withRequiredContentHidden, withoutTruthyTerm, wrappedElementKey };
|