@meetkai/mka1 0.54.71 → 0.54.72
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/bin/mcp-server.js +16 -16
- package/bin/mcp-server.js.map +13 -13
- package/dist/commonjs/funcs/reposCreate.d.ts +5 -5
- package/dist/commonjs/funcs/reposCreate.js +5 -5
- package/dist/commonjs/funcs/reposDelete.d.ts +2 -2
- package/dist/commonjs/funcs/reposDelete.js +2 -2
- package/dist/commonjs/funcs/reposList.d.ts +1 -1
- package/dist/commonjs/funcs/reposList.js +1 -1
- package/dist/commonjs/funcs/reposUpdate.d.ts +3 -3
- package/dist/commonjs/funcs/reposUpdate.js +3 -3
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/reposCreate.js +5 -5
- package/dist/commonjs/mcp-server/tools/reposDelete.js +2 -2
- package/dist/commonjs/mcp-server/tools/reposList.js +1 -1
- package/dist/commonjs/mcp-server/tools/reposUpdate.js +3 -3
- package/dist/commonjs/models/components/repo.d.ts +1 -1
- package/dist/commonjs/react-query/reposCreate.d.ts +5 -5
- package/dist/commonjs/react-query/reposCreate.js +5 -5
- package/dist/commonjs/react-query/reposDelete.d.ts +2 -2
- package/dist/commonjs/react-query/reposDelete.js +2 -2
- package/dist/commonjs/react-query/reposList.d.ts +2 -2
- package/dist/commonjs/react-query/reposList.js +2 -2
- package/dist/commonjs/react-query/reposUpdate.d.ts +3 -3
- package/dist/commonjs/react-query/reposUpdate.js +3 -3
- package/dist/commonjs/sdk/repos.d.ts +11 -11
- package/dist/commonjs/sdk/repos.js +11 -11
- package/dist/esm/funcs/reposCreate.d.ts +5 -5
- package/dist/esm/funcs/reposCreate.js +5 -5
- package/dist/esm/funcs/reposDelete.d.ts +2 -2
- package/dist/esm/funcs/reposDelete.js +2 -2
- package/dist/esm/funcs/reposList.d.ts +1 -1
- package/dist/esm/funcs/reposList.js +1 -1
- package/dist/esm/funcs/reposUpdate.d.ts +3 -3
- package/dist/esm/funcs/reposUpdate.js +3 -3
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/reposCreate.js +5 -5
- package/dist/esm/mcp-server/tools/reposDelete.js +2 -2
- package/dist/esm/mcp-server/tools/reposList.js +1 -1
- package/dist/esm/mcp-server/tools/reposUpdate.js +3 -3
- package/dist/esm/models/components/repo.d.ts +1 -1
- package/dist/esm/react-query/reposCreate.d.ts +5 -5
- package/dist/esm/react-query/reposCreate.js +5 -5
- package/dist/esm/react-query/reposDelete.d.ts +2 -2
- package/dist/esm/react-query/reposDelete.js +2 -2
- package/dist/esm/react-query/reposList.d.ts +2 -2
- package/dist/esm/react-query/reposList.js +2 -2
- package/dist/esm/react-query/reposUpdate.d.ts +3 -3
- package/dist/esm/react-query/reposUpdate.js +3 -3
- package/dist/esm/sdk/repos.d.ts +11 -11
- package/dist/esm/sdk/repos.js +11 -11
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/reposCreate.ts +5 -5
- package/src/funcs/reposDelete.ts +2 -2
- package/src/funcs/reposList.ts +1 -1
- package/src/funcs/reposUpdate.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/reposCreate.ts +5 -5
- package/src/mcp-server/tools/reposDelete.ts +2 -2
- package/src/mcp-server/tools/reposList.ts +1 -1
- package/src/mcp-server/tools/reposUpdate.ts +3 -3
- package/src/models/components/repo.ts +1 -1
- package/src/react-query/reposCreate.ts +5 -5
- package/src/react-query/reposDelete.ts +2 -2
- package/src/react-query/reposList.ts +2 -2
- package/src/react-query/reposUpdate.ts +3 -3
- package/src/sdk/repos.ts +11 -11
|
@@ -13,11 +13,11 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Create a repository
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Provisions a repository (org owner/admin only)
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
16
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
17
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
18
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
19
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
20
|
+
* name (see the `Repo` schema).
|
|
21
21
|
*
|
|
22
22
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
23
23
|
*/
|
|
@@ -52,11 +52,11 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Create a repository
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Provisions a repository (org owner/admin only)
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
55
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
56
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
57
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
58
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
59
|
+
* name (see the `Repo` schema).
|
|
60
60
|
*
|
|
61
61
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
62
62
|
*/
|
|
@@ -12,8 +12,8 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Delete a repository
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Removes a repository; org owner/admin only. The
|
|
16
|
-
* authoritative; the
|
|
15
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
16
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
17
17
|
*
|
|
18
18
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
19
19
|
*/
|
|
@@ -52,8 +52,8 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Delete a repository
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Removes a repository; org owner/admin only. The
|
|
56
|
-
* authoritative; the
|
|
55
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
56
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
57
57
|
*
|
|
58
58
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
59
59
|
*/
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
16
|
-
*
|
|
16
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
17
17
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
18
18
|
* only.
|
|
19
19
|
*
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
54
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
55
|
-
*
|
|
55
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
56
56
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
57
57
|
* only.
|
|
58
58
|
*
|
|
@@ -14,15 +14,15 @@ import { Result } from "../types/fp.js";
|
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
17
|
-
* only. The repository id is stable, so a rename
|
|
18
|
-
*
|
|
17
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
18
|
+
* Omitted fields are left unchanged.
|
|
19
19
|
*
|
|
20
20
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
21
21
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
22
22
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
23
23
|
* convert freely and any repository may become `image`; a repository
|
|
24
24
|
* whose container images are still named by a tag can be given no
|
|
25
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
25
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
26
26
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
27
27
|
* delete the tags through this API first). A switch away from `image`
|
|
28
28
|
* collects every image no tag reaches before it is judged, so an image
|
|
@@ -53,15 +53,15 @@ const async_js_1 = require("../types/async.js");
|
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
55
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
56
|
-
* only. The repository id is stable, so a rename
|
|
57
|
-
*
|
|
56
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
57
|
+
* Omitted fields are left unchanged.
|
|
58
58
|
*
|
|
59
59
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
60
60
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
61
61
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
62
62
|
* convert freely and any repository may become `image`; a repository
|
|
63
63
|
* whose container images are still named by a tag can be given no
|
|
64
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
64
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
65
65
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
66
66
|
* delete the tags through this API first). A switch away from `image`
|
|
67
67
|
* collects every image no tag reaches before it is judged, so an image
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.54.
|
|
34
|
+
readonly sdkVersion: "0.54.72";
|
|
35
35
|
readonly genVersion: "2.943.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.54.72 2.943.0 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "1.1.0",
|
|
38
|
-
sdkVersion: "0.54.
|
|
38
|
+
sdkVersion: "0.54.72",
|
|
39
39
|
genVersion: "2.943.0",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.54.72 2.943.0 1.1.0 @meetkai/mka1",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.54.
|
|
25
|
+
currentVersion: "0.54.72",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -461,7 +461,7 @@ const usageSandbox_js_1 = require("./tools/usageSandbox.js");
|
|
|
461
461
|
function createMCPServer(deps) {
|
|
462
462
|
const server = new mcp_js_1.McpServer({
|
|
463
463
|
name: "SDK",
|
|
464
|
-
version: "0.54.
|
|
464
|
+
version: "0.54.72",
|
|
465
465
|
});
|
|
466
466
|
const client = new core_js_1.SDKCore({
|
|
467
467
|
bearerAuth: deps.bearerAuth,
|
|
@@ -47,11 +47,11 @@ exports.tool$reposCreate = {
|
|
|
47
47
|
name: "repos-create",
|
|
48
48
|
description: `Create a repository
|
|
49
49
|
|
|
50
|
-
Provisions a repository (org owner/admin only)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
Provisions a repository (org owner/admin only); a failed provision is
|
|
51
|
+
rolled back best-effort (see the \`502\`). The repository belongs to the
|
|
52
|
+
caller's org. \`kind\` says what it will hold and defaults to \`repo\` (a
|
|
53
|
+
plain git repository); it decides which protocol planes answer for the
|
|
54
|
+
name (see the \`Repo\` schema).
|
|
55
55
|
`,
|
|
56
56
|
args,
|
|
57
57
|
tool: async (client, args, ctx) => {
|
|
@@ -47,8 +47,8 @@ exports.tool$reposDelete = {
|
|
|
47
47
|
name: "repos-delete",
|
|
48
48
|
description: `Delete a repository
|
|
49
49
|
|
|
50
|
-
Removes a repository; org owner/admin only. The
|
|
51
|
-
authoritative; the
|
|
50
|
+
Removes a repository; org owner/admin only. The deletion is
|
|
51
|
+
authoritative; the contents are cleaned up best-effort.
|
|
52
52
|
`,
|
|
53
53
|
args,
|
|
54
54
|
tool: async (client, args, ctx) => {
|
|
@@ -48,7 +48,7 @@ exports.tool$reposList = {
|
|
|
48
48
|
description: `List the caller's org's repositories
|
|
49
49
|
|
|
50
50
|
Returns every repository in the caller's org (org owner/admin only).
|
|
51
|
-
|
|
51
|
+
Read-only. With \`kind\`, only repositories of that kind; an untyped
|
|
52
52
|
(legacy, \`kind: null\`) repository appears in the unfiltered listing
|
|
53
53
|
only.
|
|
54
54
|
`,
|
|
@@ -48,15 +48,15 @@ exports.tool$reposUpdate = {
|
|
|
48
48
|
description: `Update a repository's labels
|
|
49
49
|
|
|
50
50
|
Applies a label-only update (name/description/kind); org owner/admin
|
|
51
|
-
only. The repository id is stable, so a rename
|
|
52
|
-
|
|
51
|
+
only. The repository id is stable, so a rename touches no contents.
|
|
52
|
+
Omitted fields are left unchanged.
|
|
53
53
|
|
|
54
54
|
\`kind\` is the ONE way a repository's kind changes after creation (the
|
|
55
55
|
protocol planes never change it): it types a legacy \`kind: null\`
|
|
56
56
|
repository and corrects a wrong kind. \`repo\`, \`model\` and \`dataset\`
|
|
57
57
|
convert freely and any repository may become \`image\`; a repository
|
|
58
58
|
whose container images are still named by a tag can be given no
|
|
59
|
-
other kind — leaving \`image\`, or typing a legacy \`null\`
|
|
59
|
+
other kind — leaving \`image\`, or typing a legacy \`null\` repository as
|
|
60
60
|
anything else, is refused with \`409 kind_has_content\` (list and
|
|
61
61
|
delete the tags through this API first). A switch away from \`image\`
|
|
62
62
|
collects every image no tag reaches before it is judged, so an image
|
|
@@ -11,7 +11,7 @@ export type Repo = {
|
|
|
11
11
|
* (the API, `git push`, the HF client, the OCI registry). It is the
|
|
12
12
|
* same id the platform session and mk-authentication's members
|
|
13
13
|
* directory use, so a name is one directory lookup away. `null`
|
|
14
|
-
* for a
|
|
14
|
+
* for a repository that records no user id; never an empty string.
|
|
15
15
|
*/
|
|
16
16
|
creator: string | null;
|
|
17
17
|
description: string;
|
|
@@ -19,11 +19,11 @@ export type ReposCreateMutationError = errors.RepoError | SDKError | ResponseVal
|
|
|
19
19
|
* Create a repository
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Provisions a repository (org owner/admin only)
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
22
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
23
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
24
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
25
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
26
|
+
* name (see the `Repo` schema).
|
|
27
27
|
*/
|
|
28
28
|
export declare function useReposCreateMutation(options?: MutationHookOptions<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>): UseMutationResult<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>;
|
|
29
29
|
export declare function mutationKeyReposCreate(): MutationKey;
|
|
@@ -15,11 +15,11 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Create a repository
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Provisions a repository (org owner/admin only)
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
18
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
19
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
20
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
21
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
22
|
+
* name (see the `Repo` schema).
|
|
23
23
|
*/
|
|
24
24
|
function useReposCreateMutation(options) {
|
|
25
25
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -18,8 +18,8 @@ export type ReposDeleteMutationError = errors.RepoError | SDKError | ResponseVal
|
|
|
18
18
|
* Delete a repository
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Removes a repository; org owner/admin only. The
|
|
22
|
-
* authoritative; the
|
|
21
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
22
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useReposDeleteMutation(options?: MutationHookOptions<ReposDeleteMutationData, ReposDeleteMutationError, ReposDeleteMutationVariables>): UseMutationResult<ReposDeleteMutationData, ReposDeleteMutationError, ReposDeleteMutationVariables>;
|
|
25
25
|
export declare function mutationKeyReposDelete(): MutationKey;
|
|
@@ -15,8 +15,8 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Delete a repository
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Removes a repository; org owner/admin only. The
|
|
19
|
-
* authoritative; the
|
|
18
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
19
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
20
20
|
*/
|
|
21
21
|
function useReposDeleteMutation(options) {
|
|
22
22
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -15,7 +15,7 @@ export type ReposListQueryError = errors.RepoError | SDKError | ResponseValidati
|
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
17
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
18
|
-
*
|
|
18
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
19
19
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
20
20
|
* only.
|
|
21
21
|
*/
|
|
@@ -25,7 +25,7 @@ export declare function useReposList(request: operations.ListReposRequest, optio
|
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
27
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
28
|
-
*
|
|
28
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
29
29
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
30
30
|
* only.
|
|
31
31
|
*/
|
|
@@ -20,7 +20,7 @@ Object.defineProperty(exports, "queryKeyReposList", { enumerable: true, get: fun
|
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
23
|
-
*
|
|
23
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
24
24
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
25
25
|
* only.
|
|
26
26
|
*/
|
|
@@ -36,7 +36,7 @@ function useReposList(request, options) {
|
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
38
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
39
|
-
*
|
|
39
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
40
40
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
41
41
|
* only.
|
|
42
42
|
*/
|
|
@@ -20,15 +20,15 @@ export type ReposUpdateMutationError = errors.RepoError | SDKError | ResponseVal
|
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
23
|
-
* only. The repository id is stable, so a rename
|
|
24
|
-
*
|
|
23
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
24
|
+
* Omitted fields are left unchanged.
|
|
25
25
|
*
|
|
26
26
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
27
27
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
28
28
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
29
29
|
* convert freely and any repository may become `image`; a repository
|
|
30
30
|
* whose container images are still named by a tag can be given no
|
|
31
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
31
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
32
32
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
33
33
|
* delete the tags through this API first). A switch away from `image`
|
|
34
34
|
* collects every image no tag reaches before it is judged, so an image
|
|
@@ -16,15 +16,15 @@ const _context_js_1 = require("./_context.js");
|
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
19
|
-
* only. The repository id is stable, so a rename
|
|
20
|
-
*
|
|
19
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
20
|
+
* Omitted fields are left unchanged.
|
|
21
21
|
*
|
|
22
22
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
23
23
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
24
24
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
25
25
|
* convert freely and any repository may become `image`; a repository
|
|
26
26
|
* whose container images are still named by a tag can be given no
|
|
27
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
27
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
28
28
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
29
29
|
* delete the tags through this API first). A switch away from `image`
|
|
30
30
|
* collects every image no tag reaches before it is judged, so an image
|
|
@@ -10,7 +10,7 @@ export declare class Repos extends ClientSDK {
|
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
12
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
13
|
-
*
|
|
13
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
14
14
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
15
15
|
* only.
|
|
16
16
|
*/
|
|
@@ -19,19 +19,19 @@ export declare class Repos extends ClientSDK {
|
|
|
19
19
|
* Create a repository
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Provisions a repository (org owner/admin only)
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
22
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
23
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
24
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
25
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
26
|
+
* name (see the `Repo` schema).
|
|
27
27
|
*/
|
|
28
28
|
create(request: operations.CreateRepoRequest, options?: RequestOptions): Promise<components.Repo>;
|
|
29
29
|
/**
|
|
30
30
|
* Delete a repository
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Removes a repository; org owner/admin only. The
|
|
34
|
-
* authoritative; the
|
|
33
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
34
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
35
35
|
*/
|
|
36
36
|
delete(request: operations.DeleteRepoRequest, options?: RequestOptions): Promise<void>;
|
|
37
37
|
/**
|
|
@@ -47,15 +47,15 @@ export declare class Repos extends ClientSDK {
|
|
|
47
47
|
*
|
|
48
48
|
* @remarks
|
|
49
49
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
50
|
-
* only. The repository id is stable, so a rename
|
|
51
|
-
*
|
|
50
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
51
|
+
* Omitted fields are left unchanged.
|
|
52
52
|
*
|
|
53
53
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
54
54
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
55
55
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
56
56
|
* convert freely and any repository may become `image`; a repository
|
|
57
57
|
* whose container images are still named by a tag can be given no
|
|
58
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
58
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
59
59
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
60
60
|
* delete the tags through this API first). A switch away from `image`
|
|
61
61
|
* collects every image no tag reaches before it is judged, so an image
|
|
@@ -21,7 +21,7 @@ class Repos extends sdks_js_1.ClientSDK {
|
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
24
|
-
*
|
|
24
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
25
25
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
26
26
|
* only.
|
|
27
27
|
*/
|
|
@@ -32,11 +32,11 @@ class Repos extends sdks_js_1.ClientSDK {
|
|
|
32
32
|
* Create a repository
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* Provisions a repository (org owner/admin only)
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
35
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
36
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
37
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
38
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
39
|
+
* name (see the `Repo` schema).
|
|
40
40
|
*/
|
|
41
41
|
async create(request, options) {
|
|
42
42
|
return (0, fp_js_1.unwrapAsync)((0, reposCreate_js_1.reposCreate)(this, request, options));
|
|
@@ -45,8 +45,8 @@ class Repos extends sdks_js_1.ClientSDK {
|
|
|
45
45
|
* Delete a repository
|
|
46
46
|
*
|
|
47
47
|
* @remarks
|
|
48
|
-
* Removes a repository; org owner/admin only. The
|
|
49
|
-
* authoritative; the
|
|
48
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
49
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
50
50
|
*/
|
|
51
51
|
async delete(request, options) {
|
|
52
52
|
return (0, fp_js_1.unwrapAsync)((0, reposDelete_js_1.reposDelete)(this, request, options));
|
|
@@ -66,15 +66,15 @@ class Repos extends sdks_js_1.ClientSDK {
|
|
|
66
66
|
*
|
|
67
67
|
* @remarks
|
|
68
68
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
69
|
-
* only. The repository id is stable, so a rename
|
|
70
|
-
*
|
|
69
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
70
|
+
* Omitted fields are left unchanged.
|
|
71
71
|
*
|
|
72
72
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
73
73
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
74
74
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
75
75
|
* convert freely and any repository may become `image`; a repository
|
|
76
76
|
* whose container images are still named by a tag can be given no
|
|
77
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
77
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
78
78
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
79
79
|
* delete the tags through this API first). A switch away from `image`
|
|
80
80
|
* collects every image no tag reaches before it is judged, so an image
|
|
@@ -13,11 +13,11 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Create a repository
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Provisions a repository (org owner/admin only)
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
16
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
17
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
18
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
19
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
20
|
+
* name (see the `Repo` schema).
|
|
21
21
|
*
|
|
22
22
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
23
23
|
*/
|
|
@@ -16,11 +16,11 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Create a repository
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Provisions a repository (org owner/admin only)
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
19
|
+
* Provisions a repository (org owner/admin only); a failed provision is
|
|
20
|
+
* rolled back best-effort (see the `502`). The repository belongs to the
|
|
21
|
+
* caller's org. `kind` says what it will hold and defaults to `repo` (a
|
|
22
|
+
* plain git repository); it decides which protocol planes answer for the
|
|
23
|
+
* name (see the `Repo` schema).
|
|
24
24
|
*
|
|
25
25
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
26
26
|
*/
|
|
@@ -12,8 +12,8 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Delete a repository
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Removes a repository; org owner/admin only. The
|
|
16
|
-
* authoritative; the
|
|
15
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
16
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
17
17
|
*
|
|
18
18
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
19
19
|
*/
|
|
@@ -16,8 +16,8 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Delete a repository
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Removes a repository; org owner/admin only. The
|
|
20
|
-
* authoritative; the
|
|
19
|
+
* Removes a repository; org owner/admin only. The deletion is
|
|
20
|
+
* authoritative; the contents are cleaned up best-effort.
|
|
21
21
|
*
|
|
22
22
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
23
23
|
*/
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
16
|
-
*
|
|
16
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
17
17
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
18
18
|
* only.
|
|
19
19
|
*
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
19
|
-
*
|
|
19
|
+
* Read-only. With `kind`, only repositories of that kind; an untyped
|
|
20
20
|
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
21
21
|
* only.
|
|
22
22
|
*
|
|
@@ -14,15 +14,15 @@ import { Result } from "../types/fp.js";
|
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
17
|
-
* only. The repository id is stable, so a rename
|
|
18
|
-
*
|
|
17
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
18
|
+
* Omitted fields are left unchanged.
|
|
19
19
|
*
|
|
20
20
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
21
21
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
22
22
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
23
23
|
* convert freely and any repository may become `image`; a repository
|
|
24
24
|
* whose container images are still named by a tag can be given no
|
|
25
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
25
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
26
26
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
27
27
|
* delete the tags through this API first). A switch away from `image`
|
|
28
28
|
* collects every image no tag reaches before it is judged, so an image
|
|
@@ -17,15 +17,15 @@ import { APIPromise } from "../types/async.js";
|
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
* Applies a label-only update (name/description/kind); org owner/admin
|
|
20
|
-
* only. The repository id is stable, so a rename
|
|
21
|
-
*
|
|
20
|
+
* only. The repository id is stable, so a rename touches no contents.
|
|
21
|
+
* Omitted fields are left unchanged.
|
|
22
22
|
*
|
|
23
23
|
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
24
24
|
* protocol planes never change it): it types a legacy `kind: null`
|
|
25
25
|
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
26
26
|
* convert freely and any repository may become `image`; a repository
|
|
27
27
|
* whose container images are still named by a tag can be given no
|
|
28
|
-
* other kind — leaving `image`, or typing a legacy `null`
|
|
28
|
+
* other kind — leaving `image`, or typing a legacy `null` repository as
|
|
29
29
|
* anything else, is refused with `409 kind_has_content` (list and
|
|
30
30
|
* delete the tags through this API first). A switch away from `image`
|
|
31
31
|
* collects every image no tag reaches before it is judged, so an image
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.54.
|
|
34
|
+
readonly sdkVersion: "0.54.72";
|
|
35
35
|
readonly genVersion: "2.943.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.54.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.54.72 2.943.0 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|