@x12i/memorix-metadata 3.2.1 → 3.2.3

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 (38) hide show
  1. package/README.md +86 -86
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/platform-interfaces.d.ts +29 -0
  7. package/dist/platform-interfaces.d.ts.map +1 -0
  8. package/dist/platform-interfaces.js +53 -0
  9. package/dist/platform-interfaces.js.map +1 -0
  10. package/dist/resolve.d.ts.map +1 -1
  11. package/dist/resolve.js +111 -0
  12. package/dist/resolve.js.map +1 -1
  13. package/dist/types.d.ts +47 -0
  14. package/dist/types.d.ts.map +1 -1
  15. package/dist/validate.d.ts.map +1 -1
  16. package/dist/validate.js +19 -0
  17. package/dist/validate.js.map +1 -1
  18. package/examples/custom-kinds/acme-ui-tabs.pack.json +62 -62
  19. package/examples/invalid/agent-classification.json +709 -709
  20. package/examples/invalid/broken-binding.json +688 -688
  21. package/examples/invalid/completion-mapping-with-exec-policy.json +659 -659
  22. package/examples/invalid/missing-parent.json +708 -708
  23. package/examples/invalid/operational-kind-root.json +720 -720
  24. package/examples/invalid/pipeline-unknown-service.json +611 -611
  25. package/examples/invalid/relationship-missing-rules.json +624 -624
  26. package/examples/invalid/relationship-with-storage.json +631 -631
  27. package/examples/invalid/service-with-secrets.json +679 -679
  28. package/examples/knowx/normalized/pack.json +47 -146
  29. package/examples/opx/normalized/pack.json +4 -116
  30. package/examples/opx/raw/abstract-types.json +244 -244
  31. package/examples/opx/raw/agents.json +33 -33
  32. package/examples/opx/raw/object-types.json +101 -101
  33. package/examples/opx/raw/pipelines-and-sources.json +264 -264
  34. package/examples/opx/raw/relationship-definitions.json +80 -80
  35. package/examples/opx/raw/view-definitions.json +32 -32
  36. package/examples/opx/raw/write-and-source-mappings.json +223 -223
  37. package/examples/project-opx/normalized/pack.json +1036 -1036
  38. 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
+ }