@medyll/idae-idbql 0.173.0 → 0.175.0
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/idbqlCore/types.d.ts +2 -2
- package/dist/idbqlCore/types.js +0 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -20,7 +20,7 @@ export declare enum TplProperties {
|
|
|
20
20
|
readonly = "readonly",
|
|
21
21
|
required = "required"
|
|
22
22
|
}
|
|
23
|
-
export type CombineElements<T extends string, U extends string = T> = T extends any ?
|
|
23
|
+
export type CombineElements<T extends string, U extends string = T> = T | (T extends any ? `${T} ${CombineElements<Exclude<U, T>>}` : never);
|
|
24
24
|
export type CombinedArgs = CombineElements<TplProperties>;
|
|
25
25
|
export type IdbObjectify<T extends string> = `array-of-${T}` | `object-${T}`;
|
|
26
26
|
export type TplCollectionFields = Record<string, string>;
|
|
@@ -54,7 +54,7 @@ export type CollectionModel<T = TplCollectionFields> = {
|
|
|
54
54
|
ts: any;
|
|
55
55
|
template: {
|
|
56
56
|
index: string;
|
|
57
|
-
presentation: CombineElements<keyof CollectionModel<T>['ts']
|
|
57
|
+
presentation: CombineElements<Extract<keyof CollectionModel<T>['ts'], string>>;
|
|
58
58
|
fields: {
|
|
59
59
|
[K in keyof T]: TplFieldRules;
|
|
60
60
|
};
|
package/dist/idbqlCore/types.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './state/idbstate.svelte.js';
|
|
2
2
|
export * from './state/idbqlEvent.svelte.js';
|
|
3
3
|
export * from './scripts/types.js';
|
|
4
|
-
export * from './path/pathResolver.js';
|
|
5
4
|
export * from './idbqlCore/types.js';
|
|
6
5
|
export * from './idbqlCore/idbqlSchema.js';
|
|
7
6
|
export * from './idbqlCore/idbqlCore.js';
|
|
7
|
+
export * from './path/pathResolver.js';
|
|
8
8
|
export * from './collection/collection.svelte.js';
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
export * from './state/idbstate.svelte.js';
|
|
3
3
|
export * from './state/idbqlEvent.svelte.js';
|
|
4
4
|
export * from './scripts/types.js';
|
|
5
|
-
export * from './path/pathResolver.js';
|
|
6
5
|
export * from './idbqlCore/types.js';
|
|
7
6
|
export * from './idbqlCore/idbqlSchema.js';
|
|
8
7
|
export * from './idbqlCore/idbqlCore.js';
|
|
8
|
+
export * from './path/pathResolver.js';
|
|
9
9
|
export * from './collection/collection.svelte.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medyll/idae-idbql",
|
|
3
3
|
"scope": "@medyll",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.175.0",
|
|
5
5
|
"description": "A powerful and flexible IndexedDB query library for TypeScript and JavaScript applications, offering a MongoDB-like query interface, strong TypeScript support, reactive state management, and easy integration with front-end frameworks like Svelte.",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typescript": "^5.8.3",
|
|
32
32
|
"vite": "^6.3.2",
|
|
33
33
|
"@medyll/idae-prettier-config": "1.2.1",
|
|
34
|
-
"@medyll/idae-query": "0.
|
|
34
|
+
"@medyll/idae-query": "0.176.0"
|
|
35
35
|
},
|
|
36
36
|
"svelte": "./dist/index.js",
|
|
37
37
|
"types": "./dist/index.d.ts",
|