mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 04:46:05 +00:00
docs: plugins, cloudflare, sdk, elements, database (#240)
* docs: added plugins docs, updated cloudflare docs * updated cli help text * added `systemEntity` and added docs on how to work with system entities * docs: added defaults to cloudflare image plugin * docs: updated sdk and elements
This commit is contained in:
@@ -10,15 +10,38 @@ import { mediaItemsToFileStates } from "./helper";
|
||||
import { useInViewport } from "@mantine/hooks";
|
||||
|
||||
export type DropzoneContainerProps = {
|
||||
/**
|
||||
* The initial items to display
|
||||
* @default []
|
||||
*/
|
||||
initialItems?: MediaFieldSchema[] | false;
|
||||
/**
|
||||
* Whether to use infinite scrolling
|
||||
* @default false
|
||||
*/
|
||||
infinite?: boolean;
|
||||
/**
|
||||
* If given, the initial media items fetched will be from this entity
|
||||
* @default undefined
|
||||
*/
|
||||
entity?: {
|
||||
name: string;
|
||||
id: PrimaryFieldType;
|
||||
field: string;
|
||||
};
|
||||
/**
|
||||
* The media config
|
||||
* @default undefined
|
||||
*/
|
||||
media?: Pick<TAppMediaConfig, "entity_name" | "storage">;
|
||||
/**
|
||||
* Query to filter the media items
|
||||
*/
|
||||
query?: RepoQueryIn;
|
||||
/**
|
||||
* Whether to use a random filename
|
||||
* @default false
|
||||
*/
|
||||
randomFilename?: boolean;
|
||||
} & Omit<Partial<DropzoneProps>, "initialItems">;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user