kinto
Version:
An Offline-First JavaScript client for Kinto.
18 lines (17 loc) • 587 B
TypeScript
/**
* Endpoints templates.
* @type {Object}
*/
declare const ENDPOINTS: {
root: () => string;
batch: () => string;
permissions: () => string;
bucket: (bucket?: string) => string;
history: (bucket: string) => string;
snapshot: (bucket: string, coll: string, ts: number) => string;
collection: (bucket: string, coll?: string) => string;
group: (bucket: string, group?: string) => string;
record: (bucket: string, coll: string, id?: string) => string;
attachment: (bucket: string, coll: string, id: string) => string;
};
export default ENDPOINTS;