Complete redo of content indexing and querying (#517)
Complete redo of data store Introduces live queries and live templates
This commit is contained in:
+2
-15
@@ -1,21 +1,7 @@
|
||||
import { Manifest } from "../common/manifest.ts";
|
||||
import { PageMeta } from "$sb/types.ts";
|
||||
import { AppCommand } from "./hooks/command.ts";
|
||||
|
||||
export type PageMeta = {
|
||||
name: string;
|
||||
lastModified: number;
|
||||
lastOpened?: number;
|
||||
perm: "ro" | "rw";
|
||||
} & Record<string, any>;
|
||||
|
||||
export type AttachmentMeta = {
|
||||
name: string;
|
||||
contentType: string;
|
||||
lastModified: number;
|
||||
size: number;
|
||||
perm: "ro" | "rw";
|
||||
};
|
||||
|
||||
// Used by FilterBox
|
||||
export type FilterOption = {
|
||||
name: string;
|
||||
@@ -104,6 +90,7 @@ export const initialViewState: AppViewState = {
|
||||
rhs: {},
|
||||
bhs: {},
|
||||
modal: {},
|
||||
ps: {},
|
||||
},
|
||||
allPages: [],
|
||||
commands: new Map(),
|
||||
|
||||
Reference in New Issue
Block a user