diff --git a/package.json b/package.json index 00e79676bb..4a47a2f176 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "mutationobserver-shim": "^0.3.7", "node-sass": "^7.0.1", "nyc": "^15.1.0", - "orval": "^6.8.1", + "orval": "^6.18.1", "postcss": "^8.4.31", "postcss-cli": "^10.1.0", "postcss-loader": "^7.3.3", @@ -154,7 +154,7 @@ "graphql": "^16.8.1", "graphql-tag": "^2.12.6", "lodash": "^4.17.21", - "orval": "^6.8.1", + "orval": "^6.18.1", "prop-types": "^15.8.1", "react": "^18.1.0", "react-device-detect": "^2.2.2", diff --git a/src/core/cover-service-api/cover-service.ts b/src/core/cover-service-api/cover-service.ts index 00b437081c..0d6a079536 100644 --- a/src/core/cover-service-api/cover-service.ts +++ b/src/core/cover-service-api/cover-service.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. @@ -8,50 +8,44 @@ The service is provided by [Det Digitale Folkebibliotek](https://detdigitalefolk Authentication is done via OAuth2 against auth.dbc.dk. To obtain a valid token follow the instructions here: [Open Platform](https://openplatform.dbc.dk/v3/). To use the "Authorize" option in this tool use your 'client_id' and 'client_secret' and fill in '@agency' (e.g. '@123456') for both username and password. * OpenAPI spec version: 2.0 */ -import { - useQuery, +import { useQuery } from "react-query"; +import type { UseQueryOptions, QueryFunction, UseQueryResult, QueryKey } from "react-query"; import type { Cover, GetCoverCollectionParams } from "./model"; -import { fetcher, ErrorType, BodyType } from "./mutator/fetcher"; - -type AwaitedInput = PromiseLike | T; - -type Awaited = O extends AwaitedInput ? T : never; +import { fetcher } from "./mutator/fetcher"; +import type { ErrorType } from "./mutator/fetcher"; /** * Get covers by identifier in specific image format(s), specific image size(s) and with or without generic covers. * @summary Search multiple covers */ export const getCoverCollection = ( - params?: GetCoverCollectionParams, + params: GetCoverCollectionParams, signal?: AbortSignal ) => { return fetcher({ url: `/api/v2/covers`, method: "get", - signal, - params + params, + signal }); }; export const getGetCoverCollectionQueryKey = ( - params?: GetCoverCollectionParams -) => [`/api/v2/covers`, ...(params ? [params] : [])]; - -export type GetCoverCollectionQueryResult = NonNullable< - Awaited> ->; -export type GetCoverCollectionQueryError = ErrorType; + params: GetCoverCollectionParams +) => { + return [`/api/v2/covers`, ...(params ? [params] : [])] as const; +}; -export const useGetCoverCollection = < +export const getGetCoverCollectionQueryOptions = < TData = Awaited>, TError = ErrorType >( - params?: GetCoverCollectionParams, + params: GetCoverCollectionParams, options?: { query?: UseQueryOptions< Awaited>, @@ -59,7 +53,7 @@ export const useGetCoverCollection = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = @@ -69,14 +63,41 @@ export const useGetCoverCollection = < Awaited> > = ({ signal }) => getCoverCollection(params, signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; + +export type GetCoverCollectionQueryResult = NonNullable< + Awaited> +>; +export type GetCoverCollectionQueryError = ErrorType; - return { - queryKey, - ...query +/** + * @summary Search multiple covers + */ +export const useGetCoverCollection = < + TData = Awaited>, + TError = ErrorType +>( + params: GetCoverCollectionParams, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetCoverCollectionQueryOptions(params, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; diff --git a/src/core/cover-service-api/model/cover.ts b/src/core/cover-service-api/model/cover.ts index 45e031d806..dc182dd748 100644 --- a/src/core/cover-service-api/model/cover.ts +++ b/src/core/cover-service-api/model/cover.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. diff --git a/src/core/cover-service-api/model/coverImageUrls.ts b/src/core/cover-service-api/model/coverImageUrls.ts index 756069ec8e..6cb02e1935 100644 --- a/src/core/cover-service-api/model/coverImageUrls.ts +++ b/src/core/cover-service-api/model/coverImageUrls.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. @@ -13,7 +13,11 @@ import type { ImageUrl } from "./imageUrl"; export type CoverImageUrls = { default?: ImageUrl; original?: ImageUrl; + "xx-small"?: ImageUrl; + "x-small"?: ImageUrl; small?: ImageUrl; + "small-medium"?: ImageUrl; medium?: ImageUrl; + "medium-large"?: ImageUrl; large?: ImageUrl; }; diff --git a/src/core/cover-service-api/model/coverType.ts b/src/core/cover-service-api/model/coverType.ts index f2c4089a35..60d91edc25 100644 --- a/src/core/cover-service-api/model/coverType.ts +++ b/src/core/cover-service-api/model/coverType.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. diff --git a/src/core/cover-service-api/model/getCoverCollectionParams.ts b/src/core/cover-service-api/model/getCoverCollectionParams.ts index 0ff8d5cd79..5673512e27 100644 --- a/src/core/cover-service-api/model/getCoverCollectionParams.ts +++ b/src/core/cover-service-api/model/getCoverCollectionParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. @@ -12,7 +12,30 @@ import type { GetCoverCollectionType } from "./getCoverCollectionType"; import type { GetCoverCollectionSizesItem } from "./getCoverCollectionSizesItem"; export type GetCoverCollectionParams = { + /** + * The type of the identifier, i.e. 'isbn', 'faust', 'pid' or 'issn' + */ type: GetCoverCollectionType; + /** + * A list of identifiers of {type}. Maximum number os identifiers per reqeust is 200 + */ identifiers: string[]; + /** + * A list of image sizes for the cover(s) you want to receive. Please note: + - If the cover is not available for the requested size 'null' will be returned for that size. + - If the 'sizes' parameter is omitted the 'default' size will be returned, + - If you request the 'original' size a cover will always be returned. + + The different sizes in pixels (height). + - default: 1000px + - original: [variable] + - xx-small: 104px + - x-small: 136px + - small: 160px + - small-medium: 230px + - medium: 270px + - medium-large: 430px + - large: 540px + */ sizes?: GetCoverCollectionSizesItem[]; }; diff --git a/src/core/cover-service-api/model/getCoverCollectionSizesItem.ts b/src/core/cover-service-api/model/getCoverCollectionSizesItem.ts index 20d20fc247..dce50206e4 100644 --- a/src/core/cover-service-api/model/getCoverCollectionSizesItem.ts +++ b/src/core/cover-service-api/model/getCoverCollectionSizesItem.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. @@ -16,7 +16,11 @@ export type GetCoverCollectionSizesItem = export const GetCoverCollectionSizesItem = { default: "default", original: "original", + "xx-small": "xx-small", + "x-small": "x-small", small: "small", + "small-medium": "small-medium", medium: "medium", + "medium-large": "medium-large", large: "large" } as const; diff --git a/src/core/cover-service-api/model/getCoverCollectionType.ts b/src/core/cover-service-api/model/getCoverCollectionType.ts index e2aa21baff..34c2fe2c11 100644 --- a/src/core/cover-service-api/model/getCoverCollectionType.ts +++ b/src/core/cover-service-api/model/getCoverCollectionType.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. diff --git a/src/core/cover-service-api/model/imageUrl.ts b/src/core/cover-service-api/model/imageUrl.ts index 8d1039c93c..1a4b7dc3d1 100644 --- a/src/core/cover-service-api/model/imageUrl.ts +++ b/src/core/cover-service-api/model/imageUrl.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. diff --git a/src/core/cover-service-api/model/imageUrlSize.ts b/src/core/cover-service-api/model/imageUrlSize.ts index 7effdd0de4..79033455be 100644 --- a/src/core/cover-service-api/model/imageUrlSize.ts +++ b/src/core/cover-service-api/model/imageUrlSize.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DDF Cover Service * This service provides covers for library materials indexed by isbn, issn, faust, pid. @@ -15,7 +15,11 @@ export type ImageUrlSize = typeof ImageUrlSize[keyof typeof ImageUrlSize]; export const ImageUrlSize = { default: "default", original: "original", + "xx-small": "xx-small", + "x-small": "x-small", small: "small", + "small-medium": "small-medium", medium: "medium", + "medium-large": "medium-large", large: "large" } as const; diff --git a/src/core/cover-service-api/model/index.ts b/src/core/cover-service-api/model/index.ts index f4cdce67e4..400f04a114 100644 --- a/src/core/cover-service-api/model/index.ts +++ b/src/core/cover-service-api/model/index.ts @@ -1,8 +1,19 @@ +/** + * Generated by orval v6.18.1 🍺 + * Do not edit manually. + * DDF Cover Service + * This service provides covers for library materials indexed by isbn, issn, faust, pid. +The service is provided by [Det Digitale Folkebibliotek](https://detdigitalefolkebibliotek.dk/section/i-brug-paa-biblioteket/cover-service) +### Authentication notes +Authentication is done via OAuth2 against auth.dbc.dk. To obtain a valid token follow the instructions here: [Open Platform](https://openplatform.dbc.dk/v3/). To use the "Authorize" option in this tool use your 'client_id' and 'client_secret' and fill in '@agency' (e.g. '@123456') for both username and password. + * OpenAPI spec version: 2.0 + */ + export * from "./cover"; +export * from "./coverImageUrls"; export * from "./coverType"; -export * from "./imageUrlSize"; export * from "./getCoverCollectionParams"; export * from "./getCoverCollectionSizesItem"; -export * from "./imageUrl"; -export * from "./coverImageUrls"; export * from "./getCoverCollectionType"; +export * from "./imageUrl"; +export * from "./imageUrlSize"; diff --git a/src/core/dpl-cms/dpl-cms.ts b/src/core/dpl-cms/dpl-cms.ts index d5bef31934..8261b2c0eb 100644 --- a/src/core/dpl-cms/dpl-cms.ts +++ b/src/core/dpl-cms/dpl-cms.ts @@ -1,13 +1,12 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. * OpenAPI spec version: Versioning not supported */ -import { - useQuery, - useMutation, +import { useQuery, useMutation } from "react-query"; +import type { UseQueryOptions, UseMutationOptions, QueryFunction, @@ -22,18 +21,15 @@ import type { ProxyUrlGET200, ProxyUrlGETParams } from "./model"; -import { fetcher, ErrorType, BodyType } from "./mutator/fetcher"; - -type AwaitedInput = PromiseLike | T; - -type Awaited = O extends AwaitedInput ? T : never; +import { fetcher } from "./mutator/fetcher"; +import type { ErrorType, BodyType } from "./mutator/fetcher"; /** * @summary Get campaign matching search result facets */ export const campaignMatchPOST = ( campaignMatchPOSTBodyItem: CampaignMatchPOSTBodyItem[], - params?: CampaignMatchPOSTParams + params: CampaignMatchPOSTParams ) => { return fetcher({ url: `/dpl_campaign/match`, @@ -44,15 +40,7 @@ export const campaignMatchPOST = ( }); }; -export type CampaignMatchPOSTMutationResult = NonNullable< - Awaited> ->; -export type CampaignMatchPOSTMutationBody = BodyType< - CampaignMatchPOSTBodyItem[] ->; -export type CampaignMatchPOSTMutationError = ErrorType; - -export const useCampaignMatchPOST = < +export const getCampaignMatchPOSTMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -61,18 +49,26 @@ export const useCampaignMatchPOST = < TError, { data: BodyType; - params?: CampaignMatchPOSTParams; + params: CampaignMatchPOSTParams; }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { + data: BodyType; + params: CampaignMatchPOSTParams; + }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< Awaited>, { data: BodyType; - params?: CampaignMatchPOSTParams; + params: CampaignMatchPOSTParams; } > = (props) => { const { data, params } = props ?? {}; @@ -80,67 +76,108 @@ export const useCampaignMatchPOST = < return campaignMatchPOST(data, params); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type CampaignMatchPOSTMutationResult = NonNullable< + Awaited> +>; +export type CampaignMatchPOSTMutationBody = BodyType< + CampaignMatchPOSTBodyItem[] +>; +export type CampaignMatchPOSTMutationError = ErrorType; + +/** + * @summary Get campaign matching search result facets + */ +export const useCampaignMatchPOST = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType; - params?: CampaignMatchPOSTParams; + params: CampaignMatchPOSTParams; }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getCampaignMatchPOSTMutationOptions(options); + + return useMutation(mutationOptions); }; /** * @summary Generate proxy url */ export const proxyUrlGET = ( - params?: ProxyUrlGETParams, + params: ProxyUrlGETParams, signal?: AbortSignal ) => { return fetcher({ url: `/dpl-url-proxy`, method: "get", - signal, - params + params, + signal }); }; -export const getProxyUrlGETQueryKey = (params?: ProxyUrlGETParams) => [ - `/dpl-url-proxy`, - ...(params ? [params] : []) -]; - -export type ProxyUrlGETQueryResult = NonNullable< - Awaited> ->; -export type ProxyUrlGETQueryError = ErrorType; +export const getProxyUrlGETQueryKey = (params: ProxyUrlGETParams) => { + return [`/dpl-url-proxy`, ...(params ? [params] : [])] as const; +}; -export const useProxyUrlGET = < +export const getProxyUrlGETQueryOptions = < TData = Awaited>, TError = ErrorType >( - params?: ProxyUrlGETParams, + params: ProxyUrlGETParams, queryOptions?: UseQueryOptions< Awaited>, TError, TData > -): UseQueryResult & { queryKey: QueryKey } => { +) => { const queryKey = queryOptions?.queryKey ?? getProxyUrlGETQueryKey(params); const queryFn: QueryFunction>> = ({ signal - }) => proxyUrlGET(params); + }) => proxyUrlGET(params, signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; + +export type ProxyUrlGETQueryResult = NonNullable< + Awaited> +>; +export type ProxyUrlGETQueryError = ErrorType; - return { - queryKey, - ...query +/** + * @summary Generate proxy url + */ +export const useProxyUrlGET = < + TData = Awaited>, + TError = ErrorType +>( + params: ProxyUrlGETParams, + queryOptions?: UseQueryOptions< + Awaited>, + TError, + TData + > +): UseQueryResult & { queryKey: QueryKey } => { + const options = getProxyUrlGETQueryOptions(params, queryOptions); + + const query = useQuery(options) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = options.queryKey; + + return query; }; diff --git a/src/core/dpl-cms/model/campaignMatchPOST200.ts b/src/core/dpl-cms/model/campaignMatchPOST200.ts index e187ce43ca..b7d9cb342a 100644 --- a/src/core/dpl-cms/model/campaignMatchPOST200.ts +++ b/src/core/dpl-cms/model/campaignMatchPOST200.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. diff --git a/src/core/dpl-cms/model/campaignMatchPOST200Data.ts b/src/core/dpl-cms/model/campaignMatchPOST200Data.ts index fc5240295b..e145b74965 100644 --- a/src/core/dpl-cms/model/campaignMatchPOST200Data.ts +++ b/src/core/dpl-cms/model/campaignMatchPOST200Data.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. diff --git a/src/core/dpl-cms/model/campaignMatchPOST200DataImage.ts b/src/core/dpl-cms/model/campaignMatchPOST200DataImage.ts index 3ddff54460..853ac154e0 100644 --- a/src/core/dpl-cms/model/campaignMatchPOST200DataImage.ts +++ b/src/core/dpl-cms/model/campaignMatchPOST200DataImage.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. diff --git a/src/core/dpl-cms/model/campaignMatchPOSTBodyItem.ts b/src/core/dpl-cms/model/campaignMatchPOSTBodyItem.ts index 5473159eac..5b43d85a73 100644 --- a/src/core/dpl-cms/model/campaignMatchPOSTBodyItem.ts +++ b/src/core/dpl-cms/model/campaignMatchPOSTBodyItem.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. diff --git a/src/core/dpl-cms/model/campaignMatchPOSTBodyItemValuesItem.ts b/src/core/dpl-cms/model/campaignMatchPOSTBodyItemValuesItem.ts index 08da5096bd..60e6673f59 100644 --- a/src/core/dpl-cms/model/campaignMatchPOSTBodyItemValuesItem.ts +++ b/src/core/dpl-cms/model/campaignMatchPOSTBodyItemValuesItem.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. diff --git a/src/core/dpl-cms/model/campaignMatchPOSTFormat.ts b/src/core/dpl-cms/model/campaignMatchPOSTFormat.ts index c96e610c69..d5219aab77 100644 --- a/src/core/dpl-cms/model/campaignMatchPOSTFormat.ts +++ b/src/core/dpl-cms/model/campaignMatchPOSTFormat.ts @@ -1,15 +1,15 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. * OpenAPI spec version: Versioning not supported */ -export type CampaignMatchPOSTFormat = - typeof CampaignMatchPOSTFormat[keyof typeof CampaignMatchPOSTFormat]; +export type CampaignMatchPOST_Format = + typeof CampaignMatchPOST_Format[keyof typeof CampaignMatchPOST_Format]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const CampaignMatchPOSTFormat = { +export const CampaignMatchPOST_Format = { json: "json" } as const; diff --git a/src/core/dpl-cms/model/campaignMatchPOSTParams.ts b/src/core/dpl-cms/model/campaignMatchPOSTParams.ts index 3891386a5c..6ee91deeaf 100644 --- a/src/core/dpl-cms/model/campaignMatchPOSTParams.ts +++ b/src/core/dpl-cms/model/campaignMatchPOSTParams.ts @@ -1,10 +1,15 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. * OpenAPI spec version: Versioning not supported */ -import type { CampaignMatchPOSTFormat } from "./campaignMatchPOSTFormat"; +import type { CampaignMatchPOST_Format } from "./campaignMatchPOSTFormat"; -export type CampaignMatchPOSTParams = { _format?: CampaignMatchPOSTFormat }; +export type CampaignMatchPOSTParams = { + /** + * Request format + */ + _format?: CampaignMatchPOST_Format; +}; diff --git a/src/core/dpl-cms/model/index.ts b/src/core/dpl-cms/model/index.ts index a2f3db36fc..87f35f2dfb 100644 --- a/src/core/dpl-cms/model/index.ts +++ b/src/core/dpl-cms/model/index.ts @@ -1,14 +1,22 @@ -export * from "./proxyUrlGETParams"; -export * from "./proxyUrlGET200"; -export * from "./proxyUrlGET200Data"; -export * from "./proxyUrlGETFormat"; +/** + * Generated by orval v6.18.1 🍺 + * Do not edit manually. + * DPL CMS - REST API + * The REST API provide by the core REST module. + * OpenAPI spec version: Versioning not supported + */ + export * from "./campaignMatchPOST200"; -export * from "./campaignMatchPOSTFormat"; export * from "./campaignMatchPOST200Data"; -export * from "./campaignMatchPOSTParams"; -export * from "./campaignMatchPOSTBodyItem"; export * from "./campaignMatchPOST200DataImage"; +export * from "./campaignMatchPOSTBodyItem"; export * from "./campaignMatchPOSTBodyItemValuesItem"; +export * from "./campaignMatchPOSTFormat"; +export * from "./campaignMatchPOSTParams"; +export * from "./dplDasDigitalArticleOrderPOSTBody"; export * from "./dplDasDigitalArticleOrderPOSTFormat"; export * from "./dplDasDigitalArticleOrderPOSTParams"; -export * from "./dplDasDigitalArticleOrderPOSTBody"; +export * from "./proxyUrlGET200"; +export * from "./proxyUrlGET200Data"; +export * from "./proxyUrlGETFormat"; +export * from "./proxyUrlGETParams"; diff --git a/src/core/dpl-cms/model/proxyUrlGET200.ts b/src/core/dpl-cms/model/proxyUrlGET200.ts index 42171cba3a..c0c6e22b5e 100644 --- a/src/core/dpl-cms/model/proxyUrlGET200.ts +++ b/src/core/dpl-cms/model/proxyUrlGET200.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. diff --git a/src/core/dpl-cms/model/proxyUrlGET200Data.ts b/src/core/dpl-cms/model/proxyUrlGET200Data.ts index 9c64b1847d..43879f9fe1 100644 --- a/src/core/dpl-cms/model/proxyUrlGET200Data.ts +++ b/src/core/dpl-cms/model/proxyUrlGET200Data.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. diff --git a/src/core/dpl-cms/model/proxyUrlGETFormat.ts b/src/core/dpl-cms/model/proxyUrlGETFormat.ts index b0089790a4..28a3fadc8d 100644 --- a/src/core/dpl-cms/model/proxyUrlGETFormat.ts +++ b/src/core/dpl-cms/model/proxyUrlGETFormat.ts @@ -1,15 +1,15 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. * OpenAPI spec version: Versioning not supported */ -export type ProxyUrlGETFormat = - typeof ProxyUrlGETFormat[keyof typeof ProxyUrlGETFormat]; +export type ProxyUrlGET_Format = + typeof ProxyUrlGET_Format[keyof typeof ProxyUrlGET_Format]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const ProxyUrlGETFormat = { +export const ProxyUrlGET_Format = { json: "json" } as const; diff --git a/src/core/dpl-cms/model/proxyUrlGETParams.ts b/src/core/dpl-cms/model/proxyUrlGETParams.ts index 19685eb39e..87767bd7ab 100644 --- a/src/core/dpl-cms/model/proxyUrlGETParams.ts +++ b/src/core/dpl-cms/model/proxyUrlGETParams.ts @@ -1,10 +1,19 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * DPL CMS - REST API * The REST API provide by the core REST module. * OpenAPI spec version: Versioning not supported */ -import type { ProxyUrlGETFormat } from "./proxyUrlGETFormat"; +import type { ProxyUrlGET_Format } from "./proxyUrlGETFormat"; -export type ProxyUrlGETParams = { _format?: ProxyUrlGETFormat; url: string }; +export type ProxyUrlGETParams = { + /** + * Request format + */ + _format?: ProxyUrlGET_Format; + /** + * A url to an online resource which may be accessible through a proxy which requires rewriting of the url + */ + url: string; +}; diff --git a/src/core/fbs/fbs.ts b/src/core/fbs/fbs.ts index 0a7bcc97dd..24cbc9f8cf 100644 --- a/src/core/fbs/fbs.ts +++ b/src/core/fbs/fbs.ts @@ -1,12 +1,11 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 */ -import { - useQuery, - useMutation, +import { useQuery, useMutation } from "react-query"; +import type { UseQueryOptions, UseMutationOptions, QueryFunction, @@ -39,11 +38,8 @@ import type { AuthenticatedPatronV6, UpdatePatronRequestV4 } from "./model"; -import { fetcher, ErrorType, BodyType } from "./mutator/fetcher"; - -type AwaitedInput = PromiseLike | T; - -type Awaited = O extends AwaitedInput ? T : never; +import { fetcher } from "./mutator/fetcher"; +import type { ErrorType, BodyType } from "./mutator/fetcher"; /** * @@ -59,22 +55,19 @@ export const getBranches = ( return fetcher({ url: `/external/v1/agencyid/branches`, method: "get", - signal, - params + params, + signal }); }; -export const getGetBranchesQueryKey = (params?: GetBranchesParams) => [ - `/external/v1/agencyid/branches`, - ...(params ? [params] : []) -]; - -export type GetBranchesQueryResult = NonNullable< - Awaited> ->; -export type GetBranchesQueryError = ErrorType; +export const getGetBranchesQueryKey = (params?: GetBranchesParams) => { + return [ + `/external/v1/agencyid/branches`, + ...(params ? [params] : []) + ] as const; +}; -export const useGetBranches = < +export const getGetBranchesQueryOptions = < TData = Awaited>, TError = ErrorType >( @@ -86,7 +79,7 @@ export const useGetBranches = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetBranchesQueryKey(params); @@ -95,22 +88,49 @@ export const useGetBranches = < signal }) => getBranches(params, signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; + +export type GetBranchesQueryResult = NonNullable< + Awaited> +>; +export type GetBranchesQueryError = ErrorType; + +/** + * @summary Get branches for an agency. + */ +export const useGetBranches = < + TData = Awaited>, + TError = ErrorType +>( + params?: GetBranchesParams, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetBranchesQueryOptions(params, options); - return { - queryKey, - ...query + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** * @summary Delete existing reservations. */ -export const deleteReservations = (params?: DeleteReservationsParams) => { +export const deleteReservations = (params: DeleteReservationsParams) => { return fetcher({ url: `/external/v1/agencyid/patrons/patronid/reservations`, method: "delete", @@ -118,40 +138,59 @@ export const deleteReservations = (params?: DeleteReservationsParams) => { }); }; -export type DeleteReservationsMutationResult = NonNullable< - Awaited> ->; - -export type DeleteReservationsMutationError = ErrorType; - -export const useDeleteReservations = < +export const getDeleteReservationsMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { mutation?: UseMutationOptions< Awaited>, TError, - { params?: DeleteReservationsParams }, + { params: DeleteReservationsParams }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { params: DeleteReservationsParams }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< Awaited>, - { params?: DeleteReservationsParams } + { params: DeleteReservationsParams } > = (props) => { const { params } = props ?? {}; return deleteReservations(params); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteReservationsMutationResult = NonNullable< + Awaited> +>; + +export type DeleteReservationsMutationError = ErrorType; + +/** + * @summary Delete existing reservations. + */ +export const useDeleteReservations = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, - { params?: DeleteReservationsParams }, + { params: DeleteReservationsParams }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getDeleteReservationsMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -188,16 +227,11 @@ export const getReservations = (signal?: AbortSignal) => { }); }; -export const getGetReservationsQueryKey = () => [ - `/external/v1/agencyid/patrons/patronid/reservations` -]; - -export type GetReservationsQueryResult = NonNullable< - Awaited> ->; -export type GetReservationsQueryError = ErrorType; +export const getGetReservationsQueryKey = () => { + return [`/external/v1/agencyid/patrons/patronid/reservations`] as const; +}; -export const useGetReservations = < +export const getGetReservationsQueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -206,7 +240,7 @@ export const useGetReservations = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetReservationsQueryKey(); @@ -215,16 +249,40 @@ export const useGetReservations = < signal }) => getReservations(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetReservationsQueryResult = NonNullable< + Awaited> +>; +export type GetReservationsQueryError = ErrorType; + +/** + * @summary Get all unfulfilled reservations made by the patron (DEPRECATED). + */ +export const useGetReservations = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetReservationsQueryOptions(options); - return { - queryKey, - ...query + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -265,14 +323,7 @@ export const addReservationsDeprecated = ( }); }; -export type AddReservationsDeprecatedMutationResult = NonNullable< - Awaited> ->; -export type AddReservationsDeprecatedMutationBody = - BodyType; -export type AddReservationsDeprecatedMutationError = ErrorType; - -export const useAddReservationsDeprecated = < +export const getAddReservationsDeprecatedMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -282,7 +333,12 @@ export const useAddReservationsDeprecated = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -294,12 +350,33 @@ export const useAddReservationsDeprecated = < return addReservationsDeprecated(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type AddReservationsDeprecatedMutationResult = NonNullable< + Awaited> +>; +export type AddReservationsDeprecatedMutationBody = + BodyType; +export type AddReservationsDeprecatedMutationError = ErrorType; + +/** + * @summary Create new reservations for the patron (DEPRECATED). + */ +export const useAddReservationsDeprecated = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getAddReservationsDeprecatedMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -335,13 +412,7 @@ export const updateReservations = ( }); }; -export type UpdateReservationsMutationResult = NonNullable< - Awaited> ->; -export type UpdateReservationsMutationBody = BodyType; -export type UpdateReservationsMutationError = ErrorType; - -export const useUpdateReservations = < +export const getUpdateReservationsMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -351,7 +422,12 @@ export const useUpdateReservations = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -363,12 +439,32 @@ export const useUpdateReservations = < return updateReservations(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateReservationsMutationResult = NonNullable< + Awaited> +>; +export type UpdateReservationsMutationBody = BodyType; +export type UpdateReservationsMutationError = ErrorType; + +/** + * @summary Update existing reservations. + */ +export const useUpdateReservations = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getUpdateReservationsMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -407,16 +503,11 @@ export const getReservationsV2 = (signal?: AbortSignal) => { }); }; -export const getGetReservationsV2QueryKey = () => [ - `/external/v1/agencyid/patrons/patronid/reservations/v2` -]; - -export type GetReservationsV2QueryResult = NonNullable< - Awaited> ->; -export type GetReservationsV2QueryError = ErrorType; +export const getGetReservationsV2QueryKey = () => { + return [`/external/v1/agencyid/patrons/patronid/reservations/v2`] as const; +}; -export const useGetReservationsV2 = < +export const getGetReservationsV2QueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -425,7 +516,7 @@ export const useGetReservationsV2 = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetReservationsV2QueryKey(); @@ -434,16 +525,40 @@ export const useGetReservationsV2 = < Awaited> > = ({ signal }) => getReservationsV2(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetReservationsV2QueryResult = NonNullable< + Awaited> +>; +export type GetReservationsV2QueryError = ErrorType; + +/** + * @summary Get all unfulfilled reservations made by the patron. + */ +export const useGetReservationsV2 = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetReservationsV2QueryOptions(options); - return { - queryKey, - ...query + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -515,13 +630,7 @@ export const addReservationsV2 = ( }); }; -export type AddReservationsV2MutationResult = NonNullable< - Awaited> ->; -export type AddReservationsV2MutationBody = BodyType; -export type AddReservationsV2MutationError = ErrorType; - -export const useAddReservationsV2 = < +export const getAddReservationsV2MutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -531,7 +640,12 @@ export const useAddReservationsV2 = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -543,12 +657,32 @@ export const useAddReservationsV2 = < return addReservationsV2(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type AddReservationsV2MutationResult = NonNullable< + Awaited> +>; +export type AddReservationsV2MutationBody = BodyType; +export type AddReservationsV2MutationError = ErrorType; + +/** + * @summary Create new reservations for the patron. + */ +export const useAddReservationsV2 = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getAddReservationsV2MutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -557,34 +691,31 @@ export const useAddReservationsV2 = < * @summary Get availability of bibliographical records. */ export const getAvailabilityV3 = ( - params?: GetAvailabilityV3Params, + params: GetAvailabilityV3Params, signal?: AbortSignal ) => { return fetcher({ url: `/external/agencyid/catalog/availability/v3`, method: "get", - signal, - params + params, + signal }); }; export const getGetAvailabilityV3QueryKey = ( - params?: GetAvailabilityV3Params -) => [ - `/external/agencyid/catalog/availability/v3`, - ...(params ? [params] : []) -]; - -export type GetAvailabilityV3QueryResult = NonNullable< - Awaited> ->; -export type GetAvailabilityV3QueryError = ErrorType; + params: GetAvailabilityV3Params +) => { + return [ + `/external/agencyid/catalog/availability/v3`, + ...(params ? [params] : []) + ] as const; +}; -export const useGetAvailabilityV3 = < +export const getGetAvailabilityV3QueryOptions = < TData = Awaited>, TError = ErrorType >( - params?: GetAvailabilityV3Params, + params: GetAvailabilityV3Params, options?: { query?: UseQueryOptions< Awaited>, @@ -592,7 +723,7 @@ export const useGetAvailabilityV3 = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = @@ -602,16 +733,43 @@ export const useGetAvailabilityV3 = < Awaited> > = ({ signal }) => getAvailabilityV3(params, signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetAvailabilityV3QueryResult = NonNullable< + Awaited> +>; +export type GetAvailabilityV3QueryError = ErrorType; + +/** + * @summary Get availability of bibliographical records. + */ +export const useGetAvailabilityV3 = < + TData = Awaited>, + TError = ErrorType +>( + params: GetAvailabilityV3Params, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetAvailabilityV3QueryOptions(params, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -621,32 +779,29 @@ export const useGetAvailabilityV3 = < * @summary Get placement holdings for bibliographical records. */ export const getHoldingsV3 = ( - params?: GetHoldingsV3Params, + params: GetHoldingsV3Params, signal?: AbortSignal ) => { return fetcher({ url: `/external/agencyid/catalog/holdings/v3`, method: "get", - signal, - params + params, + signal }); }; -export const getGetHoldingsV3QueryKey = (params?: GetHoldingsV3Params) => [ - `/external/agencyid/catalog/holdings/v3`, - ...(params ? [params] : []) -]; - -export type GetHoldingsV3QueryResult = NonNullable< - Awaited> ->; -export type GetHoldingsV3QueryError = ErrorType; +export const getGetHoldingsV3QueryKey = (params: GetHoldingsV3Params) => { + return [ + `/external/agencyid/catalog/holdings/v3`, + ...(params ? [params] : []) + ] as const; +}; -export const useGetHoldingsV3 = < +export const getGetHoldingsV3QueryOptions = < TData = Awaited>, TError = ErrorType >( - params?: GetHoldingsV3Params, + params: GetHoldingsV3Params, options?: { query?: UseQueryOptions< Awaited>, @@ -654,7 +809,7 @@ export const useGetHoldingsV3 = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetHoldingsV3QueryKey(params); @@ -663,16 +818,43 @@ export const useGetHoldingsV3 = < signal }) => getHoldingsV3(params, signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; + +export type GetHoldingsV3QueryResult = NonNullable< + Awaited> +>; +export type GetHoldingsV3QueryError = ErrorType; + +/** + * @summary Get placement holdings for bibliographical records. + */ +export const useGetHoldingsV3 = < + TData = Awaited>, + TError = ErrorType +>( + params: GetHoldingsV3Params, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetHoldingsV3QueryOptions(params, options); - return { - queryKey, - ...query + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -692,30 +874,27 @@ export const useGetHoldingsV3 = < important that unrecognized types are treated as 'other'.

* @summary List of fees in FBS for the patron with all available information about the fee. */ -export const getFeesV2 = (params?: GetFeesV2Params, signal?: AbortSignal) => { +export const getFeesV2 = (params: GetFeesV2Params, signal?: AbortSignal) => { return fetcher({ url: `/external/agencyid/patron/patronid/fees/v2`, method: "get", - signal, - params + params, + signal }); }; -export const getGetFeesV2QueryKey = (params?: GetFeesV2Params) => [ - `/external/agencyid/patron/patronid/fees/v2`, - ...(params ? [params] : []) -]; - -export type GetFeesV2QueryResult = NonNullable< - Awaited> ->; -export type GetFeesV2QueryError = ErrorType; +export const getGetFeesV2QueryKey = (params: GetFeesV2Params) => { + return [ + `/external/agencyid/patron/patronid/fees/v2`, + ...(params ? [params] : []) + ] as const; +}; -export const useGetFeesV2 = < +export const getGetFeesV2QueryOptions = < TData = Awaited>, TError = ErrorType >( - params?: GetFeesV2Params, + params: GetFeesV2Params, options?: { query?: UseQueryOptions< Awaited>, @@ -723,7 +902,7 @@ export const useGetFeesV2 = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetFeesV2QueryKey(params); @@ -732,16 +911,43 @@ export const useGetFeesV2 = < signal }) => getFeesV2(params, signal); - const query = useQuery>, TError, TData>( - queryKey, - queryFn, - queryOptions - ); + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetFeesV2QueryResult = NonNullable< + Awaited> +>; +export type GetFeesV2QueryError = ErrorType; + +/** + * @summary List of fees in FBS for the patron with all available information about the fee. + */ +export const useGetFeesV2 = < + TData = Awaited>, + TError = ErrorType +>( + params: GetFeesV2Params, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetFeesV2QueryOptions(params, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -774,13 +980,7 @@ export const createV4 = ( }); }; -export type CreateV4MutationResult = NonNullable< - Awaited> ->; -export type CreateV4MutationBody = BodyType; -export type CreateV4MutationError = ErrorType; - -export const useCreateV4 = < +export const getCreateV4MutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -790,7 +990,12 @@ export const useCreateV4 = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -802,12 +1007,32 @@ export const useCreateV4 = < return createV4(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type CreateV4MutationResult = NonNullable< + Awaited> +>; +export type CreateV4MutationBody = BodyType; +export type CreateV4MutationError = ErrorType; + +/** + * @summary Create a new patron who is a person. + */ +export const useCreateV4 = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getCreateV4MutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -834,14 +1059,7 @@ export const createWithGuardian = ( }); }; -export type CreateWithGuardianMutationResult = NonNullable< - Awaited> ->; -export type CreateWithGuardianMutationBody = - BodyType; -export type CreateWithGuardianMutationError = ErrorType; - -export const useCreateWithGuardian = < +export const getCreateWithGuardianMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -851,7 +1069,12 @@ export const useCreateWithGuardian = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -863,12 +1086,33 @@ export const useCreateWithGuardian = < return createWithGuardian(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type CreateWithGuardianMutationResult = NonNullable< + Awaited> +>; +export type CreateWithGuardianMutationBody = + BodyType; +export type CreateWithGuardianMutationError = ErrorType; + +/** + * @summary Creates a person patron with a guardian (eg A financial responsible). + */ +export const useCreateWithGuardian = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getCreateWithGuardianMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -895,13 +1139,7 @@ export const updateGuardian = ( }); }; -export type UpdateGuardianMutationResult = NonNullable< - Awaited> ->; -export type UpdateGuardianMutationBody = BodyType; -export type UpdateGuardianMutationError = ErrorType; - -export const useUpdateGuardian = < +export const getUpdateGuardianMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -911,7 +1149,12 @@ export const useUpdateGuardian = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -923,12 +1166,32 @@ export const useUpdateGuardian = < return updateGuardian(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateGuardianMutationResult = NonNullable< + Awaited> +>; +export type UpdateGuardianMutationBody = BodyType; +export type UpdateGuardianMutationError = ErrorType; + +/** + * @summary Updates a person patron's guardian (eg A financial responsible). + */ +export const useUpdateGuardian = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getUpdateGuardianMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -972,13 +1235,7 @@ export const renewLoansV2 = (renewLoansV2Body: number[]) => { }); }; -export type RenewLoansV2MutationResult = NonNullable< - Awaited> ->; -export type RenewLoansV2MutationBody = BodyType; -export type RenewLoansV2MutationError = ErrorType; - -export const useRenewLoansV2 = < +export const getRenewLoansV2MutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -988,7 +1245,12 @@ export const useRenewLoansV2 = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -1000,12 +1262,32 @@ export const useRenewLoansV2 = < return renewLoansV2(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type RenewLoansV2MutationResult = NonNullable< + Awaited> +>; +export type RenewLoansV2MutationBody = BodyType; +export type RenewLoansV2MutationError = ErrorType; + +/** + * @summary Renew loans. + */ +export const useRenewLoansV2 = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getRenewLoansV2MutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -1049,16 +1331,11 @@ export const getLoansV2 = (signal?: AbortSignal) => { }); }; -export const getGetLoansV2QueryKey = () => [ - `/external/agencyid/patrons/patronid/loans/v2` -]; - -export type GetLoansV2QueryResult = NonNullable< - Awaited> ->; -export type GetLoansV2QueryError = ErrorType; +export const getGetLoansV2QueryKey = () => { + return [`/external/agencyid/patrons/patronid/loans/v2`] as const; +}; -export const useGetLoansV2 = < +export const getGetLoansV2QueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -1067,7 +1344,7 @@ export const useGetLoansV2 = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetLoansV2QueryKey(); @@ -1076,16 +1353,40 @@ export const useGetLoansV2 = < signal }) => getLoansV2(signal); - const query = useQuery>, TError, TData>( - queryKey, - queryFn, - queryOptions - ); + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetLoansV2QueryResult = NonNullable< + Awaited> +>; +export type GetLoansV2QueryError = ErrorType; + +/** + * @summary Get list of current loans by the patron. + */ +export const useGetLoansV2 = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetLoansV2QueryOptions(options); - return { - queryKey, - ...query + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -1111,16 +1412,11 @@ export const getPatronInformationByPatronIdV2 = (signal?: AbortSignal) => { }); }; -export const getGetPatronInformationByPatronIdV2QueryKey = () => [ - `/external/agencyid/patrons/patronid/v2` -]; - -export type GetPatronInformationByPatronIdV2QueryResult = NonNullable< - Awaited> ->; -export type GetPatronInformationByPatronIdV2QueryError = ErrorType; +export const getGetPatronInformationByPatronIdV2QueryKey = () => { + return [`/external/agencyid/patrons/patronid/v2`] as const; +}; -export const useGetPatronInformationByPatronIdV2 = < +export const getGetPatronInformationByPatronIdV2QueryOptions = < TData = Awaited>, TError = ErrorType >( @@ -1129,24 +1425,48 @@ export const useGetPatronInformationByPatronIdV2 = < TError, TData > -): UseQueryResult & { queryKey: QueryKey } => { +) => { const queryKey = queryOptions?.queryKey ?? getGetPatronInformationByPatronIdV2QueryKey(); const queryFn: QueryFunction< Awaited> - > = ({ signal }) => getPatronInformationByPatronIdV2(); + > = ({ signal }) => getPatronInformationByPatronIdV2(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetPatronInformationByPatronIdV2QueryResult = NonNullable< + Awaited> +>; +export type GetPatronInformationByPatronIdV2QueryError = ErrorType; + +/** + * @summary Returns the patron details + */ +export const useGetPatronInformationByPatronIdV2 = < + TData = Awaited>, + TError = ErrorType +>( + queryOptions?: UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > +): UseQueryResult & { queryKey: QueryKey } => { + const options = getGetPatronInformationByPatronIdV2QueryOptions(queryOptions); - return { - queryKey, - ...query + const query = useQuery(options) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = options.queryKey; + + return query; }; /** @@ -1178,13 +1498,7 @@ export const updateV5 = ( }); }; -export type UpdateV5MutationResult = NonNullable< - Awaited> ->; -export type UpdateV5MutationBody = BodyType; -export type UpdateV5MutationError = ErrorType; - -export const useUpdateV5 = < +export const getUpdateV5MutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -1194,7 +1508,12 @@ export const useUpdateV5 = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -1206,10 +1525,30 @@ export const useUpdateV5 = < return updateV5(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateV5MutationResult = NonNullable< + Awaited> +>; +export type UpdateV5MutationBody = BodyType; +export type UpdateV5MutationError = ErrorType; + +/** + * @summary Update information about the patron. + */ +export const useUpdateV5 = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getUpdateV5MutationOptions(options); + + return useMutation(mutationOptions); }; diff --git a/src/core/fbs/model/address.ts b/src/core/fbs/model/address.ts index 652ead100c..f8d5a8b3c9 100644 --- a/src/core/fbs/model/address.ts +++ b/src/core/fbs/model/address.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/addressV2.ts b/src/core/fbs/model/addressV2.ts index 1648656f29..6ec66f5ca9 100644 --- a/src/core/fbs/model/addressV2.ts +++ b/src/core/fbs/model/addressV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/agencyBranch.ts b/src/core/fbs/model/agencyBranch.ts index 2167f21533..2b947a4979 100644 --- a/src/core/fbs/model/agencyBranch.ts +++ b/src/core/fbs/model/agencyBranch.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/agencyDepartment.ts b/src/core/fbs/model/agencyDepartment.ts index 55df921e20..abc1012759 100644 --- a/src/core/fbs/model/agencyDepartment.ts +++ b/src/core/fbs/model/agencyDepartment.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/agencyLocation.ts b/src/core/fbs/model/agencyLocation.ts index adfe2d03cd..1551af9848 100644 --- a/src/core/fbs/model/agencyLocation.ts +++ b/src/core/fbs/model/agencyLocation.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/agencySublocation.ts b/src/core/fbs/model/agencySublocation.ts index 3287b2fcd0..a045ad49ba 100644 --- a/src/core/fbs/model/agencySublocation.ts +++ b/src/core/fbs/model/agencySublocation.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/authenticatedPatronV4.ts b/src/core/fbs/model/authenticatedPatronV4.ts index 8977be1e25..db41ebb746 100644 --- a/src/core/fbs/model/authenticatedPatronV4.ts +++ b/src/core/fbs/model/authenticatedPatronV4.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/authenticatedPatronV6.ts b/src/core/fbs/model/authenticatedPatronV6.ts index dc794be596..d37e14de37 100644 --- a/src/core/fbs/model/authenticatedPatronV6.ts +++ b/src/core/fbs/model/authenticatedPatronV6.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/authenticatedPatronV6AuthenticateStatus.ts b/src/core/fbs/model/authenticatedPatronV6AuthenticateStatus.ts index 9a66d11d71..fa33f25cd9 100644 --- a/src/core/fbs/model/authenticatedPatronV6AuthenticateStatus.ts +++ b/src/core/fbs/model/authenticatedPatronV6AuthenticateStatus.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/availabilityV3.ts b/src/core/fbs/model/availabilityV3.ts index 96c17ccb2d..148d6331eb 100644 --- a/src/core/fbs/model/availabilityV3.ts +++ b/src/core/fbs/model/availabilityV3.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/blockStatus.ts b/src/core/fbs/model/blockStatus.ts index e2b1e27965..3a73cd91f1 100644 --- a/src/core/fbs/model/blockStatus.ts +++ b/src/core/fbs/model/blockStatus.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/booking.ts b/src/core/fbs/model/booking.ts index a188b3bca1..d954731666 100644 --- a/src/core/fbs/model/booking.ts +++ b/src/core/fbs/model/booking.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/bookingInfo.ts b/src/core/fbs/model/bookingInfo.ts index 48323d4d32..6a719244a5 100644 --- a/src/core/fbs/model/bookingInfo.ts +++ b/src/core/fbs/model/bookingInfo.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/createBooking.ts b/src/core/fbs/model/createBooking.ts index e492846151..3c6da55f8b 100644 --- a/src/core/fbs/model/createBooking.ts +++ b/src/core/fbs/model/createBooking.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/createPatronRequestV3.ts b/src/core/fbs/model/createPatronRequestV3.ts index 0409a43fe6..4ccf8190f1 100644 --- a/src/core/fbs/model/createPatronRequestV3.ts +++ b/src/core/fbs/model/createPatronRequestV3.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/createReservation.ts b/src/core/fbs/model/createReservation.ts index dca5326364..8851121ae0 100644 --- a/src/core/fbs/model/createReservation.ts +++ b/src/core/fbs/model/createReservation.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/createReservationBatch.ts b/src/core/fbs/model/createReservationBatch.ts index 0f73f52a2a..346e09993b 100644 --- a/src/core/fbs/model/createReservationBatch.ts +++ b/src/core/fbs/model/createReservationBatch.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/createReservationBatchV2.ts b/src/core/fbs/model/createReservationBatchV2.ts index 2e4641bb9f..6b67bdedaa 100644 --- a/src/core/fbs/model/createReservationBatchV2.ts +++ b/src/core/fbs/model/createReservationBatchV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/deleteReservationsParams.ts b/src/core/fbs/model/deleteReservationsParams.ts index e6a99c3ddf..2ddb925917 100644 --- a/src/core/fbs/model/deleteReservationsParams.ts +++ b/src/core/fbs/model/deleteReservationsParams.ts @@ -1,8 +1,13 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 */ -export type DeleteReservationsParams = { reservationid: number[] }; +export type DeleteReservationsParams = { + /** + * a list of reservation ids for reservations that are to be deleted + */ + reservationid: number[]; +}; diff --git a/src/core/fbs/model/feeMaterial.ts b/src/core/fbs/model/feeMaterial.ts index 961968a73d..b64f30d06a 100644 --- a/src/core/fbs/model/feeMaterial.ts +++ b/src/core/fbs/model/feeMaterial.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/feeMaterialV2.ts b/src/core/fbs/model/feeMaterialV2.ts index 21f426aa7d..69b25428de 100644 --- a/src/core/fbs/model/feeMaterialV2.ts +++ b/src/core/fbs/model/feeMaterialV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/feeV2.ts b/src/core/fbs/model/feeV2.ts index 4390805fd3..4f1ffd509b 100644 --- a/src/core/fbs/model/feeV2.ts +++ b/src/core/fbs/model/feeV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/getAvailabilityV3Params.ts b/src/core/fbs/model/getAvailabilityV3Params.ts index a1bff83afe..b92add1c3c 100644 --- a/src/core/fbs/model/getAvailabilityV3Params.ts +++ b/src/core/fbs/model/getAvailabilityV3Params.ts @@ -1,11 +1,17 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 */ export type GetAvailabilityV3Params = { + /** + * list of record ids + */ recordid: string[]; + /** + * Identifies the branchIds which are excluded from the result + */ exclude?: string[]; }; diff --git a/src/core/fbs/model/getBranchesParams.ts b/src/core/fbs/model/getBranchesParams.ts index 3ba9469599..fedb1183e6 100644 --- a/src/core/fbs/model/getBranchesParams.ts +++ b/src/core/fbs/model/getBranchesParams.ts @@ -1,8 +1,13 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 */ -export type GetBranchesParams = { exclude?: string[] }; +export type GetBranchesParams = { + /** + * Identifies the branchIds which are excluded from the result + */ + exclude?: string[]; +}; diff --git a/src/core/fbs/model/getFeesV2Params.ts b/src/core/fbs/model/getFeesV2Params.ts index 0de7683865..630f177443 100644 --- a/src/core/fbs/model/getFeesV2Params.ts +++ b/src/core/fbs/model/getFeesV2Params.ts @@ -1,11 +1,19 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 */ export type GetFeesV2Params = { + /** + * true if all paid/unpaid fees should be included, false if only unpaid fees should + be included; default=false + */ includepaid: boolean; + /** + * true if fees that are not payable through a CMS system should be included (for read + only access); default=false + */ includenonpayable: boolean; }; diff --git a/src/core/fbs/model/getHoldingsV3Params.ts b/src/core/fbs/model/getHoldingsV3Params.ts index 3e36599200..aaae32f1a1 100644 --- a/src/core/fbs/model/getHoldingsV3Params.ts +++ b/src/core/fbs/model/getHoldingsV3Params.ts @@ -1,8 +1,17 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 */ -export type GetHoldingsV3Params = { recordid: string[]; exclude?: string[] }; +export type GetHoldingsV3Params = { + /** + * Identifies the bibliographical records - The FAUST number. + */ + recordid: string[]; + /** + * Identifies the branchIds which are excluded from the result + */ + exclude?: string[]; +}; diff --git a/src/core/fbs/model/guardian.ts b/src/core/fbs/model/guardian.ts index a35ebb11ff..8dd73eb6ef 100644 --- a/src/core/fbs/model/guardian.ts +++ b/src/core/fbs/model/guardian.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/holdings.ts b/src/core/fbs/model/holdings.ts index 50c521203c..06add68ebe 100644 --- a/src/core/fbs/model/holdings.ts +++ b/src/core/fbs/model/holdings.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/holdingsForBibliographicalRecordV3.ts b/src/core/fbs/model/holdingsForBibliographicalRecordV3.ts index a6b226a952..834ce88eb5 100644 --- a/src/core/fbs/model/holdingsForBibliographicalRecordV3.ts +++ b/src/core/fbs/model/holdingsForBibliographicalRecordV3.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/holdingsV3.ts b/src/core/fbs/model/holdingsV3.ts index 796812b3f7..3494cac02e 100644 --- a/src/core/fbs/model/holdingsV3.ts +++ b/src/core/fbs/model/holdingsV3.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/iLLBibliographicRecord.ts b/src/core/fbs/model/iLLBibliographicRecord.ts index 1fcfcc949c..6366bbd03e 100644 --- a/src/core/fbs/model/iLLBibliographicRecord.ts +++ b/src/core/fbs/model/iLLBibliographicRecord.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/index.ts b/src/core/fbs/model/index.ts index 849c5d4068..0487a94c7a 100644 --- a/src/core/fbs/model/index.ts +++ b/src/core/fbs/model/index.ts @@ -1,60 +1,67 @@ +/** + * Generated by orval v6.18.1 🍺 + * Do not edit manually. + * FBS Adapter + * OpenAPI spec version: 1.0 + */ + export * from "./address"; +export * from "./addressV2"; +export * from "./agencyBranch"; export * from "./agencyDepartment"; export * from "./agencyLocation"; +export * from "./agencySublocation"; +export * from "./authenticatedPatronV4"; +export * from "./authenticatedPatronV6"; export * from "./authenticatedPatronV6AuthenticateStatus"; -export * from "./booking"; export * from "./availabilityV3"; +export * from "./blockStatus"; +export * from "./booking"; +export * from "./bookingInfo"; export * from "./createBooking"; -export * from "./createReservation"; export * from "./createPatronRequestV3"; -export * from "./authenticatedPatronV6"; -export * from "./blockStatus"; -export * from "./feeV2"; -export * from "./feeMaterialV2"; +export * from "./createReservation"; export * from "./createReservationBatch"; -export * from "./agencyBranch"; export * from "./createReservationBatchV2"; +export * from "./deleteReservationsParams"; +export * from "./feeMaterial"; +export * from "./feeMaterialV2"; +export * from "./feeV2"; +export * from "./getAvailabilityV3Params"; +export * from "./getBranchesParams"; +export * from "./getFeesV2Params"; +export * from "./getHoldingsV3Params"; export * from "./guardian"; +export * from "./holdings"; export * from "./holdingsForBibliographicalRecordV3"; -export * from "./loanDetailsV2"; export * from "./holdingsV3"; export * from "./iLLBibliographicRecord"; -export * from "./material"; export * from "./loanDetails"; +export * from "./loanDetailsV2"; export * from "./loanV2"; +export * from "./material"; +export * from "./materialGroup"; export * from "./materialV3"; export * from "./patron"; -export * from "./agencySublocation"; -export * from "./materialGroup"; +export * from "./patronGroup"; export * from "./patronSettings"; export * from "./patronSettingsV3"; -export * from "./holdings"; +export * from "./patronSettingsV4"; export * from "./patronV3"; export * from "./patronV4"; +export * from "./patronV5"; +export * from "./patronWithGuardianRequest"; export * from "./period"; -export * from "./patronSettingsV4"; -export * from "./authenticatedPatronV4"; -export * from "./feeMaterial"; +export * from "./periodical"; export * from "./periodicalReservation"; -export * from "./bookingInfo"; -export * from "./patronGroup"; +export * from "./pincodeChange"; +export * from "./renewedLoanV2"; export * from "./reservationDetails"; +export * from "./reservationDetailsV2"; export * from "./reservationResponseV2"; -export * from "./addressV2"; export * from "./reservationResult"; -export * from "./patronV5"; +export * from "./reservationResultV2"; export * from "./updateGuardianRequest"; -export * from "./updateReservationBatch"; -export * from "./reservationDetailsV2"; -export * from "./getAvailabilityV3Params"; -export * from "./pincodeChange"; -export * from "./patronWithGuardianRequest"; -export * from "./updateReservation"; -export * from "./periodical"; -export * from "./getHoldingsV3Params"; -export * from "./renewedLoanV2"; -export * from "./getFeesV2Params"; -export * from "./getBranchesParams"; export * from "./updatePatronRequestV4"; -export * from "./reservationResultV2"; -export * from "./deleteReservationsParams"; +export * from "./updateReservation"; +export * from "./updateReservationBatch"; diff --git a/src/core/fbs/model/loanDetails.ts b/src/core/fbs/model/loanDetails.ts index db689d2457..096b2c208f 100644 --- a/src/core/fbs/model/loanDetails.ts +++ b/src/core/fbs/model/loanDetails.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/loanDetailsV2.ts b/src/core/fbs/model/loanDetailsV2.ts index 2e79494c6f..b1c42e4313 100644 --- a/src/core/fbs/model/loanDetailsV2.ts +++ b/src/core/fbs/model/loanDetailsV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/loanV2.ts b/src/core/fbs/model/loanV2.ts index b9544a87c8..43c9152930 100644 --- a/src/core/fbs/model/loanV2.ts +++ b/src/core/fbs/model/loanV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/material.ts b/src/core/fbs/model/material.ts index 527b60ca61..2c66165aca 100644 --- a/src/core/fbs/model/material.ts +++ b/src/core/fbs/model/material.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/materialGroup.ts b/src/core/fbs/model/materialGroup.ts index 566bb0eaf8..b2fcda16e6 100644 --- a/src/core/fbs/model/materialGroup.ts +++ b/src/core/fbs/model/materialGroup.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/materialV3.ts b/src/core/fbs/model/materialV3.ts index bbd7830fa8..aeeaf2794c 100644 --- a/src/core/fbs/model/materialV3.ts +++ b/src/core/fbs/model/materialV3.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patron.ts b/src/core/fbs/model/patron.ts index ba14641c37..022fa5f905 100644 --- a/src/core/fbs/model/patron.ts +++ b/src/core/fbs/model/patron.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronGroup.ts b/src/core/fbs/model/patronGroup.ts index ca63200c03..9eecfa93e6 100644 --- a/src/core/fbs/model/patronGroup.ts +++ b/src/core/fbs/model/patronGroup.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronSettings.ts b/src/core/fbs/model/patronSettings.ts index 868350f7f0..45f3eb5259 100644 --- a/src/core/fbs/model/patronSettings.ts +++ b/src/core/fbs/model/patronSettings.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronSettingsV3.ts b/src/core/fbs/model/patronSettingsV3.ts index e7e04c3337..313ce7901d 100644 --- a/src/core/fbs/model/patronSettingsV3.ts +++ b/src/core/fbs/model/patronSettingsV3.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronSettingsV4.ts b/src/core/fbs/model/patronSettingsV4.ts index bdf5edc199..8d16ca22a3 100644 --- a/src/core/fbs/model/patronSettingsV4.ts +++ b/src/core/fbs/model/patronSettingsV4.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronV3.ts b/src/core/fbs/model/patronV3.ts index 5d4b051d76..2340c96741 100644 --- a/src/core/fbs/model/patronV3.ts +++ b/src/core/fbs/model/patronV3.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronV4.ts b/src/core/fbs/model/patronV4.ts index 0e7e5b5416..0baa21accf 100644 --- a/src/core/fbs/model/patronV4.ts +++ b/src/core/fbs/model/patronV4.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronV5.ts b/src/core/fbs/model/patronV5.ts index 319d93bbdc..edc8d17f30 100644 --- a/src/core/fbs/model/patronV5.ts +++ b/src/core/fbs/model/patronV5.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/patronWithGuardianRequest.ts b/src/core/fbs/model/patronWithGuardianRequest.ts index f6fbabdcc5..05d464097d 100644 --- a/src/core/fbs/model/patronWithGuardianRequest.ts +++ b/src/core/fbs/model/patronWithGuardianRequest.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/period.ts b/src/core/fbs/model/period.ts index a80faf2efc..4da77a2782 100644 --- a/src/core/fbs/model/period.ts +++ b/src/core/fbs/model/period.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/periodical.ts b/src/core/fbs/model/periodical.ts index 5a06a581bc..e082dd9c51 100644 --- a/src/core/fbs/model/periodical.ts +++ b/src/core/fbs/model/periodical.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/periodicalReservation.ts b/src/core/fbs/model/periodicalReservation.ts index 06c877bf48..0a05ca55a5 100644 --- a/src/core/fbs/model/periodicalReservation.ts +++ b/src/core/fbs/model/periodicalReservation.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/pincodeChange.ts b/src/core/fbs/model/pincodeChange.ts index d8be595dc8..9b34d636c8 100644 --- a/src/core/fbs/model/pincodeChange.ts +++ b/src/core/fbs/model/pincodeChange.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/renewedLoanV2.ts b/src/core/fbs/model/renewedLoanV2.ts index 74a6b98de9..eecc3fbc82 100644 --- a/src/core/fbs/model/renewedLoanV2.ts +++ b/src/core/fbs/model/renewedLoanV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/reservationDetails.ts b/src/core/fbs/model/reservationDetails.ts index 50a497437d..a58b1942d6 100644 --- a/src/core/fbs/model/reservationDetails.ts +++ b/src/core/fbs/model/reservationDetails.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/reservationDetailsV2.ts b/src/core/fbs/model/reservationDetailsV2.ts index adf1215be0..e12fb9d4eb 100644 --- a/src/core/fbs/model/reservationDetailsV2.ts +++ b/src/core/fbs/model/reservationDetailsV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/reservationResponseV2.ts b/src/core/fbs/model/reservationResponseV2.ts index 067fadc003..001e586608 100644 --- a/src/core/fbs/model/reservationResponseV2.ts +++ b/src/core/fbs/model/reservationResponseV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/reservationResult.ts b/src/core/fbs/model/reservationResult.ts index c01918115a..8e0be3058d 100644 --- a/src/core/fbs/model/reservationResult.ts +++ b/src/core/fbs/model/reservationResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/reservationResultV2.ts b/src/core/fbs/model/reservationResultV2.ts index fb0e1afc86..988929f5c3 100644 --- a/src/core/fbs/model/reservationResultV2.ts +++ b/src/core/fbs/model/reservationResultV2.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/updateGuardianRequest.ts b/src/core/fbs/model/updateGuardianRequest.ts index 0456dfd789..7bbc2ca326 100644 --- a/src/core/fbs/model/updateGuardianRequest.ts +++ b/src/core/fbs/model/updateGuardianRequest.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/updatePatronRequestV4.ts b/src/core/fbs/model/updatePatronRequestV4.ts index fd9bb9198b..c5807baab5 100644 --- a/src/core/fbs/model/updatePatronRequestV4.ts +++ b/src/core/fbs/model/updatePatronRequestV4.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/updateReservation.ts b/src/core/fbs/model/updateReservation.ts index bdeecba690..a55d82f0ba 100644 --- a/src/core/fbs/model/updateReservation.ts +++ b/src/core/fbs/model/updateReservation.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/fbs/model/updateReservationBatch.ts b/src/core/fbs/model/updateReservationBatch.ts index 45fc71569b..576d06c0af 100644 --- a/src/core/fbs/model/updateReservationBatch.ts +++ b/src/core/fbs/model/updateReservationBatch.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * FBS Adapter * OpenAPI spec version: 1.0 diff --git a/src/core/material-list-api/material-list.ts b/src/core/material-list-api/material-list.ts index 248b280798..5eb2eeb90b 100644 --- a/src/core/material-list-api/material-list.ts +++ b/src/core/material-list-api/material-list.ts @@ -1,12 +1,11 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Collection List * OpenAPI spec version: 2.0.0 */ -import { - useQuery, - useMutation, +import { useQuery, useMutation } from "react-query"; +import type { UseQueryOptions, UseMutationOptions, QueryFunction, @@ -15,11 +14,8 @@ import { QueryKey } from "react-query"; import type { List, GetListParams } from "./model"; -import { fetcher, ErrorType } from "./mutator/fetcher"; - -type AwaitedInput = PromiseLike | T; - -type Awaited = O extends AwaitedInput ? T : never; +import { fetcher } from "./mutator/fetcher"; +import type { ErrorType } from "./mutator/fetcher"; /** * Get list with collections. @@ -32,22 +28,16 @@ export const getList = ( return fetcher({ url: `/list/${listId}`, method: "get", - signal, - params + params, + signal }); }; -export const getGetListQueryKey = (listId: string, params?: GetListParams) => [ - `/list/${listId}`, - ...(params ? [params] : []) -]; - -export type GetListQueryResult = NonNullable< - Awaited> ->; -export type GetListQueryError = ErrorType; +export const getGetListQueryKey = (listId: string, params?: GetListParams) => { + return [`/list/${listId}`, ...(params ? [params] : [])] as const; +}; -export const useGetList = < +export const getGetListQueryOptions = < TData = Awaited>, TError = ErrorType >( @@ -56,7 +46,7 @@ export const useGetList = < options?: { query?: UseQueryOptions>, TError, TData>; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetListQueryKey(listId, params); @@ -65,16 +55,40 @@ export const useGetList = < signal }) => getList(listId, params, signal); - const query = useQuery>, TError, TData>( + return { queryKey, queryFn, - { enabled: !!listId, ...queryOptions } - ); + enabled: !!listId, + ...queryOptions + } as UseQueryOptions>, TError, TData> & { + queryKey: QueryKey; + }; +}; - return { - queryKey, - ...query +export type GetListQueryResult = NonNullable< + Awaited> +>; +export type GetListQueryError = ErrorType; + +export const useGetList = < + TData = Awaited>, + TError = ErrorType +>( + listId: string, + params?: GetListParams, + options?: { + query?: UseQueryOptions>, TError, TData>; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetListQueryOptions(listId, params, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -92,13 +106,7 @@ export const hasItem = ( }); }; -export type HasItemMutationResult = NonNullable< - Awaited> ->; - -export type HasItemMutationError = ErrorType; - -export const useHasItem = < +export const getHasItemMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -108,7 +116,12 @@ export const useHasItem = < { listId: string; itemId: string }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { listId: string; itemId: string }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -120,12 +133,29 @@ export const useHasItem = < return hasItem(listId, itemId); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type HasItemMutationResult = NonNullable< + Awaited> +>; + +export type HasItemMutationError = ErrorType; + +export const useHasItem = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { listId: string; itemId: string }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getHasItemMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -135,13 +165,7 @@ export const addItem = (listId: string, itemId: string) => { return fetcher({ url: `/list/${listId}/${itemId}`, method: "put" }); }; -export type AddItemMutationResult = NonNullable< - Awaited> ->; - -export type AddItemMutationError = ErrorType; - -export const useAddItem = < +export const getAddItemMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -151,7 +175,12 @@ export const useAddItem = < { listId: string; itemId: string }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { listId: string; itemId: string }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -163,12 +192,29 @@ export const useAddItem = < return addItem(listId, itemId); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type AddItemMutationResult = NonNullable< + Awaited> +>; + +export type AddItemMutationError = ErrorType; + +export const useAddItem = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { listId: string; itemId: string }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getAddItemMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -178,13 +224,7 @@ export const removeItem = (listId: string, itemId: string) => { return fetcher({ url: `/list/${listId}/${itemId}`, method: "delete" }); }; -export type RemoveItemMutationResult = NonNullable< - Awaited> ->; - -export type RemoveItemMutationError = ErrorType; - -export const useRemoveItem = < +export const getRemoveItemMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -194,7 +234,12 @@ export const useRemoveItem = < { listId: string; itemId: string }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { listId: string; itemId: string }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -206,10 +251,27 @@ export const useRemoveItem = < return removeItem(listId, itemId); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type RemoveItemMutationResult = NonNullable< + Awaited> +>; + +export type RemoveItemMutationError = ErrorType; + +export const useRemoveItem = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { listId: string; itemId: string }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getRemoveItemMutationOptions(options); + + return useMutation(mutationOptions); }; diff --git a/src/core/material-list-api/model/collectionIdsParameter.ts b/src/core/material-list-api/model/collectionIdsParameter.ts index 2a96912a04..8e8a9ee0d6 100644 --- a/src/core/material-list-api/model/collectionIdsParameter.ts +++ b/src/core/material-list-api/model/collectionIdsParameter.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Collection List * OpenAPI spec version: 2.0.0 diff --git a/src/core/material-list-api/model/getListParams.ts b/src/core/material-list-api/model/getListParams.ts index 6c79331771..e0ef5449a1 100644 --- a/src/core/material-list-api/model/getListParams.ts +++ b/src/core/material-list-api/model/getListParams.ts @@ -1,9 +1,14 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Collection List * OpenAPI spec version: 2.0.0 */ import type { CollectionIdsParameter } from "./collectionIdsParameter"; -export type GetListParams = { collection_ids?: CollectionIdsParameter }; +export type GetListParams = { + /** + * Filter the list reply down to the given collection identifiers. This is the recommended way to check for existence of multiple collections on the list. + */ + collection_ids?: CollectionIdsParameter; +}; diff --git a/src/core/material-list-api/model/index.ts b/src/core/material-list-api/model/index.ts index 3ed0a3f2ba..f514860f4b 100644 --- a/src/core/material-list-api/model/index.ts +++ b/src/core/material-list-api/model/index.ts @@ -1,6 +1,13 @@ -export * from "./listId"; +/** + * Generated by orval v6.18.1 🍺 + * Do not edit manually. + * Collection List + * OpenAPI spec version: 2.0.0 + */ + +export * from "./collectionIdsParameter"; +export * from "./getListParams"; export * from "./itemId"; export * from "./legacyUserId"; export * from "./list"; -export * from "./collectionIdsParameter"; -export * from "./getListParams"; +export * from "./listId"; diff --git a/src/core/material-list-api/model/itemId.ts b/src/core/material-list-api/model/itemId.ts index d8cb6f9a39..f0321288db 100644 --- a/src/core/material-list-api/model/itemId.ts +++ b/src/core/material-list-api/model/itemId.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Collection List * OpenAPI spec version: 2.0.0 diff --git a/src/core/material-list-api/model/legacyUserId.ts b/src/core/material-list-api/model/legacyUserId.ts index 4e2fced561..d5a070339a 100644 --- a/src/core/material-list-api/model/legacyUserId.ts +++ b/src/core/material-list-api/model/legacyUserId.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Collection List * OpenAPI spec version: 2.0.0 diff --git a/src/core/material-list-api/model/list.ts b/src/core/material-list-api/model/list.ts index 88a58d527e..9485c2c038 100644 --- a/src/core/material-list-api/model/list.ts +++ b/src/core/material-list-api/model/list.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Collection List * OpenAPI spec version: 2.0.0 diff --git a/src/core/material-list-api/model/listId.ts b/src/core/material-list-api/model/listId.ts index 31432f1b7b..4e329d01be 100644 --- a/src/core/material-list-api/model/listId.ts +++ b/src/core/material-list-api/model/listId.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Collection List * OpenAPI spec version: 2.0.0 diff --git a/src/core/publizon/model/apiResponseCode.ts b/src/core/publizon/model/apiResponseCode.ts index 7d821fa33a..94f2d7a160 100644 --- a/src/core/publizon/model/apiResponseCode.ts +++ b/src/core/publizon/model/apiResponseCode.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/apiResult.ts b/src/core/publizon/model/apiResult.ts index 80d8973157..9cc45bbe15 100644 --- a/src/core/publizon/model/apiResult.ts +++ b/src/core/publizon/model/apiResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/bookTypes.ts b/src/core/publizon/model/bookTypes.ts index d97440eaee..77a67fc102 100644 --- a/src/core/publizon/model/bookTypes.ts +++ b/src/core/publizon/model/bookTypes.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/checklistItem.ts b/src/core/publizon/model/checklistItem.ts index 57721df5d2..a35111a226 100644 --- a/src/core/publizon/model/checklistItem.ts +++ b/src/core/publizon/model/checklistItem.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/checklistResult.ts b/src/core/publizon/model/checklistResult.ts index c1814553d3..21d0e63824 100644 --- a/src/core/publizon/model/checklistResult.ts +++ b/src/core/publizon/model/checklistResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/contentLoanStatusEnum.ts b/src/core/publizon/model/contentLoanStatusEnum.ts index 05a5dc038a..c41b8953d0 100644 --- a/src/core/publizon/model/contentLoanStatusEnum.ts +++ b/src/core/publizon/model/contentLoanStatusEnum.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/createLoanResult.ts b/src/core/publizon/model/createLoanResult.ts index a7ca15dcc3..318acb8367 100644 --- a/src/core/publizon/model/createLoanResult.ts +++ b/src/core/publizon/model/createLoanResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/fileExtensionType.ts b/src/core/publizon/model/fileExtensionType.ts index 13a90b4e6b..59cb963e51 100644 --- a/src/core/publizon/model/fileExtensionType.ts +++ b/src/core/publizon/model/fileExtensionType.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/friendlyCardResult.ts b/src/core/publizon/model/friendlyCardResult.ts index e8b5ccbd63..199506b067 100644 --- a/src/core/publizon/model/friendlyCardResult.ts +++ b/src/core/publizon/model/friendlyCardResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/getV1UserLoansParams.ts b/src/core/publizon/model/getV1UserLoansParams.ts index e614253097..94b1642932 100644 --- a/src/core/publizon/model/getV1UserLoansParams.ts +++ b/src/core/publizon/model/getV1UserLoansParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. @@ -8,4 +8,9 @@ Orders/loans created in test environment will not be invoiced. Please request a */ import type { BookTypes } from "./bookTypes"; -export type GetV1UserLoansParams = { bookType?: BookTypes }; +export type GetV1UserLoansParams = { + /** + * 0 = Ebook, 1 = Audio + */ + bookType?: BookTypes; +}; diff --git a/src/core/publizon/model/identifierTypeEnum.ts b/src/core/publizon/model/identifierTypeEnum.ts index fcba664d69..68062d2429 100644 --- a/src/core/publizon/model/identifierTypeEnum.ts +++ b/src/core/publizon/model/identifierTypeEnum.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/index.ts b/src/core/publizon/model/index.ts index 39acfc1cd4..e43094800e 100644 --- a/src/core/publizon/model/index.ts +++ b/src/core/publizon/model/index.ts @@ -1,32 +1,41 @@ -export * from "./checklistResult"; -export * from "./contentLoanStatusEnum"; -export * from "./identifierTypeEnum"; -export * from "./bookTypes"; +/** + * Generated by orval v6.18.1 🍺 + * Do not edit manually. + * Publizon Library API + * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. +Orders/loans created in test environment will not be invoiced. Please request a new license key for the production environment when you're ready to go live. + * OpenAPI spec version: 1 + */ + export * from "./apiResponseCode"; -export * from "./fileExtensionType"; export * from "./apiResult"; -export * from "./libraryProductContributor"; -export * from "./createLoanResult"; +export * from "./bookTypes"; export * from "./checklistItem"; -export * from "./libraryProductCategory"; -export * from "./libraryBook"; +export * from "./checklistResult"; +export * from "./contentLoanStatusEnum"; +export * from "./createLoanResult"; +export * from "./fileExtensionType"; export * from "./friendlyCardResult"; -export * from "./loanListResult"; -export * from "./reservation"; -export * from "./product"; -export * from "./loan"; +export * from "./getV1UserLoansParams"; +export * from "./identifierTypeEnum"; +export * from "./libraryBook"; +export * from "./libraryData"; +export * from "./libraryProductCategory"; +export * from "./libraryProductContributor"; export * from "./libraryProductExternalId"; -export * from "./productListResult"; -export * from "./loanStatusListResult"; +export * from "./libraryProfile"; +export * from "./loan"; +export * from "./loanListResult"; export * from "./loanResult"; export * from "./loanStatusItem"; -export * from "./userData"; +export * from "./loanStatusListResult"; export * from "./loanStatusResult"; -export * from "./libraryData"; +export * from "./postV1UserLoansIdentifierParams"; +export * from "./product"; +export * from "./productListResult"; +export * from "./productResult"; +export * from "./reservation"; export * from "./reservationInput"; -export * from "./libraryProfile"; export * from "./reservationListResult"; -export * from "./productResult"; -export * from "./getV1UserLoansParams"; export * from "./testCard"; -export * from "./postV1UserLoansIdentifierParams"; +export * from "./userData"; diff --git a/src/core/publizon/model/libraryBook.ts b/src/core/publizon/model/libraryBook.ts index d88af7ef1c..3ae176198a 100644 --- a/src/core/publizon/model/libraryBook.ts +++ b/src/core/publizon/model/libraryBook.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/libraryData.ts b/src/core/publizon/model/libraryData.ts index 78289bbcf8..7c23c54b53 100644 --- a/src/core/publizon/model/libraryData.ts +++ b/src/core/publizon/model/libraryData.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/libraryProductCategory.ts b/src/core/publizon/model/libraryProductCategory.ts index 653bd30f06..a3f3f84a24 100644 --- a/src/core/publizon/model/libraryProductCategory.ts +++ b/src/core/publizon/model/libraryProductCategory.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/libraryProductContributor.ts b/src/core/publizon/model/libraryProductContributor.ts index aa92bff3d9..bd5f182304 100644 --- a/src/core/publizon/model/libraryProductContributor.ts +++ b/src/core/publizon/model/libraryProductContributor.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/libraryProductExternalId.ts b/src/core/publizon/model/libraryProductExternalId.ts index 6494315689..8610623623 100644 --- a/src/core/publizon/model/libraryProductExternalId.ts +++ b/src/core/publizon/model/libraryProductExternalId.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/libraryProfile.ts b/src/core/publizon/model/libraryProfile.ts index c9f40cb775..b56114c657 100644 --- a/src/core/publizon/model/libraryProfile.ts +++ b/src/core/publizon/model/libraryProfile.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/loan.ts b/src/core/publizon/model/loan.ts index 17fdb9ad1f..bcfefb7f3f 100644 --- a/src/core/publizon/model/loan.ts +++ b/src/core/publizon/model/loan.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/loanListResult.ts b/src/core/publizon/model/loanListResult.ts index fefd77f63b..6f4ad112fd 100644 --- a/src/core/publizon/model/loanListResult.ts +++ b/src/core/publizon/model/loanListResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/loanResult.ts b/src/core/publizon/model/loanResult.ts index 446faa3ab2..ad1cdabed3 100644 --- a/src/core/publizon/model/loanResult.ts +++ b/src/core/publizon/model/loanResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/loanStatusItem.ts b/src/core/publizon/model/loanStatusItem.ts index d730ca9f69..e2a81bf0f1 100644 --- a/src/core/publizon/model/loanStatusItem.ts +++ b/src/core/publizon/model/loanStatusItem.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/loanStatusListResult.ts b/src/core/publizon/model/loanStatusListResult.ts index 23c2daf532..d93e03f584 100644 --- a/src/core/publizon/model/loanStatusListResult.ts +++ b/src/core/publizon/model/loanStatusListResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/loanStatusResult.ts b/src/core/publizon/model/loanStatusResult.ts index bbf8ad873a..582c2c7008 100644 --- a/src/core/publizon/model/loanStatusResult.ts +++ b/src/core/publizon/model/loanStatusResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/postV1UserLoansIdentifierParams.ts b/src/core/publizon/model/postV1UserLoansIdentifierParams.ts index 04087fdfbb..6466e9bf41 100644 --- a/src/core/publizon/model/postV1UserLoansIdentifierParams.ts +++ b/src/core/publizon/model/postV1UserLoansIdentifierParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/product.ts b/src/core/publizon/model/product.ts index ef551b2689..fe5825f700 100644 --- a/src/core/publizon/model/product.ts +++ b/src/core/publizon/model/product.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/productListResult.ts b/src/core/publizon/model/productListResult.ts index f816719905..9cb04aa26b 100644 --- a/src/core/publizon/model/productListResult.ts +++ b/src/core/publizon/model/productListResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/productResult.ts b/src/core/publizon/model/productResult.ts index b8c4f63be6..7d07120920 100644 --- a/src/core/publizon/model/productResult.ts +++ b/src/core/publizon/model/productResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/reservation.ts b/src/core/publizon/model/reservation.ts index e9b1010b1c..d1f25324cc 100644 --- a/src/core/publizon/model/reservation.ts +++ b/src/core/publizon/model/reservation.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/reservationInput.ts b/src/core/publizon/model/reservationInput.ts index 85a87dcdf5..31e4cfb0ff 100644 --- a/src/core/publizon/model/reservationInput.ts +++ b/src/core/publizon/model/reservationInput.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/reservationListResult.ts b/src/core/publizon/model/reservationListResult.ts index fc32645236..b3cffc6cb1 100644 --- a/src/core/publizon/model/reservationListResult.ts +++ b/src/core/publizon/model/reservationListResult.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/testCard.ts b/src/core/publizon/model/testCard.ts index 0b75da931e..bbd0571435 100644 --- a/src/core/publizon/model/testCard.ts +++ b/src/core/publizon/model/testCard.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/model/userData.ts b/src/core/publizon/model/userData.ts index dc3d4c72e7..c1a047a44c 100644 --- a/src/core/publizon/model/userData.ts +++ b/src/core/publizon/model/userData.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. diff --git a/src/core/publizon/publizon.ts b/src/core/publizon/publizon.ts index b8be5f38f1..92e3779bdc 100644 --- a/src/core/publizon/publizon.ts +++ b/src/core/publizon/publizon.ts @@ -1,14 +1,13 @@ /** - * Generated by orval v6.8.1 🍺 + * Generated by orval v6.18.1 🍺 * Do not edit manually. * Publizon Library API * Pubhub exists in two separate environments, each with their own server, code and database. Please use the web service located at library-api.qa.pubhub.dk when developing and testing. Orders/loans created in test environment will not be invoiced. Please request a new license key for the production environment when you're ready to go live. * OpenAPI spec version: 1 */ -import { - useQuery, - useMutation, +import { useQuery, useMutation } from "react-query"; +import type { UseQueryOptions, UseMutationOptions, QueryFunction, @@ -33,11 +32,8 @@ import type { ReservationListResult, ReservationInput } from "./model"; -import { fetcher, ErrorType, BodyType } from "./mutator/fetcher"; - -type AwaitedInput = PromiseLike | T; - -type Awaited = O extends AwaitedInput ? T : never; +import { fetcher } from "./mutator/fetcher"; +import type { ErrorType, BodyType } from "./mutator/fetcher"; /** * Sample **request**: @@ -56,16 +52,11 @@ export const getV1UserCardnumberFriendly = (signal?: AbortSignal) => { }); }; -export const getGetV1UserCardnumberFriendlyQueryKey = () => [ - `/v1/user/cardnumber/friendly` -]; - -export type GetV1UserCardnumberFriendlyQueryResult = NonNullable< - Awaited> ->; -export type GetV1UserCardnumberFriendlyQueryError = ErrorType; +export const getGetV1UserCardnumberFriendlyQueryKey = () => { + return [`/v1/user/cardnumber/friendly`] as const; +}; -export const useGetV1UserCardnumberFriendly = < +export const getGetV1UserCardnumberFriendlyQueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -74,7 +65,7 @@ export const useGetV1UserCardnumberFriendly = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = @@ -84,16 +75,40 @@ export const useGetV1UserCardnumberFriendly = < Awaited> > = ({ signal }) => getV1UserCardnumberFriendly(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1UserCardnumberFriendlyQueryResult = NonNullable< + Awaited> +>; +export type GetV1UserCardnumberFriendlyQueryError = ErrorType; + +/** + * @summary Gets the user's friendly card number. + */ +export const useGetV1UserCardnumberFriendly = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1UserCardnumberFriendlyQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -107,14 +122,11 @@ export const getV1UserChecklist = (signal?: AbortSignal) => { }); }; -export const getGetV1UserChecklistQueryKey = () => [`/v1/user/checklist`]; - -export type GetV1UserChecklistQueryResult = NonNullable< - Awaited> ->; -export type GetV1UserChecklistQueryError = ErrorType; +export const getGetV1UserChecklistQueryKey = () => { + return [`/v1/user/checklist`] as const; +}; -export const useGetV1UserChecklist = < +export const getGetV1UserChecklistQueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -123,7 +135,7 @@ export const useGetV1UserChecklist = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetV1UserChecklistQueryKey(); @@ -132,16 +144,40 @@ export const useGetV1UserChecklist = < Awaited> > = ({ signal }) => getV1UserChecklist(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1UserChecklistQueryResult = NonNullable< + Awaited> +>; +export type GetV1UserChecklistQueryError = ErrorType; + +/** + * @summary List all checklist items of the user. + */ +export const useGetV1UserChecklist = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1UserChecklistQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -154,13 +190,7 @@ export const postV1UserChecklistIdentifier = (identifier: string) => { }); }; -export type PostV1UserChecklistIdentifierMutationResult = NonNullable< - Awaited> ->; - -export type PostV1UserChecklistIdentifierMutationError = ErrorType; - -export const usePostV1UserChecklistIdentifier = < +export const getPostV1UserChecklistIdentifierMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -170,7 +200,12 @@ export const usePostV1UserChecklistIdentifier = < { identifier: string }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { identifier: string }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -182,12 +217,33 @@ export const usePostV1UserChecklistIdentifier = < return postV1UserChecklistIdentifier(identifier); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type PostV1UserChecklistIdentifierMutationResult = NonNullable< + Awaited> +>; + +export type PostV1UserChecklistIdentifierMutationError = ErrorType; + +/** + * @summary Add a book to the user's checklist. + */ +export const usePostV1UserChecklistIdentifier = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { identifier: string }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = + getPostV1UserChecklistIdentifierMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -200,13 +256,7 @@ export const deleteV1UserChecklistIdentifier = (identifier: string) => { }); }; -export type DeleteV1UserChecklistIdentifierMutationResult = NonNullable< - Awaited> ->; - -export type DeleteV1UserChecklistIdentifierMutationError = ErrorType; - -export const useDeleteV1UserChecklistIdentifier = < +export const getDeleteV1UserChecklistIdentifierMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -216,7 +266,12 @@ export const useDeleteV1UserChecklistIdentifier = < { identifier: string }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { identifier: string }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -228,12 +283,33 @@ export const useDeleteV1UserChecklistIdentifier = < return deleteV1UserChecklistIdentifier(identifier); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteV1UserChecklistIdentifierMutationResult = NonNullable< + Awaited> +>; + +export type DeleteV1UserChecklistIdentifierMutationError = ErrorType; + +/** + * @summary Delete a book from the user's checklist. + */ +export const useDeleteV1UserChecklistIdentifier = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { identifier: string }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = + getDeleteV1UserChecklistIdentifierMutationOptions(options); + + return useMutation(mutationOptions); }; export const getV1LibraryProfile = (signal?: AbortSignal) => { @@ -244,14 +320,11 @@ export const getV1LibraryProfile = (signal?: AbortSignal) => { }); }; -export const getGetV1LibraryProfileQueryKey = () => [`/v1/library/profile`]; - -export type GetV1LibraryProfileQueryResult = NonNullable< - Awaited> ->; -export type GetV1LibraryProfileQueryError = ErrorType; +export const getGetV1LibraryProfileQueryKey = () => { + return [`/v1/library/profile`] as const; +}; -export const useGetV1LibraryProfile = < +export const getGetV1LibraryProfileQueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -260,7 +333,7 @@ export const useGetV1LibraryProfile = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetV1LibraryProfileQueryKey(); @@ -269,16 +342,37 @@ export const useGetV1LibraryProfile = < Awaited> > = ({ signal }) => getV1LibraryProfile(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1LibraryProfileQueryResult = NonNullable< + Awaited> +>; +export type GetV1LibraryProfileQueryError = ErrorType; + +export const useGetV1LibraryProfile = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1LibraryProfileQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -291,22 +385,16 @@ export const getV1UserLoans = ( return fetcher({ url: `/v1/user/loans`, method: "get", - signal, - params + params, + signal }); }; -export const getGetV1UserLoansQueryKey = (params?: GetV1UserLoansParams) => [ - `/v1/user/loans`, - ...(params ? [params] : []) -]; - -export type GetV1UserLoansQueryResult = NonNullable< - Awaited> ->; -export type GetV1UserLoansQueryError = ErrorType; +export const getGetV1UserLoansQueryKey = (params?: GetV1UserLoansParams) => { + return [`/v1/user/loans`, ...(params ? [params] : [])] as const; +}; -export const useGetV1UserLoans = < +export const getGetV1UserLoansQueryOptions = < TData = Awaited>, TError = ErrorType >( @@ -318,7 +406,7 @@ export const useGetV1UserLoans = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetV1UserLoansQueryKey(params); @@ -327,16 +415,43 @@ export const useGetV1UserLoans = < signal }) => getV1UserLoans(params, signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1UserLoansQueryResult = NonNullable< + Awaited> +>; +export type GetV1UserLoansQueryError = ErrorType; + +/** + * @summary Lists all active loans of the user. + */ +export const useGetV1UserLoans = < + TData = Awaited>, + TError = ErrorType +>( + params?: GetV1UserLoansParams, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1UserLoansQueryOptions(params, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -353,16 +468,11 @@ export const getV1UserLoansIdentifier = ( }); }; -export const getGetV1UserLoansIdentifierQueryKey = (identifier: string) => [ - `/v1/user/loans/${identifier}` -]; - -export type GetV1UserLoansIdentifierQueryResult = NonNullable< - Awaited> ->; -export type GetV1UserLoansIdentifierQueryError = ErrorType; +export const getGetV1UserLoansIdentifierQueryKey = (identifier: string) => { + return [`/v1/user/loans/${identifier}`] as const; +}; -export const useGetV1UserLoansIdentifier = < +export const getGetV1UserLoansIdentifierQueryOptions = < TData = Awaited>, TError = ErrorType >( @@ -374,7 +484,7 @@ export const useGetV1UserLoansIdentifier = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = @@ -384,16 +494,51 @@ export const useGetV1UserLoansIdentifier = < Awaited> > = ({ signal }) => getV1UserLoansIdentifier(identifier, signal); - const query = useQuery< + return { + queryKey, + queryFn, + enabled: !!identifier, + ...queryOptions + } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, { enabled: !!identifier, ...queryOptions }); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1UserLoansIdentifierQueryResult = NonNullable< + Awaited> +>; +export type GetV1UserLoansIdentifierQueryError = ErrorType; + +/** + * @summary Gets details of a specific loan. + */ +export const useGetV1UserLoansIdentifier = < + TData = Awaited>, + TError = ErrorType +>( + identifier: string, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1UserLoansIdentifierQueryOptions( + identifier, + options + ); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -410,13 +555,7 @@ export const postV1UserLoansIdentifier = ( }); }; -export type PostV1UserLoansIdentifierMutationResult = NonNullable< - Awaited> ->; - -export type PostV1UserLoansIdentifierMutationError = ErrorType; - -export const usePostV1UserLoansIdentifier = < +export const getPostV1UserLoansIdentifierMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -426,7 +565,12 @@ export const usePostV1UserLoansIdentifier = < { identifier: string; params?: PostV1UserLoansIdentifierParams }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { identifier: string; params?: PostV1UserLoansIdentifierParams }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -438,12 +582,32 @@ export const usePostV1UserLoansIdentifier = < return postV1UserLoansIdentifier(identifier, params); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type PostV1UserLoansIdentifierMutationResult = NonNullable< + Awaited> +>; + +export type PostV1UserLoansIdentifierMutationError = ErrorType; + +/** + * @summary Creates a new loan. + */ +export const usePostV1UserLoansIdentifier = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { identifier: string; params?: PostV1UserLoansIdentifierParams }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getPostV1UserLoansIdentifierMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -460,16 +624,11 @@ export const getV1LoanstatusIdentifier = ( }); }; -export const getGetV1LoanstatusIdentifierQueryKey = (identifier: string) => [ - `/v1/loanstatus/${identifier}` -]; - -export type GetV1LoanstatusIdentifierQueryResult = NonNullable< - Awaited> ->; -export type GetV1LoanstatusIdentifierQueryError = ErrorType; +export const getGetV1LoanstatusIdentifierQueryKey = (identifier: string) => { + return [`/v1/loanstatus/${identifier}`] as const; +}; -export const useGetV1LoanstatusIdentifier = < +export const getGetV1LoanstatusIdentifierQueryOptions = < TData = Awaited>, TError = ErrorType >( @@ -479,24 +638,57 @@ export const useGetV1LoanstatusIdentifier = < TError, TData > -): UseQueryResult & { queryKey: QueryKey } => { +) => { const queryKey = queryOptions?.queryKey ?? getGetV1LoanstatusIdentifierQueryKey(identifier); const queryFn: QueryFunction< Awaited> - > = ({ signal }) => getV1LoanstatusIdentifier(identifier); + > = ({ signal }) => getV1LoanstatusIdentifier(identifier, signal); - const query = useQuery< + return { + queryKey, + queryFn, + enabled: !!identifier, + ...queryOptions + } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, { enabled: !!identifier, ...queryOptions }); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1LoanstatusIdentifierQueryResult = NonNullable< + Awaited> +>; +export type GetV1LoanstatusIdentifierQueryError = ErrorType; + +/** + * @summary Get loan status of a specific product. + */ +export const useGetV1LoanstatusIdentifier = < + TData = Awaited>, + TError = ErrorType +>( + identifier: string, + queryOptions?: UseQueryOptions< + Awaited>, + TError, + TData + > +): UseQueryResult & { queryKey: QueryKey } => { + const options = getGetV1LoanstatusIdentifierQueryOptions( + identifier, + queryOptions + ); + + const query = useQuery(options) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = options.queryKey; + + return query; }; /** @@ -511,13 +703,7 @@ export const postV1Loanstatus = (postV1LoanstatusBody: string[]) => { }); }; -export type PostV1LoanstatusMutationResult = NonNullable< - Awaited> ->; -export type PostV1LoanstatusMutationBody = BodyType; -export type PostV1LoanstatusMutationError = ErrorType; - -export const usePostV1Loanstatus = < +export const getPostV1LoanstatusMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -527,7 +713,12 @@ export const usePostV1Loanstatus = < { data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -539,12 +730,32 @@ export const usePostV1Loanstatus = < return postV1Loanstatus(data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type PostV1LoanstatusMutationResult = NonNullable< + Awaited> +>; +export type PostV1LoanstatusMutationBody = BodyType; +export type PostV1LoanstatusMutationError = ErrorType; + +/** + * @summary Get loan status of all products. + */ +export const usePostV1Loanstatus = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = getPostV1LoanstatusMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -561,16 +772,11 @@ export const getV1ProductsIdentifier = ( }); }; -export const getGetV1ProductsIdentifierQueryKey = (identifier: string) => [ - `/v1/products/${identifier}` -]; - -export type GetV1ProductsIdentifierQueryResult = NonNullable< - Awaited> ->; -export type GetV1ProductsIdentifierQueryError = ErrorType; +export const getGetV1ProductsIdentifierQueryKey = (identifier: string) => { + return [`/v1/products/${identifier}`] as const; +}; -export const useGetV1ProductsIdentifier = < +export const getGetV1ProductsIdentifierQueryOptions = < TData = Awaited>, TError = ErrorType >( @@ -582,7 +788,7 @@ export const useGetV1ProductsIdentifier = < TData >; } -): UseQueryResult & { queryKey: QueryKey } => { +) => { const { query: queryOptions } = options ?? {}; const queryKey = @@ -592,16 +798,51 @@ export const useGetV1ProductsIdentifier = < Awaited> > = ({ signal }) => getV1ProductsIdentifier(identifier, signal); - const query = useQuery< + return { + queryKey, + queryFn, + enabled: !!identifier, + ...queryOptions + } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, { enabled: !!identifier, ...queryOptions }); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1ProductsIdentifierQueryResult = NonNullable< + Awaited> +>; +export type GetV1ProductsIdentifierQueryError = ErrorType; + +/** + * @summary Get a specific product. + */ +export const useGetV1ProductsIdentifier = < + TData = Awaited>, + TError = ErrorType +>( + identifier: string, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1ProductsIdentifierQueryOptions( + identifier, + options + ); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -615,14 +856,11 @@ export const getV1Products = (signal?: AbortSignal) => { }); }; -export const getGetV1ProductsQueryKey = () => [`/v1/products`]; - -export type GetV1ProductsQueryResult = NonNullable< - Awaited> ->; -export type GetV1ProductsQueryError = ErrorType; +export const getGetV1ProductsQueryKey = () => { + return [`/v1/products`] as const; +}; -export const useGetV1Products = < +export const getGetV1ProductsQueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -631,7 +869,7 @@ export const useGetV1Products = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetV1ProductsQueryKey(); @@ -640,16 +878,40 @@ export const useGetV1Products = < signal }) => getV1Products(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1ProductsQueryResult = NonNullable< + Awaited> +>; +export type GetV1ProductsQueryError = ErrorType; + +/** + * @summary List all products. + */ +export const useGetV1Products = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1ProductsQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -663,14 +925,11 @@ export const getV1UserReservations = (signal?: AbortSignal) => { }); }; -export const getGetV1UserReservationsQueryKey = () => [`/v1/user/reservations`]; - -export type GetV1UserReservationsQueryResult = NonNullable< - Awaited> ->; -export type GetV1UserReservationsQueryError = ErrorType; +export const getGetV1UserReservationsQueryKey = () => { + return [`/v1/user/reservations`] as const; +}; -export const useGetV1UserReservations = < +export const getGetV1UserReservationsQueryOptions = < TData = Awaited>, TError = ErrorType >(options?: { @@ -679,7 +938,7 @@ export const useGetV1UserReservations = < TError, TData >; -}): UseQueryResult & { queryKey: QueryKey } => { +}) => { const { query: queryOptions } = options ?? {}; const queryKey = queryOptions?.queryKey ?? getGetV1UserReservationsQueryKey(); @@ -688,16 +947,40 @@ export const useGetV1UserReservations = < Awaited> > = ({ signal }) => getV1UserReservations(signal); - const query = useQuery< + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< Awaited>, TError, TData - >(queryKey, queryFn, queryOptions); + > & { queryKey: QueryKey }; +}; - return { - queryKey, - ...query +export type GetV1UserReservationsQueryResult = NonNullable< + Awaited> +>; +export type GetV1UserReservationsQueryError = ErrorType; + +/** + * @summary Lists all reservations of the user. + */ +export const useGetV1UserReservations = < + TData = Awaited>, + TError = ErrorType +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetV1UserReservationsQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; }; + + query.queryKey = queryOptions.queryKey; + + return query; }; /** @@ -715,14 +998,7 @@ export const postV1UserReservationsIdentifier = ( }); }; -export type PostV1UserReservationsIdentifierMutationResult = NonNullable< - Awaited> ->; -export type PostV1UserReservationsIdentifierMutationBody = - BodyType; -export type PostV1UserReservationsIdentifierMutationError = ErrorType; - -export const usePostV1UserReservationsIdentifier = < +export const getPostV1UserReservationsIdentifierMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -732,7 +1008,12 @@ export const usePostV1UserReservationsIdentifier = < { identifier: string; data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { identifier: string; data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -744,12 +1025,34 @@ export const usePostV1UserReservationsIdentifier = < return postV1UserReservationsIdentifier(identifier, data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type PostV1UserReservationsIdentifierMutationResult = NonNullable< + Awaited> +>; +export type PostV1UserReservationsIdentifierMutationBody = + BodyType; +export type PostV1UserReservationsIdentifierMutationError = ErrorType; + +/** + * @summary Creates a new reservation. + */ +export const usePostV1UserReservationsIdentifier = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { identifier: string; data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = + getPostV1UserReservationsIdentifierMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -767,14 +1070,7 @@ export const patchV1UserReservationsIdentifier = ( }); }; -export type PatchV1UserReservationsIdentifierMutationResult = NonNullable< - Awaited> ->; -export type PatchV1UserReservationsIdentifierMutationBody = - BodyType; -export type PatchV1UserReservationsIdentifierMutationError = ErrorType; - -export const usePatchV1UserReservationsIdentifier = < +export const getPatchV1UserReservationsIdentifierMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -784,7 +1080,12 @@ export const usePatchV1UserReservationsIdentifier = < { identifier: string; data: BodyType }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { identifier: string; data: BodyType }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -796,12 +1097,34 @@ export const usePatchV1UserReservationsIdentifier = < return patchV1UserReservationsIdentifier(identifier, data); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type PatchV1UserReservationsIdentifierMutationResult = NonNullable< + Awaited> +>; +export type PatchV1UserReservationsIdentifierMutationBody = + BodyType; +export type PatchV1UserReservationsIdentifierMutationError = ErrorType; + +/** + * @summary Updates the phone number and email address of a specific reservation. + */ +export const usePatchV1UserReservationsIdentifier = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { identifier: string; data: BodyType }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = + getPatchV1UserReservationsIdentifierMutationOptions(options); + + return useMutation(mutationOptions); }; /** @@ -814,14 +1137,7 @@ export const deleteV1UserReservationsIdentifier = (identifier: string) => { }); }; -export type DeleteV1UserReservationsIdentifierMutationResult = NonNullable< - Awaited> ->; - -export type DeleteV1UserReservationsIdentifierMutationError = - ErrorType; - -export const useDeleteV1UserReservationsIdentifier = < +export const getDeleteV1UserReservationsIdentifierMutationOptions = < TError = ErrorType, TContext = unknown >(options?: { @@ -831,7 +1147,12 @@ export const useDeleteV1UserReservationsIdentifier = < { identifier: string }, TContext >; -}) => { +}): UseMutationOptions< + Awaited>, + TError, + { identifier: string }, + TContext +> => { const { mutation: mutationOptions } = options ?? {}; const mutationFn: MutationFunction< @@ -843,10 +1164,32 @@ export const useDeleteV1UserReservationsIdentifier = < return deleteV1UserReservationsIdentifier(identifier); }; - return useMutation< + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteV1UserReservationsIdentifierMutationResult = NonNullable< + Awaited> +>; + +export type DeleteV1UserReservationsIdentifierMutationError = + ErrorType; + +/** + * @summary Cancels a reservation. + */ +export const useDeleteV1UserReservationsIdentifier = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< Awaited>, TError, { identifier: string }, TContext - >(mutationFn, mutationOptions); + >; +}) => { + const mutationOptions = + getDeleteV1UserReservationsIdentifierMutationOptions(options); + + return useMutation(mutationOptions); }; diff --git a/yarn.lock b/yarn.lock index aa555f2d25..b9a02441b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -28,9 +28,9 @@ resolved "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz" integrity sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg== -"@apidevtools/swagger-parser@^10.0.3": +"@apidevtools/swagger-parser@^10.1.0": version "10.1.0" - resolved "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz" + resolved "https://registry.yarnpkg.com/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz#a987d71e5be61feb623203be0c96e5985b192ab6" integrity sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw== dependencies: "@apidevtools/json-schema-ref-parser" "9.0.6" @@ -53,6 +53,13 @@ resolved "https://registry.npmjs.org/@asyncapi/specs/-/specs-2.14.0.tgz" integrity sha512-hHsYF6XsYNIKb1P2rXaooF4H+uKKQ4b/Ljxrk3rZ3riEDiSxMshMEfb1fUlw9Yj4V4OmJhjXwkNvw8W59AXv1A== +"@asyncapi/specs@^4.1.0": + version "4.3.1" + resolved "https://registry.yarnpkg.com/@asyncapi/specs/-/specs-4.3.1.tgz#835dbed92253654407a5c6416755fa69d5332bea" + integrity sha512-EfexhJu/lwF8OdQDm28NKLJHFkx0Gb6O+rcezhZYLPIoNYKXJMh2J1vFGpwmfAcTTh+ffK44Oc2Hs1Q4sLBp+A== + dependencies: + "@types/json-schema" "^7.0.11" + "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": version "7.5.5" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz" @@ -1896,6 +1903,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz#cf91e86df127aa3d141744edafcba0abdc577d23" integrity sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg== +"@esbuild/android-arm@0.15.18": + version "0.15.18" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.15.18.tgz#266d40b8fdcf87962df8af05b76219bc786b4f80" + integrity sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw== + "@esbuild/android-arm@0.16.17": version "0.16.17" resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.17.tgz#025b6246d3f68b7bbaa97069144fb5fb70f2fff2" @@ -1941,6 +1953,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz#24333a11027ef46a18f57019450a5188918e2a54" integrity sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg== +"@esbuild/linux-loong64@0.15.18": + version "0.15.18" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.18.tgz#128b76ecb9be48b60cf5cfc1c63a4f00691a3239" + integrity sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ== + "@esbuild/linux-loong64@0.16.17": version "0.16.17" resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz#d5ad459d41ed42bbd4d005256b31882ec52227d8" @@ -2453,14 +2470,22 @@ resolved "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz" integrity sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg== -"@ibm-cloud/openapi-ruleset@0.6.2": - version "0.6.2" - resolved "https://registry.npmjs.org/@ibm-cloud/openapi-ruleset/-/openapi-ruleset-0.6.2.tgz" - integrity sha512-9fjTjYrXqejjNTyLC5znFeZ4UlxYNSZHroU3upUsmVLe2OgFsh4fAlwGkM2cqX79y7TxP5Tz5GvapyY0LIDYBQ== - dependencies: - "@stoplight/spectral-formats" "1.0.2" - "@stoplight/spectral-functions" "1.5.1" - "@stoplight/spectral-rulesets" "1.4.3" +"@ibm-cloud/openapi-ruleset-utilities@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@ibm-cloud/openapi-ruleset-utilities/-/openapi-ruleset-utilities-0.0.1.tgz#e3652622d04aba12214caca90886fb9a25891b5b" + integrity sha512-LBWf21EYmOJnM4azYPM4LsNbiH9GBK8rc1dwmDhuUELI43dEOGWSs2ateLn8/E9vyrVELGwQ1Y3Bu61YHa8kaA== + +"@ibm-cloud/openapi-ruleset@0.45.5": + version "0.45.5" + resolved "https://registry.yarnpkg.com/@ibm-cloud/openapi-ruleset/-/openapi-ruleset-0.45.5.tgz#d2de80302fe800e6abb335705d06b63d2528203e" + integrity sha512-8FqJQj8osll6iLOD5JsFWR+kOU1HbCp1Z2PjHeE67Wb/srz7V9B+YyjZOO9QAgLLHwvgt07XS13FQ+ArNNetGg== + dependencies: + "@ibm-cloud/openapi-ruleset-utilities" "0.0.1" + "@stoplight/spectral-formats" "^1.1.0" + "@stoplight/spectral-functions" "^1.6.1" + "@stoplight/spectral-rulesets" "^1.6.0" + lodash "^4.17.21" + validator "^13.7.0" "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" @@ -2668,6 +2693,81 @@ dependencies: mkdirp "^1.0.4" +"@orval/angular@6.18.1": + version "6.18.1" + resolved "https://registry.yarnpkg.com/@orval/angular/-/angular-6.18.1.tgz#425dbc1f79d0d33ce8ab5d79a82ffa541330aa19" + integrity sha512-kyuqiKyNH1NxrMBZheGTYOU+Gfz4J9Re4MEGUvIVd3Y2Pq4+9zBT+oO3O5LYziquA1viDrzBPEK2LIroHze1Cg== + dependencies: + "@orval/core" "6.18.1" + +"@orval/axios@6.18.1": + version "6.18.1" + resolved "https://registry.yarnpkg.com/@orval/axios/-/axios-6.18.1.tgz#5977f79a20268ffc89923ac8ca62a3178c02094f" + integrity sha512-r6cciQatrDb0vWFWEekJYBBL3DE+egbSbGWr938SK5xx/bCLgEQqtDeT3HTS2iGFC8evADH52L0xdx5J/7I/WQ== + dependencies: + "@orval/core" "6.18.1" + +"@orval/core@6.18.1": + version "6.18.1" + resolved "https://registry.yarnpkg.com/@orval/core/-/core-6.18.1.tgz#765359c3eaecd7166c3b882be5949f9ec732b5dd" + integrity sha512-sL6U9tVDhfrYPk50JXLhotBGzT7xePLlgT2ZEQmn9+lUBL0j9zk9oXrSgNsCE+mKVPiVOAXt96FXNUOKUaCE6Q== + dependencies: + "@apidevtools/swagger-parser" "^10.1.0" + acorn "^8.8.0" + ajv "^8.11.0" + chalk "^4.1.2" + compare-versions "^6.1.0" + debug "^4.3.4" + esbuild "^0.15.3" + esutils "2.0.3" + fs-extra "^10.1.0" + globby "11.1.0" + ibm-openapi-validator "^0.97.3" + lodash.get "^4.4.2" + lodash.isempty "^4.4.0" + lodash.omit "^4.5.0" + lodash.uniq "^4.5.0" + lodash.uniqby "^4.7.0" + lodash.uniqwith "^4.5.0" + micromatch "^4.0.5" + openapi3-ts "^3.0.0" + swagger2openapi "^7.0.8" + validator "^13.7.0" + +"@orval/msw@6.18.1": + version "6.18.1" + resolved "https://registry.yarnpkg.com/@orval/msw/-/msw-6.18.1.tgz#3f529a3d7c13c84cdfff416a47123aab8c1197ff" + integrity sha512-U/+YzhdgEnT7jYfxD4fqGLmboL20U2Rh85HJEpPT59NbpaizI/cMIpr3CWVPRakPPdWzxrc21E5OK7Z/a05qdw== + dependencies: + "@orval/core" "6.18.1" + cuid "^2.1.8" + lodash.get "^4.4.2" + lodash.omit "^4.5.0" + openapi3-ts "^3.0.0" + +"@orval/query@6.18.1": + version "6.18.1" + resolved "https://registry.yarnpkg.com/@orval/query/-/query-6.18.1.tgz#7f0feab860fcdf8a4d6609b13f8864e1c0b9a969" + integrity sha512-c7O1m6+DSLCbvIKwEvkfh0JccTvp+BFiZKWskXDdjMgasyrZDj5Aa1Jh8vsbtiofJnLqbevCMqaidNSKe561tA== + dependencies: + "@orval/core" "6.18.1" + lodash.omitby "^4.6.0" + +"@orval/swr@6.18.1": + version "6.18.1" + resolved "https://registry.yarnpkg.com/@orval/swr/-/swr-6.18.1.tgz#31041330de9e341947a8a316b5be082a902ec2ce" + integrity sha512-z9bA9KlYMobBNMdEnAg/WFbZllwTh6aU96lcpwuZn4sKl0+2Dxu7TKWm2wxMfhH11Qju85yLob7WyqDIytNoNQ== + dependencies: + "@orval/core" "6.18.1" + +"@orval/zod@6.18.1": + version "6.18.1" + resolved "https://registry.yarnpkg.com/@orval/zod/-/zod-6.18.1.tgz#076019968e94a9a3a52e6c33c54bf25e8287a6d2" + integrity sha512-gGGsa+sGtb7Q+Ah5GWU1wC6b/phQ2OVldpsyvqTzMVdsXB6i1P79HplPBRMxeDub/gE7dp1xJm2xy/8lG/j1NA== + dependencies: + "@orval/core" "6.18.1" + lodash.uniq "^4.5.0" + "@pmmmwh/react-refresh-webpack-plugin@^0.5.3": version "0.5.5" resolved "https://registry.npmjs.org/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.5.tgz" @@ -2755,23 +2855,10 @@ redux-thunk "^2.4.1" reselect "^4.1.5" -"@rollup/plugin-commonjs@^20.0.0": - version "20.0.0" - resolved "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-20.0.0.tgz" - integrity sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg== - dependencies: - "@rollup/pluginutils" "^3.1.0" - commondir "^1.0.1" - estree-walker "^2.0.1" - glob "^7.1.6" - is-reference "^1.2.1" - magic-string "^0.25.7" - resolve "^1.17.0" - -"@rollup/plugin-commonjs@^21.0.1": - version "21.1.0" - resolved "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-21.1.0.tgz" - integrity sha512-6ZtHx3VHIp2ReNNDxHjuUml6ur+WcQ28N1yHgCQwsbNkQg2suhxGMDQGJOn/KuDxKtd1xuZP5xSTwBA4GQ8hbA== +"@rollup/plugin-commonjs@~22.0.2": + version "22.0.2" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.2.tgz#ee8ca8415cda30d383b4096aad5222435b4b69b6" + integrity sha512-//NdP6iIwPbMTcazYsiBMbJW7gfmpHom33u1beiIoHDEM0Q9clvtQB1T0efvMqHeKsGohiHo97BCPCkBXdscwg== dependencies: "@rollup/pluginutils" "^3.1.0" commondir "^1.0.1" @@ -2810,6 +2897,14 @@ jsonpointer "^5.0.0" leven "^3.1.0" +"@stoplight/better-ajv-errors@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz#d74a5c4da5d786c17188d7f4edec505f089885fa" + integrity sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA== + dependencies: + jsonpointer "^5.0.0" + leven "^3.1.0" + "@stoplight/json-ref-readers@1.2.2": version "1.2.2" resolved "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz" @@ -2835,6 +2930,22 @@ tslib "^2.3.1" urijs "^1.19.6" +"@stoplight/json-ref-resolver@~3.1.6": + version "3.1.6" + resolved "https://registry.yarnpkg.com/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz#dcf8724472b7d54e8e8952510f39b8ee901dcf56" + integrity sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A== + dependencies: + "@stoplight/json" "^3.21.0" + "@stoplight/path" "^1.3.2" + "@stoplight/types" "^12.3.0 || ^13.0.0" + "@types/urijs" "^1.19.19" + dependency-graph "~0.11.0" + fast-memoize "^2.5.2" + immer "^9.0.6" + lodash "^4.17.21" + tslib "^2.6.0" + urijs "^1.19.11" + "@stoplight/json@3.17.0": version "3.17.0" resolved "https://registry.npmjs.org/@stoplight/json/-/json-3.17.0.tgz" @@ -2857,7 +2968,19 @@ lodash "^4.17.21" safe-stable-stringify "^1.1" -"@stoplight/json@~3.17.0", "@stoplight/json@~3.17.1": +"@stoplight/json@^3.17.1", "@stoplight/json@^3.21.0", "@stoplight/json@~3.21.0": + version "3.21.0" + resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.21.0.tgz#c0dff9c478f3365d7946cb6e34c17cc2fa84250b" + integrity sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g== + dependencies: + "@stoplight/ordered-object-literal" "^1.0.3" + "@stoplight/path" "^1.3.2" + "@stoplight/types" "^13.6.0" + jsonc-parser "~2.2.1" + lodash "^4.17.21" + safe-stable-stringify "^1.1" + +"@stoplight/json@~3.17.1": version "3.17.2" resolved "https://registry.npmjs.org/@stoplight/json/-/json-3.17.2.tgz" integrity sha512-NwIVzanXRUy291J5BMkncCZRMG1Lx+aq+VidGQgfkJjgo8vh1Y/PSAz7fSU8gVGSZBCcqmOkMI7R4zw7DlfTwA== @@ -2875,126 +2998,141 @@ dependencies: wolfy87-eventemitter "~5.2.8" -"@stoplight/ordered-object-literal@1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.2.tgz" - integrity sha512-0ZMS/9sNU3kVo/6RF3eAv7MK9DY8WLjiVJB/tVyfF2lhr2R4kqh534jZ0PlrFB9CRXrdndzn1DbX6ihKZXft2w== - "@stoplight/ordered-object-literal@^1.0.1", "@stoplight/ordered-object-literal@^1.0.2": version "1.0.3" resolved "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.3.tgz" integrity sha512-cjJ7PPkhgTXNMTkevAlmyrx9xOOCaI3c6rEeYb6VitL1o1WcZtrz9KyFyISmTmUa7yYTiy2IS/ud9S8s2sn3+A== +"@stoplight/ordered-object-literal@^1.0.3", "@stoplight/ordered-object-literal@~1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.4.tgz#c8bb2698ab229f31e31a16dd1852c867c1f2f2ed" + integrity sha512-OF8uib1jjDs5/cCU+iOVy+GJjU3X7vk/qJIkIJFqwmlJKrrtijFmqwbu8XToXrwTYLQTP+Hebws5gtZEmk9jag== + "@stoplight/path@1.3.2", "@stoplight/path@^1.3.2": version "1.3.2" resolved "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz" integrity sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ== -"@stoplight/spectral-cli@6.2.1": - version "6.2.1" - resolved "https://registry.npmjs.org/@stoplight/spectral-cli/-/spectral-cli-6.2.1.tgz" - integrity sha512-Omi/vFk8u+UyM36HbFIuH33oPpOUhDF26xD1N0HoefJstMDUot+L0xVGJWslbVYubuJ7U+JLVLUFLKFU39NfcQ== +"@stoplight/spectral-cli@^6.4.2": + version "6.11.0" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-cli/-/spectral-cli-6.11.0.tgz#ca833f251bc65dc2b2532599cd024f2d4f97ae4b" + integrity sha512-IURDN47BPIf3q4ZyUPujGpBzuHWFE5yT34w9rTJ1GKA4SgdscEdQO9KoTjOPT4G4cvDlEV3bNxwQ3uRm7+wRlA== dependencies: - "@rollup/plugin-commonjs" "^20.0.0" - "@stoplight/json" "3.17.0" + "@stoplight/json" "~3.21.0" "@stoplight/path" "1.3.2" - "@stoplight/spectral-core" "^1.5.1" - "@stoplight/spectral-parsers" "^1.0.1" - "@stoplight/spectral-ref-resolver" "1.0.1" - "@stoplight/spectral-ruleset-bundler" "^1.0.0" - "@stoplight/spectral-ruleset-migrator" "^1.5.0" + "@stoplight/spectral-core" "^1.18.3" + "@stoplight/spectral-formatters" "^1.3.0" + "@stoplight/spectral-parsers" "^1.0.3" + "@stoplight/spectral-ref-resolver" "^1.0.4" + "@stoplight/spectral-ruleset-bundler" "^1.5.2" + "@stoplight/spectral-ruleset-migrator" "^1.9.5" "@stoplight/spectral-rulesets" ">=1" - "@stoplight/spectral-runtime" "^1.1.0" - "@stoplight/types" "12.3.0" + "@stoplight/spectral-runtime" "^1.1.2" + "@stoplight/types" "^13.6.0" chalk "4.1.2" - cliui "7.0.4" - eol "0.9.1" - fast-glob "3.2.7" + fast-glob "~3.2.12" + hpagent "~1.2.0" lodash "~4.17.21" pony-cause "^1.0.0" - proxy-agent "5.0.0" - strip-ansi "6.0" - text-table "0.2" + stacktracey "^2.1.7" tslib "^2.3.0" yargs "17.3.1" -"@stoplight/spectral-core@1.10.1": - version "1.10.1" - resolved "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.10.1.tgz" - integrity sha512-eJ6KGWMzzvTfcunoDSEHddRB8is34u+h29wnPzs97V5gFzADkLV3eMPkjFnDmBaiD6kuaRvWV3ZLPbJtpuNg8w== +"@stoplight/spectral-core@>=1", "@stoplight/spectral-core@^1.7.0", "@stoplight/spectral-core@^1.8.0", "@stoplight/spectral-core@^1.8.1": + version "1.12.2" + resolved "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.12.2.tgz" + integrity sha512-g2Nfvqr3m+hl7goB1VzAd7700xkrhReiQY+mb45NMzORKxy4JJfWdb23d8egdb/djyVOZ5QsFxQToGsCLVHu/w== dependencies: "@stoplight/better-ajv-errors" "1.0.1" - "@stoplight/json" "~3.17.1" + "@stoplight/json" "~3.18.1" "@stoplight/lifecycle" "2.3.2" "@stoplight/path" "1.3.2" "@stoplight/spectral-parsers" "^1.0.0" "@stoplight/spectral-ref-resolver" "^1.0.0" "@stoplight/spectral-runtime" "^1.0.0" - "@stoplight/types" "12.3.0" + "@stoplight/types" "13.1.0" + "@types/json-schema" "^7.0.7" ajv "^8.6.0" ajv-errors "~3.0.0" ajv-formats "~2.1.0" blueimp-md5 "2.18.0" - json-schema "0.4.0" jsonpath-plus "6.0.1" lodash "~4.17.21" lodash.topath "^4.5.2" minimatch "3.0.4" - nimma "0.1.7" + nimma "0.2.1" + pony-cause "^1.0.0" simple-eval "1.0.0" tslib "^2.3.0" -"@stoplight/spectral-core@>=1", "@stoplight/spectral-core@^1.5.1", "@stoplight/spectral-core@^1.7.0", "@stoplight/spectral-core@^1.8.0", "@stoplight/spectral-core@^1.8.1": - version "1.12.2" - resolved "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.12.2.tgz" - integrity sha512-g2Nfvqr3m+hl7goB1VzAd7700xkrhReiQY+mb45NMzORKxy4JJfWdb23d8egdb/djyVOZ5QsFxQToGsCLVHu/w== +"@stoplight/spectral-core@^1.12.4", "@stoplight/spectral-core@^1.15.1", "@stoplight/spectral-core@^1.18.3": + version "1.18.3" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-core/-/spectral-core-1.18.3.tgz#d6859182aa09681fe1e5af5a5f4c39082e554542" + integrity sha512-YY8x7X2SWJIhGTLPol+eFiQpWPz0D0mJdkK2i4A0QJG68KkNhypP6+JBC7/Kz3XWjqr0L/RqAd+N5cQLPOKZGQ== dependencies: - "@stoplight/better-ajv-errors" "1.0.1" - "@stoplight/json" "~3.18.1" - "@stoplight/lifecycle" "2.3.2" + "@stoplight/better-ajv-errors" "1.0.3" + "@stoplight/json" "~3.21.0" "@stoplight/path" "1.3.2" "@stoplight/spectral-parsers" "^1.0.0" "@stoplight/spectral-ref-resolver" "^1.0.0" "@stoplight/spectral-runtime" "^1.0.0" - "@stoplight/types" "13.1.0" - "@types/json-schema" "^7.0.7" + "@stoplight/types" "~13.6.0" + "@types/es-aggregate-error" "^1.0.2" + "@types/json-schema" "^7.0.11" ajv "^8.6.0" ajv-errors "~3.0.0" ajv-formats "~2.1.0" - blueimp-md5 "2.18.0" - jsonpath-plus "6.0.1" + es-aggregate-error "^1.0.7" + jsonpath-plus "7.1.0" lodash "~4.17.21" lodash.topath "^4.5.2" - minimatch "3.0.4" - nimma "0.2.1" + minimatch "3.1.2" + nimma "0.2.2" pony-cause "^1.0.0" simple-eval "1.0.0" tslib "^2.3.0" -"@stoplight/spectral-formats@1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.0.2.tgz" - integrity sha512-jMIlMTSCJzFKq3kXnHv+YC0TTnwli/DuZY4JxObyaBwdiG1LnSAJLL7R857PpJpQ1uoiZULov8clxudSMeKL+Q== +"@stoplight/spectral-formats@>=1", "@stoplight/spectral-formats@^1.0.0", "@stoplight/spectral-formats@^1.2.0": + version "1.2.0" + resolved "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.2.0.tgz" + integrity sha512-idvn7r8fvQjY/KeJpKgXQ5eJhce6N6/KoKWMPSh5yyvYDpn+bkU4pxAD79jOJaDnIyKJd1jjTPEJWnxbS0jj6A== dependencies: "@stoplight/json" "^3.17.0" "@stoplight/spectral-core" "^1.8.0" "@types/json-schema" "^7.0.7" tslib "^2.3.1" -"@stoplight/spectral-formats@>=1", "@stoplight/spectral-formats@^1.0.0", "@stoplight/spectral-formats@^1.0.2", "@stoplight/spectral-formats@^1.2.0": - version "1.2.0" - resolved "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.2.0.tgz" - integrity sha512-idvn7r8fvQjY/KeJpKgXQ5eJhce6N6/KoKWMPSh5yyvYDpn+bkU4pxAD79jOJaDnIyKJd1jjTPEJWnxbS0jj6A== +"@stoplight/spectral-formats@^1.1.0", "@stoplight/spectral-formats@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-formats/-/spectral-formats-1.5.0.tgz#222dd1e1302c54ba3219b8223b299d9515fed3e3" + integrity sha512-VskkdU3qBSvI1dfJ79ysjvTssfNlbA6wrf/XkXK6iTyjfIVqOAWVtjypTb2U95tN/X8IjIBBhNWtZ4tNVZilrA== dependencies: "@stoplight/json" "^3.17.0" "@stoplight/spectral-core" "^1.8.0" "@types/json-schema" "^7.0.7" tslib "^2.3.1" -"@stoplight/spectral-functions@1.5.1": - version "1.5.1" - resolved "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.5.1.tgz" - integrity sha512-KHMprX4OwjgVtzUulVPfqkZTNCAP4JbZqTQ5/UTCfrQ1nO4vcr+3CJgU74ggSP6rH3UuJIIFVZN+9wU7HP1bEA== +"@stoplight/spectral-formatters@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-formatters/-/spectral-formatters-1.3.0.tgz#01c70872c10f0ba9cf6b36527b22ad973cdf8c34" + integrity sha512-ryuMwlzbPUuyn7ybSEbFYsljYmvTaTyD51wyCQs4ROzgfm3Yo5QDD0IsiJUzUpKK/Ml61ZX8ebgiPiRFEJtBpg== + dependencies: + "@stoplight/path" "^1.3.2" + "@stoplight/spectral-core" "^1.15.1" + "@stoplight/spectral-runtime" "^1.1.0" + "@stoplight/types" "^13.15.0" + chalk "4.1.2" + cliui "7.0.4" + lodash "^4.17.21" + node-sarif-builder "^2.0.3" + strip-ansi "6.0" + text-table "^0.2.0" + tslib "^2.5.0" + +"@stoplight/spectral-functions@>=1", "@stoplight/spectral-functions@^1.0.0", "@stoplight/spectral-functions@^1.5.1": + version "1.6.1" + resolved "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.6.1.tgz" + integrity sha512-f4cFtbI35bQtY0t4fYhKtS+/nMU3UsAeFlqm4tARGGG5WjOv4ieCFNFbgodKNiO3F4O+syMEjVQuXlBNPuY7jw== dependencies: "@stoplight/better-ajv-errors" "1.0.1" "@stoplight/json" "~3.17.1" @@ -3009,17 +3147,16 @@ lodash "~4.17.21" tslib "^2.3.0" -"@stoplight/spectral-functions@>=1", "@stoplight/spectral-functions@^1.0.0", "@stoplight/spectral-functions@^1.5.1": - version "1.6.1" - resolved "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.6.1.tgz" - integrity sha512-f4cFtbI35bQtY0t4fYhKtS+/nMU3UsAeFlqm4tARGGG5WjOv4ieCFNFbgodKNiO3F4O+syMEjVQuXlBNPuY7jw== +"@stoplight/spectral-functions@^1.6.1": + version "1.7.2" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-functions/-/spectral-functions-1.7.2.tgz#96ddc5dc2b093fba41a902a0ef374300f861f58f" + integrity sha512-f+61/FtIkQeIo+a269CeaeqjpyRsgDyIk6DGr7iS4hyuk1PPk7Uf6MNRDs9FEIBh7CpdEJ+HSHbMLwgpymWTIw== dependencies: - "@stoplight/better-ajv-errors" "1.0.1" - "@stoplight/json" "~3.17.1" + "@stoplight/better-ajv-errors" "1.0.3" + "@stoplight/json" "^3.17.1" "@stoplight/spectral-core" "^1.7.0" "@stoplight/spectral-formats" "^1.0.0" "@stoplight/spectral-runtime" "^1.1.0" - "@stoplight/types" "12.3.0" ajv "^8.6.3" ajv-draft-04 "~1.0.0" ajv-errors "~3.0.0" @@ -3027,7 +3164,7 @@ lodash "~4.17.21" tslib "^2.3.0" -"@stoplight/spectral-parsers@1.0.1", "@stoplight/spectral-parsers@>=1", "@stoplight/spectral-parsers@^1.0.0", "@stoplight/spectral-parsers@^1.0.1": +"@stoplight/spectral-parsers@>=1", "@stoplight/spectral-parsers@^1.0.0", "@stoplight/spectral-parsers@^1.0.1": version "1.0.1" resolved "https://registry.npmjs.org/@stoplight/spectral-parsers/-/spectral-parsers-1.0.1.tgz" integrity sha512-JGKlrTxhjUzIGo2FOCf8Qp0WKTWXedoRNPovqYPE8pAp08epqU8DzHwl/i46BGH5yfTmouKMZgBN/PV2+Cr5jw== @@ -3037,7 +3174,17 @@ "@stoplight/yaml" "4.2.2" tslib "^2.3.1" -"@stoplight/spectral-ref-resolver@1.0.1", "@stoplight/spectral-ref-resolver@>=1", "@stoplight/spectral-ref-resolver@^1.0.0": +"@stoplight/spectral-parsers@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-parsers/-/spectral-parsers-1.0.3.tgz#2576ed170dda08f64c65b22d4adc15ddc961a8a8" + integrity sha512-J0KW5Rh5cHWnJQ3yN+cr/ijNFVirPSR0pkQbdrNX30VboEl083UEDrQ3yov9kjLVIWEk9t9kKE7Eo3QT/k4JLA== + dependencies: + "@stoplight/json" "~3.21.0" + "@stoplight/types" "^13.6.0" + "@stoplight/yaml" "~4.2.3" + tslib "^2.3.1" + +"@stoplight/spectral-ref-resolver@>=1", "@stoplight/spectral-ref-resolver@^1.0.0": version "1.0.1" resolved "https://registry.npmjs.org/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.1.tgz" integrity sha512-0tY7nTOccvTsa3c4QbSWfJ8wGfPO1RXvmKnmBjuyLfoTMNuhkHPII9gKhCjygsshzsBLxs2IyRHZYhWYVnEbCA== @@ -3048,40 +3195,51 @@ dependency-graph "0.11.0" tslib "^2.3.1" -"@stoplight/spectral-ruleset-bundler@^1.0.0": - version "1.2.1" - resolved "https://registry.npmjs.org/@stoplight/spectral-ruleset-bundler/-/spectral-ruleset-bundler-1.2.1.tgz" - integrity sha512-baQDeu6YychKWFXmed4Pw6pDJIJimtqfCRHZ5CzUpp4j6UHTwozAA+am1FiKdmwlVYpBKS4g5ORu0s/aVQe+8A== +"@stoplight/spectral-ref-resolver@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.4.tgz#cf0dc3d5f3fd36fb198a352657c20ef1c859bef5" + integrity sha512-5baQIYL0NJTSVy8v6RxOR4U51xOUYM8wJri1YvlAT6bPN8m0EIxMwfVYi0xUZEMVeHcWx869nIkoqyWmOutF2A== + dependencies: + "@stoplight/json-ref-readers" "1.2.2" + "@stoplight/json-ref-resolver" "~3.1.6" + "@stoplight/spectral-runtime" "^1.1.2" + dependency-graph "0.11.0" + tslib "^2.3.1" + +"@stoplight/spectral-ruleset-bundler@^1.5.2": + version "1.5.2" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-ruleset-bundler/-/spectral-ruleset-bundler-1.5.2.tgz#dbe69ced8e7740c39ef23982fd008c9ae2e96e68" + integrity sha512-4QUVUFAU+S7IQ9XeCu+0TQMYxKFpKnkOAfa9unRQ1iPL2cviaipEN6witpbAptdHJD3UUjx4OnwlX8WwmXSq9w== dependencies: - "@rollup/plugin-commonjs" "^21.0.1" + "@rollup/plugin-commonjs" "~22.0.2" "@stoplight/path" "1.3.2" "@stoplight/spectral-core" ">=1" "@stoplight/spectral-formats" ">=1" "@stoplight/spectral-functions" ">=1" "@stoplight/spectral-parsers" ">=1" "@stoplight/spectral-ref-resolver" ">=1" - "@stoplight/spectral-ruleset-migrator" "^1.5.2" + "@stoplight/spectral-ruleset-migrator" "^1.7.4" "@stoplight/spectral-rulesets" ">=1" "@stoplight/spectral-runtime" "^1.1.0" - "@stoplight/types" "^12.3.0" + "@stoplight/types" "^13.6.0" "@types/node" "*" pony-cause "1.1.1" - rollup "~2.67.0" + rollup "~2.79.0" tslib "^2.3.1" validate-npm-package-name "3.0.0" -"@stoplight/spectral-ruleset-migrator@^1.5.0", "@stoplight/spectral-ruleset-migrator@^1.5.2": - version "1.7.3" - resolved "https://registry.npmjs.org/@stoplight/spectral-ruleset-migrator/-/spectral-ruleset-migrator-1.7.3.tgz" - integrity sha512-1TlJgNxIqlcafzrH6gsGpQQcVkFhndib5piMNXVg9xshJ42l2yC6A0AUAixUC+ODJ5098DR7SjIYBVKk+CTQSw== +"@stoplight/spectral-ruleset-migrator@^1.7.4", "@stoplight/spectral-ruleset-migrator@^1.9.5": + version "1.9.5" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-ruleset-migrator/-/spectral-ruleset-migrator-1.9.5.tgz#20631f3e83655f41b9ac4c9788e32b30fa8271dd" + integrity sha512-76n/HETr3UinVl/xLNldrH9p0JNoD8Gz4K75J6E4OHp4xD0P+BA2e8+W30HjIvqm1LJdLU2BNma0ioy+q3B9RA== dependencies: - "@stoplight/json" "~3.17.0" - "@stoplight/ordered-object-literal" "1.0.2" + "@stoplight/json" "~3.21.0" + "@stoplight/ordered-object-literal" "~1.0.4" "@stoplight/path" "1.3.2" "@stoplight/spectral-functions" "^1.0.0" "@stoplight/spectral-runtime" "^1.1.0" - "@stoplight/types" "^12.3.0" - "@stoplight/yaml" "4.2.2" + "@stoplight/types" "^13.6.0" + "@stoplight/yaml" "~4.2.3" "@types/node" "*" ajv "^8.6.0" ast-types "0.14.2" @@ -3090,18 +3248,19 @@ tslib "^2.3.1" validate-npm-package-name "3.0.0" -"@stoplight/spectral-rulesets@1.4.3": - version "1.4.3" - resolved "https://registry.npmjs.org/@stoplight/spectral-rulesets/-/spectral-rulesets-1.4.3.tgz" - integrity sha512-kiUKcPvvvgg0U9p1KtsaRglW4xKCqXwTu2lL6Ci6elwsqK7P7CQAxJbcbhl30tqJ+m2oXTLTWJhZFa/xGk01FA== +"@stoplight/spectral-rulesets@>=1": + version "1.10.0" + resolved "https://registry.npmjs.org/@stoplight/spectral-rulesets/-/spectral-rulesets-1.10.0.tgz" + integrity sha512-ROdoAjVFD4PHoxjyUyT41a+/nc7XwNaKigaITQw2btc9t2f5ubeRcmxpFJeyj2O+LCjdeRr28F+YvHzcnKtT7Q== dependencies: + "@asyncapi/specs" "^2.14.0" "@stoplight/better-ajv-errors" "1.0.1" "@stoplight/json" "^3.17.0" "@stoplight/spectral-core" "^1.8.1" - "@stoplight/spectral-formats" "^1.0.2" + "@stoplight/spectral-formats" "^1.2.0" "@stoplight/spectral-functions" "^1.5.1" "@stoplight/spectral-runtime" "^1.1.1" - "@stoplight/types" "^12.3.0" + "@stoplight/types" "^12.5.0" "@types/json-schema" "^7.0.7" ajv "^8.8.2" ajv-formats "~2.1.0" @@ -3109,19 +3268,19 @@ lodash "~4.17.21" tslib "^2.3.0" -"@stoplight/spectral-rulesets@>=1": - version "1.10.0" - resolved "https://registry.npmjs.org/@stoplight/spectral-rulesets/-/spectral-rulesets-1.10.0.tgz" - integrity sha512-ROdoAjVFD4PHoxjyUyT41a+/nc7XwNaKigaITQw2btc9t2f5ubeRcmxpFJeyj2O+LCjdeRr28F+YvHzcnKtT7Q== +"@stoplight/spectral-rulesets@^1.6.0": + version "1.18.0" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-rulesets/-/spectral-rulesets-1.18.0.tgz#2c15fddc9b9bf3fec5eba4108dad0f3b1c9f9f7e" + integrity sha512-7LiCteW5pofMuBtf1BO+Ig5pT1XV9oqGrUjqWwSqD6jcy8ejE45pOQpef4h4um9tj3Y+tewfdbthLjhu8sdoeA== dependencies: - "@asyncapi/specs" "^2.14.0" - "@stoplight/better-ajv-errors" "1.0.1" + "@asyncapi/specs" "^4.1.0" + "@stoplight/better-ajv-errors" "1.0.3" "@stoplight/json" "^3.17.0" "@stoplight/spectral-core" "^1.8.1" - "@stoplight/spectral-formats" "^1.2.0" + "@stoplight/spectral-formats" "^1.5.0" "@stoplight/spectral-functions" "^1.5.1" "@stoplight/spectral-runtime" "^1.1.1" - "@stoplight/types" "^12.5.0" + "@stoplight/types" "^13.6.0" "@types/json-schema" "^7.0.7" ajv "^8.8.2" ajv-formats "~2.1.0" @@ -3129,7 +3288,7 @@ lodash "~4.17.21" tslib "^2.3.0" -"@stoplight/spectral-runtime@^1.0.0", "@stoplight/spectral-runtime@^1.1.0", "@stoplight/spectral-runtime@^1.1.1": +"@stoplight/spectral-runtime@^1.0.0", "@stoplight/spectral-runtime@^1.1.0", "@stoplight/spectral-runtime@^1.1.1", "@stoplight/spectral-runtime@^1.1.2": version "1.1.2" resolved "https://registry.npmjs.org/@stoplight/spectral-runtime/-/spectral-runtime-1.1.2.tgz" integrity sha512-fr5zRceXI+hrl82yAVoME+4GvJie8v3wmOe9tU+ZLRRNonizthy8qDi0Z/z4olE+vGreSDcuDOZ7JjRxFW5kTw== @@ -3166,6 +3325,14 @@ "@types/json-schema" "^7.0.4" utility-types "^3.10.0" +"@stoplight/types@^12.3.0 || ^13.0.0", "@stoplight/types@^13.15.0", "@stoplight/types@^13.6.0": + version "13.20.0" + resolved "https://registry.yarnpkg.com/@stoplight/types/-/types-13.20.0.tgz#d42682f1e3a14a3c60bdf0df08bff4023518763d" + integrity sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA== + dependencies: + "@types/json-schema" "^7.0.4" + utility-types "^3.10.0" + "@stoplight/types@^13.0.0": version "13.3.0" resolved "https://registry.npmjs.org/@stoplight/types/-/types-13.3.0.tgz" @@ -3174,6 +3341,14 @@ "@types/json-schema" "^7.0.4" utility-types "^3.10.0" +"@stoplight/types@~13.6.0": + version "13.6.0" + resolved "https://registry.yarnpkg.com/@stoplight/types/-/types-13.6.0.tgz#96c6aaae05858b36f589821cd52c95aa9b205ce7" + integrity sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ== + dependencies: + "@types/json-schema" "^7.0.4" + utility-types "^3.10.0" + "@stoplight/yaml-ast-parser@0.0.48": version "0.0.48" resolved "https://registry.npmjs.org/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.48.tgz" @@ -3189,6 +3364,16 @@ "@stoplight/yaml-ast-parser" "0.0.48" tslib "^2.2.0" +"@stoplight/yaml@~4.2.3": + version "4.2.3" + resolved "https://registry.yarnpkg.com/@stoplight/yaml/-/yaml-4.2.3.tgz#d177664fecd6b2fd0d4f264f1078550c30cfd8d1" + integrity sha512-Mx01wjRAR9C7yLMUyYFTfbUf5DimEpHMkRDQ1PKLe9dfNILbgdxyrncsOXM3vCpsQ1Hfj4bPiGl+u4u6e9Akqw== + dependencies: + "@stoplight/ordered-object-literal" "^1.0.1" + "@stoplight/types" "^13.0.0" + "@stoplight/yaml-ast-parser" "0.0.48" + tslib "^2.2.0" + "@storybook/addon-actions@6.5.10": version "6.5.10" resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-6.5.10.tgz#83ec807a899e0412cf98037647f256c45cc32bf5" @@ -4656,6 +4841,13 @@ resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz" integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ== +"@types/es-aggregate-error@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@types/es-aggregate-error/-/es-aggregate-error-1.0.3.tgz#d9e7f6627e39fd72c7381972068aebcde2be409c" + integrity sha512-GmY61WWXQemfJp+qmMu6RsrNev0eoEWeWtg46w9pdXje23jRJrf7yETbAkl7F+CfQJSKW7w3//sTYtQTt+R5Lg== + dependencies: + "@types/node" "*" + "@types/eslint-scope@^3.7.3": version "3.7.3" resolved "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.3.tgz" @@ -4783,6 +4975,11 @@ resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== +"@types/json-schema@^7.0.11": + version "7.0.13" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.13.tgz#02c24f4363176d2d18fc8b70b9f3c54aba178a85" + integrity sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ== + "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.8": version "7.0.10" resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.10.tgz" @@ -4950,6 +5147,11 @@ "@types/scheduler" "*" csstype "^3.0.2" +"@types/sarif@^2.1.4": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@types/sarif/-/sarif-2.1.5.tgz#abbfe7e08e03538792c0882ae5e08dd4fee151f0" + integrity sha512-onJXseJAteCVczKQbO/Tx8zrvhZwZkAd+T7GGYXZvJJ7pzy7We5NJXcNk2oZoUbcnTP/AjkAH7XtPCkpfRBOnQ== + "@types/scheduler@*": version "0.16.2" resolved "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz" @@ -4997,6 +5199,11 @@ resolved "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.19.tgz" integrity sha512-FDJNkyhmKLw7uEvTxx5tSXfPeQpO0iy73Ry+PmYZJvQy0QIWX8a7kJ4kLWRf+EbTPJEPDSgPXHaM7pzr5lmvCg== +"@types/urijs@^1.19.19": + version "1.19.20" + resolved "https://registry.yarnpkg.com/@types/urijs/-/urijs-1.19.20.tgz#7ea4254f4c2cdbd7d34e47d483e76fa1b81e19a4" + integrity sha512-77Mq/2BeHU894J364dUv9tSwxxyCLtcX228Pc8TwZpP5bvOoMns+gZoftp3LYl3FBH8vChpWbuagKGiMki2c1A== + "@types/use-sync-external-store@^0.0.3": version "0.0.3" resolved "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz" @@ -5570,7 +5777,7 @@ acorn@^7.4.1: resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.4.1, acorn@^8.7.0, acorn@^8.7.1: +acorn@^8.4.1, acorn@^8.7.1: version "8.7.1" resolved "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz" integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== @@ -5580,6 +5787,11 @@ acorn@^8.5.0: resolved "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz" integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ== +acorn@^8.8.0: + version "8.10.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" + integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== + acorn@^8.8.1, acorn@^8.8.2: version "8.8.2" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" @@ -5590,7 +5802,7 @@ address@^1.0.1: resolved "https://registry.npmjs.org/address/-/address-1.1.2.tgz" integrity sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA== -agent-base@6, agent-base@^6.0.0, agent-base@^6.0.2: +agent-base@6, agent-base@^6.0.2: version "6.0.2" resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== @@ -5686,10 +5898,10 @@ ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4, ajv json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.0.1, ajv@^8.6.0, ajv@^8.6.3, ajv@^8.8.0, ajv@^8.8.2: - version "8.11.0" - resolved "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz" - integrity sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg== +ajv@^8.0.0, ajv@^8.0.1, ajv@^8.11.0, ajv@^8.6.0, ajv@^8.6.3, ajv@^8.8.0, ajv@^8.8.2: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -5931,6 +6143,14 @@ arr-union@^3.1.0: resolved "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= +array-buffer-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" + integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== + dependencies: + call-bind "^1.0.2" + is-array-buffer "^3.0.1" + array-find-index@^1.0.1: version "1.0.2" resolved "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz" @@ -6025,6 +6245,19 @@ array.prototype.flatmap@^1.2.4, array.prototype.flatmap@^1.2.5: es-abstract "^1.19.2" es-shim-unscopables "^1.0.0" +arraybuffer.prototype.slice@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" + integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== + dependencies: + array-buffer-byte-length "^1.0.0" + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + is-array-buffer "^3.0.2" + is-shared-array-buffer "^1.0.2" + arrify@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" @@ -6035,6 +6268,13 @@ arrify@^2.0.1: resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz" integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== +as-table@^1.0.36: + version "1.0.55" + resolved "https://registry.yarnpkg.com/as-table/-/as-table-1.0.55.tgz#dc984da3937745de902cea1d45843c01bdbbec4f" + integrity sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ== + dependencies: + printable-characters "^1.0.42" + asap@~2.0.3: version "2.0.6" resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" @@ -6558,20 +6798,6 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= -boxen@^4.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz" - integrity sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ== - dependencies: - ansi-align "^3.0.0" - camelcase "^5.3.1" - chalk "^3.0.0" - cli-boxes "^2.2.0" - string-width "^4.1.0" - term-size "^2.1.0" - type-fest "^0.8.1" - widest-line "^3.1.0" - boxen@^5.1.2: version "5.1.2" resolved "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz" @@ -6961,12 +7187,7 @@ bytes@3.1.2: resolved "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -cac@^6.7.12: - version "6.7.12" - resolved "https://registry.npmjs.org/cac/-/cac-6.7.12.tgz" - integrity sha512-rM7E2ygtMkJqD9c7WnFU6fruFcN3xe4FM5yUmgxhZzIKJk4uHl9U/fhwdajGFQbQuv43FAUo1Fe8gX/oIKDeSA== - -cac@^6.7.14: +cac@^6.7.12, cac@^6.7.14: version "6.7.14" resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== @@ -7470,7 +7691,7 @@ clean-stack@^2.0.0: resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== -cli-boxes@^2.2.0, cli-boxes@^2.2.1: +cli-boxes@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz" integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw== @@ -7746,10 +7967,10 @@ commondir@^1.0.1: resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz" integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= -compare-versions@^4.1.3: - version "4.1.3" - resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz" - integrity sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg== +compare-versions@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-6.1.0.tgz#3f2131e3ae93577df111dba133e6db876ffe127a" + integrity sha512-LNZQXhqUvqUTotpZ00qLSaify3b4VFD588aRr8MKFw4CMUr98ytzCW5wDH5qx/DEY5kCDXcbcRuCqL0szEf2tg== component-emitter@^1.2.1: version "1.3.0" @@ -7810,18 +8031,6 @@ concurrently@^7.1.0: tree-kill "^1.2.2" yargs "^16.2.0" -configstore@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz" - integrity sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA== - dependencies: - dot-prop "^5.2.0" - graceful-fs "^4.1.2" - make-dir "^3.0.0" - unique-string "^2.0.0" - write-file-atomic "^3.0.0" - xdg-basedir "^4.0.0" - confusing-browser-globals@^1.0.10: version "1.0.11" resolved "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz" @@ -8137,11 +8346,6 @@ crypto-browserify@^3.0.0, crypto-browserify@^3.11.0: randombytes "^2.0.0" randomfill "^1.0.3" -crypto-random-string@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz" - integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== - css-declaration-sorter@^6.2.2: version "6.2.2" resolved "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.2.2.tgz" @@ -8424,10 +8628,10 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -data-uri-to-buffer@3: - version "3.0.1" - resolved "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz" - integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og== +data-uri-to-buffer@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz#d296973d5a4897a5dbe31716d118211921f04770" + integrity sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA== dataloader@2.1.0: version "2.1.0" @@ -8597,6 +8801,15 @@ defer-to-connect@^1.0.1: resolved "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz" integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== +define-data-property@^1.0.1, define-data-property@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.0.tgz#0db13540704e1d8d479a0656cf781267531b9451" + integrity sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + define-lazy-prop@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz" @@ -8609,6 +8822,15 @@ define-properties@^1.1.2, define-properties@^1.1.3: dependencies: object-keys "^1.0.12" +define-properties@^1.1.4, define-properties@^1.2.0, define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== + dependencies: + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + define-property@^0.2.5: version "0.2.5" resolved "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz" @@ -8636,16 +8858,6 @@ defined@^1.0.0: resolved "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz" integrity sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM= -degenerator@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/degenerator/-/degenerator-3.0.2.tgz" - integrity sha512-c0mef3SNQo56t6urUU6tdQAs+ThoD0o9B9MJ8HEt7NQcGEILCRFqQb7ZbP9JAv+QF1Ky5plydhMR/IrqWDm+TQ== - dependencies: - ast-types "^0.13.2" - escodegen "^1.8.1" - esprima "^4.0.0" - vm2 "^3.9.8" - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz" @@ -8656,11 +8868,6 @@ delegates@^1.0.0: resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= -depd@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz" - integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== - depd@^1.1.2, depd@~1.1.2: version "1.1.2" resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" @@ -8901,13 +9108,6 @@ dot-case@^3.0.4: no-case "^3.0.4" tslib "^2.0.3" -dot-prop@^5.2.0: - version "5.3.0" - resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz" - integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== - dependencies: - is-obj "^2.0.0" - dotenv-expand@^5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz" @@ -9150,11 +9350,6 @@ envinfo@^7.7.3: resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz" integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== -eol@0.9.1: - version "0.9.1" - resolved "https://registry.npmjs.org/eol/-/eol-0.9.1.tgz" - integrity sha512-Ds/TEoZjwggRoz/Q2O7SE3i4Jm66mqTDfmdHdq/7DKVk3bro9Q8h6WdXKdPqFLMoqxrDK5SVRzHVPOS6uuGtrg== - err-code@^2.0.2: version "2.0.3" resolved "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz" @@ -9240,11 +9435,79 @@ es-abstract@^1.18.5, es-abstract@^1.19.1, es-abstract@^1.19.2: string.prototype.trimstart "^1.0.4" unbox-primitive "^1.0.1" +es-abstract@^1.22.1: + version "1.22.2" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.2.tgz#90f7282d91d0ad577f505e423e52d4c1d93c1b8a" + integrity sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA== + dependencies: + array-buffer-byte-length "^1.0.0" + arraybuffer.prototype.slice "^1.0.2" + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-set-tostringtag "^2.0.1" + es-to-primitive "^1.2.1" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.1" + get-symbol-description "^1.0.0" + globalthis "^1.0.3" + gopd "^1.0.1" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-proto "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.5" + is-array-buffer "^3.0.2" + is-callable "^1.2.7" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-typed-array "^1.1.12" + is-weakref "^1.0.2" + object-inspect "^1.12.3" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.5.1" + safe-array-concat "^1.0.1" + safe-regex-test "^1.0.0" + string.prototype.trim "^1.2.8" + string.prototype.trimend "^1.0.7" + string.prototype.trimstart "^1.0.7" + typed-array-buffer "^1.0.0" + typed-array-byte-length "^1.0.0" + typed-array-byte-offset "^1.0.0" + typed-array-length "^1.0.4" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.11" + +es-aggregate-error@^1.0.7: + version "1.0.11" + resolved "https://registry.yarnpkg.com/es-aggregate-error/-/es-aggregate-error-1.0.11.tgz#013d6b205a1875044e8ddb8592aa8bd5b6cb21c5" + integrity sha512-DCiZiNlMlbvofET/cE55My387NiLvuGToBEZDdK9U2G3svDCjL8WOgO5Il6lO83nQ8qmag/R9nArdpaFQ/m3lA== + dependencies: + define-data-property "^1.1.0" + define-properties "^1.2.1" + es-abstract "^1.22.1" + function-bind "^1.1.1" + get-intrinsic "^1.2.1" + globalthis "^1.0.3" + has-property-descriptors "^1.0.0" + set-function-name "^2.0.1" + es-module-lexer@^0.9.0: version "0.9.3" resolved "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz" integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== +es-set-tostringtag@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" + integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + dependencies: + get-intrinsic "^1.1.3" + has "^1.0.3" + has-tostringtag "^1.0.0" + es-shim-unscopables@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz" @@ -9290,131 +9553,133 @@ es6-shim@^0.35.5: resolved "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.5.tgz" integrity sha512-E9kK/bjtCQRpN1K28Xh4BlmP8egvZBGJJ+9GtnzOwt7mdqtrjHFuVGr7QJfdjBIKqrlU5duPf3pCBoDrkjVYFg== -esbuild-android-64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.46.tgz#98d019853ca7b526d0d645bb4618fda425b74d35" - integrity sha512-ZyJqwAcjNbZprs0ZAxnUAOhEhdE5kTKwz+CZuLmZYNLAPyRgBtaC8pT2PCuPifNvV8Cl3yLlrQPaOCjovoyb5g== - -esbuild-android-arm64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.46.tgz#19835d5265b57120c14fba56a19fc317ca4bbda0" - integrity sha512-BKcnUksvCijO9ONv6b4SikZE/OZftwJvX91XROODZGQmuwGVg97jmLDVu3lxuHdFlMNNzxh8taJ2mbCWZzH/Iw== - -esbuild-darwin-64@0.14.46: - version "0.14.46" - resolved "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.46.tgz" - integrity sha512-/ss2kO92sUJ9/1nHnMb3+oab8w6dyqKrMtPMvSYJ9KZIYGAZxz/WYxfFprY7Xk+ZxWnnlASSyZlG+If1nVmFYg== - -esbuild-darwin-arm64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.46.tgz#2d523fa628930bba38a4f75cede75d6341bc3b5b" - integrity sha512-WX0JOaEFf6t+rIjXO6THsf/0fhQAt2Zb0/PSYlvXnuQQAmOmFAfPsuRNocp5ME0NGaUqZd4FxqqmLEVK3RzPAg== - -esbuild-freebsd-64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.46.tgz#dbfbbb1cb943149aaa83b9e767ded6f14ad42ba5" - integrity sha512-o+ozPFuHRCAGCVWU2bLurOUgVkT0jcPEu082VBUY2Q/yLf+B+/3nXzh4Fjp5O21tOvJRTn7hUVydG9j5+vYE6A== - -esbuild-freebsd-arm64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.46.tgz#fb066d6e7de2bd96138dd1c2fba5e8ce5233ed5a" - integrity sha512-9zicZ0X43WDKz3sjNfcqYO38xbfJpSWYXB+FxvYYkmBwGA52K0SAu4oKuTTLi8od8X2IIo1x5C5TUNvKDSVJww== - -esbuild-linux-32@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.46.tgz#ea2464b10fe188ee7c9be81a2757e2d69ffdb8c1" - integrity sha512-ZnTpZMVb0VGvL99R5eh4OrJwbUyvpM6M88VAMuHP4LvFjuvZrhgefjKqEGuWZZW7JRnAjKqjXLjWdhdSjwMFnQ== - -esbuild-linux-64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.46.tgz#f4f2d181af6ea78137311712fca423f8fa954314" - integrity sha512-ECCRRZtX6l4ubeVhHhiVoK/uYAkvzNqfmR4gP4N/9H9RPu+b8YCcN4bQGp7xCuYIV6Xd41WpOMyO+xpcQvjtQQ== - -esbuild-linux-arm64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.46.tgz#113d17c523dfe80c9d4981d05c58f5ada3470e30" - integrity sha512-HX0TXCHyI0NEWG4jg8LlW1PbZQbnz+PUH56yjx996cgM5pC90u32drKs/tyJiyyQmNk9OXOogjKw7LEdp/Qc1w== - -esbuild-linux-arm@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.46.tgz#1b6ba77b0301572b2fed35fe922b1613b10b5c7e" - integrity sha512-RvTJEi4vj13c5FP9YPp+8Y6x6HK1E7uSqfy3y9UoeaNAzNZWA7fN1U3hQjTL/dy5zTJH5KE64mrt5k5+he+CQA== - -esbuild-linux-mips64le@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.46.tgz#8775e12510eaf988a9bc5e6787cf0c87c3eb40d6" - integrity sha512-jnb2NDwGqJUVmxn1v0f7seNdDm0nRNWHP9Z3MrWAGnBCdnnDlsjqRFDnbKoaQvWONEa+rOOr/giK+VL0hgQExA== - -esbuild-linux-ppc64le@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.46.tgz#da003df59859b02e160827e26bc1e107bec23d07" - integrity sha512-uu3JTQUrwwauKY9z8yq5MnDyOlT3f2DNOzBcYz4dB78HqwEqilCsifoBGd0WcbED5n57dc59X+LZMTZ8Ose44w== - -esbuild-linux-riscv64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.46.tgz#b6c4faf9f8482e2a898ec2becac4a6789ae3ff22" - integrity sha512-OB29r1EG44ZY34JnXCRERxo7k4pRKoQdaoRg2HIeCavatsXZwW4LCakpLnMQ72vXT1HtpBUABEjHkKkn5JyrUg== - -esbuild-linux-s390x@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.46.tgz#d30d0f7ee8466c4ec99ac2c689b70514320406b2" - integrity sha512-XQ/U9TueMSGYyPTKyZsJVraiuvxhwCDIMn/QwFXCRCJ6H/Cy/Rq33u9qhpeSziinHKfzJROGx5A8mQY6aYamdQ== - -esbuild-netbsd-64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.46.tgz#fcf2b739b63731b5b264dc584240c0b61dbbf035" - integrity sha512-i15BwqHaAIFp1vBJkitAbHtwXcLk9TdHs/Ia1xGIAutQYXSJNPLM3Z4B4hyfHNEFl2yBqBIYpglMohv2ClNdOQ== - -esbuild-openbsd-64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.46.tgz#fc7880751b78b325216e66470b9a3df7b1c21cbf" - integrity sha512-XwOIFCE140Y/PvjrwjFfa/QLWBuvhR1mPCOa35mKx02jt++wPNgf0qhn6HfdVC3vQe7R46RwTp4q2cp99fepEg== - -esbuild-sunos-64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.46.tgz#ab73b91e79ae53dddb035da9bb69ba7dd44d36ee" - integrity sha512-+kV3JnmfdxBVpHyFvuGXWtu6tXxXApOLPkSrVkMJf6+ns/3PLtPndpzwCzHjD+qYUEk8ln4MA+ufQ2qmjW5mZg== - -esbuild-windows-32@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.46.tgz#88ad388c896325d273e92dbf28f146d1d34d4351" - integrity sha512-gzGC1Q11B/Bo5A2EX4N22oigWmhL7Z0eDyc8kbSoJjqSrGQuRE7B0uMpluO+q0O/gZ1S3zdw+M4PCWlqOIeXLA== - -esbuild-windows-64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.46.tgz#bfb21b68d54d0db86190f8073cbf66a86bd0de14" - integrity sha512-Do2daaskfOjmCB7o3ygz6fD3K6SPjZLERiZLktzHz2oUCwsebKu/gmop0+j/XdrVIXC32wFzHzDS+9CTu9OShw== - -esbuild-windows-arm64@0.14.46: - version "0.14.46" - resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.46.tgz#b8aa66a0c347342b9ae780b537d5574e9691c123" - integrity sha512-VEzMy6bM60/HT/URTDElyhfi2Pk0quCCrEhRlI4MRno/AIqYUGw0rZwkPl6PeoqVI6BgoBHGY576GWTiPmshCA== - -esbuild@^0.14.25: - version "0.14.46" - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.14.46.tgz" - integrity sha512-vdm5G1JdZBktva8dwQci/s44VbeBUg8g907xoZx77mqFZ4gU5GlMULNsdGeID+qXCXocsfYSGtE0LvqH3eiNQg== +esbuild-android-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.15.18.tgz#20a7ae1416c8eaade917fb2453c1259302c637a5" + integrity sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA== + +esbuild-android-arm64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz#9cc0ec60581d6ad267568f29cf4895ffdd9f2f04" + integrity sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ== + +esbuild-darwin-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz#428e1730ea819d500808f220fbc5207aea6d4410" + integrity sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg== + +esbuild-darwin-arm64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz#b6dfc7799115a2917f35970bfbc93ae50256b337" + integrity sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA== + +esbuild-freebsd-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz#4e190d9c2d1e67164619ae30a438be87d5eedaf2" + integrity sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA== + +esbuild-freebsd-arm64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz#18a4c0344ee23bd5a6d06d18c76e2fd6d3f91635" + integrity sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA== + +esbuild-linux-32@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz#9a329731ee079b12262b793fb84eea762e82e0ce" + integrity sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg== + +esbuild-linux-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz#532738075397b994467b514e524aeb520c191b6c" + integrity sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw== + +esbuild-linux-arm64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz#5372e7993ac2da8f06b2ba313710d722b7a86e5d" + integrity sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug== + +esbuild-linux-arm@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz#e734aaf259a2e3d109d4886c9e81ec0f2fd9a9cc" + integrity sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA== + +esbuild-linux-mips64le@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz#c0487c14a9371a84eb08fab0e1d7b045a77105eb" + integrity sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ== + +esbuild-linux-ppc64le@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz#af048ad94eed0ce32f6d5a873f7abe9115012507" + integrity sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w== + +esbuild-linux-riscv64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz#423ed4e5927bd77f842bd566972178f424d455e6" + integrity sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg== + +esbuild-linux-s390x@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz#21d21eaa962a183bfb76312e5a01cc5ae48ce8eb" + integrity sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ== + +esbuild-netbsd-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz#ae75682f60d08560b1fe9482bfe0173e5110b998" + integrity sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg== + +esbuild-openbsd-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz#79591a90aa3b03e4863f93beec0d2bab2853d0a8" + integrity sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ== + +esbuild-sunos-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz#fd528aa5da5374b7e1e93d36ef9b07c3dfed2971" + integrity sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw== + +esbuild-windows-32@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz#0e92b66ecdf5435a76813c4bc5ccda0696f4efc3" + integrity sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ== + +esbuild-windows-64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz#0fc761d785414284fc408e7914226d33f82420d0" + integrity sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw== + +esbuild-windows-arm64@0.15.18: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz#5b5bdc56d341d0922ee94965c89ee120a6a86eb7" + integrity sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ== + +esbuild@^0.15.3: + version "0.15.18" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.15.18.tgz#ea894adaf3fbc036d32320a00d4d6e4978a2f36d" + integrity sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q== optionalDependencies: - esbuild-android-64 "0.14.46" - esbuild-android-arm64 "0.14.46" - esbuild-darwin-64 "0.14.46" - esbuild-darwin-arm64 "0.14.46" - esbuild-freebsd-64 "0.14.46" - esbuild-freebsd-arm64 "0.14.46" - esbuild-linux-32 "0.14.46" - esbuild-linux-64 "0.14.46" - esbuild-linux-arm "0.14.46" - esbuild-linux-arm64 "0.14.46" - esbuild-linux-mips64le "0.14.46" - esbuild-linux-ppc64le "0.14.46" - esbuild-linux-riscv64 "0.14.46" - esbuild-linux-s390x "0.14.46" - esbuild-netbsd-64 "0.14.46" - esbuild-openbsd-64 "0.14.46" - esbuild-sunos-64 "0.14.46" - esbuild-windows-32 "0.14.46" - esbuild-windows-64 "0.14.46" - esbuild-windows-arm64 "0.14.46" + "@esbuild/android-arm" "0.15.18" + "@esbuild/linux-loong64" "0.15.18" + esbuild-android-64 "0.15.18" + esbuild-android-arm64 "0.15.18" + esbuild-darwin-64 "0.15.18" + esbuild-darwin-arm64 "0.15.18" + esbuild-freebsd-64 "0.15.18" + esbuild-freebsd-arm64 "0.15.18" + esbuild-linux-32 "0.15.18" + esbuild-linux-64 "0.15.18" + esbuild-linux-arm "0.15.18" + esbuild-linux-arm64 "0.15.18" + esbuild-linux-mips64le "0.15.18" + esbuild-linux-ppc64le "0.15.18" + esbuild-linux-riscv64 "0.15.18" + esbuild-linux-s390x "0.15.18" + esbuild-netbsd-64 "0.15.18" + esbuild-openbsd-64 "0.15.18" + esbuild-sunos-64 "0.15.18" + esbuild-windows-32 "0.15.18" + esbuild-windows-64 "0.15.18" + esbuild-windows-arm64 "0.15.18" esbuild@^0.16.14: version "0.16.17" @@ -9454,11 +9719,6 @@ escalade@^3.1.1: resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-goat@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz" - integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q== - escape-html@~1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz" @@ -9474,18 +9734,6 @@ escape-string-regexp@^4.0.0: resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -escodegen@^1.8.1: - version "1.14.3" - resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz" - integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== - dependencies: - esprima "^4.0.1" - estraverse "^4.2.0" - esutils "^2.0.2" - optionator "^0.8.1" - optionalDependencies: - source-map "~0.6.1" - escodegen@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz" @@ -9760,7 +10008,7 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: +estraverse@^4.1.0, estraverse@^4.1.1: version "4.3.0" resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== @@ -10011,17 +10259,6 @@ fast-diff@^1.1.2: resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== -fast-glob@3.2.7: - version "3.2.7" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz" - integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - fast-glob@^2.2.6: version "2.2.7" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz" @@ -10045,6 +10282,17 @@ fast-glob@^3.1.1, fast-glob@^3.2.7, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glo merge2 "^1.3.0" micromatch "^4.0.4" +fast-glob@~3.2.12: + version "3.2.12" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-parse@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz" @@ -10192,11 +10440,6 @@ file-uri-to-path@1.0.0: resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== -file-uri-to-path@2: - version "2.0.0" - resolved "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-2.0.0.tgz" - integrity sha512-hjPFI8oE/2iQPVe4gbrJ73Pp+Xfub2+WI2LlXDbsaJBwT5wuMh35WNWVYYTpnz895shtwfyutMFLFywpQAFdLg== - fill-range@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz" @@ -10340,6 +10583,13 @@ focus-trap@^7.2.0: dependencies: tabbable "^6.0.1" +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + for-in@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz" @@ -10482,9 +10732,9 @@ fs-extra@^0.30.0: path-is-absolute "^1.0.0" rimraf "^2.2.8" -fs-extra@^10.0.1: +fs-extra@^10.0.0, fs-extra@^10.1.0: version "10.1.0" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== dependencies: graceful-fs "^4.2.0" @@ -10564,14 +10814,6 @@ fsevents@^2.1.2, fsevents@~2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -ftp@^0.3.10: - version "0.3.10" - resolved "https://registry.npmjs.org/ftp/-/ftp-0.3.10.tgz" - integrity sha512-faFVML1aBx2UoDStmLwv2Wptt4vw5x03xxX172nhA5Y5HBshW5JweqQ2W4xL4dezQTG8inJsuYcpPHHU3X5OTQ== - dependencies: - readable-stream "1.1.x" - xregexp "2.0.0" - function-bind@^1.0.2, function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -10587,6 +10829,16 @@ function.prototype.name@^1.1.0: functions-have-names "^1.1.1" is-callable "^1.1.4" +function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" + functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" @@ -10597,7 +10849,7 @@ functions-have-names@^1.1.1: resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.0.tgz" integrity sha512-zKXyzksTeaCSw5wIX79iCA40YAa6CJMJgNg9wdkU/ERBrIdPSimPICYiLp65lRbSBqtiHql/HZfS2DyI/AH6tQ== -functions-have-names@^1.2.2: +functions-have-names@^1.2.2, functions-have-names@^1.2.3: version "1.2.3" resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== @@ -10681,6 +10933,16 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: has "^1.0.3" has-symbols "^1.0.1" +get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" + integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-proto "^1.0.1" + has-symbols "^1.0.3" + get-nonce@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz" @@ -10691,6 +10953,14 @@ get-package-type@^0.1.0: resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== +get-source@^2.0.12: + version "2.0.12" + resolved "https://registry.yarnpkg.com/get-source/-/get-source-2.0.12.tgz#0b47d57ea1e53ce0d3a69f4f3d277eb8047da944" + integrity sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w== + dependencies: + data-uri-to-buffer "^2.0.0" + source-map "^0.6.1" + get-stdin@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz" @@ -10735,18 +11005,6 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" -get-uri@3: - version "3.0.2" - resolved "https://registry.npmjs.org/get-uri/-/get-uri-3.0.2.tgz" - integrity sha512-+5s0SJbGoyiJTZZ2JTpFPLMPSch72KEqGOTvQsBqg0RBWvwhWUSYZFAtz3TPW0GXJuLBJPts1E241iHg+VRfhg== - dependencies: - "@tootallnate/once" "1" - data-uri-to-buffer "3" - debug "4" - file-uri-to-path "2" - fs-extra "^8.1.0" - ftp "^0.3.10" - get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz" @@ -10848,13 +11106,6 @@ glob@~7.1.1: once "^1.3.0" path-is-absolute "^1.0.0" -global-dirs@^2.0.1: - version "2.1.0" - resolved "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz" - integrity sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ== - dependencies: - ini "1.3.7" - global-dirs@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz" @@ -10907,6 +11158,13 @@ globalthis@^1.0.0: function-bind "^1.1.1" object-keys "^1.0.12" +globalthis@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + globby@11.0.4: version "11.0.4" resolved "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz" @@ -10919,6 +11177,18 @@ globby@11.0.4: merge2 "^1.3.0" slash "^3.0.0" +globby@11.1.0, globby@^11.0.2, globby@^11.0.3, globby@^11.0.4, globby@^11.1.0: + version "11.1.0" + resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + globby@12.1.0: version "12.1.0" resolved "https://registry.npmjs.org/globby/-/globby-12.1.0.tgz" @@ -10931,18 +11201,6 @@ globby@12.1.0: merge2 "^1.4.1" slash "^4.0.0" -globby@^11.0.2, globby@^11.0.3, globby@^11.0.4, globby@^11.1.0: - version "11.1.0" - resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - globby@^13.0.0: version "13.2.2" resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592" @@ -10982,6 +11240,13 @@ globule@^1.0.0: lodash "~4.17.10" minimatch "~3.0.2" +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + got@^9.6.0: version "9.6.0" resolved "https://registry.npmjs.org/got/-/got-9.6.0.tgz" @@ -11138,6 +11403,18 @@ has-glob@^1.0.0: dependencies: is-glob "^3.0.0" +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + has-symbols@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz" @@ -11196,11 +11473,6 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" -has-yarn@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz" - integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== - has@^1.0.0, has@^1.0.1, has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -11368,6 +11640,11 @@ hosted-git-info@^4.0.1: dependencies: lru-cache "^6.0.0" +hpagent@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/hpagent/-/hpagent-1.2.0.tgz#0ae417895430eb3770c03443456b8d90ca464903" + integrity sha512-A91dYTeIB6NoXG+PxTQpCCDDnfHsW9kc06Lvpu1TEe9gnd6ZFeiBoRO9JvzEv6xK7EX97/dUE8g/vBMTqTS3CA== + html-entities@^2.1.0: version "2.3.2" resolved "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz" @@ -11483,18 +11760,7 @@ http-errors@1.8.1: statuses ">= 1.5.0 < 2" toidentifier "1.0.1" -http-errors@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1: +http-proxy-agent@^4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz" integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== @@ -11540,7 +11806,7 @@ https-browserify@^1.0.0: resolved "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz" integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= -https-proxy-agent@5, https-proxy-agent@^5.0.0: +https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== @@ -11570,15 +11836,15 @@ hyphenate-style-name@^1.0.2: resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d" integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ== -ibm-openapi-validator@^0.57.4: - version "0.57.4" - resolved "https://registry.npmjs.org/ibm-openapi-validator/-/ibm-openapi-validator-0.57.4.tgz" - integrity sha512-LMYdpg1BUIlGJ14W8d6Ltr3uyLtpXblqHKqAuufIE6vWVcd20d4I631DMUp/man6KwdUvFnQwE5cx+Q6AGQ9gQ== +ibm-openapi-validator@^0.97.3: + version "0.97.5" + resolved "https://registry.yarnpkg.com/ibm-openapi-validator/-/ibm-openapi-validator-0.97.5.tgz#282c8e298066cae91ecbd9bc69f6f3a86ff9efa2" + integrity sha512-MlXLjQCZRU0yqQ6EFzBhCehkFXp/rXuGsjsEglK+ldDJZV/YQy7dw1V6ROzoiibjm0f00J7L3ubLvlbIlHilGQ== dependencies: - "@ibm-cloud/openapi-ruleset" "0.6.2" - "@stoplight/spectral-cli" "6.2.1" - "@stoplight/spectral-core" "1.10.1" - "@stoplight/spectral-parsers" "1.0.1" + "@ibm-cloud/openapi-ruleset" "0.45.5" + "@stoplight/spectral-cli" "^6.4.2" + "@stoplight/spectral-core" "^1.12.4" + "@stoplight/spectral-parsers" "^1.0.1" chalk "^4.1.1" commander "^2.20.3" deepmerge "^2.2.1" @@ -11593,8 +11859,6 @@ ibm-openapi-validator@^0.57.4: pad "^2.3.0" require-all "^3.0.0" semver "^5.7.1" - update-notifier "^4.1.3" - validator "^13.7.0" yaml-js "^0.2.3" iconv-lite@0.4.24, iconv-lite@^0.4.24: @@ -11692,11 +11956,6 @@ import-from@4.0.0: resolved "https://registry.npmjs.org/import-from/-/import-from-4.0.0.tgz" integrity sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ== -import-lazy@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz" - integrity sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A== - import-lazy@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz" @@ -11765,11 +12024,6 @@ inherits@2.0.3: resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= -ini@1.3.7: - version "1.3.7" - resolved "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz" - integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ== - ini@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz" @@ -11799,7 +12053,7 @@ inline-style-prefixer@^6.0.0: dependencies: css-in-js-utils "^2.0.0" -inquirer@^8.0.0, inquirer@^8.2.0: +inquirer@^8.0.0: version "8.2.4" resolved "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz" integrity sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg== @@ -11870,6 +12124,15 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" +internal-slot@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" + integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== + dependencies: + get-intrinsic "^1.2.0" + has "^1.0.3" + side-channel "^1.0.4" + interpret@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz" @@ -11945,6 +12208,15 @@ is-arguments@^1.0.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" + integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.0" + is-typed-array "^1.1.10" + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" @@ -11989,6 +12261,11 @@ is-buffer@^2.0.0: resolved "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz" integrity sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A== +is-callable@^1.1.3, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + is-callable@^1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz" @@ -12181,14 +12458,6 @@ is-hexadecimal@^1.0.0: resolved "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.3.tgz" integrity sha512-zxQ9//Q3D/34poZf8fiy3m3XVpbQc7ren15iKqrTtLPwkPD/t3Scy9Imp63FujULGxuK0ZlCwoo5xNpktFgbOA== -is-installed-globally@^0.3.1: - version "0.3.2" - resolved "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz" - integrity sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g== - dependencies: - global-dirs "^2.0.1" - is-path-inside "^3.0.1" - is-installed-globally@~0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz" @@ -12219,11 +12488,6 @@ is-negative-zero@^2.0.2: resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz" integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== -is-npm@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz" - integrity sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig== - is-number-object@^1.0.4: version "1.0.7" resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz" @@ -12243,11 +12507,6 @@ is-number@^7.0.0: resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - is-object@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" @@ -12260,7 +12519,7 @@ is-observable@^1.1.0: dependencies: symbol-observable "^1.1.0" -is-path-inside@^3.0.1, is-path-inside@^3.0.2: +is-path-inside@^3.0.2: version "3.0.3" resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== @@ -12366,6 +12625,13 @@ is-symbol@^1.0.3: dependencies: has-symbols "^1.0.1" +is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.9: + version "1.1.12" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" + integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== + dependencies: + which-typed-array "^1.1.11" + is-typed-array@^1.1.3, is-typed-array@^1.1.7: version "1.1.8" resolved "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.8.tgz" @@ -12450,21 +12716,16 @@ is-wsl@^2.2.0: dependencies: is-docker "^2.0.0" -is-yarn-global@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz" - integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== - -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" - integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ== - isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + isexe@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" @@ -12889,6 +13150,11 @@ jsonpath-plus@6.0.1, jsonpath-plus@^6.0.1: resolved "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz" integrity sha512-EvGovdvau6FyLexFH2OeXfIITlgIbgZoAZe3usiySeaIDm5QS+A10DKNpaPBBqqRSZr2HN6HVNXxtwUAr2apEw== +jsonpath-plus@7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-7.1.0.tgz#9ac63c3d32a4d91ada68d57e056cb7983e73290a" + integrity sha512-gTaNRsPWO/K2KY6MrqaUFClF9kmuM6MFH5Dhg1VYDODgFbByw1yb7xu3hrViE/sz+dGOeMWgCzwUwQtAnCTE9g== + jsonpointer@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.0.tgz" @@ -13051,7 +13317,7 @@ language-tags@^1.0.5: dependencies: language-subtag-registry "~0.3.2" -latest-version@5.1.0, latest-version@^5.0.0: +latest-version@5.1.0: version "5.1.0" resolved "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz" integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA== @@ -13274,6 +13540,11 @@ lodash.isboolean@^3.0.3: resolved "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz" integrity sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY= +lodash.isempty@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" + integrity sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg== + lodash.isinteger@^4.0.4: version "4.0.4" resolved "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz" @@ -13979,6 +14250,13 @@ minimatch@3.0.4, minimatch@^3.0.2, minimatch@~3.0.2: dependencies: brace-expansion "^1.1.7" +minimatch@3.1.2, minimatch@^3.0.4, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + minimatch@4.2.1, minimatch@^4.0.0: version "4.2.1" resolved "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz" @@ -13986,13 +14264,6 @@ minimatch@4.2.1, minimatch@^4.0.0: dependencies: brace-expansion "^1.1.7" -minimatch@^3.0.4, minimatch@^3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - minimatch@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz" @@ -14281,20 +14552,15 @@ nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: resolved "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz" integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== -netmask@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz" - integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg== - nice-try@^1.0.4: version "1.0.5" resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -nimma@0.1.7: - version "0.1.7" - resolved "https://registry.npmjs.org/nimma/-/nimma-0.1.7.tgz" - integrity sha512-0FIra4ogMHhOjn4fd2UiBuuaxM1nHzwhCEPvaFmCbwsR6qzHyJUG3dLW3tAIQji42wIij8OA/HB0+Gldg3OX4A== +nimma@0.2.1: + version "0.2.1" + resolved "https://registry.npmjs.org/nimma/-/nimma-0.2.1.tgz" + integrity sha512-z3QgbdfhBRUBIJX6eRgNyu5z3KE7AEHYPBvIcsmEsS7hO7TdNaaXHiz21FNEVIVuhH6QsvFGw/4vGmRpDrz+HA== dependencies: "@jsep-plugin/regex" "^1.0.1" "@jsep-plugin/ternary" "^1.0.2" @@ -14304,10 +14570,10 @@ nimma@0.1.7: jsonpath-plus "^6.0.1" lodash.topath "^4.5.2" -nimma@0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/nimma/-/nimma-0.2.1.tgz" - integrity sha512-z3QgbdfhBRUBIJX6eRgNyu5z3KE7AEHYPBvIcsmEsS7hO7TdNaaXHiz21FNEVIVuhH6QsvFGw/4vGmRpDrz+HA== +nimma@0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/nimma/-/nimma-0.2.2.tgz#48d00f837d17b4baa23beec22ac1380f152f15ef" + integrity sha512-V52MLl7BU+tH2Np9tDrIXK8bql3MVUadnMIl/0/oZSGC9keuro0O9UUv9QKp0aMvtN8HRew4G7byY7H4eWsxaQ== dependencies: "@jsep-plugin/regex" "^1.0.1" "@jsep-plugin/ternary" "^1.0.2" @@ -14450,6 +14716,14 @@ node-releases@^2.0.3: resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz" integrity sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ== +node-sarif-builder@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/node-sarif-builder/-/node-sarif-builder-2.0.3.tgz#179ae590ce020f97f9e45037dc1cde85aa4398ec" + integrity sha512-Pzr3rol8fvhG/oJjIq2NTVB0vmdNNlz22FENhhPojYRZ4/ee08CfK4YuKmuL54V9MLhI1kpzxfOJ/63LzmZzDg== + dependencies: + "@types/sarif" "^2.1.4" + fs-extra "^10.0.0" + node-sass@^7.0.1: version "7.0.1" resolved "https://registry.npmjs.org/node-sass/-/node-sass-7.0.1.tgz" @@ -14713,6 +14987,11 @@ object-inspect@^1.12.0, object-inspect@^1.9.0: resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz" integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== +object-inspect@^1.12.3: + version "1.12.3" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" + integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== + object-inspect@^1.6.0: version "1.6.0" resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz" @@ -14755,6 +15034,16 @@ object.assign@^4.1.2: has-symbols "^1.0.1" object-keys "^1.1.1" +object.assign@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + object.entries@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/object.entries/-/object.entries-1.1.0.tgz" @@ -14909,12 +15198,12 @@ open@^8.4.0: is-docker "^2.1.1" is-wsl "^2.2.0" -openapi3-ts@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/openapi3-ts/-/openapi3-ts-2.0.2.tgz" - integrity sha512-TxhYBMoqx9frXyOgnRHufjQfPXomTIHYKhSKJ6jHfj13kS8OEIhvmE8CTuQyKtjjWttAjX5DPxM1vmalEpo8Qw== +openapi3-ts@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/openapi3-ts/-/openapi3-ts-3.2.0.tgz#7e30d33c480e938e67e809ab16f419bc9beae3f8" + integrity sha512-/ykNWRV5Qs0Nwq7Pc0nJ78fgILvOT/60OxEmB3v7yQ8a8Bwcm43D4diaYazG/KBn6czA+52XYy931WFLMCUeSg== dependencies: - yaml "^1.10.2" + yaml "^2.2.1" optionator@^0.8.1: version "0.8.3" @@ -14955,40 +15244,31 @@ ora@^5.4.1: strip-ansi "^6.0.0" wcwidth "^1.0.1" -orval@^6.8.1: - version "6.8.1" - resolved "https://registry.npmjs.org/orval/-/orval-6.8.1.tgz" - integrity sha512-E8ZsGB1BsulDqMxdYvni3lc63mUpkFsLZbqiZRKTWs3sBtNz7THSkUEkCYhRW6qyXR8TM+RHCYeYGUYHlWuCmw== - dependencies: - "@apidevtools/swagger-parser" "^10.0.3" - acorn "^8.7.0" +orval@^6.18.1: + version "6.18.1" + resolved "https://registry.yarnpkg.com/orval/-/orval-6.18.1.tgz#3511dc69ec6f21554e67c4c0c26c783002d5c9ba" + integrity sha512-wV1QPgoafC9JvO48eEZtN99GApuaYCwvsbcAZudHM0MAw2DbKFy0ThIeXLI5VjW+bdInoNd/8RqncCwZSZVSCg== + dependencies: + "@apidevtools/swagger-parser" "^10.1.0" + "@orval/angular" "6.18.1" + "@orval/axios" "6.18.1" + "@orval/core" "6.18.1" + "@orval/msw" "6.18.1" + "@orval/query" "6.18.1" + "@orval/swr" "6.18.1" + "@orval/zod" "6.18.1" + ajv "^8.11.0" cac "^6.7.12" chalk "^4.1.2" chokidar "^3.5.3" - compare-versions "^4.1.3" - cuid "^2.1.8" - debug "^4.3.3" - esbuild "^0.14.25" - esutils "2.0.3" + enquirer "^2.3.6" execa "^5.1.1" find-up "5.0.0" - fs-extra "^10.0.1" - globby "11.0.4" - ibm-openapi-validator "^0.57.4" - inquirer "^8.2.0" - lodash.get "^4.4.2" - lodash.omit "^4.5.0" - lodash.omitby "^4.6.0" + fs-extra "^10.1.0" lodash.uniq "^4.5.0" - lodash.uniqby "^4.7.0" - lodash.uniqwith "^4.5.0" - micromatch "^4.0.4" - openapi3-ts "^2.0.2" - swagger2openapi "^7.0.8" - tsconfck "^1.2.0" - upath "^2.0.1" - url "^0.11.0" - validator "^13.7.0" + openapi3-ts "^3.0.0" + string-argv "^0.3.1" + tsconfck "^2.0.1" os-browserify@^0.3.0, os-browserify@~0.3.0: version "0.3.0" @@ -15164,30 +15444,6 @@ p-try@^2.0.0: resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -pac-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-5.0.0.tgz" - integrity sha512-CcFG3ZtnxO8McDigozwE3AqAw15zDvGH+OjXO4kzf7IkEKkQ4gxQ+3sdF50WmhQ4P/bVusXcqNE2S3XrNURwzQ== - dependencies: - "@tootallnate/once" "1" - agent-base "6" - debug "4" - get-uri "3" - http-proxy-agent "^4.0.1" - https-proxy-agent "5" - pac-resolver "^5.0.0" - raw-body "^2.2.0" - socks-proxy-agent "5" - -pac-resolver@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/pac-resolver/-/pac-resolver-5.0.1.tgz" - integrity sha512-cy7u00ko2KVgBAjuhevqpPeHIkCIqPe1v24cydhWjmeuzaBfmUWFCZJ1iAh5TuVzVZoUzXIW7K8sMYOZ84uZ9Q== - dependencies: - degenerator "^3.0.2" - ip "^1.1.5" - netmask "^2.0.2" - package-hash@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz" @@ -16042,6 +16298,11 @@ pretty-hrtime@^1.0.3: resolved "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz" integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE= +printable-characters@^1.0.42: + version "1.0.42" + resolved "https://registry.yarnpkg.com/printable-characters/-/printable-characters-1.0.42.tgz#3f18e977a9bd8eb37fcc4ff5659d7be90868b3d8" + integrity sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ== + prismjs@^1.21.0, prismjs@^1.27.0: version "1.28.0" resolved "https://registry.npmjs.org/prismjs/-/prismjs-1.28.0.tgz" @@ -16155,30 +16416,11 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -proxy-agent@5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/proxy-agent/-/proxy-agent-5.0.0.tgz" - integrity sha512-gkH7BkvLVkSfX9Dk27W6TyNOWWZWRilRfk1XxGNWOYJ2TuedAv1yFpCaU9QSBmBe716XOTNpYNOzhysyw8xn7g== - dependencies: - agent-base "^6.0.0" - debug "4" - http-proxy-agent "^4.0.0" - https-proxy-agent "^5.0.0" - lru-cache "^5.1.1" - pac-proxy-agent "^5.0.0" - proxy-from-env "^1.0.0" - socks-proxy-agent "^5.0.0" - proxy-from-env@1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.0.0.tgz" integrity sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4= -proxy-from-env@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - prr@~1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz" @@ -16241,13 +16483,6 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -pupa@^2.0.1: - version "2.1.1" - resolved "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz" - integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A== - dependencies: - escape-goat "^2.0.0" - qs@6.9.7: version "6.9.7" resolved "https://registry.npmjs.org/qs/-/qs-6.9.7.tgz" @@ -16320,16 +16555,6 @@ raw-body@2.4.3: iconv-lite "0.4.24" unpipe "1.0.0" -raw-body@^2.2.0: - version "2.5.1" - resolved "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - raw-loader@^4.0.2: version "4.0.2" resolved "https://registry.npmjs.org/raw-loader/-/raw-loader-4.0.2.tgz" @@ -16677,16 +16902,6 @@ read-pkg@^6.0.0: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@1.1.x: - version "1.1.14" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz" - integrity sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - readable-stream@3, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" @@ -16879,6 +17094,15 @@ regexp.prototype.flags@^1.4.1: define-properties "^1.1.3" functions-have-names "^1.2.2" +regexp.prototype.flags@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz#90ce989138db209f81492edd734183ce99f9677e" + integrity sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + set-function-name "^2.0.0" + regexpp@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz" @@ -17343,10 +17567,10 @@ rollup@^3.10.0: optionalDependencies: fsevents "~2.3.2" -rollup@~2.67.0: - version "2.67.3" - resolved "https://registry.npmjs.org/rollup/-/rollup-2.67.3.tgz" - integrity sha512-G/x1vUwbGtP6O5ZM8/sWr8+p7YfZhI18pPqMRtMYMWSbHjKZ/ajHGiM+GWNTlWyOR0EHIdT8LHU+Z4ciIZ1oBw== +rollup@~2.79.0: + version "2.79.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7" + integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw== optionalDependencies: fsevents "~2.3.2" @@ -17393,6 +17617,16 @@ rxjs@^7.5.1, rxjs@^7.5.5: dependencies: tslib "^2.1.0" +safe-array-concat@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" + integrity sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + has-symbols "^1.0.3" + isarray "^2.0.5" + safe-buffer@5.1.1: version "5.1.1" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz" @@ -17413,6 +17647,15 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz" integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== +safe-regex-test@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" + integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-regex "^1.1.4" + safe-regex@^1.1.0: version "1.1.0" resolved "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz" @@ -17526,13 +17769,6 @@ scuid@^1.1.0: resolved "https://registry.npmjs.org/scuid/-/scuid-1.1.0.tgz" integrity sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg== -semver-diff@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz" - integrity sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg== - dependencies: - semver "^6.3.0" - "semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: version "5.7.2" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" @@ -17630,6 +17866,15 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= +set-function-name@^2.0.0, set-function-name@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" + integrity sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA== + dependencies: + define-data-property "^1.0.1" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.0" + set-harmonic-interval@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/set-harmonic-interval/-/set-harmonic-interval-1.0.1.tgz#e1773705539cdfb80ce1c3d99e7f298bb3995249" @@ -17911,15 +18156,6 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -socks-proxy-agent@5, socks-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz" - integrity sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ== - dependencies: - agent-base "^6.0.2" - debug "4" - socks "^2.3.3" - socks-proxy-agent@^6.0.0: version "6.2.0" resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.0.tgz" @@ -17929,7 +18165,7 @@ socks-proxy-agent@^6.0.0: debug "^4.3.3" socks "^2.6.2" -socks@^2.3.3, socks@^2.6.2: +socks@^2.6.2: version "2.6.2" resolved "https://registry.npmjs.org/socks/-/socks-2.6.2.tgz" integrity sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA== @@ -18181,6 +18417,14 @@ stacktrace-js@^2.0.2: stack-generator "^2.0.5" stacktrace-gps "^3.0.4" +stacktracey@^2.1.7: + version "2.1.8" + resolved "https://registry.yarnpkg.com/stacktracey/-/stacktracey-2.1.8.tgz#bf9916020738ce3700d1323b32bd2c91ea71199d" + integrity sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw== + dependencies: + as-table "^1.0.36" + get-source "^2.0.12" + state-toggle@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.2.tgz" @@ -18194,11 +18438,6 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - "statuses@>= 1.5.0 < 2", statuses@~1.5.0: version "1.5.0" resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" @@ -18292,6 +18531,11 @@ streamsearch@^1.1.0: resolved "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz" integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== +string-argv@^0.3.1: + version "0.3.2" + resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" + integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== + string-env-interpolation@1.0.1, string-env-interpolation@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/string-env-interpolation/-/string-env-interpolation-1.0.1.tgz" @@ -18385,6 +18629,15 @@ string.prototype.padstart@^3.0.0: es-abstract "^1.4.3" function-bind "^1.0.2" +string.prototype.trim@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz#f9ac6f8af4bd55ddfa8895e6aea92a96395393bd" + integrity sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string.prototype.trimend@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz" @@ -18393,6 +18646,15 @@ string.prototype.trimend@^1.0.4: call-bind "^1.0.2" define-properties "^1.1.3" +string.prototype.trimend@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz#1bb3afc5008661d73e2dc015cd4853732d6c471e" + integrity sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string.prototype.trimleft@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz" @@ -18433,6 +18695,15 @@ string.prototype.trimstart@^1.0.4: call-bind "^1.0.2" define-properties "^1.1.3" +string.prototype.trimstart@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz#d4cdb44b83a4737ffbac2d406e405d43d0184298" + integrity sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" @@ -18440,11 +18711,6 @@ string_decoder@^1.0.0, string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" - integrity sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ== - string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" @@ -18903,11 +19169,6 @@ telejson@^6.0.8: lodash "^4.17.21" memoizerific "^1.11.3" -term-size@^2.1.0: - version "2.2.1" - resolved "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz" - integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg== - terser-webpack-plugin@^1.4.3: version "1.4.5" resolved "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz" @@ -18996,7 +19257,7 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" -text-table@0.2, text-table@^0.2.0: +text-table@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= @@ -19266,10 +19527,10 @@ ts-pnp@^1.1.6: resolved "https://registry.npmjs.org/ts-pnp/-/ts-pnp-1.2.0.tgz" integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== -tsconfck@^1.2.0: - version "1.2.2" - resolved "https://registry.npmjs.org/tsconfck/-/tsconfck-1.2.2.tgz" - integrity sha512-x5YpjOqjJnMs1EsJvQBQbrysrY32eGoZRRr5YvbN1hwlrXKc7jiphCOUrT7xbFdOWk8sh+EtMYbGPbTO8rDmcw== +tsconfck@^2.0.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-2.1.2.tgz#f667035874fa41d908c1fe4d765345fcb1df6e35" + integrity sha512-ghqN1b0puy3MhhviwO2kGF8SeMDNhEbnKxjK7h6+fvY9JAxqvXi8y5NAHSQv687OVboS2uZIByzGd45/YxrRHg== tsconfig-paths@^3.14.1: version "3.14.1" @@ -19311,6 +19572,11 @@ tslib@^2.0.1, tslib@^2.3.0, tslib@~2.3.0: resolved "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== +tslib@^2.5.0, tslib@^2.6.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + tslib@~2.0.1: version "2.0.3" resolved "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz" @@ -19407,6 +19673,45 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" +typed-array-buffer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz#18de3e7ed7974b0a729d3feecb94338d1472cd60" + integrity sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + is-typed-array "^1.1.10" + +typed-array-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz#d787a24a995711611fb2b87a4052799517b230d0" + integrity sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + +typed-array-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz#cbbe89b51fdef9cd6aaf07ad4707340abbc4ea0b" + integrity sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + +typed-array-length@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" + integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + is-typed-array "^1.1.9" + typedarray-to-buffer@^3.1.5: version "3.1.5" resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" @@ -19462,7 +19767,7 @@ umd@^3.0.0: resolved "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz" integrity sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow== -unbox-primitive@^1.0.1: +unbox-primitive@^1.0.1, unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz" integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== @@ -19593,13 +19898,6 @@ unique-slug@^2.0.0: dependencies: imurmurhash "^0.1.4" -unique-string@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz" - integrity sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg== - dependencies: - crypto-random-string "^2.0.0" - unist-builder@2.0.3, unist-builder@^2.0.0: version "2.0.3" resolved "https://registry.npmjs.org/unist-builder/-/unist-builder-2.0.3.tgz" @@ -19718,30 +20016,6 @@ upath@^1.1.1: resolved "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz" integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== -upath@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz" - integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== - -update-notifier@^4.1.3: - version "4.1.3" - resolved "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz" - integrity sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A== - dependencies: - boxen "^4.2.0" - chalk "^3.0.0" - configstore "^5.0.1" - has-yarn "^2.1.0" - import-lazy "^2.1.0" - is-ci "^2.0.0" - is-installed-globally "^0.3.1" - is-npm "^4.0.0" - is-yarn-global "^0.3.0" - latest-version "^5.0.0" - pupa "^2.0.1" - semver-diff "^3.1.1" - xdg-basedir "^4.0.0" - upper-case-first@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/upper-case-first/-/upper-case-first-2.0.2.tgz" @@ -19763,7 +20037,7 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -urijs@^1.19.6: +urijs@^1.19.11, urijs@^1.19.6: version "1.19.11" resolved "https://registry.npmjs.org/urijs/-/urijs-1.19.11.tgz" integrity sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ== @@ -20059,14 +20333,6 @@ vm-browserify@^1.0.1: resolved "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.0.tgz" integrity sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw== -vm2@^3.9.8: - version "3.9.9" - resolved "https://registry.npmjs.org/vm2/-/vm2-3.9.9.tgz" - integrity sha512-xwTm7NLh/uOjARRBs8/95H0e8fT3Ukw5D/JJWhxMbhKzNh1Nu981jQKvkep9iKYNxzlVrdzD0mlBGkDKZWprlw== - dependencies: - acorn "^8.7.0" - acorn-walk "^8.2.0" - vue-template-compiler@^2.6.11: version "2.6.14" resolved "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz" @@ -20380,6 +20646,17 @@ which-module@^2.0.0: resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= +which-typed-array@^1.1.11: + version "1.1.11" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.11.tgz#99d691f23c72aab6768680805a271b69761ed61a" + integrity sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + which-typed-array@^1.1.2: version "1.1.7" resolved "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.7.tgz" @@ -20544,16 +20821,6 @@ x-default-browser@^0.4.0: optionalDependencies: default-browser-id "^1.0.4" -xdg-basedir@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz" - integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q== - -xregexp@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/xregexp/-/xregexp-2.0.0.tgz" - integrity sha512-xl/50/Cf32VsGq/1R8jJE5ajH1yMCQkpmoS10QbFZWl2Oor4H0Me64Pu2yxvsRWK3m6soJbmGfzSR7BYmDcWAA== - xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.1: version "4.0.2" resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" @@ -20601,7 +20868,7 @@ yaml@^1.7.2: dependencies: "@babel/runtime" "^7.6.3" -yaml@^2.1.1: +yaml@^2.1.1, yaml@^2.2.1: version "2.3.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.2.tgz#f522db4313c671a0ca963a75670f1c12ea909144" integrity sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==