fix: path generation and usages in saving new and existing files for nested collections

This commit is contained in:
Daniel Lautzenheiser
2023-04-17 12:11:06 -04:00
parent 2eaecc948e
commit 117320046f
13 changed files with 109 additions and 38 deletions

View File

@ -282,6 +282,7 @@ export interface WidgetControlProps<T, F extends BaseField = UnknownField, EV =
t: t;
value: T | undefined | null;
theme: 'dark' | 'light';
controlled: boolean;
}
export interface WidgetPreviewProps<T = unknown, F extends BaseField = UnknownField> {
@ -385,6 +386,7 @@ export interface PersistOptions {
export interface PersistArgs {
config: Config;
rootSlug: string | undefined;
collection: Collection;
entryDraft: EntryDraft;
assetProxies: AssetProxy[];