@almadar/core 10.36.0 → 10.38.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-CBL9rED-.d.ts → builders-BoyWDFfH.d.ts} +175 -174
- package/dist/builders.d.ts +4 -3
- package/dist/builders.js +30 -17
- package/dist/builders.js.map +1 -1
- package/dist/{effect-Cd6ibbZc.d.ts → effect-5kg4MCeB.d.ts} +33 -1561
- package/dist/entity-CVylqnAf.d.ts +1559 -0
- package/dist/factory/index.d.ts +6 -5
- package/dist/factory/index.js +7 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -3
- package/dist/factory-runtime/index.js +30 -17
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +8 -7
- package/dist/index.js +471 -22
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +119 -0
- package/dist/mock/index.js +695 -0
- package/dist/mock/index.js.map +1 -0
- package/dist/patterns/component-mapping.json +16 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +897 -6
- package/dist/patterns/index.js +396 -4
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +21 -1
- package/dist/patterns/patterns-registry.json +355 -1
- package/dist/patterns/registry.json +355 -1
- package/dist/patterns/services-registry.json +104 -0
- package/dist/{trait-X5mQAMtW.d.ts → trait-Bnd3i_2G.d.ts} +69 -40
- package/dist/types/index.d.ts +11 -9
- package/dist/types/index.js +71 -18
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DujRcijG.d.ts → types-BE598tvP.d.ts} +3 -3
- package/package.json +6 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as TraitEventListener, a as TraitReference } from './trait-
|
|
1
|
+
import { a as EntityField, E as EntityPersistence, R as RelationConfig, J as JsonValue } from './entity-CVylqnAf.js';
|
|
2
|
+
import { T as TraitEventListener, a as TraitReference } from './trait-Bnd3i_2G.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Cross-cutting presentation knobs that don't live per orbital
|
|
@@ -117,7 +117,7 @@ type JsonSchemaType = 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'o
|
|
|
117
117
|
* these directly from the resolved `.orb`; consumers narrow further at
|
|
118
118
|
* dispatch time.
|
|
119
119
|
*/
|
|
120
|
-
type SchemaFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'array' | 'object' | 'enum' | 'relation';
|
|
120
|
+
type SchemaFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'array' | 'object' | 'enum' | 'relation';
|
|
121
121
|
interface FactorySignatureEntityField {
|
|
122
122
|
name: string;
|
|
123
123
|
type: SchemaFieldType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/core",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.38.0",
|
|
4
4
|
"description": "Core schema types and definitions for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
"import": "./dist/patterns/index.js",
|
|
43
43
|
"require": "./dist/patterns/index.js"
|
|
44
44
|
},
|
|
45
|
+
"./mock": {
|
|
46
|
+
"types": "./dist/mock/index.d.ts",
|
|
47
|
+
"import": "./dist/mock/index.js",
|
|
48
|
+
"require": "./dist/mock/index.js"
|
|
49
|
+
},
|
|
45
50
|
"./patterns/*": {
|
|
46
51
|
"types": "./dist/patterns/*",
|
|
47
52
|
"import": "./dist/patterns/*",
|