API reference › @evolu/common › local‑first/Evolu › EmptyEvoluSchema

type EmptyEvoluSchema = {
  [emptyEvoluSchemaSymbol]?: never;
};

Defined in: packages/common/src/local-first/Evolu.ts:2212

An EvoluSchema without tables, the device schema of an app without device tables. It has no table to write, so app.device.insert("todo", {}) doesn't compile, and it matches no other schema, so neither does a query of the app's own tables, such as app.device.loadQuery(allTodos).

Properties

[emptyEvoluSchemaSymbol]?

readonly [emptyEvoluSchemaSymbol]?: never;

Defined in: packages/common/src/local-first/Evolu.ts:2212