@hattoriai/poney-ext-security 0.1.0 → 0.2.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 (2) hide show
  1. package/dist/index.d.ts +18 -18
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -177,7 +177,7 @@ declare const security: {
177
177
  id: string;
178
178
  description: string;
179
179
  ext: Record<string, unknown>;
180
- process: string;
180
+ activity: string;
181
181
  title: string;
182
182
  category: string;
183
183
  positions: Record<string, {
@@ -216,7 +216,7 @@ declare const security: {
216
216
  id: string;
217
217
  description: string;
218
218
  ext: Record<string, unknown>;
219
- capabilities: string[];
219
+ useCases: string[];
220
220
  title: string;
221
221
  category: string;
222
222
  positions: Record<string, {
@@ -399,7 +399,7 @@ declare const security: {
399
399
  }[];
400
400
  } | undefined;
401
401
  }[];
402
- poneyVersion: "0.1.0";
402
+ poneyVersion: "0.2.0";
403
403
  project: {
404
404
  id: string;
405
405
  name: string;
@@ -476,8 +476,8 @@ declare const security: {
476
476
  label: string;
477
477
  from: string;
478
478
  to: string;
479
- fromCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
480
- toCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
479
+ fromCardinality: "exactly-one" | "zero-or-one" | "one-or-many" | "zero-or-many";
480
+ toCardinality: "exactly-one" | "zero-or-one" | "one-or-many" | "zero-or-many";
481
481
  logical: boolean;
482
482
  via?: string | undefined;
483
483
  }[];
@@ -501,11 +501,11 @@ declare const security: {
501
501
  } | {
502
502
  id: string;
503
503
  name: string;
504
- kind: "process";
504
+ kind: "activity";
505
505
  summary: string;
506
506
  nodes: {
507
507
  id: string;
508
- kind: "join" | "start" | "end" | "action" | "decision" | "merge" | "fork";
508
+ kind: "join" | "initial" | "final" | "action" | "decision" | "merge" | "fork";
509
509
  label: string;
510
510
  description?: string | undefined;
511
511
  performedBy?: string | undefined;
@@ -526,7 +526,7 @@ declare const security: {
526
526
  states: {
527
527
  id: string;
528
528
  name: string;
529
- kind: "initial" | "normal" | "final";
529
+ kind: "initial" | "final" | "state";
530
530
  outcome: "success" | "failure" | "neutral";
531
531
  entryActions: string[];
532
532
  description?: string | undefined;
@@ -545,7 +545,7 @@ declare const security: {
545
545
  subject?: string | undefined;
546
546
  owner?: string | undefined;
547
547
  })[];
548
- capabilities: {
548
+ useCases: {
549
549
  includes: string[];
550
550
  id: string;
551
551
  name: string;
@@ -657,7 +657,7 @@ declare const security: {
657
657
  id: string;
658
658
  description: string;
659
659
  ext: Record<string, unknown>;
660
- process: string;
660
+ activity: string;
661
661
  title: string;
662
662
  category: string;
663
663
  positions: Record<string, {
@@ -696,7 +696,7 @@ declare const security: {
696
696
  id: string;
697
697
  description: string;
698
698
  ext: Record<string, unknown>;
699
- capabilities: string[];
699
+ useCases: string[];
700
700
  title: string;
701
701
  category: string;
702
702
  positions: Record<string, {
@@ -879,7 +879,7 @@ declare const security: {
879
879
  }[];
880
880
  } | undefined;
881
881
  }[];
882
- poneyVersion: "0.1.0";
882
+ poneyVersion: "0.2.0";
883
883
  project: {
884
884
  id: string;
885
885
  name: string;
@@ -956,8 +956,8 @@ declare const security: {
956
956
  label: string;
957
957
  from: string;
958
958
  to: string;
959
- fromCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
960
- toCardinality: "many" | "one" | "zero-or-one" | "one-or-many";
959
+ fromCardinality: "exactly-one" | "zero-or-one" | "one-or-many" | "zero-or-many";
960
+ toCardinality: "exactly-one" | "zero-or-one" | "one-or-many" | "zero-or-many";
961
961
  logical: boolean;
962
962
  via?: string | undefined;
963
963
  }[];
@@ -981,11 +981,11 @@ declare const security: {
981
981
  } | {
982
982
  id: string;
983
983
  name: string;
984
- kind: "process";
984
+ kind: "activity";
985
985
  summary: string;
986
986
  nodes: {
987
987
  id: string;
988
- kind: "join" | "start" | "end" | "action" | "decision" | "merge" | "fork";
988
+ kind: "join" | "initial" | "final" | "action" | "decision" | "merge" | "fork";
989
989
  label: string;
990
990
  description?: string | undefined;
991
991
  performedBy?: string | undefined;
@@ -1006,7 +1006,7 @@ declare const security: {
1006
1006
  states: {
1007
1007
  id: string;
1008
1008
  name: string;
1009
- kind: "initial" | "normal" | "final";
1009
+ kind: "initial" | "final" | "state";
1010
1010
  outcome: "success" | "failure" | "neutral";
1011
1011
  entryActions: string[];
1012
1012
  description?: string | undefined;
@@ -1025,7 +1025,7 @@ declare const security: {
1025
1025
  subject?: string | undefined;
1026
1026
  owner?: string | undefined;
1027
1027
  })[];
1028
- capabilities: {
1028
+ useCases: {
1029
1029
  includes: string[];
1030
1030
  id: string;
1031
1031
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hattoriai/poney-ext-security",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Poney extension: trust zones, sensitive data, and how connections are protected; with lints.",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "provenance": true
30
30
  },
31
31
  "dependencies": {
32
- "@hattoriai/poney-core": "0.1.0",
32
+ "@hattoriai/poney-core": "0.2.0",
33
33
  "zod": "^3.25.76"
34
34
  },
35
35
  "devDependencies": {