@nomalism-com/types 0.25.4 → 0.25.5
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.
|
@@ -4,8 +4,11 @@ export type Entity = Users;
|
|
|
4
4
|
export declare const Route = "users";
|
|
5
5
|
export declare const UpperName = "Users";
|
|
6
6
|
export declare const LowerName: string;
|
|
7
|
+
interface IStoreOperator extends Pick<StoreOperator, "id" | "location_id"> {
|
|
8
|
+
main_persona: Pick<Persona, "name"> | null;
|
|
9
|
+
}
|
|
7
10
|
export interface IFindByEmailResponse extends Entity {
|
|
8
|
-
store_operator:
|
|
11
|
+
store_operator: IStoreOperator;
|
|
9
12
|
}
|
|
10
13
|
export interface IFindByIdResponse extends Entity {
|
|
11
14
|
provider: (Providers & {
|
|
@@ -112,3 +115,4 @@ export interface IRepository {
|
|
|
112
115
|
}
|
|
113
116
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
114
117
|
export type IApi = Omit<IRepository, "resetPassword" | "removeAccess">;
|
|
118
|
+
export {};
|