DexieCloudTable.ts from dexie/Dexie.js
// Source: https://github.com/dexie/Dexie.js | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { EntityTable, InsertType } from 'dexie';
export interface DexieCloudEntity {
owner: string;
realmId: string;
}
/** Don't force the declaration of owner and realmId on every entity (some
* types may not be interested of these props if they are never going to be shared)
* Let the type system behave the same as the runtime and merge these props in automatically
* when declaring the table where the props aren't explicitely declared.
* User may also explicitely declare these props in order to manually set them when
* they are interested of taking control over access.
*/
type
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key