This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-1-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 447f2537bb80afbe353f24b67e0effeb8dc690c3 Author: Amogh Desai <[email protected]> AuthorDate: Tue Sep 23 18:11:53 2025 +0530 Regenerate the rest API spec to fix CI (#55986) (cherry picked from commit f932eac81f3cab986b43badafea71a336e2fced4) --- .../core_api/openapi/v2-rest-api-generated.yaml | 8 ++--- .../src/airflow/ui/openapi-gen/queries/queries.ts | 4 +-- .../ui/openapi-gen/requests/services.gen.ts | 4 +-- .../airflow/ui/openapi-gen/requests/types.gen.ts | 8 ++--- .../providers/edge3/openapi/v2-edge-generated.yaml | 20 +++--------- .../providers/edge3/plugins/www/dist/main.umd.cjs | 36 +++++++++++----------- .../www/openapi-gen/requests/services.gen.ts | 10 +++--- .../plugins/www/openapi-gen/requests/types.gen.ts | 20 ++++++------ providers/edge3/www-hash.txt | 2 +- 9 files changed, 49 insertions(+), 63 deletions(-) diff --git a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml index edba09a374b..db6fbc09dbd 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml +++ b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml @@ -5391,9 +5391,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Delete Task Instance + schema: {} '401': content: application/json: @@ -7731,9 +7729,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Reparse Dag File + schema: {} '401': content: application/json: diff --git a/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts b/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts index 484d68f3fde..4e5ad32c71a 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts @@ -1904,7 +1904,7 @@ export const useBackfillServiceCancelBackfill = <TData = Common.BackfillServiceC * Request re-parsing a DAG file. * @param data The data for the request. * @param data.fileToken -* @returns null Successful Response +* @returns unknown Successful Response * @throws ApiError */ export const useDagParsingServiceReparseDagFile = <TData = Common.DagParsingServiceReparseDagFileMutationResult, TError = unknown, TContext = unknown>(options?: Omit<UseMutationOptions<TData, TError, { @@ -2370,7 +2370,7 @@ export const useDagServiceDeleteDag = <TData = Common.DagServiceDeleteDagMutatio * @param data.dagRunId * @param data.taskId * @param data.mapIndex -* @returns null Successful Response +* @returns unknown Successful Response * @throws ApiError */ export const useTaskInstanceServiceDeleteTaskInstance = <TData = Common.TaskInstanceServiceDeleteTaskInstanceMutationResult, TError = unknown, TContext = unknown>(options?: Omit<UseMutationOptions<TData, TError, { diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts index ab13ef32449..94cd799e7d6 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts @@ -1991,7 +1991,7 @@ export class TaskInstanceService { * @param data.dagRunId * @param data.taskId * @param data.mapIndex - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static deleteTaskInstance(data: DeleteTaskInstanceData): CancelablePromise<DeleteTaskInstanceResponse> { @@ -3581,7 +3581,7 @@ export class DagParsingService { * Request re-parsing a DAG file. * @param data The data for the request. * @param data.fileToken - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static reparseDagFile(data: ReparseDagFileData): CancelablePromise<ReparseDagFileResponse> { diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts index 1f4f7a8ab3e..17deda05dae 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts @@ -2594,7 +2594,7 @@ export type DeleteTaskInstanceData = { taskId: string; }; -export type DeleteTaskInstanceResponse = null; +export type DeleteTaskInstanceResponse = unknown; export type GetMappedTaskInstancesData = { dagId: string; @@ -3114,7 +3114,7 @@ export type ReparseDagFileData = { fileToken: string; }; -export type ReparseDagFileResponse = null; +export type ReparseDagFileResponse = unknown; export type GetDagVersionData = { dagId: string; @@ -4913,7 +4913,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Unauthorized */ @@ -6121,7 +6121,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 201: null; + 201: unknown; /** * Unauthorized */ diff --git a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml index 4619fc22235..26e646dcb9b 100644 --- a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml +++ b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml @@ -142,9 +142,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response State + schema: {} '400': content: application/json: @@ -319,9 +317,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Push Logs + schema: {} '400': content: application/json: @@ -514,9 +510,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Update Queues + schema: {} '400': content: application/json: @@ -614,9 +608,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Request Worker Maintenance + schema: {} '422': description: Validation Error content: @@ -644,9 +636,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Exit Worker Maintenance + schema: {} '422': description: Validation Error content: diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs b/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs index 766376f7f11..345b03be624 100644 --- a/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs +++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs @@ -1,4 +1,4 @@ -(function(E,te){typeof exports=="object"&&typeof module<"u"?module.exports=te(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],te):(E=typeof globalThis<"u"?globalThis:E||self,E.AirflowPlugin=te(E.React,E.ReactDOM))})(this,function(E,te){"use strict";var YA=Object.defineProperty;var hb=E=>{throw TypeError(E)};var QA=(E,te,ve)=>te in E?YA(E,te,{enumerable:!0,configurable:!0,writable:!0,value:ve}):E[te]=ve;var Je=(E,te,ve)=>QA(E,typeo [...] +(function(E,te){typeof exports=="object"&&typeof module<"u"?module.exports=te(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],te):(E=typeof globalThis<"u"?globalThis:E||self,E.AirflowPlugin=te(E.React,E.ReactDOM))})(this,function(E,te){"use strict";var JA=Object.defineProperty;var gb=E=>{throw TypeError(E)};var ZA=(E,te,ve)=>te in E?JA(E,te,{enumerable:!0,configurable:!0,writable:!0,value:ve}):E[te]=ve;var Je=(E,te,ve)=>ZA(E,typeo [...] * @license React * react-jsx-runtime.production.min.js * @@ -6,27 +6,27 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var vb=E,bb=Symbol.for("react.element"),yb=Symbol.for("react.fragment"),xb=Object.prototype.hasOwnProperty,Cb=vb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Sb={key:!0,ref:!0,__self:!0,__source:!0};function kc(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)xb.call(t,r)&&!Sb.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$t [...] + */var yb=E,xb=Symbol.for("react.element"),Cb=Symbol.for("react.fragment"),Sb=Object.prototype.hasOwnProperty,wb=yb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Eb={key:!0,ref:!0,__self:!0,__source:!0};function kc(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Sb.call(t,r)&&!Eb.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$t [...] * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ke=typeof Symbol=="function"&&Symbol.for,Js=ke?Symbol.for("react.element"):60103,Zs=ke?Symbol.for("react.portal"):60106,Zi=ke?Symbol.for("react.fragment"):60107,eo=ke?Symbol.for("react.strict_mode"):60108,to=ke?Symbol.for("react.profiler"):60114,no=ke?Symbol.for("react.provider"):60109,ro=ke?Symbol.for("react.context"):60110,ea=ke?Symbol.for("react.async_mode"):60111,io=ke?Symbol.for("react.concurrent_mode"):60111,oo=ke?Symbol.for("react.forward_ref"):60112,so=ke?Symbol.for("react [...] + */var ke=typeof Symbol=="function"&&Symbol.for,Zs=ke?Symbol.for("react.element"):60103,ea=ke?Symbol.for("react.portal"):60106,to=ke?Symbol.for("react.fragment"):60107,no=ke?Symbol.for("react.strict_mode"):60108,ro=ke?Symbol.for("react.profiler"):60114,io=ke?Symbol.for("react.provider"):60109,oo=ke?Symbol.for("react.context"):60110,ta=ke?Symbol.for("react.async_mode"):60111,so=ke?Symbol.for("react.concurrent_mode"):60111,ao=ke?Symbol.for("react.forward_ref"):60112,lo=ke?Symbol.for("react [...] <svg width="46" height="15" style="left: -15.5px; position: absolute; top: 0; filter: drop-shadow(rgba(0, 0, 0, 0.4) 0px 1px 1.1px);"> <g transform="translate(2 3)"> <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z" style="stroke-width: 2px; stroke: white;"></path> <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z"></path> </g> - </svg>`,n.body.appendChild(r)};function pE(e){if(!(!e||e.ownerDocument.activeElement!==e))try{const{selectionStart:t,selectionEnd:n,value:r}=e,i=r.substring(0,t),o=r.substring(n);return{start:t,end:n,value:r,beforeTxt:i,afterTxt:o}}catch{}}function mE(e,t){if(!(!e||e.ownerDocument.activeElement!==e)){if(!t){e.setSelectionRange(e.value.length,e.value.length);return}try{const{value:n}=e,{beforeTxt:r="",afterTxt:i="",start:o}=t;let s=n.length;if(n.endsWith(i))s=n.length-i.length;else [...] + </svg>`,n.body.appendChild(r)};function bE(e,t){if(!(!e||!t.isActiveElement(e)))try{const{selectionStart:n,selectionEnd:r,value:i}=e,o=i.substring(0,n),s=i.substring(r);return{start:n,end:r,value:i,beforeTxt:o,afterTxt:s}}catch{}}function yE(e,t,n){if(!(!e||!n.isActiveElement(e))){if(!t){e.setSelectionRange(e.value.length,e.value.length);return}try{const{value:r}=e,{beforeTxt:i="",afterTxt:o="",start:s}=t;let a=r.length;if(r.endsWith(o))a=r.length-o.length;else if(r.startsWith(i))a [...] )+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.| -)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),Sk=Cf("width"),wk=Cf("height"),Sf=e=>({isMin:Pf(e.minMax,e.maxMin,e.min),isMax:Pf(e.maxMin,e.minMax,e.max)}),{isMin:kl,isMax:wf}=Sf(Sk),{isMin:Ol,isMax:Ef}=Sf(wk),kf=/print/i,Of=/^print$/i,Ek=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,kk=/(\d)/,Oi=Number.MAX_VALUE,Ok={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function If(e){const t=Ek.exec(e)||(kl(e)||Ol(e)?kk.exec(e):null);if(!t)return Oi;if(t[0]==="0")return 0; [...] -`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&QT[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},up=Symbol("internals");function _i(e){return e&&String(e).trim().toLowerCase()}function Cs(e){return e===!1||e==null?e:k.isArray(e)?e.map(Cs):String(e)}function ZT(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const e2=e=>/ [...] -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[up]=this[up]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=_i(s);r[a]||(n2(i,s),r[a]=!0)}return k.isArray(t)?t.forEach(o):o(t),this}};Xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-A [...] -`+o.map(Sp).join(` -`):" "+Sp(o[0]):"as no adapter specified";throw new Q("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:tc};function nc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Vr(null,e)}function Ep(e){return nc(e),e.headers=Xe.from(e.headers),e.data=Zl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wp.getAdapter(e.ad [...] -`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=qn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Os.assertOptions(r,{silentJSONParsing:Vt.transitional(Vt.boolean),forcedJSONParsing:Vt.transitional(Vt.boolean),clarifyTimeoutError:Vt.transitional(Vt.boolean)},!1),i!=null&&(k.isFunction(i)?n.paramsSerializer={serialize:i}:Os.assertOptions(i,{encode:Vt.function,serialize:Vt.function},!0)),n.allowAbsoluteUrls!==v [...] +)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),kk=Cf("width"),Ok=Cf("height"),Sf=e=>({isMin:Pf(e.minMax,e.maxMin,e.min),isMax:Pf(e.maxMin,e.minMax,e.max)}),{isMin:Ol,isMax:wf}=Sf(kk),{isMin:Il,isMax:Ef}=Sf(Ok),kf=/print/i,Of=/^print$/i,Ik=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,Pk=/(\d)/,Ri=Number.MAX_VALUE,Rk={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function If(e){const t=Ik.exec(e)||(Ol(e)||Il(e)?Pk.exec(e):null);if(!t)return Ri;if(t[0]==="0")return 0; [...] +`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&e2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},up=Symbol("internals");function Fi(e){return e&&String(e).trim().toLowerCase()}function ws(e){return e===!1||e==null?e:w.isArray(e)?e.map(ws):String(e)}function n2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const r2=e=>/ [...] +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[up]=this[up]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Fi(s);r[a]||(o2(i,s),r[a]=!0)}return w.isArray(t)?t.forEach(o):o(t),this}};Xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-A [...] +`+s.map(Ep).join(` +`):" "+Ep(s[0]):"as no adapter specified";throw new Q("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:tc};function nc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zr(null,e)}function Op(e){return nc(e),e.headers=Xe.from(e.headers),e.data=ec.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),kp.getAdapter(e.ad [...] +`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Xn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Is.assertOptions(r,{silentJSONParsing:Ft.transitional(Ft.boolean),forcedJSONParsing:Ft.transitional(Ft.boolean),clarifyTimeoutError:Ft.transitional(Ft.boolean)},!1),i!=null&&(w.isFunction(i)?n.paramsSerializer={serialize:i}:Is.assertOptions(i,{encode:Ft.function,serialize:Ft.function},!0)),n.allowAbsoluteUrls!==v [...] * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. @@ -35,7 +35,7 @@ * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Vi(){return Vi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vi.apply(this,arguments)}var cn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(cn||(cn={}));const Np="popstate";function N2(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return oc("",{pathname:o,search:s,hash:a},i.state&&i.state.usr|| [...] + */function Li(){return Li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Li.apply(this,arguments)}var fn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(fn||(fn={}));const _p="popstate";function _2(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return oc("",{pathname:o,search:s,hash:a},i.state&&i.state.usr|| [...] * React Router v6.30.1 * * Copyright (c) Remix Software Inc. @@ -44,7 +44,7 @@ * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Fi(){return Fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fi.apply(this,arguments)}const Rs=O.createContext(null),Bp=O.createContext(null),dn=O.createContext(null),Ts=O.createContext(null),Xn=O.createContext({outlet:null,matches:[],isDataRoute:!1}),jp=O.createContext(null);function nN(e,t){let{relative:n}=t===void 0?{}:t;Li()||pe(!1);let{b [...] + */function Di(){return Di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Di.apply(this,arguments)}const Ts=O.createContext(null),Wp=O.createContext(null),pn=O.createContext(null),Ns=O.createContext(null),Qn=O.createContext({outlet:null,matches:[],isDataRoute:!1}),Hp=O.createContext(null);function iN(e,t){let{relative:n}=t===void 0?{}:t;zi()||pe(!1);let{b [...] * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. @@ -53,7 +53,7 @@ * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function As(){return As=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},As.apply(this,arguments)}function Kp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function CN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function SN(e,t){return e.button===0&&(!t||t==="_sel [...] + */function _s(){return _s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_s.apply(this,arguments)}function Yp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function wN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function EN(e,t){return e.button===0&&(!t||t==="_sel [...] * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -70,7 +70,7 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */const mA=zE({pauseOnPageIdle:!0,placement:"bottom-end"}),sm=({error:e})=>{var i;const t=e;if(!t)return;const n=(i=t.body)==null?void 0:i.detail;let r;return n!==void 0&&(typeof n=="string"?r=n:Array.isArray(n)?r=n.map(o=>`${o.loc.join(".")} ${o.msg}`):r=Object.keys(n).map(o=>`${o}: ${n[o]}`)),y.jsx(pA,{status:"error",children:y.jsxs(fR,{align:"start",flexDirection:"column",gap:2,mt:-1,children:[t.status," ",t.message,r===t.message?void 0:y.jsx(Wx,{whiteSpace:"preserve",wordBreak:"brea [...] + */const bA=BE({pauseOnPageIdle:!0,placement:"bottom-end"}),lm=({error:e})=>{var i;const t=e;if(!t)return;const n=(i=t.body)==null?void 0:i.detail;let r;return n!==void 0&&(typeof n=="string"?r=n:Array.isArray(n)?r=n.map(o=>`${o.loc.join(".")} ${o.msg}`):r=Object.keys(n).map(o=>`${o}: ${n[o]}`)),x.jsx(vA,{status:"error",children:x.jsxs(mR,{align:"start",flexDirection:"column",gap:2,mt:-1,children:[t.status," ",t.message,r===t.message?void 0:x.jsx(Gx,{whiteSpace:"preserve",wordBreak:"brea [...] * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -87,7 +87,7 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */const cm=5e3;/*! + */const dm=5e3;/*! * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -104,7 +104,7 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */const OA=e=>{const[t,n]=E.useState(0);return E.useEffect(()=>{if(!e.current)return;const r=new ResizeObserver(i=>{for(const o of i)n(o.contentRect.width)});return r.observe(e.current),()=>{r.disconnect()}},[e]),t};/*! + */const PA=e=>{const[t,n]=E.useState(0);return E.useEffect(()=>{if(!e.current)return;const r=new ResizeObserver(i=>{for(const o of i)n(o.contentRect.width)});return r.observe(e.current),()=>{r.disconnect()}},[e]),t};/*! * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -121,7 +121,7 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */const um="token",IA=()=>{const e=document.cookie.split(";");for(const t of e){const[n,r]=t.split("=");if((n==null?void 0:n.trim())==="_token"&&r!==void 0)return localStorage.setItem(um,r),document.cookie="_token=; expires=Sat, 01 Jan 2000 00:00:00 UTC; path=/;",r}},PA=e=>{const t=localStorage.getItem(um)??IA();return t!==void 0&&(e.headers.Authorization=`Bearer ${t}`),e},RA=()=>{const{data:e,error:t}=ZN(void 0,{enabled:!0,refetchInterval:cm});return e?y.jsx(zt,{p:2,children:y.jsxs(bg, [...] + */const hm="token",RA=()=>{const e=document.cookie.split(";");for(const t of e){const[n,r]=t.split("=");if((n==null?void 0:n.trim())==="_token"&&r!==void 0)return localStorage.setItem(hm,r),document.cookie="_token=; expires=Sat, 01 Jan 2000 00:00:00 UTC; path=/;",r}},TA=e=>{const t=localStorage.getItem(hm)??RA();return t!==void 0&&(e.headers.Authorization=`Bearer ${t}`),e},NA=()=>{const{data:e,error:t}=tA(void 0,{enabled:!0,refetchInterval:dm});return e?x.jsx($t,{p:2,children:x.jsxs(bg, [...] * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -138,4 +138,4 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - */const hn=(e,t="white")=>({solid:{value:`{colors.${e}.600}`},contrast:{value:{_light:"white",_dark:t}},fg:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}},muted:{value:{_light:`{colors.${e}.200}`,_dark:`{colors.${e}.800}`}},subtle:{value:{_light:`{colors.${e}.100}`,_dark:`{colors.${e}.900}`}},emphasized:{value:{_light:`{colors.${e}.300}`,_dark:`{colors.${e}.700}`}},focusRing:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}}}),HA=Cl({theme:{tokens:{colors:{suc [...] + */const mn=(e,t="white")=>({solid:{value:`{colors.${e}.600}`},contrast:{value:{_light:"white",_dark:t}},fg:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}},muted:{value:{_light:`{colors.${e}.200}`,_dark:`{colors.${e}.800}`}},subtle:{value:{_light:`{colors.${e}.100}`,_dark:`{colors.${e}.900}`}},emphasized:{value:{_light:`{colors.${e}.300}`,_dark:`{colors.${e}.700}`}},focusRing:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}}}),GA=Sl({theme:{tokens:{colors:{suc [...] diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts index 728a1ae5507..f05a060eca4 100644 --- a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts +++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts @@ -47,7 +47,7 @@ export class JobsService { * @param data.mapIndex For dynamically mapped tasks the mapping number, -1 if the task is not mapped. * @param data.state State of the assigned task under execution. * @param data.authorization JWT Authorization Token - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static state(data: StateData): CancelablePromise<StateResponse> { @@ -122,7 +122,7 @@ export class LogsService { * @param data.mapIndex For dynamically mapped tasks the mapping number, -1 if the task is not mapped. * @param data.authorization JWT Authorization Token * @param data.requestBody - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static pushLogs(data: PushLogsData): CancelablePromise<PushLogsResponse> { @@ -218,7 +218,7 @@ export class WorkerService { * @param data.workerName Hostname or instance name of the worker * @param data.authorization JWT Authorization Token * @param data.requestBody - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static updateQueues(data: UpdateQueuesData): CancelablePromise<UpdateQueuesResponse> { @@ -292,7 +292,7 @@ export class UiService { * @param data The data for the request. * @param data.workerName * @param data.requestBody - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static requestWorkerMaintenance(data: RequestWorkerMaintenanceData): CancelablePromise<RequestWorkerMaintenanceResponse> { @@ -315,7 +315,7 @@ export class UiService { * Exit a worker from maintenance mode. * @param data The data for the request. * @param data.workerName - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static exitWorkerMaintenance(data: ExitWorkerMaintenanceData): CancelablePromise<ExitWorkerMaintenanceResponse> { diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts index 61bf7663a9a..0990dd418eb 100644 --- a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts +++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts @@ -359,7 +359,7 @@ export type StateData = { tryNumber: number; }; -export type StateResponse = null; +export type StateResponse = unknown; export type LogfilePathData = { /** @@ -418,7 +418,7 @@ export type PushLogsData = { tryNumber: number; }; -export type PushLogsResponse = null; +export type PushLogsResponse = unknown; export type RegisterData = { /** @@ -460,7 +460,7 @@ export type UpdateQueuesData = { workerName: string; }; -export type UpdateQueuesResponse = null; +export type UpdateQueuesResponse = unknown; export type HealthResponse = { [key: string]: (string); @@ -475,13 +475,13 @@ export type RequestWorkerMaintenanceData = { workerName: string; }; -export type RequestWorkerMaintenanceResponse = null; +export type RequestWorkerMaintenanceResponse = unknown; export type ExitWorkerMaintenanceData = { workerName: string; }; -export type ExitWorkerMaintenanceResponse = null; +export type ExitWorkerMaintenanceResponse = unknown; export type $OpenApiTs = { '/edge_worker/v1/jobs/fetch/{worker_name}': { @@ -514,7 +514,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Bad Request */ @@ -560,7 +560,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Bad Request */ @@ -627,7 +627,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Bad Request */ @@ -682,7 +682,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Validation Error */ @@ -695,7 +695,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Validation Error */ diff --git a/providers/edge3/www-hash.txt b/providers/edge3/www-hash.txt index e77d9fccb14..fd8d498bd32 100644 --- a/providers/edge3/www-hash.txt +++ b/providers/edge3/www-hash.txt @@ -1 +1 @@ -d3d458dbc15ae801bb6bf8f128e38a1a65fd81e3ecc8c87dd30a79acc9a4041a +b73fb2eb4057b872cc47ac6d26eda7c9b3d806cb7cca4da826ba2a07656af7ad
