@almadar/core 10.81.0 → 10.83.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.
Files changed (34) hide show
  1. package/dist/builders.d.ts +3 -3
  2. package/dist/builders.js +10 -0
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-BHoSW19_.d.ts → effect-DruTSW2O.d.ts} +123 -4
  5. package/dist/{entityAccess-0POr1WuY.d.ts → entityAccess-BoYVXf3b.d.ts} +1 -1
  6. package/dist/factory/index.d.ts +4 -4
  7. package/dist/factory/index.js +863 -5
  8. package/dist/factory/index.js.map +1 -1
  9. package/dist/factory-runtime/index.d.ts +3 -3
  10. package/dist/factory-runtime/index.js +10 -0
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/{index-rVlLkZJu.d.ts → index-76Ff6JCE.d.ts} +4 -4
  13. package/dist/index.d.ts +10 -10
  14. package/dist/index.js +894 -10
  15. package/dist/index.js.map +1 -1
  16. package/dist/mock/index.d.ts +4 -4
  17. package/dist/mock/index.js +10 -0
  18. package/dist/mock/index.js.map +1 -1
  19. package/dist/patterns/component-mapping.json +11 -1
  20. package/dist/patterns/event-contracts.json +15 -1
  21. package/dist/patterns/index.d.ts +1861 -23
  22. package/dist/patterns/index.js +883 -9
  23. package/dist/patterns/index.js.map +1 -1
  24. package/dist/patterns/integrators-registry.json +1 -1
  25. package/dist/patterns/patterns-registry.json +854 -6
  26. package/dist/patterns/registry.json +854 -6
  27. package/dist/patterns/services-registry.json +1 -1
  28. package/dist/{schema-CkTTGH6l.d.ts → schema-BdeZ8R35.d.ts} +4482 -4482
  29. package/dist/{trait-D269f6pt.d.ts → trait-DKJWX0Ru.d.ts} +1 -1
  30. package/dist/types/index.d.ts +5 -5
  31. package/dist/types/index.js +13 -1
  32. package/dist/types/index.js.map +1 -1
  33. package/dist/{types-7PHjoE7m.d.ts → types-CRr2IuTj.d.ts} +2 -2
  34. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-BHoSW19_.js';
2
- import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-CkTTGH6l.js';
3
- import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-D269f6pt.js';
1
+ import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-DruTSW2O.js';
2
+ import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-BdeZ8R35.js';
3
+ import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DKJWX0Ru.js';
4
4
  import { S as SExpr } from './expression-Fk8bQWef.js';
5
5
  import 'zod';
6
6
 
package/dist/builders.js CHANGED
@@ -354,6 +354,16 @@ z.object({
354
354
  });
355
355
  var MANIFEST_ENTRY_KINDS = ["model", "image", "spritesheet", "audio", "json"];
356
356
  var ManifestEntryKindSchema = z.enum(MANIFEST_ENTRY_KINDS);
357
+ var SoundEntrySchema = z.object({
358
+ path: z.union([z.string(), z.array(z.string())]),
359
+ volume: z.number().optional(),
360
+ loop: z.boolean().optional(),
361
+ poolSize: z.number().optional(),
362
+ autostart: z.boolean().optional(),
363
+ crossfade: z.boolean().optional(),
364
+ crossfadeDurationMs: z.number().optional()
365
+ });
366
+ z.record(z.string(), SoundEntrySchema);
357
367
  var MANIFEST_CANVAS_AFFINITIES = ["isometric", "hex", "flat", "side", "3d", "none"];
358
368
  var ManifestCanvasAffinitySchema = z.enum(MANIFEST_CANVAS_AFFINITIES);
359
369
  var MANIFEST_SOURCE_CATALOGS = ["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"];