@x12i/memorix-metadata 3.2.1 → 3.3.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 (56) hide show
  1. package/README.md +86 -86
  2. package/dist/abstracts.d.ts.map +1 -1
  3. package/dist/abstracts.js +4 -0
  4. package/dist/abstracts.js.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/kind-fields.d.ts.map +1 -1
  10. package/dist/kind-fields.js +1 -0
  11. package/dist/kind-fields.js.map +1 -1
  12. package/dist/kinds.d.ts +1 -1
  13. package/dist/kinds.d.ts.map +1 -1
  14. package/dist/kinds.js +8 -0
  15. package/dist/kinds.js.map +1 -1
  16. package/dist/normalize.d.ts.map +1 -1
  17. package/dist/normalize.js +1 -0
  18. package/dist/normalize.js.map +1 -1
  19. package/dist/platform-interfaces.d.ts +29 -0
  20. package/dist/platform-interfaces.d.ts.map +1 -0
  21. package/dist/platform-interfaces.js +53 -0
  22. package/dist/platform-interfaces.js.map +1 -0
  23. package/dist/resolve.d.ts.map +1 -1
  24. package/dist/resolve.js +112 -0
  25. package/dist/resolve.js.map +1 -1
  26. package/dist/topology.d.ts +1 -1
  27. package/dist/topology.d.ts.map +1 -1
  28. package/dist/topology.js +6 -0
  29. package/dist/topology.js.map +1 -1
  30. package/dist/types.d.ts +199 -0
  31. package/dist/types.d.ts.map +1 -1
  32. package/dist/validate.d.ts.map +1 -1
  33. package/dist/validate.js +444 -0
  34. package/dist/validate.js.map +1 -1
  35. package/examples/analytics/work-item-stats.json +61 -0
  36. package/examples/custom-kinds/acme-ui-tabs.pack.json +62 -62
  37. package/examples/invalid/agent-classification.json +709 -709
  38. package/examples/invalid/broken-binding.json +688 -688
  39. package/examples/invalid/completion-mapping-with-exec-policy.json +659 -659
  40. package/examples/invalid/missing-parent.json +708 -708
  41. package/examples/invalid/operational-kind-root.json +720 -720
  42. package/examples/invalid/pipeline-unknown-service.json +611 -611
  43. package/examples/invalid/relationship-missing-rules.json +624 -624
  44. package/examples/invalid/relationship-with-storage.json +631 -631
  45. package/examples/invalid/service-with-secrets.json +679 -679
  46. package/examples/knowx/normalized/pack.json +47 -146
  47. package/examples/opx/normalized/pack.json +4 -116
  48. package/examples/opx/raw/abstract-types.json +244 -244
  49. package/examples/opx/raw/agents.json +33 -33
  50. package/examples/opx/raw/object-types.json +101 -101
  51. package/examples/opx/raw/pipelines-and-sources.json +264 -264
  52. package/examples/opx/raw/relationship-definitions.json +80 -80
  53. package/examples/opx/raw/view-definitions.json +32 -32
  54. package/examples/opx/raw/write-and-source-mappings.json +223 -223
  55. package/examples/project-opx/normalized/pack.json +1036 -1036
  56. package/package.json +48 -48
