fix: icons
This commit is contained in:
@@ -71,6 +71,7 @@ export async function loadCSV<T = Record<string, string>>(path: string): Promise
|
||||
Object.assign(each, frontmatter);
|
||||
}
|
||||
}
|
||||
csvResult.sourcePath = path;
|
||||
|
||||
csvCache.set(path, result);
|
||||
return csvResult;
|
||||
@@ -82,6 +83,7 @@ interface JSONObject extends Record<string, JSONData> {}
|
||||
|
||||
export type CSV<T> = T[] & {
|
||||
frontmatter?: JSONObject;
|
||||
sourcePath: string;
|
||||
}
|
||||
|
||||
export function processVariables<T extends JSONObject> (body: string, currentRow: T, csv: CSV<T>, filtered?: T[], remix?: boolean): string {
|
||||
|
||||
Reference in New Issue
Block a user