Skip to content

DAVCollection

export type DAVCollection = {
objects?: DAVObject[];
ctag?: string;
description?: string;
displayName?: string | Record<string, unknown>;
reports?: any;
resourcetype?: any;
syncToken?: string;
url: string;
fetchOptions?: RequestInit;
fetchObjects?: (params?: {
collection: DAVCalendar | DAVAddressBook;
headers?: Record<string, string>;
headersToExclude?: string[];
fetchOptions?: RequestInit;
fetch?: typeof globalThis.fetch;
}) => Promise<DAVObject[]>;
objectMultiGet?: (params: {
url: string;
props: ElementCompact;
objectUrls: string[];
filters?: ElementCompact;
timezone?: string;
depth: DAVDepth;
fetchOptions?: RequestInit;
headersToExclude?: string[];
headers?: Record<string, string>;
fetch?: typeof globalThis.fetch;
}) => Promise<DAVResponse[]>;
};