@@ -1,80 +1,80 @@
1
- {
2
- "relationshipDefinitions": [
3
- {
4
- "id": "people-assigned-to-work-items",
5
- "name": "People assigned to work items",
6
- "meaning": "A person is assigned to perform a work item",
7
- "directionality": "directed",
8
- "from": { "abstractType": "People", "property": "assignedWorkItems" },
9
- "to": { "abstractType": "WorkItems", "property": "assignedPeople" },
10
- "discoveryRules": [
11
- {
12
- "id": "from-source-assignee",
13
- "kind": "source-field",
14
- "sourcePath": "assigneeId",
15
- "notes": "opx-source work-items.assigneeId resolves to people OT (any identity kind)"
16
- }
17
- ]
18
- },
19
- {
20
- "id": "work-items-use-playbooks",
21
- "name": "Work items use playbooks",
22
- "meaning": "A work item follows one or more reusable playbooks",
23
- "directionality": "directed",
24
- "from": { "abstractType": "WorkItems", "property": "usedPlaybooks" },
25
- "to": { "abstractType": "Playbooks", "property": "usedByWorkItems" },
26
- "discoveryRules": [
27
- {
28
- "id": "from-source-playbook-ids",
29
- "kind": "source-field",
30
- "sourcePath": "playbookIds"
31
- }
32
- ]
33
- },
34
- {
35
- "id": "activity-events-about-work-items",
36
- "name": "Activity events about work items",
37
- "meaning": "An activity event reports progress on a work item",
38
- "directionality": "directed",
39
- "from": { "abstractType": "ActivityEvents", "property": "aboutWorkItems" },
40
- "to": { "abstractType": "WorkItems", "property": "activityEvents" },
41
- "discoveryRules": [
42
- {
43
- "id": "from-source-work-item-id",
44
- "kind": "source-field",
45
- "sourcePath": "workItemId"
46
- }
47
- ]
48
- },
49
- {
50
- "id": "work-items-depend-on-work-items",
51
- "name": "Work items depend on work items",
52
- "meaning": "A work item cannot complete until another work item completes",
53
- "directionality": "directed",
54
- "from": { "abstractType": "WorkItems", "property": "dependsOn" },
55
- "to": { "abstractType": "WorkItems", "property": "dependedOnBy" },
56
- "discoveryRules": [
57
- {
58
- "id": "from-source-depends-on",
59
- "kind": "source-field",
60
- "sourcePath": "dependsOnIds"
61
- }
62
- ]
63
- },
64
- {
65
- "id": "people-collaborate-with-people",
66
- "name": "People collaborate with people",
67
- "meaning": "Two people collaborate on operational work",
68
- "directionality": "undirected",
69
- "from": { "abstractType": "People", "property": "collaborators" },
70
- "to": { "abstractType": "People", "property": "collaborators" },
71
- "discoveryRules": [
72
- {
73
- "id": "from-source-collaborator-ids",
74
- "kind": "source-field",
75
- "sourcePath": "collaboratorIds"
76
- }
77
- ]
78
- }
79
- ]
80
- }
1
+ {
2
+ "relationshipDefinitions": [
3
+ {
4
+ "id": "people-assigned-to-work-items",
5
+ "name": "People assigned to work items",
6
+ "meaning": "A person is assigned to perform a work item",
7
+ "directionality": "directed",
8
+ "from": { "abstractType": "People", "property": "assignedWorkItems" },
9
+ "to": { "abstractType": "WorkItems", "property": "assignedPeople" },
10
+ "discoveryRules": [
11
+ {
12
+ "id": "from-source-assignee",
13
+ "kind": "source-field",
14
+ "sourcePath": "assigneeId",
15
+ "notes": "opx-source work-items.assigneeId resolves to people OT (any identity kind)"
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ "id": "work-items-use-playbooks",
21
+ "name": "Work items use playbooks",
22
+ "meaning": "A work item follows one or more reusable playbooks",
23
+ "directionality": "directed",
24
+ "from": { "abstractType": "WorkItems", "property": "usedPlaybooks" },
25
+ "to": { "abstractType": "Playbooks", "property": "usedByWorkItems" },
26
+ "discoveryRules": [
27
+ {
28
+ "id": "from-source-playbook-ids",
29
+ "kind": "source-field",
30
+ "sourcePath": "playbookIds"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "id": "activity-events-about-work-items",
36
+ "name": "Activity events about work items",
37
+ "meaning": "An activity event reports progress on a work item",
38
+ "directionality": "directed",
39
+ "from": { "abstractType": "ActivityEvents", "property": "aboutWorkItems" },
40
+ "to": { "abstractType": "WorkItems", "property": "activityEvents" },
41
+ "discoveryRules": [
42
+ {
43
+ "id": "from-source-work-item-id",
44
+ "kind": "source-field",
45
+ "sourcePath": "workItemId"
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "id": "work-items-depend-on-work-items",
51
+ "name": "Work items depend on work items",
52
+ "meaning": "A work item cannot complete until another work item completes",
53
+ "directionality": "directed",
54
+ "from": { "abstractType": "WorkItems", "property": "dependsOn" },
55
+ "to": { "abstractType": "WorkItems", "property": "dependedOnBy" },
56
+ "discoveryRules": [
57
+ {
58
+ "id": "from-source-depends-on",
59
+ "kind": "source-field",
60
+ "sourcePath": "dependsOnIds"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "id": "people-collaborate-with-people",
66
+ "name": "People collaborate with people",
67
+ "meaning": "Two people collaborate on operational work",
68
+ "directionality": "undirected",
69
+ "from": { "abstractType": "People", "property": "collaborators" },
70
+ "to": { "abstractType": "People", "property": "collaborators" },
71
+ "discoveryRules": [
72
+ {
73
+ "id": "from-source-collaborator-ids",
74
+ "kind": "source-field",
75
+ "sourcePath": "collaboratorIds"
76
+ }
77
+ ]
78
+ }
79
+ ]
80
+ }
@@ -1,32 +1,32 @@
1
- {
2
- "viewDefinitions": [
3
- {
4
- "id": "opx-work-items-list",
5
- "kind": "list",
6
- "abstractType": "WorkItems",
7
- "title": "Work items",
8
- "columns": ["concept.title", "data.status", "data.priority"]
9
- },
10
- {
11
- "id": "opx-work-items-item",
12
- "kind": "item",
13
- "abstractType": "WorkItems",
14
- "title": "Work item",
15
- "sections": ["concept", "data", "workflow", "analysis", "decisions"]
16
- },
17
- {
18
- "id": "opx-people-list",
19
- "kind": "list",
20
- "abstractType": "People",
21
- "title": "People",
22
- "columns": ["concept.title", "objectType", "data.role"]
23
- },
24
- {
25
- "id": "opx-work-item-expand-people",
26
- "kind": "relationship-expansion",
27
- "abstractType": "WorkItems",
28
- "relationshipDefinitionId": "people-assigned-to-work-items",
29
- "direction": "to-from"
30
- }
31
- ]
32
- }
1
+ {
2
+ "viewDefinitions": [
3
+ {
4
+ "id": "opx-work-items-list",
5
+ "kind": "list",
6
+ "abstractType": "WorkItems",
7
+ "title": "Work items",
8
+ "columns": ["concept.title", "data.status", "data.priority"]
9
+ },
10
+ {
11
+ "id": "opx-work-items-item",
12
+ "kind": "item",
13
+ "abstractType": "WorkItems",
14
+ "title": "Work item",
15
+ "sections": ["concept", "data", "workflow", "analysis", "decisions"]
16
+ },
17
+ {
18
+ "id": "opx-people-list",
19
+ "kind": "list",
20
+ "abstractType": "People",
21
+ "title": "People",
22
+ "columns": ["concept.title", "objectType", "data.role"]
23
+ },
24
+ {
25
+ "id": "opx-work-item-expand-people",
26
+ "kind": "relationship-expansion",
27
+ "abstractType": "WorkItems",
28
+ "relationshipDefinitionId": "people-assigned-to-work-items",
29
+ "direction": "to-from"
30
+ }
31
+ ]
32
+ }