mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update dependency @rtk-query/codegen-openapi to v2 (#98135)
* Update dependency @rtk-query/codegen-openapi to v2 * update cloud migration generated endpoints --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
parent
5aabc0781c
commit
59f71566df
@ -90,7 +90,7 @@
|
||||
"@react-types/overlays": "3.8.11",
|
||||
"@react-types/shared": "3.26.0",
|
||||
"@rsdoctor/webpack-plugin": "^0.4.6",
|
||||
"@rtk-query/codegen-openapi": "^1.2.0",
|
||||
"@rtk-query/codegen-openapi": "^2.0.0",
|
||||
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
|
||||
"@stylistic/eslint-plugin-ts": "^2.9.0",
|
||||
"@swc/core": "1.10.1",
|
||||
|
@ -23,7 +23,10 @@ const injectedRtkApi = api.injectEndpoints({
|
||||
getSnapshot: build.query<GetSnapshotApiResponse, GetSnapshotApiArg>({
|
||||
query: (queryArg) => ({
|
||||
url: `/cloudmigration/migration/${queryArg.uid}/snapshot/${queryArg.snapshotUid}`,
|
||||
params: { resultPage: queryArg.resultPage, resultLimit: queryArg.resultLimit },
|
||||
params: {
|
||||
resultPage: queryArg.resultPage,
|
||||
resultLimit: queryArg.resultLimit,
|
||||
},
|
||||
}),
|
||||
}),
|
||||
cancelSnapshot: build.mutation<CancelSnapshotApiResponse, CancelSnapshotApiArg>({
|
||||
@ -41,7 +44,11 @@ const injectedRtkApi = api.injectEndpoints({
|
||||
getShapshotList: build.query<GetShapshotListApiResponse, GetShapshotListApiArg>({
|
||||
query: (queryArg) => ({
|
||||
url: `/cloudmigration/migration/${queryArg.uid}/snapshots`,
|
||||
params: { page: queryArg.page, limit: queryArg.limit, sort: queryArg.sort },
|
||||
params: {
|
||||
page: queryArg.page,
|
||||
limit: queryArg.limit,
|
||||
sort: queryArg.sort,
|
||||
},
|
||||
}),
|
||||
}),
|
||||
getCloudMigrationToken: build.query<GetCloudMigrationTokenApiResponse, GetCloudMigrationTokenApiArg>({
|
||||
@ -95,14 +102,14 @@ export type GetSnapshotApiArg = {
|
||||
/** UID of a snapshot */
|
||||
snapshotUid: string;
|
||||
};
|
||||
export type CancelSnapshotApiResponse = /** status 200 (empty) */ void;
|
||||
export type CancelSnapshotApiResponse = unknown;
|
||||
export type CancelSnapshotApiArg = {
|
||||
/** Session UID of a session */
|
||||
uid: string;
|
||||
/** UID of a snapshot */
|
||||
snapshotUid: string;
|
||||
};
|
||||
export type UploadSnapshotApiResponse = /** status 200 (empty) */ void;
|
||||
export type UploadSnapshotApiResponse = unknown;
|
||||
export type UploadSnapshotApiArg = {
|
||||
/** Session UID of a session */
|
||||
uid: string;
|
||||
@ -124,7 +131,7 @@ export type GetCloudMigrationTokenApiResponse = /** status 200 (empty) */ GetAcc
|
||||
export type GetCloudMigrationTokenApiArg = void;
|
||||
export type CreateCloudMigrationTokenApiResponse = /** status 200 (empty) */ CreateAccessTokenResponseDto;
|
||||
export type CreateCloudMigrationTokenApiArg = void;
|
||||
export type DeleteCloudMigrationTokenApiResponse = /** status 204 (empty) */ void;
|
||||
export type DeleteCloudMigrationTokenApiResponse = unknown;
|
||||
export type DeleteCloudMigrationTokenApiArg = {
|
||||
/** UID of a cloud migration token */
|
||||
uid: string;
|
||||
|
69
yarn.lock
69
yarn.lock
@ -6931,20 +6931,21 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@rtk-query/codegen-openapi@npm:^1.2.0":
|
||||
version: 1.2.0
|
||||
resolution: "@rtk-query/codegen-openapi@npm:1.2.0"
|
||||
"@rtk-query/codegen-openapi@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "@rtk-query/codegen-openapi@npm:2.0.0"
|
||||
dependencies:
|
||||
"@apidevtools/swagger-parser": "npm:^10.0.2"
|
||||
commander: "npm:^6.2.0"
|
||||
oazapfts: "npm:^4.8.0"
|
||||
prettier: "npm:^2.2.1"
|
||||
lodash.camelcase: "npm:^4.3.0"
|
||||
oazapfts: "npm:^6.1.0"
|
||||
prettier: "npm:^3.2.5"
|
||||
semver: "npm:^7.3.5"
|
||||
swagger2openapi: "npm:^7.0.4"
|
||||
typescript: "npm:^5.0.0"
|
||||
typescript: "npm:^5.5.4"
|
||||
bin:
|
||||
rtk-query-codegen-openapi: lib/bin/cli.js
|
||||
checksum: 10/74b5d68b40322e6f30fff3f0250bccf378e5408e24bb47c109ad31e3c45a53c99d67b0ea0685ab0abcfc2e598eec9bdfc94aee241b61049ac862b77bd9780518
|
||||
rtk-query-codegen-openapi: lib/bin/cli.mjs
|
||||
checksum: 10/c1dbab43e950c4defc1246034506c770a6a742aaf86a991c1cdbac0ac63cd2232c14bbe05d8c29421339b5e3aeb75740de3d709c5503f2af0b746e71b46caa87
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -17549,7 +17550,7 @@ __metadata:
|
||||
"@react-types/shared": "npm:3.26.0"
|
||||
"@reduxjs/toolkit": "npm:2.5.0"
|
||||
"@rsdoctor/webpack-plugin": "npm:^0.4.6"
|
||||
"@rtk-query/codegen-openapi": "npm:^1.2.0"
|
||||
"@rtk-query/codegen-openapi": "npm:^2.0.0"
|
||||
"@rtsao/plugin-proposal-class-properties": "npm:7.0.1-patch.1"
|
||||
"@stylistic/eslint-plugin-ts": "npm:^2.9.0"
|
||||
"@swc/core": "npm:1.10.1"
|
||||
@ -21129,6 +21130,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lodash.camelcase@npm:^4.3.0":
|
||||
version: 4.3.0
|
||||
resolution: "lodash.camelcase@npm:4.3.0"
|
||||
checksum: 10/c301cc379310441dc73cd6cebeb91fb254bea74e6ad3027f9346fc43b4174385153df420ffa521654e502fd34c40ef69ca4e7d40ee7129a99e06f306032bfc65
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lodash.debounce@npm:^4, lodash.debounce@npm:^4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "lodash.debounce@npm:4.0.8"
|
||||
@ -22898,18 +22906,21 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"oazapfts@npm:^4.8.0":
|
||||
version: 4.12.0
|
||||
resolution: "oazapfts@npm:4.12.0"
|
||||
"oazapfts@npm:^6.1.0":
|
||||
version: 6.1.0
|
||||
resolution: "oazapfts@npm:6.1.0"
|
||||
dependencies:
|
||||
"@apidevtools/swagger-parser": "npm:^10.1.0"
|
||||
lodash: "npm:^4.17.21"
|
||||
minimist: "npm:^1.2.8"
|
||||
swagger2openapi: "npm:^7.0.8"
|
||||
typescript: "npm:^5.2.2"
|
||||
tapable: "npm:^2.2.1"
|
||||
typescript: "npm:^5.4.5"
|
||||
peerDependencies:
|
||||
"@oazapfts/runtime": "*"
|
||||
bin:
|
||||
oazapfts: lib/codegen/cli.js
|
||||
checksum: 10/993d2cebfb2aab6178893e63039eda5968248684e02cf7e3df41e8fbc57d3a551c1c4a7b8bc3f1384f9a10557e9fd71717eeef8b1a38948a412ba46c5271f411
|
||||
oazapfts: cli.js
|
||||
checksum: 10/804c3936702acf66bb9bcff6bdcdce2708783b31c83262d7097fb04a53d3720d96114cec345408cbf3f933f9c5d198815457853a07362796c6a6d5db7a31d150
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -24370,7 +24381,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"prettier@npm:3.4.2, prettier@npm:^3.1.1":
|
||||
"prettier@npm:3.4.2, prettier@npm:^3.1.1, prettier@npm:^3.2.5":
|
||||
version: 3.4.2
|
||||
resolution: "prettier@npm:3.4.2"
|
||||
bin:
|
||||
@ -24379,7 +24390,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"prettier@npm:^2.2.1, prettier@npm:^2.3.2, prettier@npm:^2.8.7":
|
||||
"prettier@npm:^2.3.2, prettier@npm:^2.8.7":
|
||||
version: 2.8.8
|
||||
resolution: "prettier@npm:2.8.8"
|
||||
bin:
|
||||
@ -29718,7 +29729,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:5.5.4, typescript@npm:>=2.7, typescript@npm:>=3 < 6, typescript@npm:^5.0.0, typescript@npm:^5.0.4, typescript@npm:^5.2.2":
|
||||
"typescript@npm:5.5.4":
|
||||
version: 5.5.4
|
||||
resolution: "typescript@npm:5.5.4"
|
||||
bin:
|
||||
@ -29728,7 +29739,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A>=2.7#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.0.0#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.2.2#optional!builtin<compat/typescript>":
|
||||
"typescript@npm:>=2.7, typescript@npm:>=3 < 6, typescript@npm:^5.0.4, typescript@npm:^5.4.5, typescript@npm:^5.5.4":
|
||||
version: 5.7.2
|
||||
resolution: "typescript@npm:5.7.2"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/4caa3904df69db9d4a8bedc31bafc1e19ffb7b24fbde2997a1633ae1398d0de5bdbf8daf602ccf3b23faddf1aeeb9b795223a2ed9c9a4fdcaf07bfde114a401a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>":
|
||||
version: 5.5.4
|
||||
resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>::version=5.5.4&hash=379a07"
|
||||
bin:
|
||||
@ -29738,6 +29759,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A>=2.7#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.4.5#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.5.4#optional!builtin<compat/typescript>":
|
||||
version: 5.7.2
|
||||
resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin<compat/typescript>::version=5.7.2&hash=5786d5"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/d75ca10141afc64fd3474b41a8b082b640555bed388d237558aed64e5827ddadb48f90932c7f4205883f18f5bcab8b6a739a2cfac95855604b0dfeb34bc2f3eb
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ua-parser-js@npm:^1.0.32":
|
||||
version: 1.0.33
|
||||
resolution: "ua-parser-js@npm:1.0.33"
|
||||
|
Loading…
Reference in New Issue
Block a user