ptechcore_ui 1.0.16 → 1.0.17

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/index.d.cts CHANGED
@@ -130,6 +130,7 @@ interface User {
130
130
  is_staff: boolean;
131
131
  is_active: boolean;
132
132
  date_joined: string;
133
+ profile_picture: string;
133
134
  is_deleted: boolean;
134
135
  deleted_at: string | null;
135
136
  phonenumber: string | null;
@@ -146,6 +147,8 @@ interface SessionContextType {
146
147
  loggedUser: User | null;
147
148
  login: (token: string) => void;
148
149
  logout: () => void;
150
+ showAuthModal: boolean;
151
+ setShowAuthModal: (data: boolean) => void;
149
152
  }
150
153
  declare const useSession: () => SessionContextType;
151
154
  declare const SessionProvider: ({ children }: {
@@ -231,7 +234,7 @@ interface FDrawerProps {
231
234
  declare const FDrawer: React$1.FC<FDrawerProps>;
232
235
 
233
236
  interface ApprovalWorkflowProps {
234
- process: number;
237
+ process: string;
235
238
  object_id: number;
236
239
  title?: string;
237
240
  readOnly?: boolean;
package/dist/index.d.ts CHANGED
@@ -130,6 +130,7 @@ interface User {
130
130
  is_staff: boolean;
131
131
  is_active: boolean;
132
132
  date_joined: string;
133
+ profile_picture: string;
133
134
  is_deleted: boolean;
134
135
  deleted_at: string | null;
135
136
  phonenumber: string | null;
@@ -146,6 +147,8 @@ interface SessionContextType {
146
147
  loggedUser: User | null;
147
148
  login: (token: string) => void;
148
149
  logout: () => void;
150
+ showAuthModal: boolean;
151
+ setShowAuthModal: (data: boolean) => void;
149
152
  }
150
153
  declare const useSession: () => SessionContextType;
151
154
  declare const SessionProvider: ({ children }: {
@@ -231,7 +234,7 @@ interface FDrawerProps {
231
234
  declare const FDrawer: React$1.FC<FDrawerProps>;
232
235
 
233
236
  interface ApprovalWorkflowProps {
234
- process: number;
237
+ process: string;
235
238
  object_id: number;
236
239
  title?: string;
237
240
  readOnly?: boolean;