@almadar/core 2.9.1 → 2.10.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/{compose-behaviors-C42E5T3f.d.ts → adapt-behavior-WWazE3lN.d.ts} +44 -2
- package/dist/builders.d.ts +1 -1
- package/dist/builders.js +159 -1
- package/dist/builders.js.map +1 -1
- package/dist/domain-language/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +159 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as Agen
|
|
|
3
3
|
import { ResolvedIR, ResolvedEntity, ResolvedPage, ResolvedTrait, SchemaChange, CategorizedRemovals, PageContentReduction } from './types/index.js';
|
|
4
4
|
export { AppSummary, BINDING_CONTEXT_RULES, BINDING_DOCS, BindingContext, BindingSchema, ChangeAuthor, ChangeSetDocument, ChangeSummary, CreateFlow, DEFAULT_INTERACTION_MODELS, DeleteFlow, EditFlow, GitHubLink, HistoryMeta, InteractionModel, InteractionModelInput, InteractionModelSchema, LazyService, ListInteraction, OperatorName, PatternTypeSchema, PersistActionName, ResolvedEntityBinding, ResolvedField, ResolvedNavigation, ResolvedPattern, ResolvedSection, ResolvedSectionEvent, ResolvedTraitBinding, ResolvedTraitDataEntity, ResolvedTraitEvent, ResolvedTraitGuard, ResolvedTraitListener, ResolvedTraitState, ResolvedTraitTick, ResolvedTraitTransition, ResolvedTraitUIBinding, SaveOptions, SaveResult, ServiceAction, ServiceActionName, ServiceContract, ServiceEvents, SnapshotDocument, StatsView, StoreContract, StoreFilter, StoreFilterOp, TransitionFrom, ValidationDocument, ValidationIssue, ValidationMeta, ValidationResults, ViewFlow, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getAllOperators, getAllPatternTypes, getBindingExamples, getInteractionModelForDomain, inferTsType, isResolvedIR, validateBindingInContext } from './types/index.js';
|
|
5
5
|
export { ASTNode, ComparisonCondition, ComparisonOperator, DomainBehavior, DomainChunk, DomainDocument, DomainEffect, DomainEntity, DomainField, DomainFieldType, DomainGuard, DomainPage, DomainPageAction, DomainPageSection, DomainRelationship, DomainTick, DomainToSchemaResult, DomainTransition, EFFECT_REGISTRY, EffectMapping, EffectType, FIELD_TYPE_REGISTRY, FieldCheckCondition, FieldReference, FieldTypeMapping, GUARD_REGISTRY, GuardCondition, GuardMapping, KEYWORDS, Lexer, LogicalCondition, LogicalOperator, MULTI_WORD_KEYWORDS, MappingStore, MergeResult, ParseError, ParseResult, RelationshipType, SchemaToDomainResult, SectionMapping, SourceLocation, SourceRange, Token, TokenType, UserCheckCondition, applySectionUpdate, computeSchemaHash, convertDomainToSchema, convertEntitiesToDomain, convertPagesToDomain, convertSchemaToDomain, convertTraitsToDomain, createMappingStore, deleteSection, detectChanges, domainKeywordToSchemaType, findMapping, findMappingByPath, findMappingsByType, formatBehaviorToDomain, formatBehaviorToSchema, formatDomainGuardToSchema, formatEntityToDomain, formatEntityToSchema, formatGuardConditionToDomain, formatGuardToDomain, formatGuardToSchema, formatMergeSummary, formatPageToDomain, formatPageToSchema, formatSchemaEntityToDomain, formatSchemaGuardToDomain, formatSchemaPageToDomain, formatSchemaTraitToDomain, generateDomainLanguageReference, generateSectionId, getEffectMapping, getFieldTypeMapping, getGuardMapping, getRegisteredEffects, getRegisteredFieldTypes, getRegisteredGuards, getRegistryStats, getSchemaPath, hasSchemaChanged, isEffectRegistered, isFieldTypeRegistered, isGuardRegistered, mergeDomainChunks, parseBehavior, parseDomainEffect, parseDomainEffects, parseDomainGuard, parseEntity, parseGuard, parsePage, parseSectionId, removeMapping, resolveConflict, schemaEntityToDomainEntity, schemaPageToDomainPage, schemaTraitToDomainBehavior, schemaTypeToDomainKeyword, tokenize, updateMappingRange, updateSchemaHash, upsertMapping, validateDomainChunk } from './domain-language/index.js';
|
|
6
|
-
export { C as ComposeBehaviorsInput,
|
|
6
|
+
export { A as AdaptBehaviorInput, a as AdaptBehaviorResult, C as ComposeBehaviorsInput, b as ComposeBehaviorsResult, E as EventWiringEntry, L as LayoutStrategy, c as adaptBehavior, d as applyEventWiring, e as composeBehaviors, f as detectLayoutStrategy } from './adapt-behavior-WWazE3lN.js';
|
|
7
7
|
export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
|
|
8
8
|
export { CATEGORIES, CategoryMeta, OPERATORS, OPERATORS_SCHEMA, OPERATOR_NAMES, OperatorCategory, OperatorMeta, OperatorStats, OperatorsSchema, TargetPlatform, getOperatorMeta, getOperatorStats, getOperatorsByCategory, getOperatorsForTarget, isEffectOperator, isGuardOperator, isKnownOperator, validateOperatorArity } from '@almadar/operators';
|
|
9
9
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
package/dist/index.js
CHANGED
|
@@ -7912,6 +7912,164 @@ function composeBehaviors(input) {
|
|
|
7912
7912
|
};
|
|
7913
7913
|
}
|
|
7914
7914
|
|
|
7915
|
+
// src/builders/adapt-behavior.ts
|
|
7916
|
+
var VALID_FIELD_TYPES = /* @__PURE__ */ new Set([
|
|
7917
|
+
"string",
|
|
7918
|
+
"number",
|
|
7919
|
+
"boolean",
|
|
7920
|
+
"date",
|
|
7921
|
+
"timestamp",
|
|
7922
|
+
"datetime",
|
|
7923
|
+
"array",
|
|
7924
|
+
"object",
|
|
7925
|
+
"enum",
|
|
7926
|
+
"relation"
|
|
7927
|
+
]);
|
|
7928
|
+
function normalizeFieldType(type) {
|
|
7929
|
+
if (type.endsWith("[]")) return "array";
|
|
7930
|
+
const lower = type.toLowerCase();
|
|
7931
|
+
if (VALID_FIELD_TYPES.has(lower)) return lower;
|
|
7932
|
+
return "string";
|
|
7933
|
+
}
|
|
7934
|
+
function deriveTraitSuffix(originalEntityName, traits) {
|
|
7935
|
+
if (!traits.length) return "Management";
|
|
7936
|
+
const traitName = traits[0].name;
|
|
7937
|
+
if (traitName.startsWith(originalEntityName)) {
|
|
7938
|
+
const suffix = traitName.slice(originalEntityName.length);
|
|
7939
|
+
if (suffix && suffix.toLowerCase() !== originalEntityName.toLowerCase()) {
|
|
7940
|
+
return suffix;
|
|
7941
|
+
}
|
|
7942
|
+
}
|
|
7943
|
+
const lower = originalEntityName.toLowerCase();
|
|
7944
|
+
const traitLower = traitName.toLowerCase();
|
|
7945
|
+
if (traitLower.startsWith(lower)) {
|
|
7946
|
+
const suffix = traitName.slice(lower.length);
|
|
7947
|
+
if (suffix && suffix.toLowerCase() !== originalEntityName.toLowerCase()) {
|
|
7948
|
+
return suffix;
|
|
7949
|
+
}
|
|
7950
|
+
}
|
|
7951
|
+
return "Management";
|
|
7952
|
+
}
|
|
7953
|
+
function replaceEntityRefs(obj, oldEntity, newEntity) {
|
|
7954
|
+
if (typeof obj === "string") {
|
|
7955
|
+
return obj === oldEntity ? newEntity : obj.replace(new RegExp(oldEntity, "g"), newEntity);
|
|
7956
|
+
}
|
|
7957
|
+
if (Array.isArray(obj)) {
|
|
7958
|
+
return obj.map((item) => replaceEntityRefs(item, oldEntity, newEntity));
|
|
7959
|
+
}
|
|
7960
|
+
if (obj && typeof obj === "object") {
|
|
7961
|
+
const result = {};
|
|
7962
|
+
for (const [key, value] of Object.entries(obj)) {
|
|
7963
|
+
result[key] = replaceEntityRefs(value, oldEntity, newEntity);
|
|
7964
|
+
}
|
|
7965
|
+
return result;
|
|
7966
|
+
}
|
|
7967
|
+
return obj;
|
|
7968
|
+
}
|
|
7969
|
+
function cleanStaleBindings(stateMachine, validFields) {
|
|
7970
|
+
const sm = stateMachine;
|
|
7971
|
+
const transitions = sm.transitions;
|
|
7972
|
+
if (!transitions) return;
|
|
7973
|
+
for (const transition of transitions) {
|
|
7974
|
+
const effects = transition.effects;
|
|
7975
|
+
if (!effects) continue;
|
|
7976
|
+
transition.effects = effects.filter((effect) => {
|
|
7977
|
+
if (!Array.isArray(effect)) return true;
|
|
7978
|
+
return !hasStaleBinding(effect, validFields);
|
|
7979
|
+
});
|
|
7980
|
+
}
|
|
7981
|
+
}
|
|
7982
|
+
function hasStaleBinding(value, validFields) {
|
|
7983
|
+
if (typeof value === "string") {
|
|
7984
|
+
if (value.startsWith("@entity.")) {
|
|
7985
|
+
const field = value.slice("@entity.".length).split(".")[0];
|
|
7986
|
+
return !validFields.has(field);
|
|
7987
|
+
}
|
|
7988
|
+
return false;
|
|
7989
|
+
}
|
|
7990
|
+
if (Array.isArray(value)) {
|
|
7991
|
+
return value.some((item) => hasStaleBinding(item, validFields));
|
|
7992
|
+
}
|
|
7993
|
+
if (value && typeof value === "object") {
|
|
7994
|
+
return Object.values(value).some((v) => hasStaleBinding(v, validFields));
|
|
7995
|
+
}
|
|
7996
|
+
return false;
|
|
7997
|
+
}
|
|
7998
|
+
function adaptBehavior(input) {
|
|
7999
|
+
const { source, entityName, fields, collection, persistence } = input;
|
|
8000
|
+
const orbital = JSON.parse(JSON.stringify(source));
|
|
8001
|
+
const originalEntity = typeof orbital.entity === "string" ? orbital.entity : orbital.entity.name;
|
|
8002
|
+
const targetCollection = collection ?? entityName.toLowerCase() + "s";
|
|
8003
|
+
orbital.entity = {
|
|
8004
|
+
name: entityName,
|
|
8005
|
+
collection: targetCollection,
|
|
8006
|
+
persistence: persistence ?? "persistent",
|
|
8007
|
+
fields: [
|
|
8008
|
+
{ name: "id", type: "string", required: true },
|
|
8009
|
+
...fields.map((f) => ({
|
|
8010
|
+
name: f.name,
|
|
8011
|
+
type: normalizeFieldType(f.type),
|
|
8012
|
+
...f.required ? { required: true } : {}
|
|
8013
|
+
}))
|
|
8014
|
+
].filter((f, i, arr) => arr.findIndex((x) => x.name === f.name) === i)
|
|
8015
|
+
// dedupe id
|
|
8016
|
+
};
|
|
8017
|
+
const inlineTraits = orbital.traits.filter((t) => isInlineTrait(t));
|
|
8018
|
+
const firstTraitSuffix = deriveTraitSuffix(originalEntity, inlineTraits);
|
|
8019
|
+
const traitNameMap = /* @__PURE__ */ new Map();
|
|
8020
|
+
for (const trait of inlineTraits) {
|
|
8021
|
+
const oldTraitName = trait.name;
|
|
8022
|
+
let newTraitName;
|
|
8023
|
+
if (trait.name.toLowerCase().startsWith(originalEntity.toLowerCase())) {
|
|
8024
|
+
const suffix = trait.name.slice(originalEntity.length) || firstTraitSuffix;
|
|
8025
|
+
newTraitName = entityName + suffix;
|
|
8026
|
+
} else {
|
|
8027
|
+
newTraitName = entityName + trait.name;
|
|
8028
|
+
}
|
|
8029
|
+
traitNameMap.set(oldTraitName, newTraitName);
|
|
8030
|
+
trait.name = newTraitName;
|
|
8031
|
+
trait.linkedEntity = entityName;
|
|
8032
|
+
if (trait.stateMachine) {
|
|
8033
|
+
trait.stateMachine = replaceEntityRefs(
|
|
8034
|
+
trait.stateMachine,
|
|
8035
|
+
originalEntity,
|
|
8036
|
+
entityName
|
|
8037
|
+
);
|
|
8038
|
+
trait.stateMachine = replaceEntityRefs(
|
|
8039
|
+
trait.stateMachine,
|
|
8040
|
+
oldTraitName,
|
|
8041
|
+
newTraitName
|
|
8042
|
+
);
|
|
8043
|
+
const newFieldNames = new Set(fields.map((f) => f.name));
|
|
8044
|
+
newFieldNames.add("id");
|
|
8045
|
+
cleanStaleBindings(trait.stateMachine, newFieldNames);
|
|
8046
|
+
}
|
|
8047
|
+
}
|
|
8048
|
+
orbital.name = entityName + firstTraitSuffix;
|
|
8049
|
+
if (orbital.pages) {
|
|
8050
|
+
for (const page of orbital.pages) {
|
|
8051
|
+
if (typeof page === "string") continue;
|
|
8052
|
+
const p = page;
|
|
8053
|
+
if (p.name) p.name = entityName + "Page";
|
|
8054
|
+
if (p.path) p.path = "/" + targetCollection;
|
|
8055
|
+
if (p.traits) {
|
|
8056
|
+
for (const ref2 of p.traits) {
|
|
8057
|
+
if (typeof ref2 === "object" && "ref" in ref2) {
|
|
8058
|
+
ref2.ref = traitNameMap.get(ref2.ref) ?? entityName + firstTraitSuffix;
|
|
8059
|
+
}
|
|
8060
|
+
}
|
|
8061
|
+
}
|
|
8062
|
+
}
|
|
8063
|
+
}
|
|
8064
|
+
if ("domainContext" in orbital) {
|
|
8065
|
+
const ctx = orbital.domainContext;
|
|
8066
|
+
if (ctx?.vocabulary && typeof ctx.vocabulary === "object") {
|
|
8067
|
+
ctx.vocabulary.item = entityName.toLowerCase();
|
|
8068
|
+
}
|
|
8069
|
+
}
|
|
8070
|
+
return { orbital };
|
|
8071
|
+
}
|
|
8072
|
+
|
|
7915
8073
|
// src/state-machine/graph.ts
|
|
7916
8074
|
function buildStateGraph(transitions) {
|
|
7917
8075
|
const graph = /* @__PURE__ */ new Map();
|
|
@@ -8245,6 +8403,6 @@ function buildPayloadForEdge(transition, guardCase) {
|
|
|
8245
8403
|
return {};
|
|
8246
8404
|
}
|
|
8247
8405
|
|
|
8248
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BindingSchema, CORE_BINDINGS, ComputedEventContractSchema, ComputedEventListenerSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, EFFECT_REGISTRY, ENTITY_ROLES, EffectSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FIELD_TYPE_REGISTRY, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GUARD_REGISTRY, GameSubCategorySchema, GameTypeSchema, GuardSchema, InteractionModelSchema, KEYWORDS, Lexer, MULTI_WORD_KEYWORDS, McpServiceDefSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SocketEventsSchema, SocketServiceDefSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TokenType, TraitCategorySchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, applyEventWiring, applySectionUpdate, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectReachableStates, composeBehaviors, computeSchemaHash, convertDomainToSchema, convertEntitiesToDomain, convertPagesToDomain, convertSchemaToDomain, convertTraitsToDomain, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createMappingStore, createResolvedField, createTypedEventBus, deleteSection, deref, deriveCollection, despawn, detectChanges, detectLayoutStrategy, detectPageContentReduction, diffSchemas, doEffects, domainKeywordToSchemaType, emit, extractPayloadFieldRef, findMapping, findMappingByPath, findMappingsByType, findService, formatBehaviorToDomain, formatBehaviorToSchema, formatDomainGuardToSchema, formatEntityToDomain, formatEntityToSchema, formatGuardConditionToDomain, formatGuardToDomain, formatGuardToSchema, formatMergeSummary, formatPageToDomain, formatPageToSchema, formatSchemaEntityToDomain, formatSchemaGuardToDomain, formatSchemaPageToDomain, formatSchemaTraitToDomain, generateDomainLanguageReference, generateSectionId, getAllOperators, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getEffectMapping, getEntity, getFieldTypeMapping, getGuardMapping, getInteractionModelForDomain, getOperator, getPage, getPages, getRegisteredEffects, getRegisteredFieldTypes, getRegisteredGuards, getRegistryStats, getRemovals, getSchemaCacheStats, getSchemaPath, getServiceNames, getTrait, getTraitConfig, getTraitName, hasSchemaChanged, hasService, hasSignificantPageReduction, inferTsType, isBinding, isCircuitEvent, isDestructiveChange, isEffect, isEffectRegistered, isEntityReference, isFieldTypeRegistered, isGuardRegistered, isImportedTraitRef, isInlineTrait, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isSingletonEntity, isSocketService, isThemeReference, isValidBinding, mergeDomainChunks, navigate, normalizeTraitRef, notify, parseAssetKey, parseBehavior, parseBinding, parseDomainEffect, parseDomainEffects, parseDomainGuard, parseEntity, parseEntityRef, parseGuard, parseImportedTraitRef, parseOrbitalSchema, parsePage, parsePageRef, parseSectionId, parseServiceRef, persist, ref, removeMapping, renderUI, requiresConfirmation, resolveConflict, safeParseOrbitalSchema, schemaEntityToDomainEntity, schemaPageToDomainPage, schemaToIR, schemaTraitToDomainBehavior, schemaTypeToDomainKeyword, set, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tokenize, updateMappingRange, updateSchemaHash, upsertMapping, validateAssetAnimations, validateBindingInContext, validateDomainChunk, walkSExpr, walkStatePairs, watch };
|
|
8406
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BindingSchema, CORE_BINDINGS, ComputedEventContractSchema, ComputedEventListenerSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, EFFECT_REGISTRY, ENTITY_ROLES, EffectSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FIELD_TYPE_REGISTRY, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GUARD_REGISTRY, GameSubCategorySchema, GameTypeSchema, GuardSchema, InteractionModelSchema, KEYWORDS, Lexer, MULTI_WORD_KEYWORDS, McpServiceDefSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SocketEventsSchema, SocketServiceDefSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TokenType, TraitCategorySchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, adaptBehavior, applyEventWiring, applySectionUpdate, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectReachableStates, composeBehaviors, computeSchemaHash, convertDomainToSchema, convertEntitiesToDomain, convertPagesToDomain, convertSchemaToDomain, convertTraitsToDomain, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createMappingStore, createResolvedField, createTypedEventBus, deleteSection, deref, deriveCollection, despawn, detectChanges, detectLayoutStrategy, detectPageContentReduction, diffSchemas, doEffects, domainKeywordToSchemaType, emit, extractPayloadFieldRef, findMapping, findMappingByPath, findMappingsByType, findService, formatBehaviorToDomain, formatBehaviorToSchema, formatDomainGuardToSchema, formatEntityToDomain, formatEntityToSchema, formatGuardConditionToDomain, formatGuardToDomain, formatGuardToSchema, formatMergeSummary, formatPageToDomain, formatPageToSchema, formatSchemaEntityToDomain, formatSchemaGuardToDomain, formatSchemaPageToDomain, formatSchemaTraitToDomain, generateDomainLanguageReference, generateSectionId, getAllOperators, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getEffectMapping, getEntity, getFieldTypeMapping, getGuardMapping, getInteractionModelForDomain, getOperator, getPage, getPages, getRegisteredEffects, getRegisteredFieldTypes, getRegisteredGuards, getRegistryStats, getRemovals, getSchemaCacheStats, getSchemaPath, getServiceNames, getTrait, getTraitConfig, getTraitName, hasSchemaChanged, hasService, hasSignificantPageReduction, inferTsType, isBinding, isCircuitEvent, isDestructiveChange, isEffect, isEffectRegistered, isEntityReference, isFieldTypeRegistered, isGuardRegistered, isImportedTraitRef, isInlineTrait, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isSingletonEntity, isSocketService, isThemeReference, isValidBinding, mergeDomainChunks, navigate, normalizeTraitRef, notify, parseAssetKey, parseBehavior, parseBinding, parseDomainEffect, parseDomainEffects, parseDomainGuard, parseEntity, parseEntityRef, parseGuard, parseImportedTraitRef, parseOrbitalSchema, parsePage, parsePageRef, parseSectionId, parseServiceRef, persist, ref, removeMapping, renderUI, requiresConfirmation, resolveConflict, safeParseOrbitalSchema, schemaEntityToDomainEntity, schemaPageToDomainPage, schemaToIR, schemaTraitToDomainBehavior, schemaTypeToDomainKeyword, set, sexpr, spawn, summarizeOrbital, summarizeSchema, swap, tokenize, updateMappingRange, updateSchemaHash, upsertMapping, validateAssetAnimations, validateBindingInContext, validateDomainChunk, walkSExpr, walkStatePairs, watch };
|
|
8249
8407
|
//# sourceMappingURL=index.js.map
|
|
8250
8408
|
//# sourceMappingURL=index.js.map
|