diff --git a/airflow/ui/openapi-gen/queries/common.ts b/airflow/ui/openapi-gen/queries/common.ts index d942d51c91e9c..143ec83c55627 100644 --- a/airflow/ui/openapi-gen/queries/common.ts +++ b/airflow/ui/openapi-gen/queries/common.ts @@ -35,19 +35,23 @@ export const useDagServiceGetDagsPublicDagsGetKey = "DagServiceGetDagsPublicDagsGet"; export const UseDagServiceGetDagsPublicDagsGetKeyFn = ( { + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }: { + dagDisplayNamePattern?: string; dagIdPattern?: string; limit?: number; offset?: number; onlyActive?: boolean; orderBy?: string; + owners?: string[]; paused?: boolean; tags?: string[]; } = {}, @@ -55,6 +59,16 @@ export const UseDagServiceGetDagsPublicDagsGetKeyFn = ( ) => [ useDagServiceGetDagsPublicDagsGetKey, ...(queryKey ?? [ - { dagIdPattern, limit, offset, onlyActive, orderBy, paused, tags }, + { + dagDisplayNamePattern, + dagIdPattern, + limit, + offset, + onlyActive, + orderBy, + owners, + paused, + tags, + }, ]), ]; diff --git a/airflow/ui/openapi-gen/queries/prefetch.ts b/airflow/ui/openapi-gen/queries/prefetch.ts index 44b8f373534f5..f8e1bf616d143 100644 --- a/airflow/ui/openapi-gen/queries/prefetch.ts +++ b/airflow/ui/openapi-gen/queries/prefetch.ts @@ -35,7 +35,9 @@ export const prefetchUseDatasetServiceNextRunDatasetsUiNextRunDatasetsDagIdGet = * @param data.limit * @param data.offset * @param data.tags + * @param data.owners * @param data.dagIdPattern + * @param data.dagDisplayNamePattern * @param data.onlyActive * @param data.paused * @param data.orderBy @@ -45,40 +47,48 @@ export const prefetchUseDatasetServiceNextRunDatasetsUiNextRunDatasetsDagIdGet = export const prefetchUseDagServiceGetDagsPublicDagsGet = ( queryClient: QueryClient, { + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }: { + dagDisplayNamePattern?: string; dagIdPattern?: string; limit?: number; offset?: number; onlyActive?: boolean; orderBy?: string; + owners?: string[]; paused?: boolean; tags?: string[]; } = {}, ) => queryClient.prefetchQuery({ queryKey: Common.UseDagServiceGetDagsPublicDagsGetKeyFn({ + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }), queryFn: () => DagService.getDagsPublicDagsGet({ + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }), diff --git a/airflow/ui/openapi-gen/queries/queries.ts b/airflow/ui/openapi-gen/queries/queries.ts index 55653b622fa07..9dce528f2a503 100644 --- a/airflow/ui/openapi-gen/queries/queries.ts +++ b/airflow/ui/openapi-gen/queries/queries.ts @@ -43,7 +43,9 @@ export const useDatasetServiceNextRunDatasetsUiNextRunDatasetsDagIdGet = < * @param data.limit * @param data.offset * @param data.tags + * @param data.owners * @param data.dagIdPattern + * @param data.dagDisplayNamePattern * @param data.onlyActive * @param data.paused * @param data.orderBy @@ -56,19 +58,23 @@ export const useDagServiceGetDagsPublicDagsGet = < TQueryKey extends Array = unknown[], >( { + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }: { + dagDisplayNamePattern?: string; dagIdPattern?: string; limit?: number; offset?: number; onlyActive?: boolean; orderBy?: string; + owners?: string[]; paused?: boolean; tags?: string[]; } = {}, @@ -77,16 +83,28 @@ export const useDagServiceGetDagsPublicDagsGet = < ) => useQuery({ queryKey: Common.UseDagServiceGetDagsPublicDagsGetKeyFn( - { dagIdPattern, limit, offset, onlyActive, orderBy, paused, tags }, + { + dagDisplayNamePattern, + dagIdPattern, + limit, + offset, + onlyActive, + orderBy, + owners, + paused, + tags, + }, queryKey, ), queryFn: () => DagService.getDagsPublicDagsGet({ + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }) as TData, diff --git a/airflow/ui/openapi-gen/queries/suspense.ts b/airflow/ui/openapi-gen/queries/suspense.ts index 1e4fb671a1130..bcc95a53e18ff 100644 --- a/airflow/ui/openapi-gen/queries/suspense.ts +++ b/airflow/ui/openapi-gen/queries/suspense.ts @@ -44,7 +44,9 @@ export const useDatasetServiceNextRunDatasetsUiNextRunDatasetsDagIdGetSuspense = * @param data.limit * @param data.offset * @param data.tags + * @param data.owners * @param data.dagIdPattern + * @param data.dagDisplayNamePattern * @param data.onlyActive * @param data.paused * @param data.orderBy @@ -57,19 +59,23 @@ export const useDagServiceGetDagsPublicDagsGetSuspense = < TQueryKey extends Array = unknown[], >( { + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }: { + dagDisplayNamePattern?: string; dagIdPattern?: string; limit?: number; offset?: number; onlyActive?: boolean; orderBy?: string; + owners?: string[]; paused?: boolean; tags?: string[]; } = {}, @@ -78,16 +84,28 @@ export const useDagServiceGetDagsPublicDagsGetSuspense = < ) => useSuspenseQuery({ queryKey: Common.UseDagServiceGetDagsPublicDagsGetKeyFn( - { dagIdPattern, limit, offset, onlyActive, orderBy, paused, tags }, + { + dagDisplayNamePattern, + dagIdPattern, + limit, + offset, + onlyActive, + orderBy, + owners, + paused, + tags, + }, queryKey, ), queryFn: () => DagService.getDagsPublicDagsGet({ + dagDisplayNamePattern, dagIdPattern, limit, offset, onlyActive, orderBy, + owners, paused, tags, }) as TData, diff --git a/airflow/ui/openapi-gen/requests/services.gen.ts b/airflow/ui/openapi-gen/requests/services.gen.ts index cf28e39ab109f..e0786e9137156 100644 --- a/airflow/ui/openapi-gen/requests/services.gen.ts +++ b/airflow/ui/openapi-gen/requests/services.gen.ts @@ -41,7 +41,9 @@ export class DagService { * @param data.limit * @param data.offset * @param data.tags + * @param data.owners * @param data.dagIdPattern + * @param data.dagDisplayNamePattern * @param data.onlyActive * @param data.paused * @param data.orderBy @@ -58,7 +60,9 @@ export class DagService { limit: data.limit, offset: data.offset, tags: data.tags, + owners: data.owners, dag_id_pattern: data.dagIdPattern, + dag_display_name_pattern: data.dagDisplayNamePattern, only_active: data.onlyActive, paused: data.paused, order_by: data.orderBy, diff --git a/airflow/ui/openapi-gen/requests/types.gen.ts b/airflow/ui/openapi-gen/requests/types.gen.ts index cb98e2b769ad2..917dca6626c08 100644 --- a/airflow/ui/openapi-gen/requests/types.gen.ts +++ b/airflow/ui/openapi-gen/requests/types.gen.ts @@ -70,11 +70,13 @@ export type NextRunDatasetsUiNextRunDatasetsDagIdGetResponse = { }; export type GetDagsPublicDagsGetData = { + dagDisplayNamePattern?: string | null; dagIdPattern?: string | null; limit?: number; offset?: number; onlyActive?: boolean; orderBy?: string; + owners?: Array; paused?: boolean | null; tags?: Array; };