@almadar/core 10.14.0 → 10.16.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 +3 -3
- package/dist/builders.js +2 -4
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-Ds6d_mMY.d.ts → compose-behaviors-DEeRtnHP.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/factory/index.js +1 -4
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +3 -5
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +45 -8
- package/dist/index.js +15 -13
- package/dist/index.js.map +1 -1
- package/dist/{schema-BVcq7eXk.d.ts → schema-BOGLyI7O.d.ts} +401 -289
- package/dist/{trait-Ctj2l6ma.d.ts → trait-BnNByIRE.d.ts} +70 -63
- package/dist/types/index.d.ts +18 -9
- package/dist/types/index.js +3 -8
- package/dist/types/index.js.map +1 -1
- package/dist/{types-QQ9BTzkx.d.ts → types-By4AQApw.d.ts} +1 -1
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TraitConfig, U as UISlot, E as Effect, a as Trait, R as RenderBinding, b as RenderUIEffect, c as TraitEventContract, d as Entity, e as TraitEventListener, C as CallSiteConfig, f as EntityField, g as EntityPersistence, h as EntityRow, i as TraitRef, j as TraitReference } from './trait-
|
|
2
|
-
import { O as OrbitalSchema, U as UseDeclaration, E as EntityRef, P as PageRef, a as OrbitalDefinition, b as Page, c as PageRefObject } from './schema-
|
|
1
|
+
import { T as TraitConfig, U as UISlot, E as Effect, a as Trait, R as RenderBinding, b as RenderUIEffect, c as TraitEventContract, d as Entity, e as TraitEventListener, C as CallSiteConfig, f as EntityField, g as EntityPersistence, h as EntityRow, i as TraitRef, j as TraitReference } from './trait-BnNByIRE.js';
|
|
2
|
+
import { O as OrbitalSchema, U as UseDeclaration, E as EntityRef, P as PageRef, a as OrbitalDefinition, b as Page, c as PageRefObject } from './schema-BOGLyI7O.js';
|
|
3
3
|
import { S as SExpr } from './expression-BUIi9ezJ.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-DEeRtnHP.js';
|
|
5
5
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
package/dist/builders.js
CHANGED
|
@@ -271,14 +271,12 @@ z.array(AssetCatalogEntrySchema);
|
|
|
271
271
|
// src/types/entity.ts
|
|
272
272
|
var EntityPersistenceSchema = z.enum([
|
|
273
273
|
"persistent",
|
|
274
|
-
"runtime"
|
|
275
|
-
"singleton",
|
|
276
|
-
"instance",
|
|
277
|
-
"local"
|
|
274
|
+
"runtime"
|
|
278
275
|
]);
|
|
279
276
|
var OrbitalEntitySchema = z.object({
|
|
280
277
|
name: z.string().min(1, "Entity name is required"),
|
|
281
278
|
persistence: EntityPersistenceSchema.default("persistent"),
|
|
279
|
+
shared: z.boolean().optional(),
|
|
282
280
|
collection: z.string().optional(),
|
|
283
281
|
fields: z.array(EntityFieldSchema).min(1, "At least one field is required"),
|
|
284
282
|
instances: z.array(z.record(z.unknown())).optional(),
|