@knapsack/app
Version:
Build Design Systems on top of knapsack, by Basalt
22 lines (19 loc) • 390 B
text/typescript
export interface KnapsackCustomPageSlice {
id: string;
/**
* Match this to a Slices `id` to use it
* @todo Change to `sliceType`
*/
blockId: string;
data: any;
}
export interface KnapsackCustomPage {
id: string;
title: string;
slices?: KnapsackCustomPageSlice[];
}
export interface KnapsackCustomPagesData {
pages?: {
[id: string]: KnapsackCustomPage;
};
}