feature: Migrate to material icon lib (#24)

Co-authored-by: Raphael Teyssandier <rteyssandier@sephora.fr>
Co-authored-by: Florent CHAMPIGNY <champigny.florent@gmail.com>
This commit is contained in:
Raphael Teyssandier 2025-08-03 20:19:14 +02:00 committed by GitHub
parent 840fc5b2e2
commit a1e4dcca86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 959 additions and 202 deletions

View file

@ -0,0 +1,774 @@
{
"formatVersion": 1,
"database": {
"version": 27,
"identityHash": "6602c9e782a66f200b014ac2cfb4ef99",
"entities": [
{
"tableName": "FloconHttpRequestEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `deviceId` TEXT NOT NULL, `url` TEXT NOT NULL, `method` TEXT NOT NULL, `startTime` INTEGER NOT NULL, `durationMs` REAL NOT NULL, `requestHeaders` TEXT NOT NULL, `requestBody` TEXT, `requestByteSize` INTEGER NOT NULL, `responseContentType` TEXT, `responseBody` TEXT, `responseHeaders` TEXT NOT NULL, `responseByteSize` INTEGER NOT NULL, `graphql_query` TEXT, `graphql_operationType` TEXT, `graphql_isSuccess` INTEGER, `graphql_responseHttpCode` INTEGER, `http_responseHttpCode` INTEGER, `grpc_responseStatus` TEXT, PRIMARY KEY(`uuid`))",
"fields": [
{
"fieldPath": "uuid",
"columnName": "uuid",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "infos.url",
"columnName": "url",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "infos.method",
"columnName": "method",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "infos.startTime",
"columnName": "startTime",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "infos.durationMs",
"columnName": "durationMs",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "infos.requestHeaders",
"columnName": "requestHeaders",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "infos.requestBody",
"columnName": "requestBody",
"affinity": "TEXT"
},
{
"fieldPath": "infos.requestByteSize",
"columnName": "requestByteSize",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "infos.responseContentType",
"columnName": "responseContentType",
"affinity": "TEXT"
},
{
"fieldPath": "infos.responseBody",
"columnName": "responseBody",
"affinity": "TEXT"
},
{
"fieldPath": "infos.responseHeaders",
"columnName": "responseHeaders",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "infos.responseByteSize",
"columnName": "responseByteSize",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "graphql.query",
"columnName": "graphql_query",
"affinity": "TEXT"
},
{
"fieldPath": "graphql.operationType",
"columnName": "graphql_operationType",
"affinity": "TEXT"
},
{
"fieldPath": "graphql.isSuccess",
"columnName": "graphql_isSuccess",
"affinity": "INTEGER"
},
{
"fieldPath": "graphql.responseHttpCode",
"columnName": "graphql_responseHttpCode",
"affinity": "INTEGER"
},
{
"fieldPath": "http.responseHttpCode",
"columnName": "http_responseHttpCode",
"affinity": "INTEGER"
},
{
"fieldPath": "grpc.responseStatus",
"columnName": "grpc_responseStatus",
"affinity": "TEXT"
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"uuid"
]
}
},
{
"tableName": "FileEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `deviceId` TEXT NOT NULL, `name` TEXT NOT NULL, `isDirectory` INTEGER NOT NULL, `path` TEXT NOT NULL, `parentPath` TEXT NOT NULL, `size` INTEGER NOT NULL, `lastModifiedTimestamp` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "isDirectory",
"columnName": "isDirectory",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "path",
"columnName": "path",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "parentPath",
"columnName": "parentPath",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "size",
"columnName": "size",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "lastModifiedTimestamp",
"columnName": "lastModifiedTimestamp",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
}
},
{
"tableName": "DashboardEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`dashboardId` TEXT NOT NULL, `deviceId` TEXT NOT NULL, PRIMARY KEY(`dashboardId`))",
"fields": [
{
"fieldPath": "dashboardId",
"columnName": "dashboardId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"dashboardId"
]
},
"indices": [
{
"name": "index_DashboardEntity_dashboardId",
"unique": false,
"columnNames": [
"dashboardId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_DashboardEntity_dashboardId` ON `${TABLE_NAME}` (`dashboardId`)"
},
{
"name": "index_DashboardEntity_deviceId",
"unique": false,
"columnNames": [
"deviceId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_DashboardEntity_deviceId` ON `${TABLE_NAME}` (`deviceId`)"
}
]
},
{
"tableName": "DashboardSectionEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `dashboardId` TEXT NOT NULL, `sectionOrder` INTEGER NOT NULL, `name` TEXT NOT NULL, FOREIGN KEY(`dashboardId`) REFERENCES `DashboardEntity`(`dashboardId`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "dashboardId",
"columnName": "dashboardId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "sectionOrder",
"columnName": "sectionOrder",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_DashboardSectionEntity_dashboardId",
"unique": false,
"columnNames": [
"dashboardId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_DashboardSectionEntity_dashboardId` ON `${TABLE_NAME}` (`dashboardId`)"
},
{
"name": "index_DashboardSectionEntity_dashboardId_sectionOrder",
"unique": true,
"columnNames": [
"dashboardId",
"sectionOrder"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_DashboardSectionEntity_dashboardId_sectionOrder` ON `${TABLE_NAME}` (`dashboardId`, `sectionOrder`)"
}
],
"foreignKeys": [
{
"table": "DashboardEntity",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"dashboardId"
],
"referencedColumns": [
"dashboardId"
]
}
]
},
{
"tableName": "DashboardElementEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `sectionId` INTEGER NOT NULL, `elementOrder` INTEGER NOT NULL, `button_text` TEXT, `button_actionId` TEXT, `text_label` TEXT, `text_value` TEXT, `text_color` INTEGER, `plainText_label` TEXT, `plainText_value` TEXT, `plainText_type` TEXT, `textField_actionId` TEXT, `textField_label` TEXT, `textField_value` TEXT, `textField_placeHolder` TEXT, `checkBox_actionId` TEXT, `checkBox_label` TEXT, `checkBox_value` INTEGER, FOREIGN KEY(`sectionId`) REFERENCES `DashboardSectionEntity`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "sectionId",
"columnName": "sectionId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "elementOrder",
"columnName": "elementOrder",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "button.text",
"columnName": "button_text",
"affinity": "TEXT"
},
{
"fieldPath": "button.actionId",
"columnName": "button_actionId",
"affinity": "TEXT"
},
{
"fieldPath": "text.label",
"columnName": "text_label",
"affinity": "TEXT"
},
{
"fieldPath": "text.value",
"columnName": "text_value",
"affinity": "TEXT"
},
{
"fieldPath": "text.color",
"columnName": "text_color",
"affinity": "INTEGER"
},
{
"fieldPath": "plainText.label",
"columnName": "plainText_label",
"affinity": "TEXT"
},
{
"fieldPath": "plainText.value",
"columnName": "plainText_value",
"affinity": "TEXT"
},
{
"fieldPath": "plainText.type",
"columnName": "plainText_type",
"affinity": "TEXT"
},
{
"fieldPath": "textField.actionId",
"columnName": "textField_actionId",
"affinity": "TEXT"
},
{
"fieldPath": "textField.label",
"columnName": "textField_label",
"affinity": "TEXT"
},
{
"fieldPath": "textField.value",
"columnName": "textField_value",
"affinity": "TEXT"
},
{
"fieldPath": "textField.placeHolder",
"columnName": "textField_placeHolder",
"affinity": "TEXT"
},
{
"fieldPath": "checkBox.actionId",
"columnName": "checkBox_actionId",
"affinity": "TEXT"
},
{
"fieldPath": "checkBox.label",
"columnName": "checkBox_label",
"affinity": "TEXT"
},
{
"fieldPath": "checkBox.value",
"columnName": "checkBox_value",
"affinity": "INTEGER"
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_DashboardElementEntity_sectionId",
"unique": false,
"columnNames": [
"sectionId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_DashboardElementEntity_sectionId` ON `${TABLE_NAME}` (`sectionId`)"
},
{
"name": "index_DashboardElementEntity_sectionId_elementOrder",
"unique": true,
"columnNames": [
"sectionId",
"elementOrder"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_DashboardElementEntity_sectionId_elementOrder` ON `${TABLE_NAME}` (`sectionId`, `elementOrder`)"
}
],
"foreignKeys": [
{
"table": "DashboardSectionEntity",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"sectionId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "TableEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `deviceId` TEXT NOT NULL, `name` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_TableEntity_deviceId_name",
"unique": true,
"columnNames": [
"deviceId",
"name"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_TableEntity_deviceId_name` ON `${TABLE_NAME}` (`deviceId`, `name`)"
}
]
},
{
"tableName": "TableItemEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`itemId` TEXT NOT NULL, `tableId` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, `columnsNames` TEXT NOT NULL, `values` TEXT NOT NULL, PRIMARY KEY(`itemId`), FOREIGN KEY(`tableId`) REFERENCES `TableEntity`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "itemId",
"columnName": "itemId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "tableId",
"columnName": "tableId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "createdAt",
"columnName": "createdAt",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "columnsNames",
"columnName": "columnsNames",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "values",
"columnName": "values",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"itemId"
]
},
"indices": [
{
"name": "index_TableItemEntity_tableId",
"unique": false,
"columnNames": [
"tableId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_TableItemEntity_tableId` ON `${TABLE_NAME}` (`tableId`)"
}
],
"foreignKeys": [
{
"table": "TableEntity",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"tableId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "DeviceImageEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`deviceId` TEXT NOT NULL, `url` TEXT NOT NULL, `time` INTEGER NOT NULL, PRIMARY KEY(`deviceId`, `url`, `time`))",
"fields": [
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "url",
"columnName": "url",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "time",
"columnName": "time",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"deviceId",
"url",
"time"
]
}
},
{
"tableName": "SuccessQueryEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `deviceId` TEXT NOT NULL, `databaseId` TEXT NOT NULL, `queryString` TEXT NOT NULL, `timestamp` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "databaseId",
"columnName": "databaseId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "queryString",
"columnName": "queryString",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "timestamp",
"columnName": "timestamp",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_SuccessQueryEntity_deviceId_databaseId_queryString",
"unique": true,
"columnNames": [
"deviceId",
"databaseId",
"queryString"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_SuccessQueryEntity_deviceId_databaseId_queryString` ON `${TABLE_NAME}` (`deviceId`, `databaseId`, `queryString`)"
},
{
"name": "index_SuccessQueryEntity_databaseId",
"unique": false,
"columnNames": [
"databaseId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_SuccessQueryEntity_databaseId` ON `${TABLE_NAME}` (`databaseId`)"
}
]
},
{
"tableName": "DeeplinkEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `deviceId` TEXT NOT NULL, `link` TEXT NOT NULL, `label` TEXT, `description` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "link",
"columnName": "link",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "label",
"columnName": "label",
"affinity": "TEXT"
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT"
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_DeeplinkEntity_deviceId",
"unique": false,
"columnNames": [
"deviceId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_DeeplinkEntity_deviceId` ON `${TABLE_NAME}` (`deviceId`)"
},
{
"name": "index_DeeplinkEntity_deviceId_link",
"unique": true,
"columnNames": [
"deviceId",
"link"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_DeeplinkEntity_deviceId_link` ON `${TABLE_NAME}` (`deviceId`, `link`)"
}
]
},
{
"tableName": "AnalyticsItemEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`itemId` TEXT NOT NULL, `analyticsTableId` TEXT NOT NULL, `deviceId` TEXT NOT NULL, `createdAt` INTEGER NOT NULL, `eventName` TEXT NOT NULL, `propertiesColumnsNames` TEXT NOT NULL, `propertiesValues` TEXT NOT NULL, PRIMARY KEY(`itemId`))",
"fields": [
{
"fieldPath": "itemId",
"columnName": "itemId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "analyticsTableId",
"columnName": "analyticsTableId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "deviceId",
"columnName": "deviceId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "createdAt",
"columnName": "createdAt",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "eventName",
"columnName": "eventName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "propertiesColumnsNames",
"columnName": "propertiesColumnsNames",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "propertiesValues",
"columnName": "propertiesValues",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"itemId"
]
},
"indices": [
{
"name": "index_AnalyticsItemEntity_deviceId_analyticsTableId",
"unique": false,
"columnNames": [
"deviceId",
"analyticsTableId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_AnalyticsItemEntity_deviceId_analyticsTableId` ON `${TABLE_NAME}` (`deviceId`, `analyticsTableId`)"
}
]
}
],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '6602c9e782a66f200b014ac2cfb4ef99')"
]
}
}