@meetkai/mka1 0.54.50 → 0.54.51

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.
Files changed (198) hide show
  1. package/README.md +313 -304
  2. package/bin/mcp-server.js +777 -390
  3. package/bin/mcp-server.js.map +19 -11
  4. package/dist/commonjs/funcs/reposTagsDelete.d.ts +29 -0
  5. package/dist/commonjs/funcs/reposTagsDelete.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/reposTagsDelete.js +155 -0
  7. package/dist/commonjs/funcs/reposTagsDelete.js.map +1 -0
  8. package/dist/commonjs/funcs/reposTagsList.d.ts +35 -0
  9. package/dist/commonjs/funcs/reposTagsList.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/reposTagsList.js +156 -0
  11. package/dist/commonjs/funcs/reposTagsList.js.map +1 -0
  12. package/dist/commonjs/funcs/reposUpdate.d.ts +7 -4
  13. package/dist/commonjs/funcs/reposUpdate.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/reposUpdate.js +7 -4
  15. package/dist/commonjs/funcs/reposUpdate.js.map +1 -1
  16. package/dist/commonjs/lib/config.d.ts +3 -3
  17. package/dist/commonjs/lib/config.js +3 -3
  18. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  19. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  20. package/dist/commonjs/mcp-server/server.js +5 -1
  21. package/dist/commonjs/mcp-server/server.js.map +1 -1
  22. package/dist/commonjs/mcp-server/tools/reposTagsDelete.d.ts +8 -0
  23. package/dist/commonjs/mcp-server/tools/reposTagsDelete.d.ts.map +1 -0
  24. package/dist/commonjs/mcp-server/tools/reposTagsDelete.js +73 -0
  25. package/dist/commonjs/mcp-server/tools/reposTagsDelete.js.map +1 -0
  26. package/dist/commonjs/mcp-server/tools/reposTagsList.d.ts +8 -0
  27. package/dist/commonjs/mcp-server/tools/reposTagsList.d.ts.map +1 -0
  28. package/dist/commonjs/mcp-server/tools/reposTagsList.js +79 -0
  29. package/dist/commonjs/mcp-server/tools/reposTagsList.js.map +1 -0
  30. package/dist/commonjs/mcp-server/tools/reposUpdate.d.ts.map +1 -1
  31. package/dist/commonjs/mcp-server/tools/reposUpdate.js +7 -4
  32. package/dist/commonjs/mcp-server/tools/reposUpdate.js.map +1 -1
  33. package/dist/commonjs/models/components/index.d.ts +2 -0
  34. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  35. package/dist/commonjs/models/components/index.js +2 -0
  36. package/dist/commonjs/models/components/index.js.map +1 -1
  37. package/dist/commonjs/models/components/repo.d.ts +11 -0
  38. package/dist/commonjs/models/components/repo.d.ts.map +1 -1
  39. package/dist/commonjs/models/components/repo.js +2 -0
  40. package/dist/commonjs/models/components/repo.js.map +1 -1
  41. package/dist/commonjs/models/components/repotag.d.ts +42 -0
  42. package/dist/commonjs/models/components/repotag.d.ts.map +1 -0
  43. package/dist/commonjs/models/components/repotag.js +77 -0
  44. package/dist/commonjs/models/components/repotag.js.map +1 -0
  45. package/dist/commonjs/models/components/repotaglist.d.ts +29 -0
  46. package/dist/commonjs/models/components/repotaglist.d.ts.map +1 -0
  47. package/dist/commonjs/models/components/repotaglist.js +61 -0
  48. package/dist/commonjs/models/components/repotaglist.js.map +1 -0
  49. package/dist/commonjs/models/operations/deleterepotag.d.ts +35 -0
  50. package/dist/commonjs/models/operations/deleterepotag.d.ts.map +1 -0
  51. package/dist/commonjs/models/operations/deleterepotag.js +73 -0
  52. package/dist/commonjs/models/operations/deleterepotag.js.map +1 -0
  53. package/dist/commonjs/models/operations/index.d.ts +2 -0
  54. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  55. package/dist/commonjs/models/operations/index.js +2 -0
  56. package/dist/commonjs/models/operations/index.js.map +1 -1
  57. package/dist/commonjs/models/operations/listrepotags.d.ts +30 -0
  58. package/dist/commonjs/models/operations/listrepotags.d.ts.map +1 -0
  59. package/dist/commonjs/models/operations/listrepotags.js +71 -0
  60. package/dist/commonjs/models/operations/listrepotags.js.map +1 -0
  61. package/dist/commonjs/react-query/index.d.ts +2 -0
  62. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  63. package/dist/commonjs/react-query/index.js +2 -0
  64. package/dist/commonjs/react-query/index.js.map +1 -1
  65. package/dist/commonjs/react-query/reposTagsDelete.d.ts +38 -0
  66. package/dist/commonjs/react-query/reposTagsDelete.d.ts.map +1 -0
  67. package/dist/commonjs/react-query/reposTagsDelete.js +56 -0
  68. package/dist/commonjs/react-query/reposTagsDelete.js.map +1 -0
  69. package/dist/commonjs/react-query/reposTagsList.core.d.ts +15 -0
  70. package/dist/commonjs/react-query/reposTagsList.core.d.ts.map +1 -0
  71. package/dist/commonjs/react-query/reposTagsList.core.js +36 -0
  72. package/dist/commonjs/react-query/reposTagsList.core.js.map +1 -0
  73. package/dist/commonjs/react-query/reposTagsList.d.ts +69 -0
  74. package/dist/commonjs/react-query/reposTagsList.d.ts.map +1 -0
  75. package/dist/commonjs/react-query/reposTagsList.js +88 -0
  76. package/dist/commonjs/react-query/reposTagsList.js.map +1 -0
  77. package/dist/commonjs/react-query/reposUpdate.d.ts +7 -4
  78. package/dist/commonjs/react-query/reposUpdate.d.ts.map +1 -1
  79. package/dist/commonjs/react-query/reposUpdate.js +7 -4
  80. package/dist/commonjs/react-query/reposUpdate.js.map +1 -1
  81. package/dist/commonjs/sdk/repos.d.ts +10 -4
  82. package/dist/commonjs/sdk/repos.d.ts.map +1 -1
  83. package/dist/commonjs/sdk/repos.js +11 -4
  84. package/dist/commonjs/sdk/repos.js.map +1 -1
  85. package/dist/commonjs/sdk/tags.d.ts +43 -0
  86. package/dist/commonjs/sdk/tags.d.ts.map +1 -0
  87. package/dist/commonjs/sdk/tags.js +55 -0
  88. package/dist/commonjs/sdk/tags.js.map +1 -0
  89. package/dist/esm/funcs/reposTagsDelete.d.ts +29 -0
  90. package/dist/esm/funcs/reposTagsDelete.d.ts.map +1 -0
  91. package/dist/esm/funcs/reposTagsDelete.js +119 -0
  92. package/dist/esm/funcs/reposTagsDelete.js.map +1 -0
  93. package/dist/esm/funcs/reposTagsList.d.ts +35 -0
  94. package/dist/esm/funcs/reposTagsList.d.ts.map +1 -0
  95. package/dist/esm/funcs/reposTagsList.js +120 -0
  96. package/dist/esm/funcs/reposTagsList.js.map +1 -0
  97. package/dist/esm/funcs/reposUpdate.d.ts +7 -4
  98. package/dist/esm/funcs/reposUpdate.d.ts.map +1 -1
  99. package/dist/esm/funcs/reposUpdate.js +7 -4
  100. package/dist/esm/funcs/reposUpdate.js.map +1 -1
  101. package/dist/esm/lib/config.d.ts +3 -3
  102. package/dist/esm/lib/config.js +3 -3
  103. package/dist/esm/mcp-server/mcp-server.js +1 -1
  104. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  105. package/dist/esm/mcp-server/server.js +5 -1
  106. package/dist/esm/mcp-server/server.js.map +1 -1
  107. package/dist/esm/mcp-server/tools/reposTagsDelete.d.ts +8 -0
  108. package/dist/esm/mcp-server/tools/reposTagsDelete.d.ts.map +1 -0
  109. package/dist/esm/mcp-server/tools/reposTagsDelete.js +37 -0
  110. package/dist/esm/mcp-server/tools/reposTagsDelete.js.map +1 -0
  111. package/dist/esm/mcp-server/tools/reposTagsList.d.ts +8 -0
  112. package/dist/esm/mcp-server/tools/reposTagsList.d.ts.map +1 -0
  113. package/dist/esm/mcp-server/tools/reposTagsList.js +43 -0
  114. package/dist/esm/mcp-server/tools/reposTagsList.js.map +1 -0
  115. package/dist/esm/mcp-server/tools/reposUpdate.d.ts.map +1 -1
  116. package/dist/esm/mcp-server/tools/reposUpdate.js +7 -4
  117. package/dist/esm/mcp-server/tools/reposUpdate.js.map +1 -1
  118. package/dist/esm/models/components/index.d.ts +2 -0
  119. package/dist/esm/models/components/index.d.ts.map +1 -1
  120. package/dist/esm/models/components/index.js +2 -0
  121. package/dist/esm/models/components/index.js.map +1 -1
  122. package/dist/esm/models/components/repo.d.ts +11 -0
  123. package/dist/esm/models/components/repo.d.ts.map +1 -1
  124. package/dist/esm/models/components/repo.js +2 -0
  125. package/dist/esm/models/components/repo.js.map +1 -1
  126. package/dist/esm/models/components/repotag.d.ts +42 -0
  127. package/dist/esm/models/components/repotag.d.ts.map +1 -0
  128. package/dist/esm/models/components/repotag.js +39 -0
  129. package/dist/esm/models/components/repotag.js.map +1 -0
  130. package/dist/esm/models/components/repotaglist.d.ts +29 -0
  131. package/dist/esm/models/components/repotaglist.d.ts.map +1 -0
  132. package/dist/esm/models/components/repotaglist.js +23 -0
  133. package/dist/esm/models/components/repotaglist.js.map +1 -0
  134. package/dist/esm/models/operations/deleterepotag.d.ts +35 -0
  135. package/dist/esm/models/operations/deleterepotag.d.ts.map +1 -0
  136. package/dist/esm/models/operations/deleterepotag.js +35 -0
  137. package/dist/esm/models/operations/deleterepotag.js.map +1 -0
  138. package/dist/esm/models/operations/index.d.ts +2 -0
  139. package/dist/esm/models/operations/index.d.ts.map +1 -1
  140. package/dist/esm/models/operations/index.js +2 -0
  141. package/dist/esm/models/operations/index.js.map +1 -1
  142. package/dist/esm/models/operations/listrepotags.d.ts +30 -0
  143. package/dist/esm/models/operations/listrepotags.d.ts.map +1 -0
  144. package/dist/esm/models/operations/listrepotags.js +33 -0
  145. package/dist/esm/models/operations/listrepotags.js.map +1 -0
  146. package/dist/esm/react-query/index.d.ts +2 -0
  147. package/dist/esm/react-query/index.d.ts.map +1 -1
  148. package/dist/esm/react-query/index.js +2 -0
  149. package/dist/esm/react-query/index.js.map +1 -1
  150. package/dist/esm/react-query/reposTagsDelete.d.ts +38 -0
  151. package/dist/esm/react-query/reposTagsDelete.d.ts.map +1 -0
  152. package/dist/esm/react-query/reposTagsDelete.js +51 -0
  153. package/dist/esm/react-query/reposTagsDelete.js.map +1 -0
  154. package/dist/esm/react-query/reposTagsList.core.d.ts +15 -0
  155. package/dist/esm/react-query/reposTagsList.core.d.ts.map +1 -0
  156. package/dist/esm/react-query/reposTagsList.core.js +31 -0
  157. package/dist/esm/react-query/reposTagsList.core.js.map +1 -0
  158. package/dist/esm/react-query/reposTagsList.d.ts +69 -0
  159. package/dist/esm/react-query/reposTagsList.d.ts.map +1 -0
  160. package/dist/esm/react-query/reposTagsList.js +78 -0
  161. package/dist/esm/react-query/reposTagsList.js.map +1 -0
  162. package/dist/esm/react-query/reposUpdate.d.ts +7 -4
  163. package/dist/esm/react-query/reposUpdate.d.ts.map +1 -1
  164. package/dist/esm/react-query/reposUpdate.js +7 -4
  165. package/dist/esm/react-query/reposUpdate.js.map +1 -1
  166. package/dist/esm/sdk/repos.d.ts +10 -4
  167. package/dist/esm/sdk/repos.d.ts.map +1 -1
  168. package/dist/esm/sdk/repos.js +11 -4
  169. package/dist/esm/sdk/repos.js.map +1 -1
  170. package/dist/esm/sdk/tags.d.ts +43 -0
  171. package/dist/esm/sdk/tags.d.ts.map +1 -0
  172. package/dist/esm/sdk/tags.js +51 -0
  173. package/dist/esm/sdk/tags.js.map +1 -0
  174. package/jsr.json +1 -1
  175. package/package.json +1 -1
  176. package/src/funcs/reposTagsDelete.ts +212 -0
  177. package/src/funcs/reposTagsList.ts +213 -0
  178. package/src/funcs/reposUpdate.ts +7 -4
  179. package/src/lib/config.ts +3 -3
  180. package/src/mcp-server/mcp-server.ts +1 -1
  181. package/src/mcp-server/server.ts +5 -1
  182. package/src/mcp-server/tools/reposTagsDelete.ts +45 -0
  183. package/src/mcp-server/tools/reposTagsList.ts +52 -0
  184. package/src/mcp-server/tools/reposUpdate.ts +7 -4
  185. package/src/models/components/index.ts +2 -0
  186. package/src/models/components/repo.ts +13 -0
  187. package/src/models/components/repotag.ts +90 -0
  188. package/src/models/components/repotaglist.ts +66 -0
  189. package/src/models/operations/deleterepotag.ts +84 -0
  190. package/src/models/operations/index.ts +2 -0
  191. package/src/models/operations/listrepotags.ts +77 -0
  192. package/src/react-query/index.ts +2 -0
  193. package/src/react-query/reposTagsDelete.ts +119 -0
  194. package/src/react-query/reposTagsList.core.ts +75 -0
  195. package/src/react-query/reposTagsList.ts +167 -0
  196. package/src/react-query/reposUpdate.ts +7 -4
  197. package/src/sdk/repos.ts +13 -4
  198. package/src/sdk/tags.ts +69 -0
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import { useMutation, } from "@tanstack/react-query";
5
+ import { reposTagsDelete } from "../funcs/reposTagsDelete.js";
6
+ import { combineSignals } from "../lib/primitives.js";
7
+ import { unwrapAsync } from "../types/fp.js";
8
+ import { useSDKContext } from "./_context.js";
9
+ /**
10
+ * Delete an image tag
11
+ *
12
+ * @remarks
13
+ * Removes one tag; org owner/admin only (`write:repos` for a key). The
14
+ * same untag as the registry's `DELETE /v2/{org}/{name}/manifests/{tag}`:
15
+ * the name goes and the image stays, reachable by digest and by any
16
+ * other tag that names it.
17
+ *
18
+ * What makes a repository convertible afterwards is the kind switch
19
+ * itself: `PATCH` to another `kind` first collects every image no tag
20
+ * reaches (a multi-arch index's per-platform images included) and is
21
+ * refused with `409 kind_has_content` only for images a tag still
22
+ * names. So delete the tags the listing shows, then switch.
23
+ */
24
+ export function useReposTagsDeleteMutation(options) {
25
+ const client = useSDKContext();
26
+ return useMutation({
27
+ ...buildReposTagsDeleteMutation(client, options),
28
+ ...options,
29
+ });
30
+ }
31
+ export function mutationKeyReposTagsDelete() {
32
+ return ["@meetkai/mka1", "tags", "delete"];
33
+ }
34
+ export function buildReposTagsDeleteMutation(client$, hookOptions) {
35
+ return {
36
+ mutationKey: mutationKeyReposTagsDelete(),
37
+ mutationFn: function reposTagsDeleteMutationFn({ request, options, }) {
38
+ const mergedOptions = {
39
+ ...hookOptions,
40
+ ...options,
41
+ fetchOptions: {
42
+ ...hookOptions?.fetchOptions,
43
+ ...options?.fetchOptions,
44
+ signal: combineSignals(hookOptions?.fetchOptions?.signal, options?.fetchOptions?.signal),
45
+ },
46
+ };
47
+ return unwrapAsync(reposTagsDelete(client$, request, mergedOptions));
48
+ },
49
+ };
50
+ }
51
+ //# sourceMappingURL=reposTagsDelete.js.map
@@ -0,0 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}
@@ -0,0 +1,15 @@
1
+ import { QueryClient, QueryFunctionContext, QueryKey } from "@tanstack/react-query";
2
+ import { SDKCore } from "../core.js";
3
+ import { RequestOptions } from "../lib/sdks.js";
4
+ import * as components from "../models/components/index.js";
5
+ import * as operations from "../models/operations/index.js";
6
+ export type ReposTagsListQueryData = components.RepoTagList;
7
+ export declare function prefetchReposTagsList(queryClient: QueryClient, client$: SDKCore, request: operations.ListRepoTagsRequest, options?: RequestOptions): Promise<void>;
8
+ export declare function buildReposTagsListQuery(client$: SDKCore, request: operations.ListRepoTagsRequest, options?: RequestOptions): {
9
+ queryKey: QueryKey;
10
+ queryFn: (context: QueryFunctionContext) => Promise<ReposTagsListQueryData>;
11
+ };
12
+ export declare function queryKeyReposTagsList(org: string, name: string, parameters: {
13
+ xOnBehalfOf?: string | undefined;
14
+ }): QueryKey;
15
+ //# sourceMappingURL=reposTagsList.core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reposTagsList.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposTagsList.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,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,WAAW,CAAC;AAE5D,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,OAAO,CAAC,sBAAsB,CAAC,CAAC;CAC7E,CA0BA;AAED,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC/C,QAAQ,CAEV"}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import { reposTagsList } from "../funcs/reposTagsList.js";
5
+ import { combineSignals } from "../lib/primitives.js";
6
+ import { unwrapAsync } from "../types/fp.js";
7
+ export function prefetchReposTagsList(queryClient, client$, request, options) {
8
+ return queryClient.prefetchQuery({
9
+ ...buildReposTagsListQuery(client$, request, options),
10
+ });
11
+ }
12
+ export function buildReposTagsListQuery(client$, request, options) {
13
+ return {
14
+ queryKey: queryKeyReposTagsList(request.org, request.name, {
15
+ xOnBehalfOf: request.xOnBehalfOf,
16
+ }),
17
+ queryFn: async function reposTagsListQueryFn(ctx) {
18
+ const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
19
+ const mergedOptions = {
20
+ ...options?.fetchOptions,
21
+ ...options,
22
+ signal: sig,
23
+ };
24
+ return unwrapAsync(reposTagsList(client$, request, mergedOptions));
25
+ },
26
+ };
27
+ }
28
+ export function queryKeyReposTagsList(org, name, parameters) {
29
+ return ["@meetkai/mka1", "tags", "list", org, name, parameters];
30
+ }
31
+ //# sourceMappingURL=reposTagsList.core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reposTagsList.core.js","sourceRoot":"","sources":["../../../src/react-query/reposTagsList.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,qBAAqB,CACnC,WAAwB,EACxB,OAAgB,EAChB,OAAuC,EACvC,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,uBAAuB,CACxB,OAAO,EACP,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,OAAgB,EAChB,OAAuC,EACvC,OAAwB;IAKxB,OAAO;QACL,QAAQ,EAAE,qBAAqB,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,IAAI,EAAE;YACzD,WAAW,EAAE,OAAO,CAAC,WAAW;SACjC,CAAC;QACF,OAAO,EAAE,KAAK,UAAU,oBAAoB,CAC1C,GAAG;YAEH,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,aAAa,CAC9B,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,qBAAqB,CACnC,GAAW,EACX,IAAY,EACZ,UAAgD;IAEhD,OAAO,CAAC,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,69 @@
1
+ import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
2
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
3
+ import * as errors from "../models/errors/index.js";
4
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
5
+ import { SDKError } from "../models/errors/sdkerror.js";
6
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
+ import * as operations from "../models/operations/index.js";
8
+ import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
9
+ import { buildReposTagsListQuery, prefetchReposTagsList, queryKeyReposTagsList, ReposTagsListQueryData } from "./reposTagsList.core.js";
10
+ export { buildReposTagsListQuery, prefetchReposTagsList, queryKeyReposTagsList, type ReposTagsListQueryData, };
11
+ export type ReposTagsListQueryError = errors.RepoError | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
12
+ /**
13
+ * List an image repository's tags
14
+ *
15
+ * @remarks
16
+ * Lists the container-image tags a repository holds, newest-moved first,
17
+ * each with the manifest it points at, the manifest's media type, the
18
+ * image's declared size and when the tag last moved. The same access
19
+ * check as reading the repository (org owner/admin; `read:repos` for a
20
+ * key).
21
+ *
22
+ * It is a fact about what the repository HOLDS, not about its `kind`:
23
+ * a `model` lists `[]`, and a legacy `kind: null` repository that still
24
+ * holds images lists them — those are the tags a `409 kind_has_content`
25
+ * on PATCH is about, and deleting them through this API is what makes
26
+ * that PATCH go through.
27
+ *
28
+ * One page, of at most 1000 tags; `truncated` says whether the
29
+ * repository holds more. The registry's own `GET /v2/{org}/{name}/tags/list`
30
+ * is the paginated, names-only listing every OCI client speaks.
31
+ */
32
+ export declare function useReposTagsList(request: operations.ListRepoTagsRequest, options?: QueryHookOptions<ReposTagsListQueryData, ReposTagsListQueryError>): UseQueryResult<ReposTagsListQueryData, ReposTagsListQueryError>;
33
+ /**
34
+ * List an image repository's tags
35
+ *
36
+ * @remarks
37
+ * Lists the container-image tags a repository holds, newest-moved first,
38
+ * each with the manifest it points at, the manifest's media type, the
39
+ * image's declared size and when the tag last moved. The same access
40
+ * check as reading the repository (org owner/admin; `read:repos` for a
41
+ * key).
42
+ *
43
+ * It is a fact about what the repository HOLDS, not about its `kind`:
44
+ * a `model` lists `[]`, and a legacy `kind: null` repository that still
45
+ * holds images lists them — those are the tags a `409 kind_has_content`
46
+ * on PATCH is about, and deleting them through this API is what makes
47
+ * that PATCH go through.
48
+ *
49
+ * One page, of at most 1000 tags; `truncated` says whether the
50
+ * repository holds more. The registry's own `GET /v2/{org}/{name}/tags/list`
51
+ * is the paginated, names-only listing every OCI client speaks.
52
+ */
53
+ export declare function useReposTagsListSuspense(request: operations.ListRepoTagsRequest, options?: SuspenseQueryHookOptions<ReposTagsListQueryData, ReposTagsListQueryError>): UseSuspenseQueryResult<ReposTagsListQueryData, ReposTagsListQueryError>;
54
+ export declare function setReposTagsListData(client: QueryClient, queryKeyBase: [
55
+ org: string,
56
+ name: string,
57
+ parameters: {
58
+ xOnBehalfOf?: string | undefined;
59
+ }
60
+ ], data: ReposTagsListQueryData): ReposTagsListQueryData | undefined;
61
+ export declare function invalidateReposTagsList(client: QueryClient, queryKeyBase: TupleToPrefixes<[
62
+ org: string,
63
+ name: string,
64
+ parameters: {
65
+ xOnBehalfOf?: string | undefined;
66
+ }
67
+ ]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
68
+ export declare function invalidateAllReposTagsList(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
69
+ //# sourceMappingURL=reposTagsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reposTagsList.d.ts","sourceRoot":"","sources":["../../../src/react-query/reposTagsList.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,mBA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G,EAAE,MAAM;IACX,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CACjD,EACD,IAAI,EAAE,sBAAsB,GAC3B,sBAAsB,GAAG,SAAS,CAIpC;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IACE,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CACjD,CACF,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf"}
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import { useQuery, useSuspenseQuery, } from "@tanstack/react-query";
5
+ import { useSDKContext } from "./_context.js";
6
+ import { buildReposTagsListQuery, prefetchReposTagsList, queryKeyReposTagsList, } from "./reposTagsList.core.js";
7
+ export { buildReposTagsListQuery, prefetchReposTagsList, queryKeyReposTagsList, };
8
+ /**
9
+ * List an image repository's tags
10
+ *
11
+ * @remarks
12
+ * Lists the container-image tags a repository holds, newest-moved first,
13
+ * each with the manifest it points at, the manifest's media type, the
14
+ * image's declared size and when the tag last moved. The same access
15
+ * check as reading the repository (org owner/admin; `read:repos` for a
16
+ * key).
17
+ *
18
+ * It is a fact about what the repository HOLDS, not about its `kind`:
19
+ * a `model` lists `[]`, and a legacy `kind: null` repository that still
20
+ * holds images lists them — those are the tags a `409 kind_has_content`
21
+ * on PATCH is about, and deleting them through this API is what makes
22
+ * that PATCH go through.
23
+ *
24
+ * One page, of at most 1000 tags; `truncated` says whether the
25
+ * repository holds more. The registry's own `GET /v2/{org}/{name}/tags/list`
26
+ * is the paginated, names-only listing every OCI client speaks.
27
+ */
28
+ export function useReposTagsList(request, options) {
29
+ const client = useSDKContext();
30
+ return useQuery({
31
+ ...buildReposTagsListQuery(client, request, options),
32
+ ...options,
33
+ });
34
+ }
35
+ /**
36
+ * List an image repository's tags
37
+ *
38
+ * @remarks
39
+ * Lists the container-image tags a repository holds, newest-moved first,
40
+ * each with the manifest it points at, the manifest's media type, the
41
+ * image's declared size and when the tag last moved. The same access
42
+ * check as reading the repository (org owner/admin; `read:repos` for a
43
+ * key).
44
+ *
45
+ * It is a fact about what the repository HOLDS, not about its `kind`:
46
+ * a `model` lists `[]`, and a legacy `kind: null` repository that still
47
+ * holds images lists them — those are the tags a `409 kind_has_content`
48
+ * on PATCH is about, and deleting them through this API is what makes
49
+ * that PATCH go through.
50
+ *
51
+ * One page, of at most 1000 tags; `truncated` says whether the
52
+ * repository holds more. The registry's own `GET /v2/{org}/{name}/tags/list`
53
+ * is the paginated, names-only listing every OCI client speaks.
54
+ */
55
+ export function useReposTagsListSuspense(request, options) {
56
+ const client = useSDKContext();
57
+ return useSuspenseQuery({
58
+ ...buildReposTagsListQuery(client, request, options),
59
+ ...options,
60
+ });
61
+ }
62
+ export function setReposTagsListData(client, queryKeyBase, data) {
63
+ const key = queryKeyReposTagsList(...queryKeyBase);
64
+ return client.setQueryData(key, data);
65
+ }
66
+ export function invalidateReposTagsList(client, queryKeyBase, filters) {
67
+ return client.invalidateQueries({
68
+ ...filters,
69
+ queryKey: ["@meetkai/mka1", "tags", "list", ...queryKeyBase],
70
+ });
71
+ }
72
+ export function invalidateAllReposTagsList(client, filters) {
73
+ return client.invalidateQueries({
74
+ ...filters,
75
+ queryKey: ["@meetkai/mka1", "tags", "list"],
76
+ });
77
+ }
78
+ //# sourceMappingURL=reposTagsList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reposTagsList.js","sourceRoot":"","sources":["../../../src/react-query/reposTagsList.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAGL,QAAQ,EAER,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;AAa/B,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAM9C,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,GAEtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,GAEtB,CAAC;AAaF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAuC,EACvC,OAA2E;IAE3E,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,QAAQ,CAAC;QACd,GAAG,uBAAuB,CACxB,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,wBAAwB,CACtC,OAAuC,EACvC,OAGC;IAED,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,OAAO,gBAAgB,CAAC;QACtB,GAAG,uBAAuB,CACxB,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,MAAmB,EACnB,YAIC,EACD,IAA4B;IAE5B,MAAM,GAAG,GAAG,qBAAqB,CAAC,GAAG,YAAY,CAAC,CAAC;IAEnD,OAAO,MAAM,CAAC,YAAY,CAAyB,GAAG,EAAE,IAAI,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,MAAmB,EACnB,YAMC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC;KAC7D,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,MAAM,CAAC;KAC5C,CAAC,CAAC;AACL,CAAC"}
@@ -27,10 +27,13 @@ export type ReposUpdateMutationError = errors.RepoError | SDKError | ResponseVal
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
- * 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.
30
+ * whose container images are still named by a tag can be given no
31
+ * other kind — leaving `image`, or typing a legacy `null` row as
32
+ * anything else, is refused with `409 kind_has_content` (list and
33
+ * delete the tags through this API first). A switch away from `image`
34
+ * collects every image no tag reaches before it is judged, so an image
35
+ * only ever pushed by digest, or untagged through the registry, never
36
+ * blocks it. A kind is never un-set.
34
37
  */
35
38
  export declare function useReposUpdateMutation(options?: MutationHookOptions<ReposUpdateMutationData, ReposUpdateMutationError, ReposUpdateMutationVariables>): UseMutationResult<ReposUpdateMutationData, ReposUpdateMutationError, ReposUpdateMutationVariables>;
36
39
  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,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,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"}
@@ -18,10 +18,13 @@ import { useSDKContext } from "./_context.js";
18
18
  * protocol planes never change it): it types a legacy `kind: null`
19
19
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
20
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.
21
+ * whose container images are still named by a tag can be given no
22
+ * other kind — leaving `image`, or typing a legacy `null` row as
23
+ * anything else, is refused with `409 kind_has_content` (list and
24
+ * delete the tags through this API first). A switch away from `image`
25
+ * collects every image no tag reaches before it is judged, so an image
26
+ * only ever pushed by digest, or untagged through the registry, never
27
+ * blocks it. A kind is never un-set.
25
28
  */
26
29
  export function useReposUpdateMutation(options) {
27
30
  const client = useSDKContext();
@@ -1 +1 @@
1
- {"version":3,"file":"reposUpdate.js","sourceRoot":"","sources":["../../../src/react-query/reposUpdate.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;;;;;;;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;;;;;;;GAmBG;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,7 +1,10 @@
1
1
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
2
  import * as components from "../models/components/index.js";
3
3
  import * as operations from "../models/operations/index.js";
4
+ import { Tags } from "./tags.js";
4
5
  export declare class Repos extends ClientSDK {
6
+ private _tags?;
7
+ get tags(): Tags;
5
8
  /**
6
9
  * List the caller's org's repositories
7
10
  *
@@ -51,10 +54,13 @@ export declare class Repos extends ClientSDK {
51
54
  * protocol planes never change it): it types a legacy `kind: null`
52
55
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
53
56
  * 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.
57
+ * whose container images are still named by a tag can be given no
58
+ * other kind — leaving `image`, or typing a legacy `null` row as
59
+ * anything else, is refused with `409 kind_has_content` (list and
60
+ * delete the tags through this API first). A switch away from `image`
61
+ * collects every image no tag reaches before it is judged, so an image
62
+ * only ever pushed by digest, or untagged through the registry, never
63
+ * blocks it. A kind is never un-set.
58
64
  */
59
65
  update(request: operations.PatchRepoRequest, options?: RequestOptions): Promise<components.Repo>;
60
66
  }
@@ -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;;;;;;;;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;;;;;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AI,CAAC;CAO5B"}
@@ -8,7 +8,11 @@ import { reposList } from "../funcs/reposList.js";
8
8
  import { reposUpdate } from "../funcs/reposUpdate.js";
9
9
  import { ClientSDK } from "../lib/sdks.js";
10
10
  import { unwrapAsync } from "../types/fp.js";
11
+ import { Tags } from "./tags.js";
11
12
  export class Repos extends ClientSDK {
13
+ get tags() {
14
+ return (this._tags ?? (this._tags = new Tags(this._options)));
15
+ }
12
16
  /**
13
17
  * List the caller's org's repositories
14
18
  *
@@ -66,10 +70,13 @@ export class Repos extends ClientSDK {
66
70
  * protocol planes never change it): it types a legacy `kind: null`
67
71
  * repository and corrects a wrong kind. `repo`, `model` and `dataset`
68
72
  * 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.
73
+ * whose container images are still named by a tag can be given no
74
+ * other kind — leaving `image`, or typing a legacy `null` row as
75
+ * anything else, is refused with `409 kind_has_content` (list and
76
+ * delete the tags through this API first). A switch away from `image`
77
+ * collects every image no tag reaches before it is judged, so an image
78
+ * only ever pushed by digest, or untagged through the registry, never
79
+ * blocks it. A kind is never un-set.
73
80
  */
74
81
  async update(request, options) {
75
82
  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;AAG3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js";
2
+ import * as components from "../models/components/index.js";
3
+ import * as operations from "../models/operations/index.js";
4
+ export declare class Tags extends ClientSDK {
5
+ /**
6
+ * List an image repository's tags
7
+ *
8
+ * @remarks
9
+ * Lists the container-image tags a repository holds, newest-moved first,
10
+ * each with the manifest it points at, the manifest's media type, the
11
+ * image's declared size and when the tag last moved. The same access
12
+ * check as reading the repository (org owner/admin; `read:repos` for a
13
+ * key).
14
+ *
15
+ * It is a fact about what the repository HOLDS, not about its `kind`:
16
+ * a `model` lists `[]`, and a legacy `kind: null` repository that still
17
+ * holds images lists them — those are the tags a `409 kind_has_content`
18
+ * on PATCH is about, and deleting them through this API is what makes
19
+ * that PATCH go through.
20
+ *
21
+ * One page, of at most 1000 tags; `truncated` says whether the
22
+ * repository holds more. The registry's own `GET /v2/{org}/{name}/tags/list`
23
+ * is the paginated, names-only listing every OCI client speaks.
24
+ */
25
+ list(request: operations.ListRepoTagsRequest, options?: RequestOptions): Promise<components.RepoTagList>;
26
+ /**
27
+ * Delete an image tag
28
+ *
29
+ * @remarks
30
+ * Removes one tag; org owner/admin only (`write:repos` for a key). The
31
+ * same untag as the registry's `DELETE /v2/{org}/{name}/manifests/{tag}`:
32
+ * the name goes and the image stays, reachable by digest and by any
33
+ * other tag that names it.
34
+ *
35
+ * What makes a repository convertible afterwards is the kind switch
36
+ * itself: `PATCH` to another `kind` first collects every image no tag
37
+ * reaches (a multi-arch index's per-platform images included) and is
38
+ * refused with `409 kind_has_content` only for images a tag still
39
+ * names. So delete the tags the listing shows, then switch.
40
+ */
41
+ delete(request: operations.DeleteRepoTagRequest, options?: RequestOptions): Promise<void>;
42
+ }
43
+ //# sourceMappingURL=tags.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/sdk/tags.ts"],"names":[],"mappings":"AAMA,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,IAAK,SAAQ,SAAS;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,mBAAmB,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC;IAQlC;;;;;;;;;;;;;;OAcG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;CAOjB"}
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import { reposTagsDelete } from "../funcs/reposTagsDelete.js";
5
+ import { reposTagsList } from "../funcs/reposTagsList.js";
6
+ import { ClientSDK } from "../lib/sdks.js";
7
+ import { unwrapAsync } from "../types/fp.js";
8
+ export class Tags extends ClientSDK {
9
+ /**
10
+ * List an image repository's tags
11
+ *
12
+ * @remarks
13
+ * Lists the container-image tags a repository holds, newest-moved first,
14
+ * each with the manifest it points at, the manifest's media type, the
15
+ * image's declared size and when the tag last moved. The same access
16
+ * check as reading the repository (org owner/admin; `read:repos` for a
17
+ * key).
18
+ *
19
+ * It is a fact about what the repository HOLDS, not about its `kind`:
20
+ * a `model` lists `[]`, and a legacy `kind: null` repository that still
21
+ * holds images lists them — those are the tags a `409 kind_has_content`
22
+ * on PATCH is about, and deleting them through this API is what makes
23
+ * that PATCH go through.
24
+ *
25
+ * One page, of at most 1000 tags; `truncated` says whether the
26
+ * repository holds more. The registry's own `GET /v2/{org}/{name}/tags/list`
27
+ * is the paginated, names-only listing every OCI client speaks.
28
+ */
29
+ async list(request, options) {
30
+ return unwrapAsync(reposTagsList(this, request, options));
31
+ }
32
+ /**
33
+ * Delete an image tag
34
+ *
35
+ * @remarks
36
+ * Removes one tag; org owner/admin only (`write:repos` for a key). The
37
+ * same untag as the registry's `DELETE /v2/{org}/{name}/manifests/{tag}`:
38
+ * the name goes and the image stays, reachable by digest and by any
39
+ * other tag that names it.
40
+ *
41
+ * What makes a repository convertible afterwards is the kind switch
42
+ * itself: `PATCH` to another `kind` first collects every image no tag
43
+ * reaches (a multi-arch index's per-platform images included) and is
44
+ * refused with `409 kind_has_content` only for images a tag still
45
+ * names. So delete the tags the listing shows, then switch.
46
+ */
47
+ async delete(request, options) {
48
+ return unwrapAsync(reposTagsDelete(this, request, options));
49
+ }
50
+ }
51
+ //# sourceMappingURL=tags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.js","sourceRoot":"","sources":["../../../src/sdk/tags.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,IAAI,CACR,OAAuC,EACvC,OAAwB;QAExB,OAAO,WAAW,CAAC,aAAa,CAC9B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,MAAM,CACV,OAAwC,EACxC,OAAwB;QAExB,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@meetkai/mka1",
5
- "version": "0.54.50",
5
+ "version": "0.54.51",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetkai/mka1",
3
- "version": "0.54.50",
3
+ "version": "0.54.51",
4
4
  "author": "Daniel Wilder <dauncy@gmail.com>",
5
5
  "homepage": "https://docs.mka1.com",
6
6
  "publishConfig": {