@almadar/core 4.8.2 → 4.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/builders.d.ts +2 -2
- package/dist/builders.js +2 -0
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-aBzjGsxn.d.ts → compose-behaviors-Dg_ADhIl.d.ts} +1 -1
- package/dist/domain-language/index.d.ts +1 -1
- package/dist/domain-language/index.js +4 -3
- package/dist/domain-language/index.js.map +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/dist/{schema-BCEjl1a1.d.ts → schema-DI8_HaRx.d.ts} +93 -0
- package/dist/types/index.d.ts +3 -34
- package/dist/types/index.js +3 -4
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -2
package/dist/builders.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TraitEventContract, E as Entity, S as SExpr, a as TraitEventListener, b as EntityField, c as EntityPersistence, d as EntityRow, U as UseDeclaration, e as EntityRef, f as TraitRef, P as PageRef, O as OrbitalDefinition, g as OrbitalSchema, h as Trait, i as Page, j as PageRefObject, k as TraitReference } from './schema-
|
|
2
|
-
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-
|
|
1
|
+
import { T as TraitEventContract, E as Entity, S as SExpr, a as TraitEventListener, b as EntityField, c as EntityPersistence, d as EntityRow, U as UseDeclaration, e as EntityRef, f as TraitRef, P as PageRef, O as OrbitalDefinition, g as OrbitalSchema, h as Trait, i as Page, j as PageRefObject, k as TraitReference } from './schema-DI8_HaRx.js';
|
|
2
|
+
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-Dg_ADhIl.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@almadar/patterns';
|
|
5
5
|
|
package/dist/builders.js
CHANGED
|
@@ -435,11 +435,13 @@ z.object({
|
|
|
435
435
|
path: ["events"]
|
|
436
436
|
}
|
|
437
437
|
);
|
|
438
|
+
var TraitScopeSchema = z.enum(["instance", "collection"]);
|
|
438
439
|
var TraitSchema = z.object({
|
|
439
440
|
name: z.string().min(1),
|
|
440
441
|
description: z.string().optional(),
|
|
441
442
|
description_visual_prompt: z.string().optional(),
|
|
442
443
|
category: TraitCategorySchema.optional(),
|
|
444
|
+
scope: TraitScopeSchema.optional(),
|
|
443
445
|
linkedEntity: z.string().optional(),
|
|
444
446
|
requiredFields: z.array(RequiredFieldSchema).optional(),
|
|
445
447
|
dataEntities: z.array(TraitDataEntitySchema).optional(),
|