Add OpenAPI docs, frontend, migrations, and API updates
- OpenAPI: add missing endpoints (add-from-url, subscriptions, public availability) - OpenAPI: CalendarSubscription schema, Subscriptions tag - Frontend app - Migrations: count_for_availability, subscriptions_sync, user_preferences, calendar_settings - Config, rate limit, auth, calendar, booking, ICS, availability, user service updates Made-with: Cursor
This commit is contained in:
33
frontend/node_modules/date-fns/differenceInCalendarYears.d.ts
generated
vendored
Normal file
33
frontend/node_modules/date-fns/differenceInCalendarYears.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { ContextOptions, DateArg } from "./types.js";
|
||||
/**
|
||||
* The {@link differenceInCalendarYears} function options.
|
||||
*/
|
||||
export interface DifferenceInCalendarYearsOptions
|
||||
extends ContextOptions<Date> {}
|
||||
/**
|
||||
* @name differenceInCalendarYears
|
||||
* @category Year Helpers
|
||||
* @summary Get the number of calendar years between the given dates.
|
||||
*
|
||||
* @description
|
||||
* Get the number of calendar years between the given dates.
|
||||
*
|
||||
* @param laterDate - The later date
|
||||
* @param earlierDate - The earlier date
|
||||
* @param options - An object with options
|
||||
|
||||
* @returns The number of calendar years
|
||||
*
|
||||
* @example
|
||||
* // How many calendar years are between 31 December 2013 and 11 February 2015?
|
||||
* const result = differenceInCalendarYears(
|
||||
* new Date(2015, 1, 11),
|
||||
* new Date(2013, 11, 31)
|
||||
* );
|
||||
* //=> 2
|
||||
*/
|
||||
export declare function differenceInCalendarYears(
|
||||
laterDate: DateArg<Date> & {},
|
||||
earlierDate: DateArg<Date> & {},
|
||||
options?: DifferenceInCalendarYearsOptions | undefined,
|
||||
): number;
|
||||
Reference in New Issue
Block a user