@kworq/storyblok-space-cloner
Version:
Tools to efficiently copy components, stories, and assets from one Storyblok space to another. Simplifies cloning for development, testing, or migration purposes, ensuring seamless transfer of content and structure.
7 lines (6 loc) • 328 B
TypeScript
export declare const cloneDeep: <T>(obj: T) => T | T[];
export declare function findValuesByKey(obj: Record<string, any>, key: string): {
ref: Record<string, any>;
key: string;
}[];
export declare function updateValues(obj: Record<string, any>, key: string, getNewValue: (value: string) => Promise<any>): Promise<void>;