@objectstack/platform-objects 7.2.1 → 7.4.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 (51) hide show
  1. package/dist/apps/index.d.mts +45 -19
  2. package/dist/apps/index.d.ts +45 -19
  3. package/dist/apps/index.js +1443 -3403
  4. package/dist/apps/index.js.map +1 -1
  5. package/dist/apps/index.mjs +1443 -3404
  6. package/dist/apps/index.mjs.map +1 -1
  7. package/dist/audit/index.d.mts +4595 -26176
  8. package/dist/audit/index.d.ts +4595 -26176
  9. package/dist/audit/index.js +63 -1063
  10. package/dist/audit/index.js.map +1 -1
  11. package/dist/audit/index.mjs +64 -1057
  12. package/dist/audit/index.mjs.map +1 -1
  13. package/dist/identity/index.d.mts +839 -1281
  14. package/dist/identity/index.d.ts +839 -1281
  15. package/dist/index.d.mts +3 -8
  16. package/dist/index.d.ts +3 -8
  17. package/dist/index.js +2350 -6776
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +2349 -6761
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/integration/index.d.mts +1 -2947
  22. package/dist/integration/index.d.ts +1 -2947
  23. package/dist/integration/index.js +0 -136
  24. package/dist/integration/index.js.map +1 -1
  25. package/dist/integration/index.mjs +0 -135
  26. package/dist/integration/index.mjs.map +1 -1
  27. package/dist/metadata/index.d.mts +3924 -261
  28. package/dist/metadata/index.d.ts +3924 -261
  29. package/dist/metadata/index.js +101 -0
  30. package/dist/metadata/index.js.map +1 -1
  31. package/dist/metadata/index.mjs +101 -1
  32. package/dist/metadata/index.mjs.map +1 -1
  33. package/dist/metadata-translations/index.js +597 -505
  34. package/dist/metadata-translations/index.js.map +1 -1
  35. package/dist/metadata-translations/index.mjs +597 -505
  36. package/dist/metadata-translations/index.mjs.map +1 -1
  37. package/dist/plugin.js +1790 -3614
  38. package/dist/plugin.js.map +1 -1
  39. package/dist/plugin.mjs +1790 -3614
  40. package/dist/plugin.mjs.map +1 -1
  41. package/dist/security/index.d.mts +1 -18850
  42. package/dist/security/index.d.ts +1 -18850
  43. package/dist/security/index.js +0 -1531
  44. package/dist/security/index.js.map +1 -1
  45. package/dist/security/index.mjs +0 -1523
  46. package/dist/security/index.mjs.map +1 -1
  47. package/dist/system/index.d.mts +144 -212
  48. package/dist/system/index.d.ts +144 -212
  49. package/package.json +2 -2
  50. package/dist/state-machine.zod-BNanU03M.d-Ek3_yo9P.d.mts +0 -41
  51. package/dist/state-machine.zod-BNanU03M.d-Ek3_yo9P.d.ts +0 -41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/platform-objects",
3
- "version": "7.2.1",
3
+ "version": "7.4.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Core platform object schemas for ObjectStack — identity, security, audit, tenant, and metadata objects",
6
6
  "main": "dist/index.js",
@@ -63,7 +63,7 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@objectstack/spec": "7.2.1"
66
+ "@objectstack/spec": "7.4.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/node": "^25.9.1",
@@ -1,41 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const ActionRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
4
- type: z.ZodString;
5
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
- }, z.core.$strip>]>;
7
- /**
8
- * State Transition Definition
9
- * "When EVENT happens, if GUARD is true, go to TARGET and run ACTIONS"
10
- */
11
- declare const TransitionSchema: z.ZodObject<{
12
- target: z.ZodOptional<z.ZodString>;
13
- cond: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14
- type: z.ZodString;
15
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
- }, z.core.$strip>]>>;
17
- actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
18
- type: z.ZodString;
19
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
- }, z.core.$strip>]>>>;
21
- description: z.ZodOptional<z.ZodString>;
22
- }, z.core.$strip>;
23
- type ActionRef = z.infer<typeof ActionRefSchema>;
24
- type Transition = z.infer<typeof TransitionSchema>;
25
- type StateNodeConfig = {
26
- type?: 'atomic' | 'compound' | 'parallel' | 'final' | 'history';
27
- entry?: ActionRef[];
28
- exit?: ActionRef[];
29
- on?: Record<string, string | Transition | Transition[]>;
30
- always?: Transition[];
31
- initial?: string;
32
- states?: Record<string, StateNodeConfig>;
33
- meta?: {
34
- label?: string;
35
- description?: string;
36
- color?: string;
37
- aiInstructions?: string;
38
- };
39
- };
40
-
41
- export type { StateNodeConfig as S };
@@ -1,41 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const ActionRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
4
- type: z.ZodString;
5
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
- }, z.core.$strip>]>;
7
- /**
8
- * State Transition Definition
9
- * "When EVENT happens, if GUARD is true, go to TARGET and run ACTIONS"
10
- */
11
- declare const TransitionSchema: z.ZodObject<{
12
- target: z.ZodOptional<z.ZodString>;
13
- cond: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14
- type: z.ZodString;
15
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
- }, z.core.$strip>]>>;
17
- actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
18
- type: z.ZodString;
19
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
- }, z.core.$strip>]>>>;
21
- description: z.ZodOptional<z.ZodString>;
22
- }, z.core.$strip>;
23
- type ActionRef = z.infer<typeof ActionRefSchema>;
24
- type Transition = z.infer<typeof TransitionSchema>;
25
- type StateNodeConfig = {
26
- type?: 'atomic' | 'compound' | 'parallel' | 'final' | 'history';
27
- entry?: ActionRef[];
28
- exit?: ActionRef[];
29
- on?: Record<string, string | Transition | Transition[]>;
30
- always?: Transition[];
31
- initial?: string;
32
- states?: Record<string, StateNodeConfig>;
33
- meta?: {
34
- label?: string;
35
- description?: string;
36
- color?: string;
37
- aiInstructions?: string;
38
- };
39
- };
40
-
41
- export type { StateNodeConfig as S };