@almadar/core 4.9.0 → 4.10.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 +2 -2
- package/dist/builders.js +2 -0
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-aBzjGsxn.d.ts → compose-behaviors-Dg_ADhIl.d.ts} +1 -1
- package/dist/domain-language/index.d.ts +1 -1
- package/dist/domain-language/index.js +2 -0
- package/dist/domain-language/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/{schema-BCEjl1a1.d.ts → schema-DI8_HaRx.d.ts} +93 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3755,11 +3755,13 @@ z.object({
|
|
|
3755
3755
|
path: ["events"]
|
|
3756
3756
|
}
|
|
3757
3757
|
);
|
|
3758
|
+
var TraitScopeSchema = z.enum(["instance", "collection"]);
|
|
3758
3759
|
var TraitSchema = z.object({
|
|
3759
3760
|
name: z.string().min(1),
|
|
3760
3761
|
description: z.string().optional(),
|
|
3761
3762
|
description_visual_prompt: z.string().optional(),
|
|
3762
3763
|
category: TraitCategorySchema.optional(),
|
|
3764
|
+
scope: TraitScopeSchema.optional(),
|
|
3763
3765
|
linkedEntity: z.string().optional(),
|
|
3764
3766
|
requiredFields: z.array(RequiredFieldSchema).optional(),
|
|
3765
3767
|
dataEntities: z.array(TraitDataEntitySchema).optional(),
|