@almadar/core 10.1.0 → 10.3.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 +8 -0
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-CPisdINZ.d.ts → compose-behaviors-BGPvhZTT.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/{schema-D6Y8TfW3.d.ts → schema-DTOofLIu.d.ts} +97 -97
- package/dist/{trait-gH8M3N0M.d.ts → trait-C7cTBoi5.d.ts} +97 -25
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +9 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-JMLj6eu1.d.ts → types-CVzLocjv.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, 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, f as EntityField, g as EntityPersistence, h as EntityRow, i as TraitRef, j as TraitReference } from './trait-C7cTBoi5.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-DTOofLIu.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-BGPvhZTT.js';
|
|
5
5
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
package/dist/builders.js
CHANGED
|
@@ -185,6 +185,14 @@ z.object({
|
|
|
185
185
|
basePath: z.string(),
|
|
186
186
|
mappings: z.record(AssetMappingSchema)
|
|
187
187
|
});
|
|
188
|
+
var AssetCatalogEntrySchema = z.object({
|
|
189
|
+
url: z.string(),
|
|
190
|
+
name: z.string(),
|
|
191
|
+
category: z.string(),
|
|
192
|
+
kind: z.enum(["image", "spritesheet", "audio", "scene", "portrait", "model", "other"]),
|
|
193
|
+
thumbnailUrl: z.string().optional()
|
|
194
|
+
});
|
|
195
|
+
z.array(AssetCatalogEntrySchema);
|
|
188
196
|
|
|
189
197
|
// src/types/entity.ts
|
|
190
198
|
var EntityPersistenceSchema = z.enum([
|