locality-idb 1.5.7 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -588,8 +588,8 @@ type InferUpdateType<T extends Table> = Prettify<Partial<Omit<$InferRow<T['colum
|
|
|
588
588
|
/** Creates a type for select operations. */
|
|
589
589
|
type InferSelectType<S extends Table> = Prettify<S extends infer T ? T extends Table<infer C> ? $InferRow<C> : never : never>;
|
|
590
590
|
type PrimaryKeyType<S extends Table> = InferSelectType<S>[$InferPrimaryKey<S['columns']>];
|
|
591
|
-
type IndexKeyType<S extends Table> = InferSelectType<S>[$
|
|
592
|
-
type UniqueKeyType<S extends Table> = InferSelectType<S>[$
|
|
591
|
+
type IndexKeyType<S extends Table> = InferSelectType<S>[$InferIndex<S['columns']>];
|
|
592
|
+
type UniqueKeyType<S extends Table> = InferSelectType<S>[$InferUnique<S['columns']>];
|
|
593
593
|
/** Column type strings used in {@link Column} definitions */
|
|
594
594
|
type TypeName = LooseLiteral<'int' | 'float' | 'number' | 'numeric' | 'bigint' | 'text' | 'string' | `char${number}` | `varchar${number}` | 'uuid' | 'timestamp' | 'email' | 'url' | 'bool' | 'boolean' | 'date' | 'object' | 'array' | 'list' | 'tuple' | 'set' | 'map' | 'custom'>;
|
|
595
595
|
/** Email string type in basic format */
|
package/dist/index.d.mts
CHANGED
|
@@ -588,8 +588,8 @@ type InferUpdateType<T extends Table> = Prettify<Partial<Omit<$InferRow<T['colum
|
|
|
588
588
|
/** Creates a type for select operations. */
|
|
589
589
|
type InferSelectType<S extends Table> = Prettify<S extends infer T ? T extends Table<infer C> ? $InferRow<C> : never : never>;
|
|
590
590
|
type PrimaryKeyType<S extends Table> = InferSelectType<S>[$InferPrimaryKey<S['columns']>];
|
|
591
|
-
type IndexKeyType<S extends Table> = InferSelectType<S>[$
|
|
592
|
-
type UniqueKeyType<S extends Table> = InferSelectType<S>[$
|
|
591
|
+
type IndexKeyType<S extends Table> = InferSelectType<S>[$InferIndex<S['columns']>];
|
|
592
|
+
type UniqueKeyType<S extends Table> = InferSelectType<S>[$InferUnique<S['columns']>];
|
|
593
593
|
/** Column type strings used in {@link Column} definitions */
|
|
594
594
|
type TypeName = LooseLiteral<'int' | 'float' | 'number' | 'numeric' | 'bigint' | 'text' | 'string' | `char${number}` | `varchar${number}` | 'uuid' | 'timestamp' | 'email' | 'url' | 'bool' | 'boolean' | 'date' | 'object' | 'array' | 'list' | 'tuple' | 'set' | 'map' | 'custom'>;
|
|
595
595
|
/** Email string type in basic format */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "locality-idb",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.8",
|
|
4
4
|
"description": "SQL-like query builder for IndexedDB with Drizzle-style API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"database"
|
|
68
68
|
],
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@eslint/js": "^
|
|
71
|
-
"@types/node": "^25.
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
73
|
-
"@typescript-eslint/parser": "^8.
|
|
74
|
-
"eslint": "^
|
|
70
|
+
"@eslint/js": "^10.0.1",
|
|
71
|
+
"@types/node": "^25.3.0",
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
73
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
74
|
+
"eslint": "^10.0.1",
|
|
75
75
|
"eslint-config-prettier": "^10.1.8",
|
|
76
76
|
"eslint-plugin-prettier": "^5.5.5",
|
|
77
77
|
"globals": "^17.3.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"prettier": "^3.8.1",
|
|
81
81
|
"tsdown": "^0.20.3",
|
|
82
82
|
"typescript": "^5.9.3",
|
|
83
|
-
"typescript-eslint": "^8.
|
|
83
|
+
"typescript-eslint": "^8.56.0"
|
|
84
84
|
},
|
|
85
85
|
"main": "./dist/index.cjs",
|
|
86
86
|
"module": "./dist/index.mjs",
|