@elevasis/core 0.36.0 → 0.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/auth/index.d.ts +84 -1
- package/dist/index.d.ts +359 -5
- package/dist/index.js +41 -8
- package/dist/knowledge/index.d.ts +86 -1
- package/dist/organization-model/index.d.ts +359 -5
- package/dist/organization-model/index.js +41 -8
- package/dist/test-utils/index.d.ts +84 -1
- package/dist/test-utils/index.js +38 -6
- package/package.json +1 -1
- package/src/_gen/__tests__/__snapshots__/contracts.md.snap +423 -338
- package/src/_gen/__tests__/__snapshots__/system-interface-capabilities.md.snap +47 -0
- package/src/_gen/__tests__/scaffold-contracts.test.ts +47 -8
- package/src/business/acquisition/api-schemas.test.ts +13 -1
- package/src/business/acquisition/ontology-validation.ts +13 -22
- package/src/organization-model/__tests__/domains/navigation-topbar.test.ts +282 -0
- package/src/organization-model/__tests__/domains/systems.test.ts +34 -1
- package/src/organization-model/__tests__/schema.test.ts +47 -0
- package/src/organization-model/defaults.ts +2 -1
- package/src/organization-model/domains/navigation.ts +176 -139
- package/src/organization-model/domains/systems.ts +22 -9
- package/src/organization-model/icons.ts +1 -0
- package/src/organization-model/published.ts +8 -6
- package/src/organization-model/types.ts +5 -1
- package/src/platform/constants/versions.ts +1 -1
- package/src/platform/registry/__tests__/validation.test.ts +1404 -1318
- package/src/platform/registry/index.ts +90 -88
- package/src/platform/registry/types.ts +443 -425
- package/src/platform/registry/validation.ts +60 -1
- package/src/reference/_generated/contracts.md +423 -338
- package/src/reference/_generated/system-interface-capabilities.md +47 -0
- package/src/reference/glossary.md +14 -2
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resource Registry exports
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export { ResourceCategorySchema, ResourceLinkSchema, kindPrefix, validateNodeId } from './resource-link'
|
|
6
|
-
export type { ResourceCategory, ResourceLink } from './resource-link'
|
|
7
|
-
|
|
8
|
-
export { RESERVED_RESOURCE_IDS, SYSTEM_RESOURCE_IDS, isReservedResourceId } from './reserved'
|
|
9
|
-
|
|
10
|
-
export { ResourceRegistry } from './resource-registry'
|
|
11
|
-
export type { DeploymentSpec, OrganizationRegistry, RemoteOrgConfig, SystemConfig } from './resource-registry'
|
|
12
|
-
|
|
13
|
-
// Validation utilities
|
|
1
|
+
/**
|
|
2
|
+
* Resource Registry exports
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export { ResourceCategorySchema, ResourceLinkSchema, kindPrefix, validateNodeId } from './resource-link'
|
|
6
|
+
export type { ResourceCategory, ResourceLink } from './resource-link'
|
|
7
|
+
|
|
8
|
+
export { RESERVED_RESOURCE_IDS, SYSTEM_RESOURCE_IDS, isReservedResourceId } from './reserved'
|
|
9
|
+
|
|
10
|
+
export { ResourceRegistry } from './resource-registry'
|
|
11
|
+
export type { DeploymentSpec, OrganizationRegistry, RemoteOrgConfig, SystemConfig } from './resource-registry'
|
|
12
|
+
|
|
13
|
+
// Validation utilities
|
|
14
14
|
export {
|
|
15
15
|
validateDeploymentSpec,
|
|
16
16
|
validateRelationships,
|
|
17
17
|
validateExecutionInterface,
|
|
18
18
|
validateResourceGovernance,
|
|
19
19
|
validateDeclaredSystemInterfaceReadiness,
|
|
20
|
+
detectMissingApiInterfaceDeclarations,
|
|
20
21
|
RegistryValidationError
|
|
21
22
|
} from './validation'
|
|
22
23
|
export {
|
|
@@ -39,78 +40,79 @@ export type {
|
|
|
39
40
|
SystemInterfaceReadinessRequest,
|
|
40
41
|
SystemInterfaceReadinessResult
|
|
41
42
|
} from '../../business/acquisition/ontology-validation'
|
|
42
|
-
|
|
43
|
-
export { bindResourceDescriptor } from './types'
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
export {
|
|
43
|
+
|
|
44
|
+
export { bindResourceDescriptor } from './types'
|
|
45
|
+
export type { ApiInterfaceConformanceGap } from './types'
|
|
46
|
+
|
|
47
|
+
// Serialization utilities
|
|
48
|
+
export { serializeAllOrganizations, serializeOrganization, buildEdges } from './serialization'
|
|
49
|
+
|
|
50
|
+
// Types
|
|
51
|
+
export type {
|
|
52
|
+
ResourceStatus,
|
|
53
|
+
ResourceType,
|
|
54
|
+
ExecutableResourceType,
|
|
55
|
+
ResourceDefinition,
|
|
56
|
+
RuntimeResourceDescriptor,
|
|
57
|
+
DescriptorBackedResourceDefinition,
|
|
58
|
+
BoundResourceDefinition,
|
|
59
|
+
ResourceList,
|
|
60
|
+
TriggerDefinition,
|
|
61
|
+
IntegrationDefinition,
|
|
62
|
+
RelationshipDeclaration,
|
|
63
|
+
ResourceRelationships,
|
|
64
|
+
ExternalPlatform,
|
|
65
|
+
ExternalResourceDefinition,
|
|
66
|
+
HumanCheckpointDefinition,
|
|
67
|
+
WebhookProviderType,
|
|
68
|
+
WebhookTriggerConfig,
|
|
69
|
+
ScheduleTriggerConfig,
|
|
70
|
+
EventTriggerConfig,
|
|
71
|
+
TriggerConfig
|
|
72
|
+
} from './types'
|
|
73
|
+
|
|
74
|
+
// Serialized Types (for API responses)
|
|
75
|
+
export type {
|
|
76
|
+
SerializedAgentDefinition,
|
|
77
|
+
SerializedWorkflowDefinition,
|
|
78
|
+
SerializedOrganizationData
|
|
79
|
+
} from './serialized-types'
|
|
80
|
+
|
|
81
|
+
// Command View Types (for graph visualization)
|
|
82
|
+
export type {
|
|
83
|
+
CommandViewAgent,
|
|
84
|
+
CommandViewWorkflow,
|
|
85
|
+
CommandViewNode,
|
|
86
|
+
CommandViewNodeType,
|
|
87
|
+
CommandViewEdge,
|
|
88
|
+
CommandViewData,
|
|
89
|
+
RelationshipType
|
|
90
|
+
} from './command-view'
|
|
91
|
+
|
|
92
|
+
// Command View Utilities
|
|
93
|
+
export {
|
|
94
|
+
isAgent,
|
|
95
|
+
isWorkflow,
|
|
96
|
+
isTrigger,
|
|
97
|
+
isIntegration,
|
|
98
|
+
isExternalResource,
|
|
99
|
+
isHumanCheckpoint,
|
|
100
|
+
getNodeId,
|
|
101
|
+
getNodeType
|
|
102
|
+
} from './command-view'
|
|
103
|
+
|
|
104
|
+
// Command View Stats types (moved from command-view/)
|
|
105
|
+
export type {
|
|
106
|
+
StatsTimeRange,
|
|
107
|
+
ResourceStats,
|
|
108
|
+
ResourceErrorsResponse,
|
|
109
|
+
ErrorSummary,
|
|
110
|
+
CommandViewExecution,
|
|
111
|
+
ResourceExecutionsResponse,
|
|
112
|
+
HumanCheckpointStats,
|
|
113
|
+
CommandViewStatsResponse
|
|
114
|
+
} from './stats-types'
|
|
115
|
+
|
|
116
|
+
// Resource Metadata (icon names, colors)
|
|
117
|
+
export type { ResourceDefinitionType, NodeColorType } from './resource-metadata'
|
|
118
|
+
export { resourceTypeIconNames, resourceTypeColors, getResourceIconName, getResourceColor } from './resource-metadata'
|