@treeseed/treedx 0.2.43 → 0.3.0-rc.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.
- package/README.md +1 -1
- package/dist/treedx/adapters/{federation-internal.d.ts → federation/federation-internal.d.ts} +1 -1
- package/dist/treedx/adapters/{federation-internal.js → federation/federation-internal.js} +1 -1
- package/dist/treedx/adapters/{federation.d.ts → federation/federation.d.ts} +1 -1
- package/dist/treedx/adapters/{federation.js → federation/federation.js} +1 -1
- package/dist/treedx/adapters/{mirrors.d.ts → federation/mirrors.d.ts} +1 -1
- package/dist/treedx/adapters/{mirrors.js → federation/mirrors.js} +1 -1
- package/dist/treedx/adapters/{registry.d.ts → federation/registry.d.ts} +1 -1
- package/dist/treedx/adapters/{registry.js → federation/registry.js} +1 -1
- package/dist/treedx/adapters/{repositories.d.ts → federation/repositories.d.ts} +1 -1
- package/dist/treedx/adapters/{repositories.js → federation/repositories.js} +1 -1
- package/dist/treedx/adapters/{workspaces.d.ts → federation/workspaces.d.ts} +1 -1
- package/dist/treedx/adapters/{workspaces.js → federation/workspaces.js} +1 -1
- package/dist/treedx/adapters/{admin.d.ts → governance/admin.d.ts} +1 -1
- package/dist/treedx/adapters/{admin.js → governance/admin.js} +1 -1
- package/dist/treedx/adapters/{audit.d.ts → governance/audit.d.ts} +1 -1
- package/dist/treedx/adapters/{audit.js → governance/audit.js} +1 -1
- package/dist/treedx/adapters/{policy.d.ts → governance/policy.d.ts} +1 -1
- package/dist/treedx/adapters/{policy.js → governance/policy.js} +1 -1
- package/dist/treedx/adapters/index.d.ts +21 -21
- package/dist/treedx/adapters/index.js +21 -21
- package/dist/treedx/adapters/{context.d.ts → knowledge/context.d.ts} +1 -1
- package/dist/treedx/adapters/{context.js → knowledge/context.js} +1 -1
- package/dist/treedx/adapters/{graph.d.ts → knowledge/graph.d.ts} +1 -1
- package/dist/treedx/adapters/{graph.js → knowledge/graph.js} +1 -1
- package/dist/treedx/adapters/{query.d.ts → knowledge/query.d.ts} +1 -1
- package/dist/treedx/adapters/{query.js → knowledge/query.js} +1 -1
- package/dist/treedx/adapters/{search-index.d.ts → knowledge/search-index.d.ts} +1 -1
- package/dist/treedx/adapters/{search-index.js → knowledge/search-index.js} +1 -1
- package/dist/treedx/adapters/{common.d.ts → runtime/common.d.ts} +1 -1
- package/dist/treedx/adapters/{artifacts.d.ts → storage/artifacts.d.ts} +1 -1
- package/dist/treedx/adapters/{artifacts.js → storage/artifacts.js} +1 -1
- package/dist/treedx/adapters/{blobs.d.ts → storage/blobs.d.ts} +2 -2
- package/dist/treedx/adapters/{blobs.js → storage/blobs.js} +1 -1
- package/dist/treedx/adapters/{files.d.ts → storage/files.d.ts} +2 -1
- package/dist/treedx/adapters/{files.js → storage/files.js} +2 -1
- package/dist/treedx/adapters/{migrations.d.ts → storage/migrations.d.ts} +1 -1
- package/dist/treedx/adapters/{migrations.js → storage/migrations.js} +1 -1
- package/dist/treedx/adapters/{snapshots.d.ts → storage/snapshots.d.ts} +1 -1
- package/dist/treedx/adapters/{snapshots.js → storage/snapshots.js} +1 -1
- package/dist/treedx/client/TreeDxClient.d.ts +5 -0
- package/dist/treedx/client/TreeDxClient.js +13 -1
- package/dist/treedx/client/errors.d.ts +1 -0
- package/dist/treedx/client/errors.js +8 -0
- package/dist/treedx/client/transport.d.ts +1 -0
- package/dist/treedx/client/transport.js +28 -1
- package/dist/treedx/generated/openapi-types.d.ts +260 -1
- package/dist/treedx/generated/openapi-types.js +120 -114
- package/dist/treedx/index.d.ts +1 -0
- package/dist/treedx/index.js +1 -0
- package/dist/treedx/openapi/contract.d.ts +10 -0
- package/dist/treedx/openapi/contract.js +11 -0
- package/dist/treedx/openapi/index.d.ts +1 -0
- package/dist/treedx/openapi/index.js +1 -0
- package/dist/treedx/ports/{federation-internal-port.d.ts → federation/federation-internal-port.d.ts} +1 -1
- package/dist/treedx/ports/federation/federation-port.d.ts +2 -0
- package/dist/treedx/ports/federation/mirror-port.d.ts +2 -0
- package/dist/treedx/ports/federation/registry-port.d.ts +2 -0
- package/dist/treedx/ports/federation/repository-port.d.ts +2 -0
- package/dist/treedx/ports/federation/workspace-port.d.ts +2 -0
- package/dist/treedx/ports/governance/admin-port.d.ts +1 -0
- package/dist/treedx/ports/governance/audit-port.d.ts +1 -0
- package/dist/treedx/ports/governance/policy-port.d.ts +1 -0
- package/dist/treedx/ports/index.d.ts +21 -21
- package/dist/treedx/ports/index.js +21 -21
- package/dist/treedx/ports/knowledge/context-port.d.ts +2 -0
- package/dist/treedx/ports/knowledge/graph-port.d.ts +2 -0
- package/dist/treedx/ports/knowledge/query-port.d.ts +2 -0
- package/dist/treedx/ports/knowledge/search-index-port.d.ts +1 -0
- package/dist/treedx/ports/runtime/auth-provider.d.ts +1 -0
- package/dist/treedx/ports/runtime/exec-port.d.ts +2 -0
- package/dist/treedx/ports/{transport.d.ts → runtime/transport.d.ts} +1 -1
- package/dist/treedx/ports/storage/artifact-port.d.ts +2 -0
- package/dist/treedx/ports/storage/blob-port.d.ts +2 -0
- package/dist/treedx/ports/storage/file-port.d.ts +2 -0
- package/dist/treedx/ports/storage/migration-port.d.ts +2 -0
- package/dist/treedx/ports/storage/snapshot-port.d.ts +2 -0
- package/dist/treedx/types/index.d.ts +6 -0
- package/openapi-contract.json +10 -0
- package/openapi.yaml +6827 -0
- package/package.json +10 -2
- package/sdk-manifest.yaml +2 -2
- package/dist/treedx/ports/admin-port.d.ts +0 -1
- package/dist/treedx/ports/artifact-port.d.ts +0 -2
- package/dist/treedx/ports/audit-port.d.ts +0 -1
- package/dist/treedx/ports/auth-provider.d.ts +0 -1
- package/dist/treedx/ports/blob-port.d.ts +0 -2
- package/dist/treedx/ports/context-port.d.ts +0 -2
- package/dist/treedx/ports/exec-port.d.ts +0 -2
- package/dist/treedx/ports/federation-port.d.ts +0 -2
- package/dist/treedx/ports/file-port.d.ts +0 -2
- package/dist/treedx/ports/graph-port.d.ts +0 -2
- package/dist/treedx/ports/migration-port.d.ts +0 -2
- package/dist/treedx/ports/mirror-port.d.ts +0 -2
- package/dist/treedx/ports/policy-port.d.ts +0 -1
- package/dist/treedx/ports/query-port.d.ts +0 -2
- package/dist/treedx/ports/registry-port.d.ts +0 -2
- package/dist/treedx/ports/repository-port.d.ts +0 -2
- package/dist/treedx/ports/search-index-port.d.ts +0 -1
- package/dist/treedx/ports/snapshot-port.d.ts +0 -2
- package/dist/treedx/ports/workspace-port.d.ts +0 -2
- /package/dist/treedx/adapters/{common.js → runtime/common.js} +0 -0
- /package/dist/treedx/adapters/{exec.d.ts → runtime/exec.d.ts} +0 -0
- /package/dist/treedx/adapters/{exec.js → runtime/exec.js} +0 -0
- /package/dist/treedx/adapters/{observability.d.ts → runtime/observability.d.ts} +0 -0
- /package/dist/treedx/adapters/{observability.js → runtime/observability.js} +0 -0
- /package/dist/treedx/ports/{federation-internal-port.js → federation/federation-internal-port.js} +0 -0
- /package/dist/treedx/ports/{federation-port.js → federation/federation-port.js} +0 -0
- /package/dist/treedx/ports/{mirror-port.js → federation/mirror-port.js} +0 -0
- /package/dist/treedx/ports/{registry-port.js → federation/registry-port.js} +0 -0
- /package/dist/treedx/ports/{repository-port.js → federation/repository-port.js} +0 -0
- /package/dist/treedx/ports/{workspace-port.js → federation/workspace-port.js} +0 -0
- /package/dist/treedx/ports/{admin-port.js → governance/admin-port.js} +0 -0
- /package/dist/treedx/ports/{audit-port.js → governance/audit-port.js} +0 -0
- /package/dist/treedx/ports/{policy-port.js → governance/policy-port.js} +0 -0
- /package/dist/treedx/ports/{context-port.js → knowledge/context-port.js} +0 -0
- /package/dist/treedx/ports/{graph-port.js → knowledge/graph-port.js} +0 -0
- /package/dist/treedx/ports/{query-port.js → knowledge/query-port.js} +0 -0
- /package/dist/treedx/ports/{search-index-port.js → knowledge/search-index-port.js} +0 -0
- /package/dist/treedx/ports/{auth-provider.js → runtime/auth-provider.js} +0 -0
- /package/dist/treedx/ports/{exec-port.js → runtime/exec-port.js} +0 -0
- /package/dist/treedx/ports/{transport.js → runtime/transport.js} +0 -0
- /package/dist/treedx/ports/{artifact-port.js → storage/artifact-port.js} +0 -0
- /package/dist/treedx/ports/{blob-port.js → storage/blob-port.js} +0 -0
- /package/dist/treedx/ports/{file-port.js → storage/file-port.js} +0 -0
- /package/dist/treedx/ports/{migration-port.js → storage/migration-port.js} +0 -0
- /package/dist/treedx/ports/{snapshot-port.js → storage/snapshot-port.js} +0 -0
|
@@ -1,117 +1,123 @@
|
|
|
1
1
|
// Generated by scripts/generate-treedx-openapi-types.ts. Do not edit by hand.
|
|
2
|
-
export const TREEDX_OPENAPI_OPERATION_COUNT =
|
|
2
|
+
export const TREEDX_OPENAPI_OPERATION_COUNT = 119;
|
|
3
3
|
export const TREEDX_OPENAPI_OPERATIONS = [
|
|
4
|
-
{ method: "DELETE", path: "/api/v1/repos/{repo_id}/artifacts/{artifact_id}" },
|
|
5
|
-
{ method: "DELETE", path: "/api/v1/workspaces/{workspace_id}/blobs/uploads/{upload_id}" },
|
|
6
|
-
{ method: "DELETE", path: "/api/v1/workspaces/{workspace_id}/files" },
|
|
7
|
-
{ method: "GET", path: "/api/v1/admin/health/deep" },
|
|
8
|
-
{ method: "GET", path: "/api/v1/admin/storage/health" },
|
|
9
|
-
{ method: "GET", path: "/api/v1/admin/storage/migrations" },
|
|
10
|
-
{ method: "GET", path: "/api/v1/admin/workspaces/quarantined" },
|
|
11
|
-
{ method: "GET", path: "/api/v1/audit/events" },
|
|
12
|
-
{ method: "GET", path: "/api/v1/auth/mode" },
|
|
13
|
-
{ method: "GET", path: "/api/v1/auth/whoami" },
|
|
14
|
-
{ method: "GET", path: "/api/v1/federation/catalog" },
|
|
15
|
-
{ method: "GET", path: "/api/v1/federation/peers" },
|
|
16
|
-
{ method: "GET", path: "/api/v1/federation/peers/{node_id}" },
|
|
17
|
-
{ method: "GET", path: "/api/v1/federation/routes" },
|
|
18
|
-
{ method: "GET", path: "/api/v1/health" },
|
|
19
|
-
{ method: "GET", path: "/api/v1/health/deep" },
|
|
20
|
-
{ method: "GET", path: "/api/v1/internal/federation/health" },
|
|
21
|
-
{ method: "GET", path: "/api/v1/metrics" },
|
|
22
|
-
{ method: "GET", path: "/api/v1/node" },
|
|
23
|
-
{ method: "GET", path: "/api/v1/policy/capabilities" },
|
|
24
|
-
{ method: "GET", path: "/api/v1/policy/effective-scope" },
|
|
25
|
-
{ method: "GET", path: "/api/v1/policy/grants" },
|
|
26
|
-
{ method: "GET", path: "/api/v1/ready" },
|
|
27
|
-
{ method: "GET", path: "/api/v1/registry/nodes" },
|
|
28
|
-
{ method: "GET", path: "/api/v1/registry/repos/{repo_id}/placement" },
|
|
29
|
-
{ method: "GET", path: "/api/v1/repos" },
|
|
30
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}" },
|
|
31
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/artifacts" },
|
|
32
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/artifacts/{artifact_id}" },
|
|
33
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/graph/nodes/{node_id}" },
|
|
34
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/graph/refresh-jobs/{job_id}" },
|
|
35
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/migrations/{migration_id}" },
|
|
36
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/mirrors" },
|
|
37
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/refs" },
|
|
38
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/remotes" },
|
|
39
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/search/index/status" },
|
|
40
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/snapshots/{snapshot_id}" },
|
|
41
|
-
{ method: "GET", path: "/api/v1/repos/{repo_id}/status" },
|
|
42
|
-
{ method: "GET", path: "/api/v1/version" },
|
|
43
|
-
{ method: "GET", path: "/api/v1/workspaces/{workspace_id}" },
|
|
44
|
-
{ method: "GET", path: "/api/v1/workspaces/{workspace_id}/blobs/download" },
|
|
45
|
-
{ method: "GET", path: "/api/v1/workspaces/{workspace_id}/diff" },
|
|
46
|
-
{ method: "GET", path: "/api/v1/workspaces/{workspace_id}/files" },
|
|
47
|
-
{ method: "GET", path: "/api/v1/workspaces/{workspace_id}/status" },
|
|
48
|
-
{ method: "GET", path: "/api/v1/workspaces/{workspace_id}/tree" },
|
|
49
|
-
{ method: "PATCH", path: "/api/v1/workspaces/{workspace_id}/files" },
|
|
50
|
-
{ method: "POST", path: "/api/v1/admin/artifacts/cleanup" },
|
|
51
|
-
{ method: "POST", path: "/api/v1/admin/repos/import-local" },
|
|
52
|
-
{ method: "POST", path: "/api/v1/admin/storage/backup" },
|
|
53
|
-
{ method: "POST", path: "/api/v1/admin/storage/check" },
|
|
54
|
-
{ method: "POST", path: "/api/v1/admin/storage/compact" },
|
|
55
|
-
{ method: "POST", path: "/api/v1/admin/storage/migrations/apply" },
|
|
56
|
-
{ method: "POST", path: "/api/v1/admin/storage/migrations/plan" },
|
|
57
|
-
{ method: "POST", path: "/api/v1/admin/storage/migrations/rollback" },
|
|
58
|
-
{ method: "POST", path: "/api/v1/admin/storage/recover" },
|
|
59
|
-
{ method: "POST", path: "/api/v1/admin/storage/restore" },
|
|
60
|
-
{ method: "POST", path: "/api/v1/admin/storage/restore/verify" },
|
|
61
|
-
{ method: "POST", path: "/api/v1/auth/dev-token" },
|
|
62
|
-
{ method: "POST", path: "/api/v1/context/build" },
|
|
63
|
-
{ method: "POST", path: "/api/v1/federation/catalog/push" },
|
|
64
|
-
{ method: "POST", path: "/api/v1/federation/catalog/sync" },
|
|
65
|
-
{ method: "POST", path: "/api/v1/federation/nodes/register" },
|
|
66
|
-
{ method: "POST", path: "/api/v1/federation/peers/{node_id}/revoke" },
|
|
67
|
-
{ method: "POST", path: "/api/v1/federation/peers/{node_id}/trust" },
|
|
68
|
-
{ method: "POST", path: "/api/v1/federation/query/plan" },
|
|
69
|
-
{ method: "POST", path: "/api/v1/graph/query" },
|
|
70
|
-
{ method: "POST", path: "/api/v1/internal/federation/proxy" },
|
|
71
|
-
{ method: "POST", path: "/api/v1/internal/federation/repos/{repo_id}/mirror/export" },
|
|
72
|
-
{ method: "POST", path: "/api/v1/internal/federation/repos/{repo_id}/mirror/import" },
|
|
73
|
-
{ method: "POST", path: "/api/v1/policy/grants" },
|
|
74
|
-
{ method: "POST", path: "/api/v1/policy/refresh" },
|
|
75
|
-
{ method: "POST", path: "/api/v1/query" },
|
|
76
|
-
{ method: "POST", path: "/api/v1/registry/repos/{repo_id}/placement" },
|
|
77
|
-
{ method: "POST", path: "/api/v1/repos" },
|
|
78
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/artifacts/export" },
|
|
79
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/blobs/read" },
|
|
80
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/context/build" },
|
|
81
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/context/parse-ctx" },
|
|
82
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/files/read" },
|
|
83
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/files/search" },
|
|
84
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/graph/query" },
|
|
85
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/graph/refresh" },
|
|
86
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/graph/related" },
|
|
87
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/graph/search-entities" },
|
|
88
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/graph/search-files" },
|
|
89
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/graph/search-sections" },
|
|
90
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/graph/subgraph" },
|
|
91
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/migrations" },
|
|
92
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/mirrors" },
|
|
93
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/mirrors/{mirror_id}/health" },
|
|
94
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/mirrors/{mirror_id}/promote" },
|
|
95
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/mirrors/{mirror_id}/sync" },
|
|
96
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/paths/list" },
|
|
97
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/push" },
|
|
98
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/query" },
|
|
99
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/
|
|
100
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/
|
|
101
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/
|
|
102
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/
|
|
103
|
-
{ method: "POST", path: "/api/v1/repos/{repo_id}/
|
|
104
|
-
{ method: "POST", path: "/api/v1/repos/
|
|
105
|
-
{ method: "POST", path: "/api/v1/
|
|
106
|
-
{ method: "POST", path: "/api/v1/
|
|
107
|
-
{ method: "POST", path: "/api/v1/
|
|
108
|
-
{ method: "POST", path: "/api/v1/
|
|
109
|
-
{ method: "POST", path: "/api/v1/workspaces/{workspace_id}/
|
|
110
|
-
{ method: "POST", path: "/api/v1/workspaces/{workspace_id}/
|
|
111
|
-
{ method: "POST", path: "/api/v1/workspaces/{workspace_id}/
|
|
112
|
-
{ method: "POST", path: "/api/v1/workspaces/{workspace_id}/
|
|
113
|
-
{ method: "POST", path: "/api/v1/workspaces/{workspace_id}/
|
|
114
|
-
{ method: "
|
|
115
|
-
{ method: "
|
|
116
|
-
{ method: "
|
|
4
|
+
{ method: "DELETE", operationId: "deleteArtifact", path: "/api/v1/repos/{repo_id}/artifacts/{artifact_id}", requiredCapabilities: ["policy:write"] },
|
|
5
|
+
{ method: "DELETE", operationId: "abortWorkspaceBlobUpload", path: "/api/v1/workspaces/{workspace_id}/blobs/uploads/{upload_id}", requiredCapabilities: ["files:write"] },
|
|
6
|
+
{ method: "DELETE", operationId: "deleteWorkspaceFile", path: "/api/v1/workspaces/{workspace_id}/files", requiredCapabilities: ["files:delete"] },
|
|
7
|
+
{ method: "GET", operationId: "getAdminDeepHealth", path: "/api/v1/admin/health/deep", requiredCapabilities: ["policy:read"] },
|
|
8
|
+
{ method: "GET", operationId: "getAdminStorageHealth", path: "/api/v1/admin/storage/health", requiredCapabilities: ["policy:read"] },
|
|
9
|
+
{ method: "GET", operationId: "listStorageMigrations", path: "/api/v1/admin/storage/migrations", requiredCapabilities: ["policy:read"] },
|
|
10
|
+
{ method: "GET", operationId: "listQuarantinedWorkspaces", path: "/api/v1/admin/workspaces/quarantined", requiredCapabilities: ["policy:read"] },
|
|
11
|
+
{ method: "GET", operationId: "listAuditEvents", path: "/api/v1/audit/events", requiredCapabilities: ["audit:read"] },
|
|
12
|
+
{ method: "GET", operationId: "getAuthMode", path: "/api/v1/auth/mode", requiredCapabilities: [] },
|
|
13
|
+
{ method: "GET", operationId: "getWhoami", path: "/api/v1/auth/whoami", requiredCapabilities: [] },
|
|
14
|
+
{ method: "GET", operationId: "getFederationCatalog", path: "/api/v1/federation/catalog", requiredCapabilities: [] },
|
|
15
|
+
{ method: "GET", operationId: "listFederationPeers", path: "/api/v1/federation/peers", requiredCapabilities: ["federation:read"] },
|
|
16
|
+
{ method: "GET", operationId: "getFederationPeer", path: "/api/v1/federation/peers/{node_id}", requiredCapabilities: ["federation:read"] },
|
|
17
|
+
{ method: "GET", operationId: "listFederationRoutes", path: "/api/v1/federation/routes", requiredCapabilities: ["federation:read"] },
|
|
18
|
+
{ method: "GET", operationId: "getHealth", path: "/api/v1/health", requiredCapabilities: [] },
|
|
19
|
+
{ method: "GET", operationId: "getDeepHealth", path: "/api/v1/health/deep", requiredCapabilities: [] },
|
|
20
|
+
{ method: "GET", operationId: "getInternalFederationHealth", path: "/api/v1/internal/federation/health", requiredCapabilities: [] },
|
|
21
|
+
{ method: "GET", operationId: "getMetrics", path: "/api/v1/metrics", requiredCapabilities: [] },
|
|
22
|
+
{ method: "GET", operationId: "getLocalNode", path: "/api/v1/node", requiredCapabilities: ["registry:read"] },
|
|
23
|
+
{ method: "GET", operationId: "listCapabilities", path: "/api/v1/policy/capabilities", requiredCapabilities: ["policy:read"] },
|
|
24
|
+
{ method: "GET", operationId: "getEffectiveScope", path: "/api/v1/policy/effective-scope", requiredCapabilities: ["policy:read"] },
|
|
25
|
+
{ method: "GET", operationId: "listCapabilityGrants", path: "/api/v1/policy/grants", requiredCapabilities: ["policy:read"] },
|
|
26
|
+
{ method: "GET", operationId: "getReadiness", path: "/api/v1/ready", requiredCapabilities: [] },
|
|
27
|
+
{ method: "GET", operationId: "listRegistryNodes", path: "/api/v1/registry/nodes", requiredCapabilities: ["registry:read"] },
|
|
28
|
+
{ method: "GET", operationId: "getRepositoryPlacement", path: "/api/v1/registry/repos/{repo_id}/placement", requiredCapabilities: ["registry:read"] },
|
|
29
|
+
{ method: "GET", operationId: "listRepositories", path: "/api/v1/repos", requiredCapabilities: ["repos:read"] },
|
|
30
|
+
{ method: "GET", operationId: "getRepository", path: "/api/v1/repos/{repo_id}", requiredCapabilities: ["repos:read"] },
|
|
31
|
+
{ method: "GET", operationId: "listArtifacts", path: "/api/v1/repos/{repo_id}/artifacts", requiredCapabilities: ["files:read"] },
|
|
32
|
+
{ method: "GET", operationId: "getArtifact", path: "/api/v1/repos/{repo_id}/artifacts/{artifact_id}", requiredCapabilities: ["files:read"] },
|
|
33
|
+
{ method: "GET", operationId: "getGraphNode", path: "/api/v1/repos/{repo_id}/graph/nodes/{node_id}", requiredCapabilities: ["graph:query"] },
|
|
34
|
+
{ method: "GET", operationId: "getGraphRefreshJob", path: "/api/v1/repos/{repo_id}/graph/refresh-jobs/{job_id}", requiredCapabilities: ["graph:query"] },
|
|
35
|
+
{ method: "GET", operationId: "getMigration", path: "/api/v1/repos/{repo_id}/migrations/{migration_id}", requiredCapabilities: ["migration:read"] },
|
|
36
|
+
{ method: "GET", operationId: "listMirrors", path: "/api/v1/repos/{repo_id}/mirrors", requiredCapabilities: ["mirror:read"] },
|
|
37
|
+
{ method: "GET", operationId: "listRepositoryRefs", path: "/api/v1/repos/{repo_id}/refs", requiredCapabilities: ["git:read"] },
|
|
38
|
+
{ method: "GET", operationId: "listRepositoryRemotes", path: "/api/v1/repos/{repo_id}/remotes", requiredCapabilities: ["remotes:read"] },
|
|
39
|
+
{ method: "GET", operationId: "getSearchIndexStatus", path: "/api/v1/repos/{repo_id}/search/index/status", requiredCapabilities: ["files:search"] },
|
|
40
|
+
{ method: "GET", operationId: "getSnapshot", path: "/api/v1/repos/{repo_id}/snapshots/{snapshot_id}", requiredCapabilities: ["snapshot:build"] },
|
|
41
|
+
{ method: "GET", operationId: "getRepositoryStatus", path: "/api/v1/repos/{repo_id}/status", requiredCapabilities: ["repos:read"] },
|
|
42
|
+
{ method: "GET", operationId: "getVersion", path: "/api/v1/version", requiredCapabilities: [] },
|
|
43
|
+
{ method: "GET", operationId: "getWorkspace", path: "/api/v1/workspaces/{workspace_id}", requiredCapabilities: ["workspace:same_actor"] },
|
|
44
|
+
{ method: "GET", operationId: "downloadWorkspaceBlob", path: "/api/v1/workspaces/{workspace_id}/blobs/download", requiredCapabilities: ["files:read"] },
|
|
45
|
+
{ method: "GET", operationId: "getWorkspaceDiff", path: "/api/v1/workspaces/{workspace_id}/diff", requiredCapabilities: ["git:diff"] },
|
|
46
|
+
{ method: "GET", operationId: "readWorkspaceFile", path: "/api/v1/workspaces/{workspace_id}/files", requiredCapabilities: ["files:read"] },
|
|
47
|
+
{ method: "GET", operationId: "getWorkspaceStatus", path: "/api/v1/workspaces/{workspace_id}/status", requiredCapabilities: ["files:read"] },
|
|
48
|
+
{ method: "GET", operationId: "listWorkspaceTree", path: "/api/v1/workspaces/{workspace_id}/tree", requiredCapabilities: ["files:read"] },
|
|
49
|
+
{ method: "PATCH", operationId: "patchWorkspaceFile", path: "/api/v1/workspaces/{workspace_id}/files", requiredCapabilities: ["files:write"] },
|
|
50
|
+
{ method: "POST", operationId: "cleanupArtifacts", path: "/api/v1/admin/artifacts/cleanup", requiredCapabilities: ["policy:write"] },
|
|
51
|
+
{ method: "POST", operationId: "importLocalRepository", path: "/api/v1/admin/repos/import-local", requiredCapabilities: ["repos:write"] },
|
|
52
|
+
{ method: "POST", operationId: "backupAdminStorage", path: "/api/v1/admin/storage/backup", requiredCapabilities: ["policy:read"] },
|
|
53
|
+
{ method: "POST", operationId: "checkAdminStorage", path: "/api/v1/admin/storage/check", requiredCapabilities: ["policy:read"] },
|
|
54
|
+
{ method: "POST", operationId: "compactAdminStorage", path: "/api/v1/admin/storage/compact", requiredCapabilities: ["policy:write"] },
|
|
55
|
+
{ method: "POST", operationId: "applyStorageMigration", path: "/api/v1/admin/storage/migrations/apply", requiredCapabilities: ["policy:write"] },
|
|
56
|
+
{ method: "POST", operationId: "planStorageMigration", path: "/api/v1/admin/storage/migrations/plan", requiredCapabilities: ["policy:read"] },
|
|
57
|
+
{ method: "POST", operationId: "rollbackStorageMigration", path: "/api/v1/admin/storage/migrations/rollback", requiredCapabilities: ["policy:write"] },
|
|
58
|
+
{ method: "POST", operationId: "recoverAdminStorage", path: "/api/v1/admin/storage/recover", requiredCapabilities: ["policy:write"] },
|
|
59
|
+
{ method: "POST", operationId: "restoreStorage", path: "/api/v1/admin/storage/restore", requiredCapabilities: ["policy:write"] },
|
|
60
|
+
{ method: "POST", operationId: "verifyStorageRestore", path: "/api/v1/admin/storage/restore/verify", requiredCapabilities: ["policy:read"] },
|
|
61
|
+
{ method: "POST", operationId: "createDevToken", path: "/api/v1/auth/dev-token", requiredCapabilities: [] },
|
|
62
|
+
{ method: "POST", operationId: "federatedContextBuild", path: "/api/v1/context/build", requiredCapabilities: ["graph:query", "query:federated"] },
|
|
63
|
+
{ method: "POST", operationId: "pushFederationCatalog", path: "/api/v1/federation/catalog/push", requiredCapabilities: ["federation:sync"] },
|
|
64
|
+
{ method: "POST", operationId: "syncFederationCatalog", path: "/api/v1/federation/catalog/sync", requiredCapabilities: ["federation:sync"] },
|
|
65
|
+
{ method: "POST", operationId: "registerFederationNode", path: "/api/v1/federation/nodes/register", requiredCapabilities: ["federation:write"] },
|
|
66
|
+
{ method: "POST", operationId: "revokeFederationPeer", path: "/api/v1/federation/peers/{node_id}/revoke", requiredCapabilities: ["federation:trust"] },
|
|
67
|
+
{ method: "POST", operationId: "trustFederationPeer", path: "/api/v1/federation/peers/{node_id}/trust", requiredCapabilities: ["federation:trust"] },
|
|
68
|
+
{ method: "POST", operationId: "planFederationQuery", path: "/api/v1/federation/query/plan", requiredCapabilities: ["query:federated"] },
|
|
69
|
+
{ method: "POST", operationId: "federatedGraphQuery", path: "/api/v1/graph/query", requiredCapabilities: ["graph:query", "query:federated"] },
|
|
70
|
+
{ method: "POST", operationId: "proxyInternalFederationRequest", path: "/api/v1/internal/federation/proxy", requiredCapabilities: ["federation:sync"] },
|
|
71
|
+
{ method: "POST", operationId: "exportInternalFederationMirror", path: "/api/v1/internal/federation/repos/{repo_id}/mirror/export", requiredCapabilities: ["federation:sync"] },
|
|
72
|
+
{ method: "POST", operationId: "importInternalFederationMirror", path: "/api/v1/internal/federation/repos/{repo_id}/mirror/import", requiredCapabilities: ["federation:sync"] },
|
|
73
|
+
{ method: "POST", operationId: "putCapabilityGrant", path: "/api/v1/policy/grants", requiredCapabilities: ["policy:write"] },
|
|
74
|
+
{ method: "POST", operationId: "refreshPolicy", path: "/api/v1/policy/refresh", requiredCapabilities: ["policy:write"] },
|
|
75
|
+
{ method: "POST", operationId: "federatedQuery", path: "/api/v1/query", requiredCapabilities: ["query:federated"] },
|
|
76
|
+
{ method: "POST", operationId: "putRepositoryPlacement", path: "/api/v1/registry/repos/{repo_id}/placement", requiredCapabilities: ["registry:write"] },
|
|
77
|
+
{ method: "POST", operationId: "createRepository", path: "/api/v1/repos", requiredCapabilities: ["repos:write"] },
|
|
78
|
+
{ method: "POST", operationId: "exportArtifact", path: "/api/v1/repos/{repo_id}/artifacts/export", requiredCapabilities: ["artifact:export"] },
|
|
79
|
+
{ method: "POST", operationId: "readRepositoryBlob", path: "/api/v1/repos/{repo_id}/blobs/read", requiredCapabilities: ["files:read"] },
|
|
80
|
+
{ method: "POST", operationId: "buildContext", path: "/api/v1/repos/{repo_id}/context/build", requiredCapabilities: ["graph:query"] },
|
|
81
|
+
{ method: "POST", operationId: "parseContextQuery", path: "/api/v1/repos/{repo_id}/context/parse-ctx", requiredCapabilities: ["graph:query"] },
|
|
82
|
+
{ method: "POST", operationId: "readRepositoryFile", path: "/api/v1/repos/{repo_id}/files/read", requiredCapabilities: ["files:read"] },
|
|
83
|
+
{ method: "POST", operationId: "searchRepositoryFiles", path: "/api/v1/repos/{repo_id}/files/search", requiredCapabilities: ["files:search"] },
|
|
84
|
+
{ method: "POST", operationId: "queryRepositoryGraph", path: "/api/v1/repos/{repo_id}/graph/query", requiredCapabilities: ["graph:query"] },
|
|
85
|
+
{ method: "POST", operationId: "refreshRepositoryGraph", path: "/api/v1/repos/{repo_id}/graph/refresh", requiredCapabilities: ["graph:refresh"] },
|
|
86
|
+
{ method: "POST", operationId: "getRelatedGraphNodes", path: "/api/v1/repos/{repo_id}/graph/related", requiredCapabilities: ["graph:query"] },
|
|
87
|
+
{ method: "POST", operationId: "searchGraphEntities", path: "/api/v1/repos/{repo_id}/graph/search-entities", requiredCapabilities: ["graph:query"] },
|
|
88
|
+
{ method: "POST", operationId: "searchGraphFiles", path: "/api/v1/repos/{repo_id}/graph/search-files", requiredCapabilities: ["graph:query"] },
|
|
89
|
+
{ method: "POST", operationId: "searchGraphSections", path: "/api/v1/repos/{repo_id}/graph/search-sections", requiredCapabilities: ["graph:query"] },
|
|
90
|
+
{ method: "POST", operationId: "getGraphSubgraph", path: "/api/v1/repos/{repo_id}/graph/subgraph", requiredCapabilities: ["graph:query"] },
|
|
91
|
+
{ method: "POST", operationId: "createMigration", path: "/api/v1/repos/{repo_id}/migrations", requiredCapabilities: ["migration:write"] },
|
|
92
|
+
{ method: "POST", operationId: "putMirror", path: "/api/v1/repos/{repo_id}/mirrors", requiredCapabilities: ["mirror:write"] },
|
|
93
|
+
{ method: "POST", operationId: "checkMirrorHealth", path: "/api/v1/repos/{repo_id}/mirrors/{mirror_id}/health", requiredCapabilities: ["mirror:read", "registry:read"] },
|
|
94
|
+
{ method: "POST", operationId: "promoteMirror", path: "/api/v1/repos/{repo_id}/mirrors/{mirror_id}/promote", requiredCapabilities: ["migration:read", "migration:write"] },
|
|
95
|
+
{ method: "POST", operationId: "syncMirror", path: "/api/v1/repos/{repo_id}/mirrors/{mirror_id}/sync", requiredCapabilities: ["git:fetch", "mirror:write"] },
|
|
96
|
+
{ method: "POST", operationId: "listRepositoryPaths", path: "/api/v1/repos/{repo_id}/paths/list", requiredCapabilities: ["files:read"] },
|
|
97
|
+
{ method: "POST", operationId: "pushRepository", path: "/api/v1/repos/{repo_id}/push", requiredCapabilities: ["git:push"] },
|
|
98
|
+
{ method: "POST", operationId: "queryRepository", path: "/api/v1/repos/{repo_id}/query", requiredCapabilities: ["files:search"] },
|
|
99
|
+
{ method: "POST", operationId: "discardOrphanRepositoryRef", path: "/api/v1/repos/{repo_id}/refs/discard-orphan", requiredCapabilities: ["git:push", "policy:write"] },
|
|
100
|
+
{ method: "POST", operationId: "promoteRepositoryRef", path: "/api/v1/repos/{repo_id}/refs/promote", requiredCapabilities: ["git:push"] },
|
|
101
|
+
{ method: "POST", operationId: "retireRepositoryRef", path: "/api/v1/repos/{repo_id}/refs/retire", requiredCapabilities: ["git:push"] },
|
|
102
|
+
{ method: "POST", operationId: "compactSearchIndex", path: "/api/v1/repos/{repo_id}/search/index/compact", requiredCapabilities: ["policy:write"] },
|
|
103
|
+
{ method: "POST", operationId: "refreshSearchIndex", path: "/api/v1/repos/{repo_id}/search/index/refresh", requiredCapabilities: ["files:search"] },
|
|
104
|
+
{ method: "POST", operationId: "buildSnapshot", path: "/api/v1/repos/{repo_id}/snapshots/build", requiredCapabilities: ["snapshot:build"] },
|
|
105
|
+
{ method: "POST", operationId: "syncRepository", path: "/api/v1/repos/{repo_id}/sync", requiredCapabilities: ["git:fetch"] },
|
|
106
|
+
{ method: "POST", operationId: "createWorkspace", path: "/api/v1/repos/{repo_id}/workspaces", requiredCapabilities: ["workspace:create"] },
|
|
107
|
+
{ method: "POST", operationId: "registerRepository", path: "/api/v1/repos/register", requiredCapabilities: ["repos:write"] },
|
|
108
|
+
{ method: "POST", operationId: "federatedSearch", path: "/api/v1/search", requiredCapabilities: ["files:search", "query:federated"] },
|
|
109
|
+
{ method: "POST", operationId: "abandonWorkspace", path: "/api/v1/workspaces/{workspace_id}/abandon", requiredCapabilities: ["files:read", "workspace:same_actor"] },
|
|
110
|
+
{ method: "POST", operationId: "deleteWorkspaceBlob", path: "/api/v1/workspaces/{workspace_id}/blobs/delete", requiredCapabilities: ["files:delete"] },
|
|
111
|
+
{ method: "POST", operationId: "createWorkspaceBlobUpload", path: "/api/v1/workspaces/{workspace_id}/blobs/uploads", requiredCapabilities: ["files:write"] },
|
|
112
|
+
{ method: "POST", operationId: "completeWorkspaceBlobUpload", path: "/api/v1/workspaces/{workspace_id}/blobs/uploads/{upload_id}/complete", requiredCapabilities: ["files:write"] },
|
|
113
|
+
{ method: "POST", operationId: "writeWorkspaceBlob", path: "/api/v1/workspaces/{workspace_id}/blobs/write", requiredCapabilities: ["files:write"] },
|
|
114
|
+
{ method: "POST", operationId: "applyWorkspaceChangeset", path: "/api/v1/workspaces/{workspace_id}/changesets", requiredCapabilities: ["files:write"] },
|
|
115
|
+
{ method: "POST", operationId: "closeWorkspace", path: "/api/v1/workspaces/{workspace_id}/close", requiredCapabilities: ["workspace:same_actor"] },
|
|
116
|
+
{ method: "POST", operationId: "commitWorkspace", path: "/api/v1/workspaces/{workspace_id}/commit", requiredCapabilities: ["git:commit"] },
|
|
117
|
+
{ method: "POST", operationId: "execWorkspace", path: "/api/v1/workspaces/{workspace_id}/exec", requiredCapabilities: ["workspace:exec:*"] },
|
|
118
|
+
{ method: "POST", operationId: "searchWorkspace", path: "/api/v1/workspaces/{workspace_id}/search", requiredCapabilities: ["files:search"] },
|
|
119
|
+
{ method: "PUT", operationId: "uploadWorkspaceBlob", path: "/api/v1/workspaces/{workspace_id}/blobs/upload", requiredCapabilities: ["files:write"] },
|
|
120
|
+
{ method: "PUT", operationId: "uploadWorkspaceBlobPart", path: "/api/v1/workspaces/{workspace_id}/blobs/uploads/{upload_id}/parts/{part_number}", requiredCapabilities: ["files:write"] },
|
|
121
|
+
{ method: "PUT", operationId: "writeWorkspaceFile", path: "/api/v1/workspaces/{workspace_id}/files", requiredCapabilities: ["files:write"] },
|
|
122
|
+
{ method: "PUT", operationId: "writeWorkspaceFiles", path: "/api/v1/workspaces/{workspace_id}/files/batch", requiredCapabilities: ["files:write"] }
|
|
117
123
|
];
|
package/dist/treedx/index.d.ts
CHANGED
package/dist/treedx/index.js
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const TREEDX_OPENAPI_CONTRACT: {
|
|
2
|
+
readonly schema: "treedx.openapi-contract/v1";
|
|
3
|
+
readonly packageVersion: "0.3.0-rc.3";
|
|
4
|
+
readonly openapiVersion: "0.11.0";
|
|
5
|
+
readonly openapiSha256: "sha256:52ed190300922c388b115981e60635c306c643d48a3308ef9f79975510ae1926";
|
|
6
|
+
readonly operationInventorySha256: "sha256:bcfaa9233fcfe7fb49dd0807f08105b3e4056e07ffc8a5dd890e5ec27f975764";
|
|
7
|
+
readonly generatedTypesSha256: "sha256:505c89e5a0778f79853d8ab652e1a5f8d1bb1fcf2c135571be4972fc3326166e";
|
|
8
|
+
readonly operationCount: 119;
|
|
9
|
+
readonly compatibility: "breaking-prerelease";
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by scripts/generate-treedx-openapi-types.ts. Do not edit by hand.
|
|
2
|
+
export const TREEDX_OPENAPI_CONTRACT = {
|
|
3
|
+
"schema": "treedx.openapi-contract/v1",
|
|
4
|
+
"packageVersion": "0.3.0-rc.3",
|
|
5
|
+
"openapiVersion": "0.11.0",
|
|
6
|
+
"openapiSha256": "sha256:52ed190300922c388b115981e60635c306c643d48a3308ef9f79975510ae1926",
|
|
7
|
+
"operationInventorySha256": "sha256:bcfaa9233fcfe7fb49dd0807f08105b3e4056e07ffc8a5dd890e5ec27f975764",
|
|
8
|
+
"generatedTypesSha256": "sha256:505c89e5a0778f79853d8ab652e1a5f8d1bb1fcf2c135571be4972fc3326166e",
|
|
9
|
+
"operationCount": 119,
|
|
10
|
+
"compatibility": "breaking-prerelease"
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './contract.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './contract.js';
|
package/dist/treedx/ports/{federation-internal-port.d.ts → federation/federation-internal-port.d.ts}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { FederationInternalAdapter as FederationInternalPort } from '
|
|
1
|
+
export type { FederationInternalAdapter as FederationInternalPort } from '../../adapters/federation/federation-internal.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AdminAdapter as AdminPort } from '../../adapters/governance/admin.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AuditAdapter as AuditPort } from '../../adapters/governance/audit.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PolicyAdapter as PolicyPort } from '../../adapters/governance/policy.js';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from './transport.js';
|
|
2
|
-
export * from './auth-provider.js';
|
|
3
|
-
export * from './repository-port.js';
|
|
4
|
-
export * from './workspace-port.js';
|
|
5
|
-
export * from './file-port.js';
|
|
6
|
-
export * from './blob-port.js';
|
|
7
|
-
export * from './query-port.js';
|
|
8
|
-
export * from './graph-port.js';
|
|
9
|
-
export * from './context-port.js';
|
|
10
|
-
export * from './federation-port.js';
|
|
11
|
-
export * from './registry-port.js';
|
|
12
|
-
export * from './snapshot-port.js';
|
|
13
|
-
export * from './artifact-port.js';
|
|
14
|
-
export * from './mirror-port.js';
|
|
15
|
-
export * from './migration-port.js';
|
|
16
|
-
export * from './exec-port.js';
|
|
17
|
-
export * from './admin-port.js';
|
|
18
|
-
export * from './audit-port.js';
|
|
19
|
-
export * from './policy-port.js';
|
|
20
|
-
export * from './search-index-port.js';
|
|
21
|
-
export * from './federation-internal-port.js';
|
|
1
|
+
export * from './runtime/transport.js';
|
|
2
|
+
export * from './runtime/auth-provider.js';
|
|
3
|
+
export * from './federation/repository-port.js';
|
|
4
|
+
export * from './federation/workspace-port.js';
|
|
5
|
+
export * from './storage/file-port.js';
|
|
6
|
+
export * from './storage/blob-port.js';
|
|
7
|
+
export * from './knowledge/query-port.js';
|
|
8
|
+
export * from './knowledge/graph-port.js';
|
|
9
|
+
export * from './knowledge/context-port.js';
|
|
10
|
+
export * from './federation/federation-port.js';
|
|
11
|
+
export * from './federation/registry-port.js';
|
|
12
|
+
export * from './storage/snapshot-port.js';
|
|
13
|
+
export * from './storage/artifact-port.js';
|
|
14
|
+
export * from './federation/mirror-port.js';
|
|
15
|
+
export * from './storage/migration-port.js';
|
|
16
|
+
export * from './runtime/exec-port.js';
|
|
17
|
+
export * from './governance/admin-port.js';
|
|
18
|
+
export * from './governance/audit-port.js';
|
|
19
|
+
export * from './governance/policy-port.js';
|
|
20
|
+
export * from './knowledge/search-index-port.js';
|
|
21
|
+
export * from './federation/federation-internal-port.js';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from './transport.js';
|
|
2
|
-
export * from './auth-provider.js';
|
|
3
|
-
export * from './repository-port.js';
|
|
4
|
-
export * from './workspace-port.js';
|
|
5
|
-
export * from './file-port.js';
|
|
6
|
-
export * from './blob-port.js';
|
|
7
|
-
export * from './query-port.js';
|
|
8
|
-
export * from './graph-port.js';
|
|
9
|
-
export * from './context-port.js';
|
|
10
|
-
export * from './federation-port.js';
|
|
11
|
-
export * from './registry-port.js';
|
|
12
|
-
export * from './snapshot-port.js';
|
|
13
|
-
export * from './artifact-port.js';
|
|
14
|
-
export * from './mirror-port.js';
|
|
15
|
-
export * from './migration-port.js';
|
|
16
|
-
export * from './exec-port.js';
|
|
17
|
-
export * from './admin-port.js';
|
|
18
|
-
export * from './audit-port.js';
|
|
19
|
-
export * from './policy-port.js';
|
|
20
|
-
export * from './search-index-port.js';
|
|
21
|
-
export * from './federation-internal-port.js';
|
|
1
|
+
export * from './runtime/transport.js';
|
|
2
|
+
export * from './runtime/auth-provider.js';
|
|
3
|
+
export * from './federation/repository-port.js';
|
|
4
|
+
export * from './federation/workspace-port.js';
|
|
5
|
+
export * from './storage/file-port.js';
|
|
6
|
+
export * from './storage/blob-port.js';
|
|
7
|
+
export * from './knowledge/query-port.js';
|
|
8
|
+
export * from './knowledge/graph-port.js';
|
|
9
|
+
export * from './knowledge/context-port.js';
|
|
10
|
+
export * from './federation/federation-port.js';
|
|
11
|
+
export * from './federation/registry-port.js';
|
|
12
|
+
export * from './storage/snapshot-port.js';
|
|
13
|
+
export * from './storage/artifact-port.js';
|
|
14
|
+
export * from './federation/mirror-port.js';
|
|
15
|
+
export * from './storage/migration-port.js';
|
|
16
|
+
export * from './runtime/exec-port.js';
|
|
17
|
+
export * from './governance/admin-port.js';
|
|
18
|
+
export * from './governance/audit-port.js';
|
|
19
|
+
export * from './governance/policy-port.js';
|
|
20
|
+
export * from './knowledge/search-index-port.js';
|
|
21
|
+
export * from './federation/federation-internal-port.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { SearchIndexAdapter as SearchIndexPort } from '../../adapters/knowledge/search-index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AuthProvider } from '../../types/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Transport, TreeDxRequest, TreeDxResponse } from '
|
|
1
|
+
export type { Transport, TreeDxRequest, TreeDxResponse } from '../../types/index.js';
|
|
@@ -7,6 +7,7 @@ export interface TreeDxClientConfig {
|
|
|
7
7
|
authProvider?: AuthProvider;
|
|
8
8
|
transport?: Transport;
|
|
9
9
|
defaultHeaders?: Record<string, string>;
|
|
10
|
+
timeoutMs?: number;
|
|
10
11
|
}
|
|
11
12
|
export interface TreeDxRequest {
|
|
12
13
|
method: TreeDxHttpMethod;
|
|
@@ -15,6 +16,11 @@ export interface TreeDxRequest {
|
|
|
15
16
|
headers?: Record<string, string>;
|
|
16
17
|
body?: unknown;
|
|
17
18
|
binaryBody?: BinaryBody;
|
|
19
|
+
signal?: AbortSignal;
|
|
20
|
+
timeoutMs?: number;
|
|
21
|
+
requestId?: string;
|
|
22
|
+
traceparent?: string;
|
|
23
|
+
idempotencyKey?: string;
|
|
18
24
|
}
|
|
19
25
|
export interface TreeDxResponse<T = unknown> {
|
|
20
26
|
status: number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "treedx.openapi-contract/v1",
|
|
3
|
+
"packageVersion": "0.3.0-rc.3",
|
|
4
|
+
"openapiVersion": "0.11.0",
|
|
5
|
+
"openapiSha256": "sha256:52ed190300922c388b115981e60635c306c643d48a3308ef9f79975510ae1926",
|
|
6
|
+
"operationInventorySha256": "sha256:bcfaa9233fcfe7fb49dd0807f08105b3e4056e07ffc8a5dd890e5ec27f975764",
|
|
7
|
+
"generatedTypesSha256": "sha256:505c89e5a0778f79853d8ab652e1a5f8d1bb1fcf2c135571be4972fc3326166e",
|
|
8
|
+
"operationCount": 119,
|
|
9
|
+
"compatibility": "breaking-prerelease"
|
|
10
|
+
}
|