@almadar/core 11.3.0 → 11.5.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/behavior-package.js +1 -3
- package/dist/{builders-DXPLnmJy.d.ts → builders-JiXD6W1T.d.ts} +2266 -98
- package/dist/builders.d.ts +5 -5
- package/dist/builders.js +8 -10
- package/dist/{bus-CRxTnebm.d.ts → bus-__zVNcsp.d.ts} +133 -438
- package/dist/{chunk-DNS4GKQV.js → chunk-27Y5AXHB.js} +71 -45
- package/dist/chunk-2WLRKYD5.js +3823 -0
- package/dist/{chunk-B4MNHGBP.js → chunk-5IRZ6ROW.js} +0 -2
- package/dist/{chunk-7NDAXM2Z.js → chunk-6XYHVJ4J.js} +1 -3
- package/dist/{chunk-RGACZEYC.js → chunk-DDBAQMWA.js} +0 -2
- package/dist/{chunk-7GHJU5WI.js → chunk-GNLND5O2.js} +0 -2
- package/dist/{chunk-M4S2B5VJ.js → chunk-IU3WGC6Q.js} +0 -2
- package/dist/{chunk-LPJ7GKRM.js → chunk-J64IR3DR.js} +17 -9
- package/dist/{chunk-PYYHDYTD.js → chunk-J64YVVB4.js} +1 -3
- package/dist/{chunk-7B4JRMRL.js → chunk-JN3MMQTB.js} +15 -7
- package/dist/{chunk-VIHQKKTZ.js → chunk-LQZXCL47.js} +66 -32
- package/dist/{chunk-6H3UIZR2.js → chunk-OQ3Y5SL3.js} +4 -6
- package/dist/{chunk-3DZOFI53.js → chunk-Q4OJQNYY.js} +5 -4
- package/dist/{chunk-347APWFM.js → chunk-R3Y7ABF4.js} +2 -4
- package/dist/{chunk-N3CK4AYW.js → chunk-VC3HXUWQ.js} +7929 -404
- package/dist/{chunk-2NKK2X53.js → chunk-VQWE3FCB.js} +1 -3
- package/dist/{chunk-VG7BRFUD.js → chunk-W3UJRSYC.js} +0 -2
- package/dist/{chunk-XBWV3DXX.js → chunk-XYHBAUWE.js} +242 -10
- package/dist/{effect-C2VKm6kk.d.ts → effect-gddySYLX.d.ts} +215 -18
- package/dist/{effect-result-BFNANDJ-.d.ts → effect-result-BvBwmspK.d.ts} +131 -43
- package/dist/{expression-DirYKz-f.d.ts → expression-DxY6ct3t.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/factory/index.js +8 -10
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +15 -17
- package/dist/fixtures.d.ts +8 -7
- package/dist/fixtures.js +6 -8
- package/dist/i18n/index.js +2 -4
- package/dist/{index-DuHpwitt.d.ts → index-h6KrpmjR.d.ts} +23 -10
- package/dist/index.d.ts +15 -17
- package/dist/index.js +23 -25
- package/dist/kernel-wire.d.ts +3 -3
- package/dist/kernel-wire.js +3 -5
- package/dist/language/constructs.json +18 -3
- package/dist/language/program-types.json +28 -1
- package/dist/language/validation-codes.json +231 -1
- package/dist/language/vocabulary.json +63 -1
- package/dist/language-data.js +3 -5
- package/dist/lolo-document/index.js +0 -2
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/definitions.d.ts +2 -2
- package/dist/patterns/definitions.js +1 -3
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +47 -3
- package/dist/patterns/index.js +3 -5
- package/dist/patterns/patterns-registry.json +7929 -402
- package/dist/patterns/registry.json +7929 -402
- package/dist/themes/index.js +2 -4
- package/dist/{trait-Cv3HTGFL.d.ts → trait-Oun4JgeZ.d.ts} +52 -22
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js +12 -14
- package/dist/{types-wWEqi7vj.d.ts → types-B-r7Z7Lf.d.ts} +3 -3
- package/package.json +6 -6
- package/dist/behavior-package.js.map +0 -1
- package/dist/builders.js.map +0 -1
- package/dist/chunk-2NKK2X53.js.map +0 -1
- package/dist/chunk-347APWFM.js.map +0 -1
- package/dist/chunk-3DZOFI53.js.map +0 -1
- package/dist/chunk-6H3UIZR2.js.map +0 -1
- package/dist/chunk-7B4JRMRL.js.map +0 -1
- package/dist/chunk-7GHJU5WI.js.map +0 -1
- package/dist/chunk-7NDAXM2Z.js.map +0 -1
- package/dist/chunk-B4MNHGBP.js.map +0 -1
- package/dist/chunk-DNS4GKQV.js.map +0 -1
- package/dist/chunk-LPJ7GKRM.js.map +0 -1
- package/dist/chunk-M4S2B5VJ.js.map +0 -1
- package/dist/chunk-N3CK4AYW.js.map +0 -1
- package/dist/chunk-PYYHDYTD.js.map +0 -1
- package/dist/chunk-RGACZEYC.js.map +0 -1
- package/dist/chunk-VG7BRFUD.js.map +0 -1
- package/dist/chunk-VIHQKKTZ.js.map +0 -1
- package/dist/chunk-XBWV3DXX.js.map +0 -1
- package/dist/chunk-ZDIHVDTW.js +0 -3810
- package/dist/chunk-ZDIHVDTW.js.map +0 -1
- package/dist/factory/index.js.map +0 -1
- package/dist/factory-runtime/index.js.map +0 -1
- package/dist/fixtures.js.map +0 -1
- package/dist/i18n/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/kernel-wire.js.map +0 -1
- package/dist/language-data.js.map +0 -1
- package/dist/lolo-document/index.js.map +0 -1
- package/dist/patterns/definitions.js.map +0 -1
- package/dist/patterns/index.js.map +0 -1
- package/dist/themes/index.js.map +0 -1
- package/dist/types/index.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemeDefinitionSchema } from './chunk-
|
|
1
|
+
import { ThemeDefinitionSchema } from './chunk-IU3WGC6Q.js';
|
|
2
2
|
|
|
3
3
|
// themes/almadar.json
|
|
4
4
|
var almadar_default = {
|
|
@@ -25501,5 +25501,3 @@ function builtInThemeKeys() {
|
|
|
25501
25501
|
}
|
|
25502
25502
|
|
|
25503
25503
|
export { MIN_TEXT_CONTRAST, THEME_PRESETS, builtInThemeKeys, contrastRatio, themeKeys, themeOverrideIssues };
|
|
25504
|
-
//# sourceMappingURL=chunk-7NDAXM2Z.js.map
|
|
25505
|
-
//# sourceMappingURL=chunk-7NDAXM2Z.js.map
|
|
@@ -416,5 +416,3 @@ function materializeRegistry(pkg, options = {}) {
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
export { BUILD_INPUTS_LOCK_FILE, BehaviorPackageError, BehaviorPackageOrbBlockSchema, MaterializeAnswerSchema, REGISTRY_MIRROR_LIMIT, SIDECAR_LOCK_FILE, SidecarLockSchema, assertImportable, behaviorProgramFiles, behaviorRegistry, behaviorRegistryDir, behaviorSourceTree, derivedCacheDir, discoverBehaviorPackages, ensureDeclaredPath, ensureLockEntry, evictOldMirrors, findInstalledBehaviorPackage, installedPackageDirs, materializeRegistry, pruneRegistryMirrors, readBehaviorPackage, readLockFile, resolveDeclaredFile, resolveDeclaredPath, resolveOrbBinary, sidecarCacheDir, userStoreDir };
|
|
419
|
-
//# sourceMappingURL=chunk-RGACZEYC.js.map
|
|
420
|
-
//# sourceMappingURL=chunk-RGACZEYC.js.map
|
|
@@ -594,5 +594,3 @@ var CustomPatternDefinitionSchema = z.object({
|
|
|
594
594
|
var CustomPatternMapSchema = z.record(z.string(), CustomPatternDefinitionSchema).optional();
|
|
595
595
|
|
|
596
596
|
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, COLOR_TOKEN_KEYS, ColorSliceSchema, ColorTokensSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DIAGRAM_TOKEN_KEYS, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DiagramFillStyleSchema, DiagramLabelCaseSchema, DiagramLabelFontSchema, DiagramLineCapSchema, DiagramLineJoinSchema, DiagramMarkerSchema, DiagramTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTER_ANIMATIONS, ENTER_DELAY_STEPS, ElevationSliceSchema, ElevationTokensSchema, EnterAnimationSchema, EntitySemanticRoleSchema, EventSemanticRoleSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, ILLUSTRATION_TOKEN_KEYS, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionEntryTokensSchema, MotionIntentMapSchema, MotionIntentSchema, MotionShapeTokensSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, RelatedLinkSchema, SCENE_TOKEN_KEYS, SceneTokensSchema, SkinSpecSchema, SpacingScaleSchema, StateSemanticRoleSchema, SuggestedGuardSchema, SurfaceSliceSchema, SurfaceTokensSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UXHintsSchema, UserPersonaSchema, isThemeReference, isThemeRegistryKey, isWellFormedFontStack, themeDataKey };
|
|
597
|
-
//# sourceMappingURL=chunk-M4S2B5VJ.js.map
|
|
598
|
-
//# sourceMappingURL=chunk-M4S2B5VJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SuggestedGuardSchema, DesignPreferencesSchema, DomainContextSchema, ThemeRefSchema, CustomPatternMapSchema, DesignTokensSchema, ThemeDefinitionSchema } from './chunk-
|
|
2
|
-
import { FieldProjectionSchema, EffectSchema, EntityFieldSchema, TypeVariableSchema, PatternObjectSchema, EntitySchema, EntityPersistenceSchema } from './chunk-
|
|
3
|
-
import { SExprSchema, ExpressionSchema, SExprListSchema } from './chunk-
|
|
4
|
-
import { EventIdSchema, PageIdSchema, TraitIdSchema, OrbitalIdSchema, EntityIdSchema, IdentityLedgerSchema } from './chunk-
|
|
1
|
+
import { SuggestedGuardSchema, DesignPreferencesSchema, DomainContextSchema, ThemeRefSchema, CustomPatternMapSchema, DesignTokensSchema, ThemeDefinitionSchema } from './chunk-IU3WGC6Q.js';
|
|
2
|
+
import { FieldProjectionSchema, EffectSchema, EntityFieldSchema, TypeVariableSchema, PatternObjectSchema, EntitySchema, EntityPersistenceSchema } from './chunk-JN3MMQTB.js';
|
|
3
|
+
import { SExprSchema, ExpressionSchema, SExprListSchema } from './chunk-R3Y7ABF4.js';
|
|
4
|
+
import { EventIdSchema, PageIdSchema, TraitIdSchema, OrbitalIdSchema, EntityIdSchema, IdentityLedgerSchema } from './chunk-W3UJRSYC.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
function unionOsGrants(a, b) {
|
|
@@ -330,6 +330,7 @@ var TRAIT_FIELD_TYPES = [
|
|
|
330
330
|
"event",
|
|
331
331
|
"EventAddress",
|
|
332
332
|
"CallKey",
|
|
333
|
+
"MessageKey",
|
|
333
334
|
"SExpr",
|
|
334
335
|
"union",
|
|
335
336
|
"tuple",
|
|
@@ -374,6 +375,7 @@ var TraitTickSchema = z.object({
|
|
|
374
375
|
appliesTo: z.array(z.string()).optional(),
|
|
375
376
|
runsInBackground: z.boolean().optional(),
|
|
376
377
|
whileVisible: z.boolean().optional(),
|
|
378
|
+
afterEntryMs: z.number().int().nonnegative().optional(),
|
|
377
379
|
pages: z.array(z.string()).optional(),
|
|
378
380
|
pageIds: z.array(PageIdSchema).optional(),
|
|
379
381
|
guard: ExpressionSchema.optional(),
|
|
@@ -1251,7 +1253,8 @@ var SiteMetaSchema = z.object({
|
|
|
1251
1253
|
origin: z.string().url().optional(),
|
|
1252
1254
|
icon: z.string().min(1).optional(),
|
|
1253
1255
|
name: z.string().min(1).optional(),
|
|
1254
|
-
signIn: z.string().startsWith("/").optional()
|
|
1256
|
+
signIn: z.string().startsWith("/").optional(),
|
|
1257
|
+
entries: z.array(z.string().startsWith("/")).optional()
|
|
1255
1258
|
}).strict();
|
|
1256
1259
|
var ConfigProvenanceRecordSchema = z.object({
|
|
1257
1260
|
trait: z.string(),
|
|
@@ -1277,7 +1280,7 @@ var OrbitalSchemaSchema = z.object({
|
|
|
1277
1280
|
name: z.string().min(1, "Schema name is required"),
|
|
1278
1281
|
description: z.string().optional(),
|
|
1279
1282
|
theme: ThemeRefSchema.optional(),
|
|
1280
|
-
themes: z.array(
|
|
1283
|
+
themes: z.array(ThemeRefSchema).optional(),
|
|
1281
1284
|
themeDefinitions: z.array(ThemeDefinitionSchema).optional(),
|
|
1282
1285
|
summary: z.string().optional(),
|
|
1283
1286
|
version: z.string().optional(),
|
|
@@ -1296,6 +1299,7 @@ var OrbitalSchemaSchema = z.object({
|
|
|
1296
1299
|
inbound: z.array(z.string().min(1)).optional(),
|
|
1297
1300
|
site: SiteMetaSchema.optional(),
|
|
1298
1301
|
lazyPages: z.array(LazyPageSchema).optional(),
|
|
1302
|
+
lazyPrograms: z.record(z.string(), z.lazy(() => OrbitalSchemaSchema)).optional(),
|
|
1299
1303
|
services: z.array(ServiceDefinitionSchema).optional(),
|
|
1300
1304
|
config: DeclaredTraitConfigSchema.optional(),
|
|
1301
1305
|
_metadata: SchemaMetadataSchema.optional(),
|
|
@@ -1569,9 +1573,13 @@ var BehaviorDescriptionSchema = z.object({
|
|
|
1569
1573
|
knobs: z.array(KnobFieldSchema),
|
|
1570
1574
|
orbitals: z.array(OrbitalDescriptionSchema),
|
|
1571
1575
|
/** The behaviors this one imports (`uses … from`): what it already contains. */
|
|
1572
|
-
uses: z.array(z.string()).optional()
|
|
1576
|
+
uses: z.array(z.string()).optional(),
|
|
1577
|
+
/** The look and languages the behavior's app header declares; absent when it declares none. Reach is not here: composition unions it. */
|
|
1578
|
+
header: z.object({
|
|
1579
|
+
theme: ThemeRefSchema.optional(),
|
|
1580
|
+
themes: z.array(ThemeRefSchema).optional(),
|
|
1581
|
+
locales: z.array(z.string().min(1)).optional()
|
|
1582
|
+
}).strict().optional()
|
|
1573
1583
|
}).strict();
|
|
1574
1584
|
|
|
1575
1585
|
export { AwaitRenderSchema, BehaviorDescriptionSchema, BehaviorRefSchema, BehaviorValueSchema, CONFIG_REF_EVENT_PATTERN, CatalogEntrySchema, CatalogScopeSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, DeclaredTraitConfigSchema, DeploymentSchema, DescribeTargetSchema, DispatchModeSchema, EntityCallSchema, EntityFieldContractSchema, EntityRefSchema, EntityRefStringSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSourceSchema, ExpectDeclarationSchema, ExpectationDiagnosticSchema, GuardSchema, HOST_SIGN_IN_ROUTE, InboundVerificationSchema, KnobFieldSchema, LazyPageSchema, LazyTraitSchema, ListenSourceSchema, McpServiceDefSchema, OrbitalDefinitionSchema, OrbitalDescriptionSchema, OrbitalOverridesSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalRefObjectSchema, OrbitalRefStringSchema, OrbitalSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalValueSchema, OrbitalValueSiblingSchema, OrbitalValueUseSchema, OrganismExpectationsSchema, OsGrantsSchema, PageAccessSchema, PageIndexingSchema, PageMetaSchema, PageModifiersSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PayloadFieldSchema, PayloadTypeWhenSchema, ProtocolSideSchema, ProtocolSpecSchema, REFERENCE_CONFIG_TYPES, ROUTE_PROTOCOL, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SERVICE_TYPES, SKELETON_VARIANTS, SchemaMetadataSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SiteMetaSchema, SkeletonNodeSchema, SkeletonShapeSchema, SkeletonSpecSchema, SkeletonVariantSchema, SocketEventsSchema, SocketServiceDefSchema, SourceDeclarationMetadataSchema, StateMachineSchema, StateSchema, TickIntervalSchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitDescriptionSchema, TraitDispatchModeSchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitEventsSchema, TraitKnobSchema, TraitMachineSchema, TraitOverridesSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitSourceSchema, TraitTickSchema, TraitUIBindingSchema, TraitValueSchema, TransitionSchema, UseDeclarationSchema, ViewTypeSchema, applyBehaviorOverrides, applyOrbitalOverrides, applyTraitOverrides, behaviorRef, configRefEventKnob, credentialStatusConnected, credentialStorageKey, expectedEntityName, findService, formatBehaviorValueLiteral, formatOrbitalValueLiteral, formatTraitValueLiteral, getServiceNames, getTraitConfig, getTraitName, hasService, inlineTraitRefs, isBehaviorRefValue, isCallSiteConfigDeclaration, isCircuitEvent, isConfigFieldSchema, isConfigRedeclaration, isEntityCall, isEntityReference, isEntityReferenceAny, isHostSignInRoute, isImportedTraitRef, isInlineTrait, isMcpService, isOrbitalDefinition, isOrbitalValue, isPageReference, isPageReferenceObject, isPageReferenceString, isReferenceConfigType, isRestService, isRoutePage, isSecretConfigType, isServiceReference, isServiceReferenceObject, isSocketService, isTraitValue, joinEventAddress, maskSecretConfigValues, mergeCallSiteConfigOverrides, normalizeCallSiteConfigToValues, normalizeTraitRef, overrideDeclaredKnobs, parseBehaviorValueLiteral, parseEntityRef, parseImportedTraitRef, parseOrbitalRef, parseOrbitalSchema, parseOrbitalValueLiteral, parsePageRef, parseServiceRef, parseTraitValueLiteral, payloadTypeContainer, protocolName, resolveConfigRefEventName, resolveCredentialStatusIdentity, resolvePageMeta, safeParseOrbitalSchema, splitEventAddress, unionOsGrants, unwrapTraitRef };
|
|
1576
|
-
//# sourceMappingURL=chunk-LPJ7GKRM.js.map
|
|
1577
|
-
//# sourceMappingURL=chunk-LPJ7GKRM.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isInlineTrait } from './chunk-
|
|
1
|
+
import { isInlineTrait } from './chunk-J64IR3DR.js';
|
|
2
2
|
|
|
3
3
|
// src/data-bearing.ts
|
|
4
4
|
function touchesRecord(effect, name) {
|
|
@@ -20,5 +20,3 @@ function orbitalTouchesOwnRecord(orbital) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export { orbitalTouchesOwnRecord };
|
|
23
|
-
//# sourceMappingURL=chunk-PYYHDYTD.js.map
|
|
24
|
-
//# sourceMappingURL=chunk-PYYHDYTD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SExprListSchema, SExprSchema, SExprDataSchema } from './chunk-
|
|
2
|
-
import { EntityIdSchema } from './chunk-
|
|
3
|
-
import { JsonValueSchema } from './chunk-
|
|
1
|
+
import { SExprListSchema, SExprSchema, SExprDataSchema } from './chunk-R3Y7ABF4.js';
|
|
2
|
+
import { EntityIdSchema } from './chunk-W3UJRSYC.js';
|
|
3
|
+
import { JsonValueSchema } from './chunk-GNLND5O2.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
var FieldProjectionSchema = z.object({
|
|
@@ -39,6 +39,7 @@ var FIELD_TYPES = [
|
|
|
39
39
|
"event",
|
|
40
40
|
"EventAddress",
|
|
41
41
|
"CallKey",
|
|
42
|
+
"MessageKey",
|
|
42
43
|
"SExpr",
|
|
43
44
|
"union",
|
|
44
45
|
"tuple",
|
|
@@ -229,6 +230,7 @@ var EntityFieldSchema = z.lazy(() => {
|
|
|
229
230
|
scalarVariant("event"),
|
|
230
231
|
scalarVariant("EventAddress"),
|
|
231
232
|
scalarVariant("CallKey"),
|
|
233
|
+
scalarVariant("MessageKey"),
|
|
232
234
|
scalarVariant("money"),
|
|
233
235
|
scalarVariant("file"),
|
|
234
236
|
scalarVariant("bytes"),
|
|
@@ -493,6 +495,14 @@ var SoundEntrySchema = z.object({
|
|
|
493
495
|
crossfadeDurationMs: z.number().optional()
|
|
494
496
|
});
|
|
495
497
|
var AudioManifestSchema = z.record(z.string(), SoundEntrySchema);
|
|
498
|
+
var AudioPlaySchema = z.object({
|
|
499
|
+
key: z.string(),
|
|
500
|
+
source: z.string(),
|
|
501
|
+
volume: z.number(),
|
|
502
|
+
loop: z.boolean(),
|
|
503
|
+
poolSize: z.number(),
|
|
504
|
+
fadeMs: z.number()
|
|
505
|
+
});
|
|
496
506
|
var MANIFEST_CANVAS_AFFINITIES = ["isometric", "hex", "flat", "side", "3d", "none"];
|
|
497
507
|
var ManifestCanvasAffinitySchema = z.enum(MANIFEST_CANVAS_AFFINITIES);
|
|
498
508
|
var MANIFEST_SOURCE_CATALOGS = ["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"];
|
|
@@ -660,7 +670,7 @@ var OrbitalEntitySchema = z.object({
|
|
|
660
670
|
delete: z.string().optional()
|
|
661
671
|
}).optional(),
|
|
662
672
|
invariants: SExprListSchema.optional(),
|
|
663
|
-
indexes: z.array(z.object({ fields: z.array(z.string()), orderBy: z.string().optional() }).strict()).optional(),
|
|
673
|
+
indexes: z.array(z.object({ fields: z.array(z.string()), orderBy: z.string().optional(), nearest: z.object({ field: z.string(), dimension: z.number().int().positive() }).strict().optional() }).strict()).optional(),
|
|
664
674
|
collection: z.string().optional(),
|
|
665
675
|
fields: z.array(EntityFieldSchema),
|
|
666
676
|
instances: z.array(z.record(z.string(), JsonValueSchema)).optional(),
|
|
@@ -925,6 +935,4 @@ var ResolvedPatternPropsSchema = z.custom(
|
|
|
925
935
|
{ message: "Expected a resolved pattern props object" }
|
|
926
936
|
);
|
|
927
937
|
|
|
928
|
-
export { ANIMATION_NAMES, ASSET_ASPECTS, ASSET_DIMENSIONS, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, AudioManifestSchema, CAMERA_MODES, CameraModeSchema, CameraSchema, DEFAULT_UNIT_ANIMATION_ROWS, EFFECT_OPERATORS, EFFECT_OPERATOR_FAMILIES, ENTITY_ROLES, EffectSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRoleSchema, EntityRowSchema, EntitySchema, FIELD_TYPES, FX_KINDS, FieldProjectionSchema, FieldSchema, FieldTagSchema, FieldTypeSchema, FieldValueSchema, FileValueSchema, FxKindSchema, MANIFEST_ASSET_LICENSES, MANIFEST_CANVAS_AFFINITIES, MANIFEST_ENTRY_KINDS, MANIFEST_SOURCE_CATALOGS, ManifestAssetLicenseSchema, ManifestCanvasAffinitySchema, ManifestEntryKindSchema, ManifestEntrySchema, ManifestFrameSpecSchema, ManifestSourceCatalogSchema, NUM_WIDTH_TAGS, OrbitalEntitySchema, PatternConfigSchema, PatternObjectSchema, RENDERED_SLOTS, RelationConfigSchema, ResolvedPatternPropsSchema, SEMANTIC_STRING_PATTERNS, SEMANTIC_STRING_TYPES, SERVER_REPORTED_EFFECTS, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, SPRITE_SHEET_LAYOUT, ScenePosSchema, SemanticAssetRefSchema, SheetProjectionSchema, SoundEntrySchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, SubTextureSchema, TYPE_POSITION_ONLY, TextureAtlasSchema, TilesheetSchema, TypeVariableSchema, UISlotSchema, UI_SLOTS, VISUAL_STYLES, VisualStyleSchema, callService, createAssetKey, defaultUnitAtlas, despawn, doEffects, emit, getDefaultAnimationsForRole, instancesForLocale, isClientResident, isEffect, isEmailValue, isFieldValue, isFileValue, isPersistBatchOperation, isPhoneValue, isRuntimeEntity, isSExprEffect, isSemanticStringType, isSemanticStringValue, isTypeVariable, isTypeVariableField, isUrlValue, isUuidValue, manifestToAssetCatalog, matchAssetQuery, navigate, navigateBack, parseAssetKey, parseAssetQuery, persist, persistenceModeAllowsOverrides, renderUI, set, spawn, storesRowsInBrowser, validateAssetAnimations };
|
|
929
|
-
//# sourceMappingURL=chunk-7B4JRMRL.js.map
|
|
930
|
-
//# sourceMappingURL=chunk-7B4JRMRL.js.map
|
|
938
|
+
export { ANIMATION_NAMES, ASSET_ASPECTS, ASSET_DIMENSIONS, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, AudioManifestSchema, AudioPlaySchema, CAMERA_MODES, CameraModeSchema, CameraSchema, DEFAULT_UNIT_ANIMATION_ROWS, EFFECT_OPERATORS, EFFECT_OPERATOR_FAMILIES, ENTITY_ROLES, EffectSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRoleSchema, EntityRowSchema, EntitySchema, FIELD_TYPES, FX_KINDS, FieldProjectionSchema, FieldSchema, FieldTagSchema, FieldTypeSchema, FieldValueSchema, FileValueSchema, FxKindSchema, MANIFEST_ASSET_LICENSES, MANIFEST_CANVAS_AFFINITIES, MANIFEST_ENTRY_KINDS, MANIFEST_SOURCE_CATALOGS, ManifestAssetLicenseSchema, ManifestCanvasAffinitySchema, ManifestEntryKindSchema, ManifestEntrySchema, ManifestFrameSpecSchema, ManifestSourceCatalogSchema, NUM_WIDTH_TAGS, OrbitalEntitySchema, PatternConfigSchema, PatternObjectSchema, RENDERED_SLOTS, RelationConfigSchema, ResolvedPatternPropsSchema, SEMANTIC_STRING_PATTERNS, SEMANTIC_STRING_TYPES, SERVER_REPORTED_EFFECTS, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, SPRITE_SHEET_LAYOUT, ScenePosSchema, SemanticAssetRefSchema, SheetProjectionSchema, SoundEntrySchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, SubTextureSchema, TYPE_POSITION_ONLY, TextureAtlasSchema, TilesheetSchema, TypeVariableSchema, UISlotSchema, UI_SLOTS, VISUAL_STYLES, VisualStyleSchema, callService, createAssetKey, defaultUnitAtlas, despawn, doEffects, emit, getDefaultAnimationsForRole, instancesForLocale, isClientResident, isEffect, isEmailValue, isFieldValue, isFileValue, isPersistBatchOperation, isPhoneValue, isRuntimeEntity, isSExprEffect, isSemanticStringType, isSemanticStringValue, isTypeVariable, isTypeVariableField, isUrlValue, isUuidValue, manifestToAssetCatalog, matchAssetQuery, navigate, navigateBack, parseAssetKey, parseAssetQuery, persist, persistenceModeAllowsOverrides, renderUI, set, spawn, storesRowsInBrowser, validateAssetAnimations };
|