oksy 0.1.18 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- package/boot.js +20 -20
- package/library.js +1 -1
- package/package.json +1 -1
- package/public/assets/{index.0f5e9cff.js → index.43518e97.js} +1 -1
- package/public/assets/{index.2982aee6.js → index.4ae47d6a.js} +1 -1
- package/public/index.html +1 -1
- package/types/src/Frontend/View/UI.d.ts +4 -4
- package/types/src/ReactiveStore/BaseEntity.d.ts +5 -1
- package/types/src/Server/Socket/WebSocketServerClient.d.ts +1 -0
@@ -7,7 +7,10 @@ import { IValidator } from './Validators/IValidator';
|
|
7
7
|
export type Draft<T> = {
|
8
8
|
[P in keyof T]: T[P] extends Function ? T[P] : (P extends 'id' | 'workspaceId' ? T[P] : null | T[P]);
|
9
9
|
};
|
10
|
-
|
10
|
+
type ManyFields<T1 extends GlobalEntity> = {
|
11
|
+
[K in keyof T1]: T1[K] extends Many<any, any> ? K : never;
|
12
|
+
}[keyof T1];
|
13
|
+
export type One<T1 extends GlobalEntity, T2 extends ManyFields<T1>, T3 extends BlueprintFieldOne['cascade'] = 'DELETE'> = T1;
|
11
14
|
export declare abstract class GlobalEntity {
|
12
15
|
id: string;
|
13
16
|
isValid: boolean;
|
@@ -48,3 +51,4 @@ export declare abstract class BaseFile extends Entity {
|
|
48
51
|
size: number;
|
49
52
|
type: string;
|
50
53
|
}
|
54
|
+
export {};
|
@@ -12,4 +12,5 @@ export declare class WebSocketServerClient extends BaseCommunicator {
|
|
12
12
|
confirm(title: string, message: string, primaryButtonText?: string): Promise<boolean>;
|
13
13
|
toLocalDate(utcDate: null | Dayjs): null | Dayjs;
|
14
14
|
navigate(url: string, type?: 'push' | 'replace' | 'hard' | 'blank'): void;
|
15
|
+
download(url: string, name: string): void;
|
15
16
|
}
|