@meetkai/mka1 0.54.49 → 0.54.50
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 +71 -13
- package/bin/mcp-server.js.map +21 -20
- package/dist/commonjs/funcs/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/commonjs/funcs/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/commonjs/funcs/reposCreate.d.ts +3 -1
- package/dist/commonjs/funcs/reposCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/reposCreate.js +3 -1
- package/dist/commonjs/funcs/reposCreate.js.map +1 -1
- package/dist/commonjs/funcs/reposList.d.ts +3 -1
- package/dist/commonjs/funcs/reposList.d.ts.map +1 -1
- package/dist/commonjs/funcs/reposList.js +8 -2
- package/dist/commonjs/funcs/reposList.js.map +1 -1
- package/dist/commonjs/funcs/reposUpdate.d.ts +12 -3
- package/dist/commonjs/funcs/reposUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/reposUpdate.js +12 -3
- package/dist/commonjs/funcs/reposUpdate.js.map +1 -1
- 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/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposCreate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposCreate.js +3 -1
- package/dist/commonjs/mcp-server/tools/reposCreate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposList.js +3 -1
- package/dist/commonjs/mcp-server/tools/reposList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposUpdate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposUpdate.js +12 -3
- package/dist/commonjs/mcp-server/tools/reposUpdate.js.map +1 -1
- package/dist/commonjs/models/components/createreporequest.d.ts +23 -0
- package/dist/commonjs/models/components/createreporequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createreporequest.js +16 -1
- package/dist/commonjs/models/components/createreporequest.js.map +1 -1
- package/dist/commonjs/models/components/featureflagenvironment.d.ts +10 -0
- package/dist/commonjs/models/components/featureflagenvironment.d.ts.map +1 -1
- package/dist/commonjs/models/components/featureflagenvironment.js +8 -0
- package/dist/commonjs/models/components/featureflagenvironment.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/patchreporequest.d.ts +9 -0
- package/dist/commonjs/models/components/patchreporequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/patchreporequest.js +3 -0
- package/dist/commonjs/models/components/patchreporequest.js.map +1 -1
- package/dist/commonjs/models/components/repo.d.ts +10 -0
- package/dist/commonjs/models/components/repo.d.ts.map +1 -1
- package/dist/commonjs/models/components/repo.js +3 -0
- package/dist/commonjs/models/components/repo.js.map +1 -1
- package/dist/commonjs/models/components/repokind.d.ts +36 -0
- package/dist/commonjs/models/components/repokind.d.ts.map +1 -0
- package/dist/commonjs/models/components/repokind.js +63 -0
- package/dist/commonjs/models/components/repokind.js.map +1 -0
- package/dist/commonjs/models/operations/listrepos.d.ts +8 -0
- package/dist/commonjs/models/operations/listrepos.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrepos.js +2 -0
- package/dist/commonjs/models/operations/listrepos.js.map +1 -1
- package/dist/commonjs/react-query/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/commonjs/react-query/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/commonjs/react-query/reposCreate.d.ts +3 -1
- package/dist/commonjs/react-query/reposCreate.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposCreate.js +3 -1
- package/dist/commonjs/react-query/reposCreate.js.map +1 -1
- package/dist/commonjs/react-query/reposList.core.d.ts +2 -0
- package/dist/commonjs/react-query/reposList.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposList.core.js +4 -1
- package/dist/commonjs/react-query/reposList.core.js.map +1 -1
- package/dist/commonjs/react-query/reposList.d.ts +14 -5
- package/dist/commonjs/react-query/reposList.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposList.js +6 -2
- package/dist/commonjs/react-query/reposList.js.map +1 -1
- package/dist/commonjs/react-query/reposUpdate.d.ts +12 -3
- package/dist/commonjs/react-query/reposUpdate.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposUpdate.js +12 -3
- package/dist/commonjs/react-query/reposUpdate.js.map +1 -1
- package/dist/commonjs/sdk/environments.d.ts +1 -1
- package/dist/commonjs/sdk/environments.js +1 -1
- package/dist/commonjs/sdk/repos.d.ts +18 -5
- package/dist/commonjs/sdk/repos.d.ts.map +1 -1
- package/dist/commonjs/sdk/repos.js +18 -5
- package/dist/commonjs/sdk/repos.js.map +1 -1
- package/dist/esm/funcs/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/esm/funcs/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/esm/funcs/reposCreate.d.ts +3 -1
- package/dist/esm/funcs/reposCreate.d.ts.map +1 -1
- package/dist/esm/funcs/reposCreate.js +3 -1
- package/dist/esm/funcs/reposCreate.js.map +1 -1
- package/dist/esm/funcs/reposList.d.ts +3 -1
- package/dist/esm/funcs/reposList.d.ts.map +1 -1
- package/dist/esm/funcs/reposList.js +9 -3
- package/dist/esm/funcs/reposList.js.map +1 -1
- package/dist/esm/funcs/reposUpdate.d.ts +12 -3
- package/dist/esm/funcs/reposUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/reposUpdate.js +12 -3
- package/dist/esm/funcs/reposUpdate.js.map +1 -1
- 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/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/esm/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/reposCreate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/reposCreate.js +3 -1
- package/dist/esm/mcp-server/tools/reposCreate.js.map +1 -1
- package/dist/esm/mcp-server/tools/reposList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/reposList.js +3 -1
- package/dist/esm/mcp-server/tools/reposList.js.map +1 -1
- package/dist/esm/mcp-server/tools/reposUpdate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/reposUpdate.js +12 -3
- package/dist/esm/mcp-server/tools/reposUpdate.js.map +1 -1
- package/dist/esm/models/components/createreporequest.d.ts +23 -0
- package/dist/esm/models/components/createreporequest.d.ts.map +1 -1
- package/dist/esm/models/components/createreporequest.js +15 -0
- package/dist/esm/models/components/createreporequest.js.map +1 -1
- package/dist/esm/models/components/featureflagenvironment.d.ts +10 -0
- package/dist/esm/models/components/featureflagenvironment.d.ts.map +1 -1
- package/dist/esm/models/components/featureflagenvironment.js +8 -0
- package/dist/esm/models/components/featureflagenvironment.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/patchreporequest.d.ts +9 -0
- package/dist/esm/models/components/patchreporequest.d.ts.map +1 -1
- package/dist/esm/models/components/patchreporequest.js +3 -0
- package/dist/esm/models/components/patchreporequest.js.map +1 -1
- package/dist/esm/models/components/repo.d.ts +10 -0
- package/dist/esm/models/components/repo.d.ts.map +1 -1
- package/dist/esm/models/components/repo.js +3 -0
- package/dist/esm/models/components/repo.js.map +1 -1
- package/dist/esm/models/components/repokind.d.ts +36 -0
- package/dist/esm/models/components/repokind.d.ts.map +1 -0
- package/dist/esm/models/components/repokind.js +27 -0
- package/dist/esm/models/components/repokind.js.map +1 -0
- package/dist/esm/models/operations/listrepos.d.ts +8 -0
- package/dist/esm/models/operations/listrepos.d.ts.map +1 -1
- package/dist/esm/models/operations/listrepos.js +2 -0
- package/dist/esm/models/operations/listrepos.js.map +1 -1
- package/dist/esm/react-query/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/esm/react-query/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/esm/react-query/reposCreate.d.ts +3 -1
- package/dist/esm/react-query/reposCreate.d.ts.map +1 -1
- package/dist/esm/react-query/reposCreate.js +3 -1
- package/dist/esm/react-query/reposCreate.js.map +1 -1
- package/dist/esm/react-query/reposList.core.d.ts +2 -0
- package/dist/esm/react-query/reposList.core.d.ts.map +1 -1
- package/dist/esm/react-query/reposList.core.js +4 -1
- package/dist/esm/react-query/reposList.core.js.map +1 -1
- package/dist/esm/react-query/reposList.d.ts +14 -5
- package/dist/esm/react-query/reposList.d.ts.map +1 -1
- package/dist/esm/react-query/reposList.js +6 -2
- package/dist/esm/react-query/reposList.js.map +1 -1
- package/dist/esm/react-query/reposUpdate.d.ts +12 -3
- package/dist/esm/react-query/reposUpdate.d.ts.map +1 -1
- package/dist/esm/react-query/reposUpdate.js +12 -3
- package/dist/esm/react-query/reposUpdate.js.map +1 -1
- package/dist/esm/sdk/environments.d.ts +1 -1
- package/dist/esm/sdk/environments.js +1 -1
- package/dist/esm/sdk/repos.d.ts +18 -5
- package/dist/esm/sdk/repos.d.ts.map +1 -1
- package/dist/esm/sdk/repos.js +18 -5
- package/dist/esm/sdk/repos.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
- package/src/funcs/reposCreate.ts +3 -1
- package/src/funcs/reposList.ts +10 -3
- package/src/funcs/reposUpdate.ts +12 -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/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
- package/src/mcp-server/tools/reposCreate.ts +3 -1
- package/src/mcp-server/tools/reposList.ts +3 -1
- package/src/mcp-server/tools/reposUpdate.ts +12 -3
- package/src/models/components/createreporequest.ts +31 -0
- package/src/models/components/featureflagenvironment.ts +18 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/patchreporequest.ts +15 -0
- package/src/models/components/repo.ts +16 -0
- package/src/models/components/repokind.ts +43 -0
- package/src/models/operations/listrepos.ts +10 -0
- package/src/react-query/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
- package/src/react-query/reposCreate.ts +3 -1
- package/src/react-query/reposList.core.ts +9 -2
- package/src/react-query/reposList.ts +17 -4
- package/src/react-query/reposUpdate.ts +12 -3
- package/src/sdk/environments.ts +1 -1
- package/src/sdk/repos.ts +18 -5
|
@@ -3,6 +3,13 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import * as components from "../components/index.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
export type ListReposRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Narrow the listing to one kind. Omit it for every repository,
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* untyped ones included.
|
|
11
|
+
*/
|
|
12
|
+
kind?: components.RepoKind | undefined;
|
|
6
13
|
/**
|
|
7
14
|
* Optional external end-user identifier forwarded by the API gateway.
|
|
8
15
|
*/
|
|
@@ -18,6 +25,7 @@ export type ListReposResponseBody = {
|
|
|
18
25
|
export declare const ListReposRequest$inboundSchema: z.ZodType<ListReposRequest, z.ZodTypeDef, unknown>;
|
|
19
26
|
/** @internal */
|
|
20
27
|
export type ListReposRequest$Outbound = {
|
|
28
|
+
kind?: string | undefined;
|
|
21
29
|
"X-On-Behalf-Of"?: string | undefined;
|
|
22
30
|
};
|
|
23
31
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listrepos.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listrepos.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"listrepos.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listrepos.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,QAAQ,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE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MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -7,6 +7,7 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import * as components from "../components/index.js";
|
|
8
8
|
/** @internal */
|
|
9
9
|
export const ListReposRequest$inboundSchema = z.object({
|
|
10
|
+
kind: components.RepoKind$inboundSchema.optional(),
|
|
10
11
|
"X-On-Behalf-Of": z.string().optional(),
|
|
11
12
|
}).transform((v) => {
|
|
12
13
|
return remap$(v, {
|
|
@@ -15,6 +16,7 @@ export const ListReposRequest$inboundSchema = z.object({
|
|
|
15
16
|
});
|
|
16
17
|
/** @internal */
|
|
17
18
|
export const ListReposRequest$outboundSchema = z.object({
|
|
19
|
+
kind: components.RepoKind$outboundSchema.optional(),
|
|
18
20
|
xOnBehalfOf: z.string().optional(),
|
|
19
21
|
}).transform((v) => {
|
|
20
22
|
return remap$(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listrepos.js","sourceRoot":"","sources":["../../../../src/models/operations/listrepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"listrepos.js","sourceRoot":"","sources":["../../../../src/models/operations/listrepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAwBrD,gBAAgB;AAChB,MAAM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,MAAM,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAC/C,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -18,7 +18,7 @@ export type FlagsEnvironmentsGenerateEvaluationKeyMutationError = errors.Feature
|
|
|
18
18
|
* Generate or replace an environment evaluation key
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Returns the new plaintext key once. Only its SHA-256 digest
|
|
21
|
+
* Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useFlagsEnvironmentsGenerateEvaluationKeyMutation(options?: MutationHookOptions<FlagsEnvironmentsGenerateEvaluationKeyMutationData, FlagsEnvironmentsGenerateEvaluationKeyMutationError, FlagsEnvironmentsGenerateEvaluationKeyMutationVariables>): UseMutationResult<FlagsEnvironmentsGenerateEvaluationKeyMutationData, FlagsEnvironmentsGenerateEvaluationKeyMutationError, FlagsEnvironmentsGenerateEvaluationKeyMutationVariables>;
|
|
24
24
|
export declare function mutationKeyFlagsEnvironmentsGenerateEvaluationKey(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Generate or replace an environment evaluation key
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Returns the new plaintext key once. Only its SHA-256 digest
|
|
13
|
+
* Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
|
|
14
14
|
*/
|
|
15
15
|
export function useFlagsEnvironmentsGenerateEvaluationKeyMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -21,7 +21,9 @@ export type ReposCreateMutationError = errors.RepoError | SDKError | ResponseVal
|
|
|
21
21
|
* @remarks
|
|
22
22
|
* Provisions a repository (org owner/admin only): DB insert
|
|
23
23
|
* (authoritative) → Gitea create (rolled back on failure). The repository
|
|
24
|
-
* belongs to the caller's org.
|
|
24
|
+
* belongs to the caller's org. `kind` says what it will hold and defaults
|
|
25
|
+
* to `repo` (a plain git repository); it decides which protocol planes
|
|
26
|
+
* answer for the name (see the `Repo` schema).
|
|
25
27
|
*/
|
|
26
28
|
export declare function useReposCreateMutation(options?: MutationHookOptions<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>): UseMutationResult<ReposCreateMutationData, ReposCreateMutationError, ReposCreateMutationVariables>;
|
|
27
29
|
export declare function mutationKeyReposCreate(): MutationKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposCreate.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,C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EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,UAAU,CAAC,iBAAiB,CAAC;IACtC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,IAAI,CAAC;AAEtD,MAAM,MAAM,wBAAwB,GAChC,MAAM,CAAC,SAAS,GAChB,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CAAC;AAEvB;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,CAAC,EAAE,mBAAmB,CAC3B,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,CAC7B,GACA,iBAAiB,CAClB,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,CAC7B,CAMA;AAED,wBAAgB,sBAAsB,IAAI,WAAW,CAEpD;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,EAChB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,4BAA4B,KACpC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACvC,CA0BA"}
|
|
@@ -12,7 +12,9 @@ import { useSDKContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Provisions a repository (org owner/admin only): DB insert
|
|
14
14
|
* (authoritative) → Gitea create (rolled back on failure). The repository
|
|
15
|
-
* belongs to the caller's org.
|
|
15
|
+
* belongs to the caller's org. `kind` says what it will hold and defaults
|
|
16
|
+
* to `repo` (a plain git repository); it decides which protocol planes
|
|
17
|
+
* answer for the name (see the `Repo` schema).
|
|
16
18
|
*/
|
|
17
19
|
export function useReposCreateMutation(options) {
|
|
18
20
|
const client = useSDKContext();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposCreate.js","sourceRoot":"","sources":["../../../src/react-query/reposCreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAEL,WAAW,GAEZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAetD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqB9C
|
|
1
|
+
{"version":3,"file":"reposCreate.js","sourceRoot":"","sources":["../../../src/react-query/reposCreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAEL,WAAW,GAEZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAetD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqB9C;;;;;;;;;GASG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAIC;IAMD,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,WAAW,CAAC;QACjB,GAAG,wBAAwB,CAAC,MAAM,EAAE,OAAO,CAAC;QAC5C,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,sBAAsB;IACpC,OAAO,CAAC,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,OAAgB,EAChB,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,sBAAsB,EAAE;QACrC,UAAU,EAAE,SAAS,qBAAqB,CAAC,EACzC,OAAO,EACP,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,cAAc,CACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,WAAW,CAAC,WAAW,CAC5B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QueryClient, QueryFunctionContext, QueryKey } from "@tanstack/react-query";
|
|
2
2
|
import { SDKCore } from "../core.js";
|
|
3
3
|
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as components from "../models/components/index.js";
|
|
4
5
|
import * as operations from "../models/operations/index.js";
|
|
5
6
|
export type ReposListQueryData = operations.ListReposResponseBody;
|
|
6
7
|
export declare function prefetchReposList(queryClient: QueryClient, client$: SDKCore, request: operations.ListReposRequest, options?: RequestOptions): Promise<void>;
|
|
@@ -9,6 +10,7 @@ export declare function buildReposListQuery(client$: SDKCore, request: operation
|
|
|
9
10
|
queryFn: (context: QueryFunctionContext) => Promise<ReposListQueryData>;
|
|
10
11
|
};
|
|
11
12
|
export declare function queryKeyReposList(parameters: {
|
|
13
|
+
kind?: components.RepoKind | undefined;
|
|
12
14
|
xOnBehalfOf?: string | undefined;
|
|
13
15
|
}): QueryKey;
|
|
14
16
|
//# sourceMappingURL=reposList.core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposList.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposList.core.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE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,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAC;CACzE,CAyBA;AAED,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE;IACV,IAAI,CAAC,EAAE,UAAU,CAAC,QAAQ,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,GACA,QAAQ,CAEV"}
|
|
@@ -11,7 +11,10 @@ export function prefetchReposList(queryClient, client$, request, options) {
|
|
|
11
11
|
}
|
|
12
12
|
export function buildReposListQuery(client$, request, options) {
|
|
13
13
|
return {
|
|
14
|
-
queryKey: queryKeyReposList({
|
|
14
|
+
queryKey: queryKeyReposList({
|
|
15
|
+
kind: request.kind,
|
|
16
|
+
xOnBehalfOf: request.xOnBehalfOf,
|
|
17
|
+
}),
|
|
15
18
|
queryFn: async function reposListQueryFn(ctx) {
|
|
16
19
|
const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
|
|
17
20
|
const mergedOptions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposList.core.js","sourceRoot":"","sources":["../../../src/react-query/reposList.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"reposList.core.js","sourceRoot":"","sources":["../../../src/react-query/reposList.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,iBAAiB,CAC/B,WAAwB,EACxB,OAAgB,EAChB,OAAoC,EACpC,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,mBAAmB,CACpB,OAAO,EACP,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,OAAgB,EAChB,OAAoC,EACpC,OAAwB;IAKxB,OAAO;QACL,QAAQ,EAAE,iBAAiB,CAAC;YAC1B,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,WAAW,EAAE,OAAO,CAAC,WAAW;SACjC,CAAC;QACF,OAAO,EAAE,KAAK,UAAU,gBAAgB,CAAC,GAAG;YAC1C,MAAM,GAAG,GAAG,cAAc,CACxB,GAAG,CAAC,MAAM,EACV,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B,CAAC;YACF,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO,EAAE,YAAY;gBACxB,GAAG,OAAO;gBACV,MAAM,EAAE,GAAG;aACZ,CAAC;YAEF,OAAO,WAAW,CAAC,SAAS,CAC1B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,UAGC;IAED,OAAO,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import * as components from "../models/components/index.js";
|
|
2
3
|
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
3
4
|
import * as errors from "../models/errors/index.js";
|
|
4
5
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
@@ -14,7 +15,9 @@ export type ReposListQueryError = errors.RepoError | SDKError | ResponseValidati
|
|
|
14
15
|
*
|
|
15
16
|
* @remarks
|
|
16
17
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
17
|
-
* Pure DB read.
|
|
18
|
+
* Pure DB read. With `kind`, only repositories of that kind; an untyped
|
|
19
|
+
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
20
|
+
* only.
|
|
18
21
|
*/
|
|
19
22
|
export declare function useReposList(request: operations.ListReposRequest, options?: QueryHookOptions<ReposListQueryData, ReposListQueryError>): UseQueryResult<ReposListQueryData, ReposListQueryError>;
|
|
20
23
|
/**
|
|
@@ -22,14 +25,20 @@ export declare function useReposList(request: operations.ListReposRequest, optio
|
|
|
22
25
|
*
|
|
23
26
|
* @remarks
|
|
24
27
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
25
|
-
* Pure DB read.
|
|
28
|
+
* Pure DB read. With `kind`, only repositories of that kind; an untyped
|
|
29
|
+
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
30
|
+
* only.
|
|
26
31
|
*/
|
|
27
32
|
export declare function useReposListSuspense(request: operations.ListReposRequest, options?: SuspenseQueryHookOptions<ReposListQueryData, ReposListQueryError>): UseSuspenseQueryResult<ReposListQueryData, ReposListQueryError>;
|
|
28
|
-
export declare function setReposListData(client: QueryClient, queryKeyBase: [
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
export declare function setReposListData(client: QueryClient, queryKeyBase: [
|
|
34
|
+
parameters: {
|
|
35
|
+
kind?: components.RepoKind | undefined;
|
|
36
|
+
xOnBehalfOf?: string | undefined;
|
|
37
|
+
}
|
|
38
|
+
], data: ReposListQueryData): ReposListQueryData | undefined;
|
|
31
39
|
export declare function invalidateReposList(client: QueryClient, queryKeyBase: TupleToPrefixes<[
|
|
32
40
|
parameters: {
|
|
41
|
+
kind?: components.RepoKind | undefined;
|
|
33
42
|
xOnBehalfOf?: string | undefined;
|
|
34
43
|
}
|
|
35
44
|
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposList.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposList.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,kBAAkB,GACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC3B,MAAM,CAAC,SAAS,GAChB,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CAAC;AAEvB
|
|
1
|
+
{"version":3,"file":"reposList.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposList.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,UAAU,MAAM,+BAA+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,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,UAAU,EAAE;QACV,IAAI,CAAC,EAAE,UAAU,CAAC,QAAQ,GAAG,SAAS,CAAC;QACvC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAClC;CACF,EACD,IAAI,EAAE,kBAAkB,GACvB,kBAAkB,GAAG,SAAS,CAIhC;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,UAAU,EAAE;QACX,IAAI,CAAC,EAAE,UAAU,CAAC,QAAQ,GAAG,SAAS,CAAC;QACvC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAClC;CAAC,CACH,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
|
|
@@ -10,7 +10,9 @@ export { buildReposListQuery, prefetchReposList, queryKeyReposList, };
|
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
12
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
13
|
-
* Pure DB read.
|
|
13
|
+
* Pure DB read. With `kind`, only repositories of that kind; an untyped
|
|
14
|
+
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
15
|
+
* only.
|
|
14
16
|
*/
|
|
15
17
|
export function useReposList(request, options) {
|
|
16
18
|
const client = useSDKContext();
|
|
@@ -24,7 +26,9 @@ export function useReposList(request, options) {
|
|
|
24
26
|
*
|
|
25
27
|
* @remarks
|
|
26
28
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
27
|
-
* Pure DB read.
|
|
29
|
+
* Pure DB read. With `kind`, only repositories of that kind; an untyped
|
|
30
|
+
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
31
|
+
* only.
|
|
28
32
|
*/
|
|
29
33
|
export function useReposListSuspense(request, options) {
|
|
30
34
|
const client = useSDKContext();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposList.js","sourceRoot":"","sources":["../../../src/react-query/reposList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAGL,QAAQ,EAER,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"reposList.js","sourceRoot":"","sources":["../../../src/react-query/reposList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAGL,QAAQ,EAER,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAM9C,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,GAElB,CAAC;AAaF;;;;;;;;GAQG;AACH,MAAM,UAAU,YAAY,CAC1B,OAAoC,EACpC,OAAmE;IAEnE,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,QAAQ,CAAC;QACd,GAAG,mBAAmB,CACpB,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,oBAAoB,CAClC,OAAoC,EACpC,OAA2E;IAE3E,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,gBAAgB,CAAC;QACtB,GAAG,mBAAmB,CACpB,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC9B,MAAmB,EACnB,YAKC,EACD,IAAwB;IAExB,MAAM,GAAG,GAAG,iBAAiB,CAAC,GAAG,YAAY,CAAC,CAAC;IAE/C,OAAO,MAAM,CAAC,YAAY,CAAqB,GAAG,EAAE,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,MAAmB,EACnB,YAKC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC;KAC9D,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,eAAe,EAAE,OAAO,EAAE,MAAM,CAAC;KAC7C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -19,9 +19,18 @@ export type ReposUpdateMutationError = errors.RepoError | SDKError | ResponseVal
|
|
|
19
19
|
* Update a repository's labels
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Applies a label-only update (name/description); org owner/admin
|
|
23
|
-
* The repository id is stable, so a rename is a one-row DB update
|
|
24
|
-
* Gitea write. Omitted fields are left unchanged.
|
|
22
|
+
* Applies a label-only update (name/description/kind); org owner/admin
|
|
23
|
+
* only. The repository id is stable, so a rename is a one-row DB update
|
|
24
|
+
* — no Gitea write. Omitted fields are left unchanged.
|
|
25
|
+
*
|
|
26
|
+
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
27
|
+
* protocol planes never change it): it types a legacy `kind: null`
|
|
28
|
+
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
29
|
+
* convert freely and any repository may become `image`; a repository
|
|
30
|
+
* that still holds container-image content can be given no other kind
|
|
31
|
+
* — leaving `image`, or typing a legacy `null` row as anything else, is
|
|
32
|
+
* refused with `409 kind_has_content` (delete the tags through the
|
|
33
|
+
* registry first). A kind is never un-set.
|
|
25
34
|
*/
|
|
26
35
|
export declare function useReposUpdateMutation(options?: MutationHookOptions<ReposUpdateMutationData, ReposUpdateMutationError, ReposUpdateMutationVariables>): UseMutationResult<ReposUpdateMutationData, ReposUpdateMutationError, ReposUpdateMutationVariables>;
|
|
27
36
|
export declare function mutationKeyReposUpdate(): MutationKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposUpdate.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAGrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACrC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,IAAI,CAAC;AAEtD,MAAM,MAAM,wBAAwB,GAChC,MAAM,CAAC,SAAS,GAChB,Q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C,OAAO,CAAC,EAAE,mBAAmB,CAC3B,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,CAC7B,GACA,iBAAiB,CAClB,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,CAC7B,CAMA;AAED,wBAAgB,sBAAsB,IAAI,WAAW,CAEpD;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,OAAO,EAChB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,4BAA4B,KACpC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACvC,CA0BA"}
|
|
@@ -10,9 +10,18 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Update a repository's labels
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Applies a label-only update (name/description); org owner/admin
|
|
14
|
-
* The repository id is stable, so a rename is a one-row DB update
|
|
15
|
-
* Gitea write. Omitted fields are left unchanged.
|
|
13
|
+
* Applies a label-only update (name/description/kind); org owner/admin
|
|
14
|
+
* only. The repository id is stable, so a rename is a one-row DB update
|
|
15
|
+
* — no Gitea write. Omitted fields are left unchanged.
|
|
16
|
+
*
|
|
17
|
+
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
18
|
+
* protocol planes never change it): it types a legacy `kind: null`
|
|
19
|
+
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
20
|
+
* convert freely and any repository may become `image`; a repository
|
|
21
|
+
* that still holds container-image content can be given no other kind
|
|
22
|
+
* — leaving `image`, or typing a legacy `null` row as anything else, is
|
|
23
|
+
* refused with `409 kind_has_content` (delete the tags through the
|
|
24
|
+
* registry first). A kind is never un-set.
|
|
16
25
|
*/
|
|
17
26
|
export function useReposUpdateMutation(options) {
|
|
18
27
|
const client = useSDKContext();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reposUpdate.js","sourceRoot":"","sources":["../../../src/react-query/reposUpdate.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AAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,cAAc,CACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,WAAW,CAAC,WAAW,CAC5B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -43,7 +43,7 @@ export declare class Environments extends ClientSDK {
|
|
|
43
43
|
* Generate or replace an environment evaluation key
|
|
44
44
|
*
|
|
45
45
|
* @remarks
|
|
46
|
-
* Returns the new plaintext key once. Only its SHA-256 digest
|
|
46
|
+
* Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
|
|
47
47
|
*/
|
|
48
48
|
generateEvaluationKey(request: operations.GenerateFeatureFlagEvaluationKeyRequest, options?: RequestOptions): Promise<operations.GenerateFeatureFlagEvaluationKeyResponse>;
|
|
49
49
|
}
|
|
@@ -67,7 +67,7 @@ export class Environments extends ClientSDK {
|
|
|
67
67
|
* Generate or replace an environment evaluation key
|
|
68
68
|
*
|
|
69
69
|
* @remarks
|
|
70
|
-
* Returns the new plaintext key once. Only its SHA-256 digest
|
|
70
|
+
* Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
|
|
71
71
|
*/
|
|
72
72
|
async generateEvaluationKey(request, options) {
|
|
73
73
|
return unwrapAsync(flagsEnvironmentsGenerateEvaluationKey(this, request, options));
|
package/dist/esm/sdk/repos.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export declare class Repos extends ClientSDK {
|
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
9
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
10
|
-
* Pure DB read.
|
|
10
|
+
* Pure DB read. With `kind`, only repositories of that kind; an untyped
|
|
11
|
+
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
12
|
+
* only.
|
|
11
13
|
*/
|
|
12
14
|
list(request: operations.ListReposRequest, options?: RequestOptions): Promise<operations.ListReposResponseBody>;
|
|
13
15
|
/**
|
|
@@ -16,7 +18,9 @@ export declare class Repos extends ClientSDK {
|
|
|
16
18
|
* @remarks
|
|
17
19
|
* Provisions a repository (org owner/admin only): DB insert
|
|
18
20
|
* (authoritative) → Gitea create (rolled back on failure). The repository
|
|
19
|
-
* belongs to the caller's org.
|
|
21
|
+
* belongs to the caller's org. `kind` says what it will hold and defaults
|
|
22
|
+
* to `repo` (a plain git repository); it decides which protocol planes
|
|
23
|
+
* answer for the name (see the `Repo` schema).
|
|
20
24
|
*/
|
|
21
25
|
create(request: operations.CreateRepoRequest, options?: RequestOptions): Promise<components.Repo>;
|
|
22
26
|
/**
|
|
@@ -39,9 +43,18 @@ export declare class Repos extends ClientSDK {
|
|
|
39
43
|
* Update a repository's labels
|
|
40
44
|
*
|
|
41
45
|
* @remarks
|
|
42
|
-
* Applies a label-only update (name/description); org owner/admin
|
|
43
|
-
* The repository id is stable, so a rename is a one-row DB update
|
|
44
|
-
* Gitea write. Omitted fields are left unchanged.
|
|
46
|
+
* Applies a label-only update (name/description/kind); org owner/admin
|
|
47
|
+
* only. The repository id is stable, so a rename is a one-row DB update
|
|
48
|
+
* — no Gitea write. Omitted fields are left unchanged.
|
|
49
|
+
*
|
|
50
|
+
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
51
|
+
* protocol planes never change it): it types a legacy `kind: null`
|
|
52
|
+
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
53
|
+
* convert freely and any repository may become `image`; a repository
|
|
54
|
+
* that still holds container-image content can be given no other kind
|
|
55
|
+
* — leaving `image`, or typing a legacy `null` row as anything else, is
|
|
56
|
+
* refused with `409 kind_has_content` (delete the tags through the
|
|
57
|
+
* registry first). A kind is never un-set.
|
|
45
58
|
*/
|
|
46
59
|
update(request: operations.PatchRepoRequest, options?: RequestOptions): Promise<components.Repo>;
|
|
47
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repos.d.ts","sourceRoot":"","sources":["../../../src/sdk/repos.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,KAAM,SAAQ,SAAS;IAClC
|
|
1
|
+
{"version":3,"file":"repos.d.ts","sourceRoot":"","sources":["../../../src/sdk/repos.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,KAAM,SAAQ,SAAS;IAClC;;;;;;;;OAQG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;;;;;OASG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;IAQ3B;;;;;;OAMG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,iBAAiB,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;;OAMG;IACG,GAAG,CACP,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;IAQ3B;;;;;;;;;;;;;;;;OAgBG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,gBAAgB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;CAO5B"}
|
package/dist/esm/sdk/repos.js
CHANGED
|
@@ -14,7 +14,9 @@ export class Repos extends ClientSDK {
|
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
17
|
-
* Pure DB read.
|
|
17
|
+
* Pure DB read. With `kind`, only repositories of that kind; an untyped
|
|
18
|
+
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
19
|
+
* only.
|
|
18
20
|
*/
|
|
19
21
|
async list(request, options) {
|
|
20
22
|
return unwrapAsync(reposList(this, request, options));
|
|
@@ -25,7 +27,9 @@ export class Repos extends ClientSDK {
|
|
|
25
27
|
* @remarks
|
|
26
28
|
* Provisions a repository (org owner/admin only): DB insert
|
|
27
29
|
* (authoritative) → Gitea create (rolled back on failure). The repository
|
|
28
|
-
* belongs to the caller's org.
|
|
30
|
+
* belongs to the caller's org. `kind` says what it will hold and defaults
|
|
31
|
+
* to `repo` (a plain git repository); it decides which protocol planes
|
|
32
|
+
* answer for the name (see the `Repo` schema).
|
|
29
33
|
*/
|
|
30
34
|
async create(request, options) {
|
|
31
35
|
return unwrapAsync(reposCreate(this, request, options));
|
|
@@ -54,9 +58,18 @@ export class Repos extends ClientSDK {
|
|
|
54
58
|
* Update a repository's labels
|
|
55
59
|
*
|
|
56
60
|
* @remarks
|
|
57
|
-
* Applies a label-only update (name/description); org owner/admin
|
|
58
|
-
* The repository id is stable, so a rename is a one-row DB update
|
|
59
|
-
* Gitea write. Omitted fields are left unchanged.
|
|
61
|
+
* Applies a label-only update (name/description/kind); org owner/admin
|
|
62
|
+
* only. The repository id is stable, so a rename is a one-row DB update
|
|
63
|
+
* — no Gitea write. Omitted fields are left unchanged.
|
|
64
|
+
*
|
|
65
|
+
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
66
|
+
* protocol planes never change it): it types a legacy `kind: null`
|
|
67
|
+
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
68
|
+
* convert freely and any repository may become `image`; a repository
|
|
69
|
+
* that still holds container-image content can be given no other kind
|
|
70
|
+
* — leaving `image`, or typing a legacy `null` row as anything else, is
|
|
71
|
+
* refused with `409 kind_has_content` (delete the tags through the
|
|
72
|
+
* registry first). A kind is never un-set.
|
|
60
73
|
*/
|
|
61
74
|
async update(request, options) {
|
|
62
75
|
return unwrapAsync(reposUpdate(this, request, options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repos.js","sourceRoot":"","sources":["../../../src/sdk/repos.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC
|
|
1
|
+
{"version":3,"file":"repos.js","sourceRoot":"","sources":["../../../src/sdk/repos.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC;;;;;;;;OAQG;IACH,KAAK,CAAC,IAAI,CACR,OAAoC,EACpC,OAAwB;QAExB,OAAO,WAAW,CAAC,SAAS,CAC1B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,MAAM,CACV,OAAqC,EACrC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,OAAqC,EACrC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,GAAG,CACP,OAAkC,EAClC,OAAwB;QAExB,OAAO,WAAW,CAAC,QAAQ,CACzB,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,MAAM,CACV,OAAoC,EACpC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Generate or replace an environment evaluation key
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Returns the new plaintext key once. Only its SHA-256 digest
|
|
33
|
+
* Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
package/src/funcs/reposCreate.ts
CHANGED
|
@@ -33,7 +33,9 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* Provisions a repository (org owner/admin only): DB insert
|
|
35
35
|
* (authoritative) → Gitea create (rolled back on failure). The repository
|
|
36
|
-
* belongs to the caller's org.
|
|
36
|
+
* belongs to the caller's org. `kind` says what it will hold and defaults
|
|
37
|
+
* to `repo` (a plain git repository); it decides which protocol planes
|
|
38
|
+
* answer for the name (see the `Repo` schema).
|
|
37
39
|
*
|
|
38
40
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
39
41
|
*/
|
package/src/funcs/reposList.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { SDKCore } from "../core.js";
|
|
6
|
-
import { encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import { matchStatusCode } from "../lib/http.js";
|
|
8
8
|
import * as M from "../lib/matchers.js";
|
|
9
9
|
import { compactMap } from "../lib/primitives.js";
|
|
@@ -31,7 +31,9 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
33
|
* Returns every repository in the caller's org (org owner/admin only).
|
|
34
|
-
* Pure DB read.
|
|
34
|
+
* Pure DB read. With `kind`, only repositories of that kind; an untyped
|
|
35
|
+
* (legacy, `kind: null`) repository appears in the unfiltered listing
|
|
36
|
+
* only.
|
|
35
37
|
*
|
|
36
38
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
37
39
|
*/
|
|
@@ -94,6 +96,10 @@ async function $do(
|
|
|
94
96
|
|
|
95
97
|
const path = pathToFunc("/api/v1/repos")();
|
|
96
98
|
|
|
99
|
+
const query = encodeFormQuery({
|
|
100
|
+
"kind": payload.kind,
|
|
101
|
+
});
|
|
102
|
+
|
|
97
103
|
const headers = new Headers(compactMap({
|
|
98
104
|
Accept: "application/json",
|
|
99
105
|
"X-On-Behalf-Of": encodeSimple(
|
|
@@ -138,6 +144,7 @@ async function $do(
|
|
|
138
144
|
baseURL: options?.serverURL,
|
|
139
145
|
path: path,
|
|
140
146
|
headers: headers,
|
|
147
|
+
query: query,
|
|
141
148
|
body: body,
|
|
142
149
|
userAgent: client._options.userAgent,
|
|
143
150
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
@@ -176,7 +183,7 @@ async function $do(
|
|
|
176
183
|
| SDKValidationError
|
|
177
184
|
>(
|
|
178
185
|
M.json(200, operations.ListReposResponseBody$inboundSchema),
|
|
179
|
-
M.jsonErr([401, 403], errors.RepoError$inboundSchema),
|
|
186
|
+
M.jsonErr([400, 401, 403], errors.RepoError$inboundSchema),
|
|
180
187
|
M.jsonErr([500, 503], errors.RepoError$inboundSchema),
|
|
181
188
|
M.fail("4XX"),
|
|
182
189
|
M.fail("5XX"),
|
package/src/funcs/reposUpdate.ts
CHANGED
|
@@ -31,9 +31,18 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Update a repository's labels
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Applies a label-only update (name/description); org owner/admin
|
|
35
|
-
* The repository id is stable, so a rename is a one-row DB update
|
|
36
|
-
* Gitea write. Omitted fields are left unchanged.
|
|
34
|
+
* Applies a label-only update (name/description/kind); org owner/admin
|
|
35
|
+
* only. The repository id is stable, so a rename is a one-row DB update
|
|
36
|
+
* — no Gitea write. Omitted fields are left unchanged.
|
|
37
|
+
*
|
|
38
|
+
* `kind` is the ONE way a repository's kind changes after creation (the
|
|
39
|
+
* protocol planes never change it): it types a legacy `kind: null`
|
|
40
|
+
* repository and corrects a wrong kind. `repo`, `model` and `dataset`
|
|
41
|
+
* convert freely and any repository may become `image`; a repository
|
|
42
|
+
* that still holds container-image content can be given no other kind
|
|
43
|
+
* — leaving `image`, or typing a legacy `null` row as anything else, is
|
|
44
|
+
* refused with `409 kind_has_content` (delete the tags through the
|
|
45
|
+
* registry first). A kind is never un-set.
|
|
37
46
|
*
|
|
38
47
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
39
48
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.50",
|
|
69
69
|
genVersion: "2.938.0",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.50 2.938.0 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -16,7 +16,7 @@ export const tool$flagsEnvironmentsGenerateEvaluationKey: ToolDefinition<
|
|
|
16
16
|
name: "flags-environments-generate-evaluation-key",
|
|
17
17
|
description: `Generate or replace an environment evaluation key
|
|
18
18
|
|
|
19
|
-
Returns the new plaintext key once. Only its SHA-256 digest
|
|
19
|
+
Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.`,
|
|
20
20
|
args,
|
|
21
21
|
tool: async (client, args, ctx) => {
|
|
22
22
|
const [result, apiCall] = await flagsEnvironmentsGenerateEvaluationKey(
|