@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.
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +10 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BHoSW19_.d.ts → effect-DruTSW2O.d.ts} +123 -4
- package/dist/{entityAccess-0POr1WuY.d.ts → entityAccess-BoYVXf3b.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +863 -5
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +10 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-rVlLkZJu.d.ts → index-76Ff6JCE.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +894 -10
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +10 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/event-contracts.json +15 -1
- package/dist/patterns/index.d.ts +1861 -23
- package/dist/patterns/index.js +883 -9
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +1 -1
- package/dist/patterns/patterns-registry.json +854 -6
- package/dist/patterns/registry.json +854 -6
- package/dist/patterns/services-registry.json +1 -1
- package/dist/{schema-CkTTGH6l.d.ts → schema-BdeZ8R35.d.ts} +4482 -4482
- package/dist/{trait-D269f6pt.d.ts → trait-DKJWX0Ru.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +13 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-7PHjoE7m.d.ts → types-CRr2IuTj.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as OrbitalSchema, a as OrbitalDefinition } from '../schema-
|
|
2
|
-
import { i as CallSiteConfig, j as CallSiteConfigEntry, h as Trait } from '../trait-
|
|
3
|
-
import { E as EntityField, a as EntityPersistence } from '../effect-
|
|
1
|
+
import { O as OrbitalSchema, a as OrbitalDefinition } from '../schema-BdeZ8R35.js';
|
|
2
|
+
import { i as CallSiteConfig, j as CallSiteConfigEntry, h as Trait } from '../trait-DKJWX0Ru.js';
|
|
3
|
+
import { E as EntityField, a as EntityPersistence } from '../effect-DruTSW2O.js';
|
|
4
4
|
import { MakeTraitRefOpts } from '../builders.js';
|
|
5
5
|
import '../expression-Fk8bQWef.js';
|
|
6
6
|
import 'zod';
|
|
@@ -364,6 +364,16 @@ z.object({
|
|
|
364
364
|
});
|
|
365
365
|
var MANIFEST_ENTRY_KINDS = ["model", "image", "spritesheet", "audio", "json"];
|
|
366
366
|
var ManifestEntryKindSchema = z.enum(MANIFEST_ENTRY_KINDS);
|
|
367
|
+
var SoundEntrySchema = z.object({
|
|
368
|
+
path: z.union([z.string(), z.array(z.string())]),
|
|
369
|
+
volume: z.number().optional(),
|
|
370
|
+
loop: z.boolean().optional(),
|
|
371
|
+
poolSize: z.number().optional(),
|
|
372
|
+
autostart: z.boolean().optional(),
|
|
373
|
+
crossfade: z.boolean().optional(),
|
|
374
|
+
crossfadeDurationMs: z.number().optional()
|
|
375
|
+
});
|
|
376
|
+
z.record(z.string(), SoundEntrySchema);
|
|
367
377
|
var MANIFEST_CANVAS_AFFINITIES = ["isometric", "hex", "flat", "side", "3d", "none"];
|
|
368
378
|
var ManifestCanvasAffinitySchema = z.enum(MANIFEST_CANVAS_AFFINITIES);
|
|
369
379
|
var MANIFEST_SOURCE_CATALOGS = ["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"];
|