tycho-components 0.0.11-SNAPSHOT → 0.0.11-SNAPSHOT-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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import User from '../../configs/User';
|
|
1
|
+
import { User } from '../../configs/User';
|
|
2
2
|
import { Comment, CommentRequest } from './Comment';
|
|
3
3
|
declare function markRead(id: string): Promise<import("axios").AxiosResponse<Comment, any>>;
|
|
4
4
|
declare function update(id: string, comment: CommentRequest): Promise<import("axios").AxiosResponse<Comment, any>>;
|
package/dist/configs/User.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare enum UserStatus {
|
|
|
4
4
|
SUPER = "SUPER",
|
|
5
5
|
VISITOR = "VISITOR"
|
|
6
6
|
}
|
|
7
|
-
type User = {
|
|
7
|
+
export type User = {
|
|
8
8
|
uid: string;
|
|
9
9
|
name: string;
|
|
10
10
|
sub: string;
|
|
@@ -13,4 +13,3 @@ type User = {
|
|
|
13
13
|
status: UserStatus;
|
|
14
14
|
permissions: string[];
|
|
15
15
|
};
|
|
16
|
-
export default User;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ToastMessage from '../../AppToast/ToastMessage';
|
|
2
|
-
import User from '../User';
|
|
2
|
+
import { User } from '../User';
|
|
3
3
|
import { StoreAction } from './types';
|
|
4
4
|
export declare const logged: (data: User | undefined) => StoreAction;
|
|
5
5
|
export declare const message: (data: ToastMessage) => StoreAction;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,3 +21,5 @@ export type { FormFieldOption } from './AppEditable/FormFieldOption';
|
|
|
21
21
|
export type { AppEditableField } from './AppEditable/AppEditableField';
|
|
22
22
|
export type { FieldOperations, FormField } from './AppEditable/FormField';
|
|
23
23
|
export type { KeyboardLayout } from './VirtualKeyboard/KeyboardCustomLayout';
|
|
24
|
+
export type { User } from './configs/User';
|
|
25
|
+
export type { UserStatus } from './configs/User';
|