@almadar/core 10.90.0 → 10.91.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 (36) hide show
  1. package/dist/builders.d.ts +3 -3
  2. package/dist/builders.js +2 -1
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-7jQQxiIt.d.ts → effect-Bt8vKHwd.d.ts} +9 -1
  5. package/dist/{entityAccess-CpHfCQA3.d.ts → entityAccess-BdDX85rM.d.ts} +1 -1
  6. package/dist/factory/index.d.ts +4 -4
  7. package/dist/factory/index.js +225 -70
  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 +2 -1
  11. package/dist/factory-runtime/index.js.map +1 -1
  12. package/dist/i18n/index.js +6 -0
  13. package/dist/i18n/index.js.map +1 -1
  14. package/dist/{index-BresfHJy.d.ts → index-rOBf1Oag.d.ts} +24 -4
  15. package/dist/index.d.ts +10 -10
  16. package/dist/index.js +432 -79
  17. package/dist/index.js.map +1 -1
  18. package/dist/mock/index.d.ts +11 -5
  19. package/dist/mock/index.js +3 -2
  20. package/dist/mock/index.js.map +1 -1
  21. package/dist/patterns/component-mapping.json +1 -1
  22. package/dist/patterns/event-contracts.json +1 -1
  23. package/dist/patterns/index.d.ts +785 -109
  24. package/dist/patterns/index.js +424 -78
  25. package/dist/patterns/index.js.map +1 -1
  26. package/dist/patterns/integrators-registry.json +198 -6
  27. package/dist/patterns/patterns-registry.json +224 -70
  28. package/dist/patterns/registry.json +224 -70
  29. package/dist/patterns/services-registry.json +265 -68
  30. package/dist/{schema-C52juBr8.d.ts → schema-ovDTDQz9.d.ts} +2 -2
  31. package/dist/{trait-CFiL1YUN.d.ts → trait-C3e3btfn.d.ts} +1 -1
  32. package/dist/types/index.d.ts +5 -5
  33. package/dist/types/index.js +2 -1
  34. package/dist/types/index.js.map +1 -1
  35. package/dist/{types-BgC8ETnl.d.ts → types-rh0naR6C.d.ts} +2 -2
  36. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { f as OrbitalEntity, a as EntityPersistence, E as EntityField, F as FieldValue, g as EntityRow } from '../effect-7jQQxiIt.js';
2
- import { a as OrbitalDefinition, O as OrbitalSchema } from '../schema-C52juBr8.js';
1
+ import { f as OrbitalEntity, a as EntityPersistence, E as EntityField, F as FieldValue, g as EntityRow } from '../effect-Bt8vKHwd.js';
2
+ import { a as OrbitalDefinition, O as OrbitalSchema } from '../schema-ovDTDQz9.js';
3
3
  import { S as SExpr } from '../expression-WfTp2arD.js';
4
- export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessPoliciesByStoreKey, b as entityAccessTable } from '../entityAccess-CpHfCQA3.js';
4
+ export { E as EntityAccessPolicies, e as entityAccessPolicies, a as entityAccessPoliciesByStoreKey, b as entityAccessTable } from '../entityAccess-BdDX85rM.js';
5
5
  import 'zod';
6
6
  import '../json-D8gmyK3l.js';
7
- import '../trait-CFiL1YUN.js';
7
+ import '../trait-C3e3btfn.js';
8
8
 
9
9
  /**
10
10
  * Lightweight seeded pseudo-random generator for mock data.
@@ -227,6 +227,12 @@ declare function roleSatisfyingPolicy(policy: SExpr | undefined, identity: Orbit
227
227
  * Rust can reproduce and therefore the one parity is asserted on.
228
228
  */
229
229
  type SampleStrategy = 'seeded' | 'index';
