electrodb 3.4.0 → 3.4.1
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/index.d.ts +11 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3564,15 +3564,21 @@ export interface NumberSetAttribute {
|
|
|
3564
3564
|
readonly watch?: ReadonlyArray<string> | "*";
|
|
3565
3565
|
}
|
|
3566
3566
|
|
|
3567
|
-
|
|
3567
|
+
interface CustomAttributeTypeName<T> {
|
|
3568
|
+
readonly [CustomAttributeSymbol]: T;
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
interface CustomPrimitiveTypeName<T> {
|
|
3572
|
+
readonly [OpaquePrimitiveSymbol]: T;
|
|
3573
|
+
}
|
|
3568
3574
|
|
|
3569
|
-
type OpaquePrimitiveTypeName<T extends string | number | boolean> =
|
|
3575
|
+
export type OpaquePrimitiveTypeName<T extends string | number | boolean> =
|
|
3570
3576
|
T extends string
|
|
3571
|
-
? "string" &
|
|
3577
|
+
? "string" & CustomPrimitiveTypeName<T>
|
|
3572
3578
|
: T extends number
|
|
3573
|
-
? "number" &
|
|
3579
|
+
? "number" & CustomPrimitiveTypeName<T>
|
|
3574
3580
|
: T extends boolean
|
|
3575
|
-
? "boolean" &
|
|
3581
|
+
? "boolean" & CustomPrimitiveTypeName<T>
|
|
3576
3582
|
: never;
|
|
3577
3583
|
|
|
3578
3584
|
type CustomAttribute = {
|