@almadar/core 10.60.0 → 10.61.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.
@@ -1,4 +1,4 @@
1
- import { O as OrbitalSchema } from './schema-WnERh-P-.js';
1
+ import { O as OrbitalSchema } from './schema-Dj4GC3Vo.js';
2
2
  import { S as SExpr } from './expression-Fk8bQWef.js';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { O as OrbitalSchema, a as OrbitalDefinition } from '../schema-WnERh-P-.js';
1
+ import { O as OrbitalSchema, a as OrbitalDefinition } from '../schema-Dj4GC3Vo.js';
2
2
  import { h as CallSiteConfig, i as CallSiteConfigEntry, g as Trait } from '../trait-DgZ5Exel.js';
3
3
  import { E as EntityField, a as EntityPersistence } from '../effect-a1W_hXyG.js';
4
4
  import { MakeTraitRefOpts } from '../builders.js';
@@ -1176,8 +1176,8 @@ var ThemeDefinitionSchema = z.object({
1176
1176
  variants: z.record(z.string(), ThemeVariantSchema).optional()
1177
1177
  });
1178
1178
  var ThemeRefStringSchema = z.string().regex(
1179
- /^[A-Z][a-zA-Z0-9]*\.theme$/,
1180
- 'Theme reference must be in format "Alias.theme" (e.g., "Ocean.theme")'
1179
+ /^([A-Z][a-zA-Z0-9]*\.theme|[a-z][a-z0-9]*(-[a-z0-9]+)*)$/,
1180
+ 'Theme reference must be "Alias.theme" or a registry theme key (e.g., "linear-clean-light")'
1181
1181
  );
1182
1182
  var ThemeRefSchema = z.union([
1183
1183
  ThemeDefinitionSchema,
@@ -1445,6 +1445,7 @@ var SchemaMetadataSchema = z.object({
1445
1445
  z.object({
1446
1446
  name: z.string().min(1, "Schema name is required"),
1447
1447
  description: z.string().optional(),
1448
+ theme: ThemeRefSchema.optional(),
1448
1449
  summary: z.string().optional(),
1449
1450
  version: z.string().optional(),
1450
1451
  domainContext: DomainContextSchema.optional(),