@treeseed/treedx 0.3.0-rc.15 → 0.3.0-rc.17
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/treedx/generated/openapi-types.d.ts +1 -1
- package/dist/treedx/generated/openapi-types.js +1 -1
- package/dist/treedx/openapi/contract.d.ts +4 -4
- package/dist/treedx/openapi/contract.js +4 -4
- package/openapi-contract.json +4 -4
- package/openapi.yaml +11 -0
- package/package.json +1 -1
- package/sdk-manifest.yaml +1 -1
|
@@ -423,7 +423,7 @@ export declare const TREEDX_OPENAPI_OPERATIONS: readonly [{
|
|
|
423
423
|
readonly method: "POST";
|
|
424
424
|
readonly operationId: "refreshRepositoryGraph";
|
|
425
425
|
readonly path: "/api/v1/repos/{repo_id}/graph/refresh";
|
|
426
|
-
readonly requiredCapabilities: readonly ["graph:refresh"];
|
|
426
|
+
readonly requiredCapabilities: readonly ["files:read", "git:read", "graph:refresh"];
|
|
427
427
|
}, {
|
|
428
428
|
readonly method: "POST";
|
|
429
429
|
readonly operationId: "getRelatedGraphNodes";
|
|
@@ -83,7 +83,7 @@ export const TREEDX_OPENAPI_OPERATIONS = [
|
|
|
83
83
|
{ method: "POST", operationId: "readRepositoryFile", path: "/api/v1/repos/{repo_id}/files/read", requiredCapabilities: ["files:read"] },
|
|
84
84
|
{ method: "POST", operationId: "searchRepositoryFiles", path: "/api/v1/repos/{repo_id}/files/search", requiredCapabilities: ["files:search"] },
|
|
85
85
|
{ method: "POST", operationId: "queryRepositoryGraph", path: "/api/v1/repos/{repo_id}/graph/query", requiredCapabilities: ["graph:query"] },
|
|
86
|
-
{ method: "POST", operationId: "refreshRepositoryGraph", path: "/api/v1/repos/{repo_id}/graph/refresh", requiredCapabilities: ["graph:refresh"] },
|
|
86
|
+
{ method: "POST", operationId: "refreshRepositoryGraph", path: "/api/v1/repos/{repo_id}/graph/refresh", requiredCapabilities: ["files:read", "git:read", "graph:refresh"] },
|
|
87
87
|
{ method: "POST", operationId: "getRelatedGraphNodes", path: "/api/v1/repos/{repo_id}/graph/related", requiredCapabilities: ["graph:query"] },
|
|
88
88
|
{ method: "POST", operationId: "searchGraphEntities", path: "/api/v1/repos/{repo_id}/graph/search-entities", requiredCapabilities: ["graph:query"] },
|
|
89
89
|
{ method: "POST", operationId: "searchGraphFiles", path: "/api/v1/repos/{repo_id}/graph/search-files", requiredCapabilities: ["graph:query"] },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const TREEDX_OPENAPI_CONTRACT: {
|
|
2
2
|
readonly schema: "treedx.openapi-contract/v1";
|
|
3
|
-
readonly packageVersion: "0.3.0-rc.
|
|
3
|
+
readonly packageVersion: "0.3.0-rc.17";
|
|
4
4
|
readonly openapiVersion: "0.11.1";
|
|
5
|
-
readonly openapiSha256: "sha256:
|
|
6
|
-
readonly operationInventorySha256: "sha256:
|
|
7
|
-
readonly generatedTypesSha256: "sha256:
|
|
5
|
+
readonly openapiSha256: "sha256:90b040cc8372e1359e77c1a4e7c23c930365202c5eb0a9d4ca865d2f11eb48e1";
|
|
6
|
+
readonly operationInventorySha256: "sha256:4f481063ad858cbade4d5fa19c529aca4f108c3e70f12c55ed645c8b412bb17b";
|
|
7
|
+
readonly generatedTypesSha256: "sha256:b920eba21f37637c5907d2377a5c55ea5084f5c92100dceeb10b03f7749a74b2";
|
|
8
8
|
readonly operationCount: 120;
|
|
9
9
|
readonly compatibility: "breaking-prerelease";
|
|
10
10
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Generated by scripts/generate-treedx-openapi-types.ts. Do not edit by hand.
|
|
2
2
|
export const TREEDX_OPENAPI_CONTRACT = {
|
|
3
3
|
"schema": "treedx.openapi-contract/v1",
|
|
4
|
-
"packageVersion": "0.3.0-rc.
|
|
4
|
+
"packageVersion": "0.3.0-rc.17",
|
|
5
5
|
"openapiVersion": "0.11.1",
|
|
6
|
-
"openapiSha256": "sha256:
|
|
7
|
-
"operationInventorySha256": "sha256:
|
|
8
|
-
"generatedTypesSha256": "sha256:
|
|
6
|
+
"openapiSha256": "sha256:90b040cc8372e1359e77c1a4e7c23c930365202c5eb0a9d4ca865d2f11eb48e1",
|
|
7
|
+
"operationInventorySha256": "sha256:4f481063ad858cbade4d5fa19c529aca4f108c3e70f12c55ed645c8b412bb17b",
|
|
8
|
+
"generatedTypesSha256": "sha256:b920eba21f37637c5907d2377a5c55ea5084f5c92100dceeb10b03f7749a74b2",
|
|
9
9
|
"operationCount": 120,
|
|
10
10
|
"compatibility": "breaking-prerelease"
|
|
11
11
|
};
|
package/openapi-contract.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "treedx.openapi-contract/v1",
|
|
3
|
-
"packageVersion": "0.3.0-rc.
|
|
3
|
+
"packageVersion": "0.3.0-rc.17",
|
|
4
4
|
"openapiVersion": "0.11.1",
|
|
5
|
-
"openapiSha256": "sha256:
|
|
6
|
-
"operationInventorySha256": "sha256:
|
|
7
|
-
"generatedTypesSha256": "sha256:
|
|
5
|
+
"openapiSha256": "sha256:90b040cc8372e1359e77c1a4e7c23c930365202c5eb0a9d4ca865d2f11eb48e1",
|
|
6
|
+
"operationInventorySha256": "sha256:4f481063ad858cbade4d5fa19c529aca4f108c3e70f12c55ed645c8b412bb17b",
|
|
7
|
+
"generatedTypesSha256": "sha256:b920eba21f37637c5907d2377a5c55ea5084f5c92100dceeb10b03f7749a74b2",
|
|
8
8
|
"operationCount": 120,
|
|
9
9
|
"compatibility": "breaking-prerelease"
|
|
10
10
|
}
|
package/openapi.yaml
CHANGED
|
@@ -1009,6 +1009,8 @@ paths:
|
|
|
1009
1009
|
operationId: refreshRepositoryGraph
|
|
1010
1010
|
summary: Refresh repository graph with optional incremental metadata
|
|
1011
1011
|
x-treedx-required-capabilities:
|
|
1012
|
+
- files:read
|
|
1013
|
+
- git:read
|
|
1012
1014
|
- graph:refresh
|
|
1013
1015
|
parameters:
|
|
1014
1016
|
- $ref: '#/components/parameters/RepoId'
|
|
@@ -4709,6 +4711,8 @@ components:
|
|
|
4709
4711
|
type: string
|
|
4710
4712
|
type:
|
|
4711
4713
|
type: string
|
|
4714
|
+
default: path
|
|
4715
|
+
description: Defaults to path selection using query as a repository-relative name or glob. Select text explicitly for full-text search.
|
|
4712
4716
|
query:
|
|
4713
4717
|
type: string
|
|
4714
4718
|
paths:
|
|
@@ -4774,6 +4778,12 @@ components:
|
|
|
4774
4778
|
type: object
|
|
4775
4779
|
required: []
|
|
4776
4780
|
properties:
|
|
4781
|
+
paths:
|
|
4782
|
+
description: Repository-relative paths or globs; content extensions are optional, including in glob patterns. Expanded only against authorized indexed paths.
|
|
4783
|
+
type: array
|
|
4784
|
+
maxItems: 1000
|
|
4785
|
+
items:
|
|
4786
|
+
type: string
|
|
4777
4787
|
repoId:
|
|
4778
4788
|
type: string
|
|
4779
4789
|
ref:
|
|
@@ -4788,6 +4798,7 @@ components:
|
|
|
4788
4798
|
type: array
|
|
4789
4799
|
items:
|
|
4790
4800
|
type: object
|
|
4801
|
+
description: A seed defaults to kind path. Path values accept extensionless names and glob patterns; explicit node IDs require kind id.
|
|
4791
4802
|
additionalProperties: true
|
|
4792
4803
|
relations:
|
|
4793
4804
|
type: array
|
package/package.json
CHANGED