230
+ /** Framework-stamped columns — the row's id and audit timestamps, minted by
231
+ * the store itself, never synthesized here and never a REQUIRED column a
232
+ * caller must supply (`EffectExecutor`'s persist-create check, `@almadar/
233
+ * runtime`'s mock store stamping). The one owner; every caller imports this
234
+ * instead of repeating the name list. */
235
+ declare const RESERVED_FIELD_NAMES: ReadonlySet<string>;
230
236
  interface SampleEntity {
231
237
  readonly name: string;
232
238
  readonly persistence?: EntityPersistence;
@@ -327,4 +333,4 @@ declare function linkSelfRelationField(rows: ReadonlyArray<EntityRow>, field: {
327
333
  readonly cardinality?: string;
328
334
  }, isExcluded?: (row: EntityRow, index: number) => boolean): void;
329
335
 
330
- export { IMAGE_FIELD_NAMES, type SampleContext, type SampleEntity, type SampleStrategy, type SelfRelationForest, collectUserFieldLiterals, identityEntitiesOf, identityEntityName, identityEntityNames, isDeclaredDefaultHonored, linkSelfRelationField, ownerColumnsFromPolicy, ownerFieldsFromSchema, randomAnytimeDate, randomArrayElement, randomBoolean, randomColor, randomEmail, randomFloat, randomInt, randomPassword, randomPastDate, randomPhone, randomRecentDate, randomSentence, randomStraddlingDate, randomUrl, randomUuid, randomWords, roleSatisfyingPolicy, roleVocabularyOf, sampleFieldValue, sampleImageUrl, sampleRow, sampleRowCount, sampleRows, seedRandom, selfRelationForest, shuffleArray };
336
+ export { IMAGE_FIELD_NAMES, RESERVED_FIELD_NAMES, type SampleContext, type SampleEntity, type SampleStrategy, type SelfRelationForest, collectUserFieldLiterals, identityEntitiesOf, identityEntityName, identityEntityNames, isDeclaredDefaultHonored, linkSelfRelationField, ownerColumnsFromPolicy, ownerFieldsFromSchema, randomAnytimeDate, randomArrayElement, randomBoolean, randomColor, randomEmail, randomFloat, randomInt, randomPassword, randomPastDate, randomPhone, randomRecentDate, randomSentence, randomStraddlingDate, randomUrl, randomUuid, randomWords, roleSatisfyingPolicy, roleVocabularyOf, sampleFieldValue, sampleImageUrl, sampleRow, sampleRowCount, sampleRows, seedRandom, selfRelationForest, shuffleArray };
@@ -573,7 +573,8 @@ var EntityFieldSchema = z.lazy(() => {
573
573
  properties: z.record(EntityFieldSchema).optional(),
574
574
  intrinsic: z.boolean().optional(),
575
575
  description: z.string().optional(),
576
- synonyms: z.string().optional()
576
+ synonyms: z.string().optional(),
577
+ mergedFrom: z.string().optional()
577
578
  };
578
579
  function scalarVariant(t) {
579
580
  return z.object({
@@ -1138,6 +1139,6 @@ function linkSelfRelationField(rows, field, isExcluded) {
1138
1139
  });
1139
1140
  }
1140
1141
 
1141
- export { IMAGE_FIELD_NAMES, collectUserFieldLiterals, entityAccessPolicies, entityAccessPoliciesByStoreKey, entityAccessTable, identityEntitiesOf, identityEntityName, identityEntityNames, isDeclaredDefaultHonored, linkSelfRelationField, ownerColumnsFromPolicy, ownerFieldsFromSchema, randomAnytimeDate, randomArrayElement, randomBoolean, randomColor, randomEmail, randomFloat, randomInt, randomPassword, randomPastDate, randomPhone, randomRecentDate, randomSentence, randomStraddlingDate, randomUrl, randomUuid, randomWords, roleSatisfyingPolicy, roleVocabularyOf, sampleFieldValue, sampleImageUrl, sampleRow, sampleRowCount, sampleRows, seedRandom, selfRelationForest, shuffleArray };
1142
+ export { IMAGE_FIELD_NAMES, RESERVED_FIELD_NAMES, collectUserFieldLiterals, entityAccessPolicies, entityAccessPoliciesByStoreKey, entityAccessTable, identityEntitiesOf, identityEntityName, identityEntityNames, isDeclaredDefaultHonored, linkSelfRelationField, ownerColumnsFromPolicy, ownerFieldsFromSchema, randomAnytimeDate, randomArrayElement, randomBoolean, randomColor, randomEmail, randomFloat, randomInt, randomPassword, randomPastDate, randomPhone, randomRecentDate, randomSentence, randomStraddlingDate, randomUrl, randomUuid, randomWords, roleSatisfyingPolicy, roleVocabularyOf, sampleFieldValue, sampleImageUrl, sampleRow, sampleRowCount, sampleRows, seedRandom, selfRelationForest, shuffleArray };
1142
1143
  //# sourceMappingURL=index.js.map
1143
1144
  //# sourceMappingURL=index.js.map