UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

25 lines (24 loc) 769 B
import { MediaStore, MediaUploadOptions, Media, MediaListOptions, MediaList } from '../core'; import { GitClient } from './git-client'; /** * @deprecated as the API is clunky and hard to use. Mutations should now be * done via Graphql. This will be removed by July 2025. */ export declare class GitMediaStore implements MediaStore { private client; accept: string; constructor(client: GitClient); /** * @deprecated */ persist(files: MediaUploadOptions[]): Promise<Media[]>; /** * @deprecated */ list(options?: MediaListOptions): Promise<MediaList>; /** * @deprecated */ delete(media: Media): Promise<void>; } export declare const nextOffset: (offset: number, limit: number, count: number) => number;