@almadar/core 9.0.1 → 9.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +8 -0
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-EFvCpOGu.d.ts → compose-behaviors-Bn9WPGfr.d.ts} +1 -1
- package/dist/factory/index.d.ts +20 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/{schema-Dp3KfQHm.d.ts → schema-B6gRJD4J.d.ts} +643 -121
- package/dist/{trait-C23jbaBB.d.ts → trait-DvvM-71c.d.ts} +126 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +9 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { bC as UseDeclaration, Q as EntityRef, aT as PageRef, aD as OrbitalDefinition, aL as OrbitalSchema, aS as Page, aU as PageRefObject } from './schema-
|
|
1
|
+
import { bR as UISlot, u as Effect, bm as Trait, aH as RenderUIEffect, by as TraitEventContract, z as Entity, bA as TraitEventListener, bp as TraitConfig, F as EntityField, K as EntityPersistence, O as EntityRow, bD as TraitRef, bF as TraitReference } from './trait-DvvM-71c.js';
|
|
2
|
+
import { bC as UseDeclaration, Q as EntityRef, aT as PageRef, aD as OrbitalDefinition, aL as OrbitalSchema, aS as Page, aU as PageRefObject } from './schema-B6gRJD4J.js';
|
|
3
3
|
import { S as SExpr } from './expression-BVRFm0sV.js';
|
|
4
|
-
export { C as ComposeBehaviorsInput, a as ComposeBehaviorsResult, E as EventWiringEntry, L as LayoutStrategy, b as applyEventWiring, c as composeBehaviors, d as detectLayoutStrategy } from './compose-behaviors-
|
|
4
|
+
export { C as ComposeBehaviorsInput, a as ComposeBehaviorsResult, E as EventWiringEntry, L as LayoutStrategy, b as applyEventWiring, c as composeBehaviors, d as detectLayoutStrategy } from './compose-behaviors-Bn9WPGfr.js';
|
|
5
5
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
package/dist/builders.js
CHANGED
|
@@ -467,6 +467,10 @@ z.object({
|
|
|
467
467
|
}
|
|
468
468
|
);
|
|
469
469
|
var TraitScopeSchema = z.enum(["instance", "collection"]);
|
|
470
|
+
var EntityFieldContractSchema = z.object({
|
|
471
|
+
requires: z.array(z.string()),
|
|
472
|
+
provides: z.array(z.string())
|
|
473
|
+
});
|
|
470
474
|
var SourceBehaviorMetadataSchema = z.object({
|
|
471
475
|
behavior: z.string().min(1),
|
|
472
476
|
alias: z.string().min(1),
|
|
@@ -477,6 +481,10 @@ var TraitSchema = z.object({
|
|
|
477
481
|
description: z.string().optional(),
|
|
478
482
|
description_visual_prompt: z.string().optional(),
|
|
479
483
|
category: TraitCategorySchema.optional(),
|
|
484
|
+
entityRebindable: z.boolean().optional(),
|
|
485
|
+
entityContract: EntityFieldContractSchema.optional(),
|
|
486
|
+
entityBindingDescription: z.string().optional(),
|
|
487
|
+
entityBindingSynonyms: z.string().optional(),
|
|
480
488
|
capabilities: z.array(z.string()).optional(),
|
|
481
489
|
scope: TraitScopeSchema,
|
|
482
490
|
linkedEntity: z.string().optional(),
|