diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts index e4eaf1c..b42391c 100644 --- a/dist/types/index.d.ts +++ b/dist/types/index.d.ts @@ -102,6 +102,8 @@ export declare const BUN_SQLITE_DATATYPES: readonly [{ readonly value: "INTEGER"; }, { readonly value: "BLOB"; +}, { + readonly value: "REAL"; }]; export type BUN_SQLITE_FieldSchemaType = { id?: number | string; diff --git a/dist/types/index.js b/dist/types/index.js index d87c723..90bb9dd 100644 --- a/dist/types/index.js +++ b/dist/types/index.js @@ -29,6 +29,7 @@ export const BUN_SQLITE_DATATYPES = [ { value: "TEXT" }, { value: "INTEGER" }, { value: "BLOB" }, + { value: "REAL" }, ]; export const ServerQueryOperators = ["AND", "OR"]; export const ServerQueryEqualities = [ diff --git a/package.json b/package.json index 3787ed2..18d7327 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/bun-sqlite", - "version": "1.0.17", + "version": "1.0.18", "description": "SQLite manager for Bun", "author": "Benjamin Toby", "main": "dist/index.js", diff --git a/src/types/index.ts b/src/types/index.ts index 0f963b6..08f8334 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -103,6 +103,7 @@ export const BUN_SQLITE_DATATYPES = [ { value: "TEXT" }, { value: "INTEGER" }, { value: "BLOB" }, + { value: "REAL" }, ] as const; export type BUN_SQLITE_FieldSchemaType = {