Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static get SCHEMATA(): SQLeetSchema[] {
return [
{
schema: {
[StorageSchemata.OBJECT_STORE.AMPLIFY]: SQLiteType.JSON_OR_TEXT,
[StorageSchemata.OBJECT_STORE.CLIENTS]: {
address: SQLiteType.TEXT,
class: SQLiteType.TEXT,
id: SQLiteType.TEXT,
label: SQLiteType.TEXT,
location: SQLiteType.JSON,
meta: SQLiteType.JSON,
model: SQLiteType.TEXT,
time: SQLiteType.TEXT,
type: SQLiteType.TEXT,
},
[StorageSchemata.OBJECT_STORE.CONVERSATIONS]: {
accessModes: SQLiteType.JSON,
accessRole: SQLiteType.TEXT,
archived_state: SQLiteType.BOOLEAN,
archived_timestamp: SQLiteType.INTEGER,