monorise 0.0.2 → 0.0.3

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 type { Entity, MonoriseEntityConfig } from '@monorise/base';
1
+ import type { Entity, MonoriseEntityConfig } from '../base/index';
2
2
  import type { AxiosResponse } from 'axios';
3
3
  import { getEntityRequestKey, getMutualRequestKey, getTagRequestKey, getUniqueFieldRequestKey } from './lib/utils';
4
4
  import { Mutual, MutualData, MutualDataMapping, MutualDataWithIndex } from './types/mutual.type';
@@ -18,8 +18,8 @@ declare const Monorise: {
18
18
  originalError?: unknown;
19
19
  };
20
20
  } | undefined>;
21
- createEntity: <T extends Entity>(entityType: T, entity: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
22
- data: import("@monorise/base").CreatedEntity<T>;
21
+ createEntity: <T extends Entity>(entityType: T, entity: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
22
+ data: import("../base/index").CreatedEntity<T>;
23
23
  error?: undefined;
24
24
  } | {
25
25
  error: Error & {
@@ -27,8 +27,8 @@ declare const Monorise: {
27
27
  };
28
28
  data?: undefined;
29
29
  }>;
30
- upsertEntity: <T extends Entity>(entityType: T, id: string, entity: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
31
- data: import("@monorise/base").CreatedEntity<T>;
30
+ upsertEntity: <T extends Entity>(entityType: T, id: string, entity: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
31
+ data: import("../base/index").CreatedEntity<T>;
32
32
  error?: undefined;
33
33
  } | {
34
34
  error: Error & {
@@ -37,13 +37,13 @@ declare const Monorise: {
37
37
  data?: undefined;
38
38
  }>;
39
39
  getEntity: <T extends Entity>(entityType: T, id: string, opts?: import("./services/core.service").CommonOptions) => Promise<{
40
- data?: import("@monorise/base").CreatedEntity<T>;
40
+ data?: import("../base/index").CreatedEntity<T>;
41
41
  error?: import("./types/api.type").ApplicationRequestError | (Error & {
42
42
  originalError?: unknown;
43
43
  });
44
44
  }>;
45
- editEntity: <T extends Entity>(entityType: T, id: string, entity: Partial<import("@monorise/base").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<{
46
- data: import("@monorise/base").CreatedEntity<T>;
45
+ editEntity: <T extends Entity>(entityType: T, id: string, entity: Partial<import("../base/index").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<{
46
+ data: import("../base/index").CreatedEntity<T>;
47
47
  error?: undefined;
48
48
  } | {
49
49
  error: Error & {
@@ -76,7 +76,7 @@ declare const Monorise: {
76
76
  };
77
77
  data?: undefined;
78
78
  }>;
79
- updateLocalEntity: <T extends Entity>(entityType: Entity, entityId: string, data?: Partial<import("@monorise/base").DraftEntity<T>>) => Promise<void>;
79
+ updateLocalEntity: <T extends Entity>(entityType: Entity, entityId: string, data?: Partial<import("../base/index").DraftEntity<T>>) => Promise<void>;
80
80
  createMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, payload?: MutualData<B, T> | Record<string, any>, opts?: import("./services/core.service").CommonOptions) => Promise<{
81
81
  data: Mutual<B, T>;
82
82
  error?: undefined;
@@ -86,8 +86,8 @@ declare const Monorise: {
86
86
  };
87
87
  data?: undefined;
88
88
  }>;
89
- createLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data: import("@monorise/base").EntitySchemaMap[T] | Record<string, any>) => Promise<void>;
90
- upsertLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data?: import("@monorise/base").EntitySchemaMap[T] | Record<string, any>) => Promise<void>;
89
+ createLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data: import("../base/index").EntitySchemaMap[T] | Record<string, any>) => Promise<void>;
90
+ upsertLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data?: import("../base/index").EntitySchemaMap[T] | Record<string, any>) => Promise<void>;
91
91
  editMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, payload?: MutualData<B, T> | Record<string, any>, opts?: import("./services/core.service").CommonOptions) => Promise<{
92
92
  data: Mutual<B, T>;
93
93
  error?: undefined;
@@ -108,20 +108,20 @@ declare const Monorise: {
108
108
  }>;
109
109
  deleteLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string) => void;
110
110
  useEntity: <T extends Entity>(entityType: T, id?: string, opts?: import("./services/core.service").CommonOptions) => {
111
- entity: import("@monorise/base").CreatedEntity<T> | undefined;
111
+ entity: import("../base/index").CreatedEntity<T> | undefined;
112
112
  isLoading: boolean;
113
113
  error?: import("./types/api.type").ApplicationRequestError;
114
114
  requestKey: string;
115
115
  isFirstFetched?: boolean;
116
- refetch: () => Promise<import("@monorise/base").CreatedEntity<T> | undefined>;
116
+ refetch: () => Promise<import("../base/index").CreatedEntity<T> | undefined>;
117
117
  };
118
118
  useEntityByUniqueField: <T extends Entity>(entityType: T, fieldName: string, value?: string, opts?: import("./services/core.service").CommonOptions) => {
119
- entity: import("@monorise/base").CreatedEntity<T> | undefined;
119
+ entity: import("../base/index").CreatedEntity<T> | undefined;
120
120
  isLoading: boolean;
121
121
  error?: import("./types/api.type").ApplicationRequestError;
122
122
  requestKey: string;
123
123
  isFirstFetched?: boolean;
124
- refetch: () => Promise<import("@monorise/base").CreatedEntity<T> | undefined>;
124
+ refetch: () => Promise<import("../base/index").CreatedEntity<T> | undefined>;
125
125
  };
126
126
  useEntities: <T extends Entity>(entityType: T, params?: {
127
127
  skRange?: {
@@ -133,8 +133,8 @@ declare const Monorise: {
133
133
  searchInterval?: number;
134
134
  }) => {
135
135
  isLoading: boolean;
136
- entities?: import("@monorise/base").CreatedEntity<T>[];
137
- entitiesMap: Map<string, import("@monorise/base").CreatedEntity<T>>;
136
+ entities?: import("../base/index").CreatedEntity<T>[];
137
+ entitiesMap: Map<string, import("../base/index").CreatedEntity<T>>;
138
138
  error?: import("./types/api.type").ApplicationRequestError;
139
139
  requestKey: string;
140
140
  searchField: {
@@ -167,8 +167,8 @@ declare const Monorise: {
167
167
  useTaggedEntities: <T extends Entity>(entityType: T, tagName: string, opts?: import("./services/core.service").CommonOptions & {
168
168
  params?: import("./services/core.service").ListEntitiesByTagParams;
169
169
  }) => {
170
- entities: import("@monorise/base").CreatedEntity<T>[];
171
- entitiesMap: Map<string, import("@monorise/base").CreatedEntity<T>>;
170
+ entities: import("../base/index").CreatedEntity<T>[];
171
+ entitiesMap: Map<string, import("../base/index").CreatedEntity<T>>;
172
172
  isLoading: boolean;
173
173
  requestKey: string;
174
174
  error: import("./types/api.type").ApplicationRequestError | undefined;
@@ -179,13 +179,13 @@ declare const Monorise: {
179
179
  data?: undefined;
180
180
  } | {
181
181
  data: {
182
- entities: import("@monorise/base").CreatedEntity<Entity>[];
182
+ entities: import("../base/index").CreatedEntity<Entity>[];
183
183
  lastKey: null;
184
184
  };
185
185
  error?: undefined;
186
186
  } | {
187
187
  data: {
188
- entities: import("@monorise/base").CreatedEntity<T>[];
188
+ entities: import("../base/index").CreatedEntity<T>[];
189
189
  lastKey: string;
190
190
  };
191
191
  error?: undefined;
@@ -200,13 +200,13 @@ declare const Monorise: {
200
200
  data?: undefined;
201
201
  } | {
202
202
  data: {
203
- entities: import("@monorise/base").CreatedEntity<Entity>[];
203
+ entities: import("../base/index").CreatedEntity<Entity>[];
204
204
  lastKey: null;
205
205
  };
206
206
  error?: undefined;
207
207
  } | {
208
208
  data: {
209
- entities: import("@monorise/base").CreatedEntity<T>[];
209
+ entities: import("../base/index").CreatedEntity<T>[];
210
210
  lastKey: string;
211
211
  };
212
212
  error?: undefined;
@@ -217,8 +217,8 @@ declare const Monorise: {
217
217
  data?: undefined;
218
218
  } | undefined>;
219
219
  };
220
- useEntityState: <T extends Entity>(entityType: T) => Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>[T];
221
- updateLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, data?: Partial<import("@monorise/base").DraftEntity<T>>, params?: import("./services/core.service").ListEntitiesByTagParams) => void;
220
+ useEntityState: <T extends Entity>(entityType: T) => Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>[T];
221
+ updateLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, data?: Partial<import("../base/index").DraftEntity<T>>, params?: import("./services/core.service").ListEntitiesByTagParams) => void;
222
222
  deleteLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, params?: import("./services/core.service").ListEntitiesByTagParams) => void;
223
223
  requestLogin: (entityType: Entity, payload: {
224
224
  email: string;
@@ -288,9 +288,9 @@ declare const Monorise: {
288
288
  };
289
289
  };
290
290
  config: Record<Entity, MonoriseEntityConfig>;
291
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
291
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
292
292
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
293
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
293
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
294
294
  auth: {
295
295
  isUnauthorized: boolean;
296
296
  profile: {
@@ -316,9 +316,9 @@ declare const Monorise: {
316
316
  };
317
317
  };
318
318
  config: Record<Entity, MonoriseEntityConfig>;
319
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
319
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
320
320
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
321
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
321
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
322
322
  auth: {
323
323
  isUnauthorized: boolean;
324
324
  profile: {
@@ -341,9 +341,9 @@ declare const Monorise: {
341
341
  };
342
342
  };
343
343
  config: Record<Entity, MonoriseEntityConfig>;
344
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
344
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
345
345
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
346
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
346
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
347
347
  auth: {
348
348
  isUnauthorized: boolean;
349
349
  profile: {
@@ -366,9 +366,9 @@ declare const Monorise: {
366
366
  };
367
367
  };
368
368
  config: Record<Entity, MonoriseEntityConfig>;
369
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
369
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
370
370
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
371
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
371
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
372
372
  auth: {
373
373
  isUnauthorized: boolean;
374
374
  profile: {
@@ -391,9 +391,9 @@ declare const Monorise: {
391
391
  };
392
392
  };
393
393
  config: Record<Entity, MonoriseEntityConfig>;
394
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
394
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
395
395
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
396
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
396
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
397
397
  auth: {
398
398
  isUnauthorized: boolean;
399
399
  profile: {
@@ -416,9 +416,9 @@ declare const Monorise: {
416
416
  };
417
417
  };
418
418
  config: Record<Entity, MonoriseEntityConfig>;
419
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
419
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
420
420
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
421
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
421
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
422
422
  auth: {
423
423
  isUnauthorized: boolean;
424
424
  profile: {
@@ -431,7 +431,7 @@ declare const Monorise: {
431
431
  }>), replace?: boolean | undefined, action?: A | undefined): void;
432
432
  }>;
433
433
  axios: {
434
- post: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
434
+ post: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
435
435
  requestKey: string;
436
436
  isInterruptive?: boolean;
437
437
  feedback?: {
@@ -440,7 +440,7 @@ declare const Monorise: {
440
440
  failure?: string | boolean;
441
441
  };
442
442
  }) => Promise<R>;
443
- put: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
443
+ put: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
444
444
  requestKey: string;
445
445
  isInterruptive?: boolean;
446
446
  feedback?: {
@@ -449,7 +449,7 @@ declare const Monorise: {
449
449
  failure?: string | boolean;
450
450
  };
451
451
  }) => Promise<R>;
452
- patch: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
452
+ patch: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
453
453
  requestKey: string;
454
454
  isInterruptive?: boolean;
455
455
  feedback?: {
@@ -458,7 +458,7 @@ declare const Monorise: {
458
458
  failure?: string | boolean;
459
459
  };
460
460
  }) => Promise<R>;
461
- delete: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
461
+ delete: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
462
462
  requestKey: string;
463
463
  isInterruptive?: boolean;
464
464
  feedback?: {
@@ -467,7 +467,7 @@ declare const Monorise: {
467
467
  failure?: string | boolean;
468
468
  };
469
469
  }) => Promise<R>;
470
- get: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
470
+ get: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
471
471
  requestKey: string;
472
472
  isInterruptive?: boolean;
473
473
  feedback?: {
@@ -490,13 +490,13 @@ declare const Monorise: {
490
490
  authService: {
491
491
  requestLoginMagicLink: (entityType: Entity, payload: {
492
492
  email: string;
493
- }) => Promise<AxiosResponse<any, any>>;
493
+ }) => Promise<AxiosResponse<any, any, {}>>;
494
494
  getSessionProfile: <T extends Record<string, unknown>>() => Promise<AxiosResponse<T & {
495
495
  displayName: string;
496
496
  email: string;
497
497
  accountId: string;
498
- }, any>>;
499
- logout: () => Promise<AxiosResponse<any, any>>;
498
+ }, any, {}>>;
499
+ logout: () => Promise<AxiosResponse<any, any, {}>>;
500
500
  setOptions: (opts: {
501
501
  apiBaseUrl?: string;
502
502
  }) => void;
@@ -509,7 +509,7 @@ declare const Monorise: {
509
509
  name: string;
510
510
  disableLoading?: boolean;
511
511
  onProgress?: (progress: number) => void;
512
- }) => Promise<AxiosResponse<any, any>>;
512
+ }) => Promise<AxiosResponse<any, any, {}>>;
513
513
  deleteFiles: (keys: string[]) => Promise<any>;
514
514
  uploadVideo: ({ file, scope, directory, name, }: {
515
515
  file: File;
@@ -540,34 +540,34 @@ declare const Monorise: {
540
540
  start?: string;
541
541
  end?: string;
542
542
  }, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<{
543
- data: import("@monorise/base").CreatedEntity<T>[];
543
+ data: import("../base/index").CreatedEntity<T>[];
544
544
  lastKey?: string;
545
545
  totalCount: number;
546
- }, any>>;
546
+ }, any, {}>>;
547
547
  searchEntities: (query: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<{
548
- data: import("@monorise/base").CreatedEntity<T>[];
549
- }, any>>;
548
+ data: import("../base/index").CreatedEntity<T>[];
549
+ }, any, {}>>;
550
550
  listEntitiesByTag: (tagName: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<{
551
- entities: import("@monorise/base").CreatedEntity<T>[];
551
+ entities: import("../base/index").CreatedEntity<T>[];
552
552
  lastKey: string;
553
- }, any>>;
554
- getEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
555
- getEntityByUniqueField: (fieldName: string, value: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
556
- createEntity: (values: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
557
- upsertEntity: (id: string, values: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
558
- editEntity: (id: string, values: Partial<import("@monorise/base").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
559
- updateEntity: (id: string, values: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
560
- deleteEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any>>;
553
+ }, any, {}>>;
554
+ getEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
555
+ getEntityByUniqueField: (fieldName: string, value: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
556
+ createEntity: (values: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
557
+ upsertEntity: (id: string, values: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
558
+ editEntity: (id: string, values: Partial<import("../base/index").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
559
+ updateEntity: (id: string, values: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
560
+ deleteEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any, {}>>;
561
561
  };
562
562
  makeMutualService: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T) => {
563
563
  listEntitiesByEntity: (byEntityId: string, opts?: import("./services/core.service").CommonOptions, chainEntityQuery?: string) => Promise<AxiosResponse<{
564
564
  entities: Mutual<B, T>[];
565
565
  lastKey: string;
566
- }, any>>;
567
- getMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<Mutual<B, T>, any>>;
568
- createMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any>>;
569
- editMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any>>;
570
- deleteMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any>>;
566
+ }, any, {}>>;
567
+ getMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<Mutual<B, T>, any, {}>>;
568
+ createMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any, {}>>;
569
+ editMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any, {}>>;
570
+ deleteMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any, {}>>;
571
571
  };
572
572
  setOptions: (opts: {
573
573
  entityApiBaseUrl?: string;
@@ -589,9 +589,9 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
589
589
  };
590
590
  };
591
591
  config: Record<Entity, MonoriseEntityConfig>;
592
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
592
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
593
593
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
594
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
594
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
595
595
  auth: {
596
596
  isUnauthorized: boolean;
597
597
  profile: {
@@ -617,9 +617,9 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
617
617
  };
618
618
  };
619
619
  config: Record<Entity, MonoriseEntityConfig>;
620
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
620
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
621
621
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
622
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
622
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
623
623
  auth: {
624
624
  isUnauthorized: boolean;
625
625
  profile: {
@@ -642,9 +642,9 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
642
642
  };
643
643
  };
644
644
  config: Record<Entity, MonoriseEntityConfig>;
645
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
645
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
646
646
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
647
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
647
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
648
648
  auth: {
649
649
  isUnauthorized: boolean;
650
650
  profile: {
@@ -667,9 +667,9 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
667
667
  };
668
668
  };
669
669
  config: Record<Entity, MonoriseEntityConfig>;
670
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
670
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
671
671
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
672
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
672
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
673
673
  auth: {
674
674
  isUnauthorized: boolean;
675
675
  profile: {
@@ -692,9 +692,9 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
692
692
  };
693
693
  };
694
694
  config: Record<Entity, MonoriseEntityConfig>;
695
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
695
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
696
696
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
697
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
697
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
698
698
  auth: {
699
699
  isUnauthorized: boolean;
700
700
  profile: {
@@ -717,9 +717,9 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
717
717
  };
718
718
  };
719
719
  config: Record<Entity, MonoriseEntityConfig>;
720
- entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
720
+ entity: Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
721
721
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
722
- tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
722
+ tag: Record<string, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>;
723
723
  auth: {
724
724
  isUnauthorized: boolean;
725
725
  profile: {
@@ -731,7 +731,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
731
731
  };
732
732
  }>), replace?: boolean | undefined, action?: A | undefined): void;
733
733
  }>, axios: {
734
- post: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
734
+ post: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
735
735
  requestKey: string;
736
736
  isInterruptive?: boolean;
737
737
  feedback?: {
@@ -740,7 +740,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
740
740
  failure?: string | boolean;
741
741
  };
742
742
  }) => Promise<R>;
743
- put: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
743
+ put: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
744
744
  requestKey: string;
745
745
  isInterruptive?: boolean;
746
746
  feedback?: {
@@ -749,7 +749,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
749
749
  failure?: string | boolean;
750
750
  };
751
751
  }) => Promise<R>;
752
- patch: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
752
+ patch: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
753
753
  requestKey: string;
754
754
  isInterruptive?: boolean;
755
755
  feedback?: {
@@ -758,7 +758,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
758
758
  failure?: string | boolean;
759
759
  };
760
760
  }) => Promise<R>;
761
- delete: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
761
+ delete: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
762
762
  requestKey: string;
763
763
  isInterruptive?: boolean;
764
764
  feedback?: {
@@ -767,7 +767,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
767
767
  failure?: string | boolean;
768
768
  };
769
769
  }) => Promise<R>;
770
- get: <T = any, R = AxiosResponse<T, any>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
770
+ get: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, config: import("axios").AxiosRequestConfig<D> & {
771
771
  requestKey: string;
772
772
  isInterruptive?: boolean;
773
773
  feedback?: {
@@ -789,13 +789,13 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
789
789
  }, authService: {
790
790
  requestLoginMagicLink: (entityType: Entity, payload: {
791
791
  email: string;
792
- }) => Promise<AxiosResponse<any, any>>;
792
+ }) => Promise<AxiosResponse<any, any, {}>>;
793
793
  getSessionProfile: <T extends Record<string, unknown>>() => Promise<AxiosResponse<T & {
794
794
  displayName: string;
795
795
  email: string;
796
796
  accountId: string;
797
- }, any>>;
798
- logout: () => Promise<AxiosResponse<any, any>>;
797
+ }, any, {}>>;
798
+ logout: () => Promise<AxiosResponse<any, any, {}>>;
799
799
  setOptions: (opts: {
800
800
  apiBaseUrl?: string;
801
801
  }) => void;
@@ -807,7 +807,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
807
807
  name: string;
808
808
  disableLoading?: boolean;
809
809
  onProgress?: (progress: number) => void;
810
- }) => Promise<AxiosResponse<any, any>>;
810
+ }) => Promise<AxiosResponse<any, any, {}>>;
811
811
  deleteFiles: (keys: string[]) => Promise<any>;
812
812
  uploadVideo: ({ file, scope, directory, name, }: {
813
813
  file: File;
@@ -837,34 +837,34 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
837
837
  start?: string;
838
838
  end?: string;
839
839
  }, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<{
840
- data: import("@monorise/base").CreatedEntity<T>[];
840
+ data: import("../base/index").CreatedEntity<T>[];
841
841
  lastKey?: string;
842
842
  totalCount: number;
843
- }, any>>;
843
+ }, any, {}>>;
844
844
  searchEntities: (query: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<{
845
- data: import("@monorise/base").CreatedEntity<T>[];
846
- }, any>>;
845
+ data: import("../base/index").CreatedEntity<T>[];
846
+ }, any, {}>>;
847
847
  listEntitiesByTag: (tagName: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<{
848
- entities: import("@monorise/base").CreatedEntity<T>[];
848
+ entities: import("../base/index").CreatedEntity<T>[];
849
849
  lastKey: string;
850
- }, any>>;
851
- getEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
852
- getEntityByUniqueField: (fieldName: string, value: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
853
- createEntity: (values: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
854
- upsertEntity: (id: string, values: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
855
- editEntity: (id: string, values: Partial<import("@monorise/base").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
856
- updateEntity: (id: string, values: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("@monorise/base").CreatedEntity<T>, any>>;
857
- deleteEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any>>;
850
+ }, any, {}>>;
851
+ getEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
852
+ getEntityByUniqueField: (fieldName: string, value: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
853
+ createEntity: (values: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
854
+ upsertEntity: (id: string, values: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
855
+ editEntity: (id: string, values: Partial<import("../base/index").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
856
+ updateEntity: (id: string, values: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<import("../base/index").CreatedEntity<T>, any, {}>>;
857
+ deleteEntity: (id: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any, {}>>;
858
858
  };
859
859
  makeMutualService: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T) => {
860
860
  listEntitiesByEntity: (byEntityId: string, opts?: import("./services/core.service").CommonOptions, chainEntityQuery?: string) => Promise<AxiosResponse<{
861
861
  entities: Mutual<B, T>[];
862
862
  lastKey: string;
863
- }, any>>;
864
- getMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<Mutual<B, T>, any>>;
865
- createMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any>>;
866
- editMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any>>;
867
- deleteMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any>>;
863
+ }, any, {}>>;
864
+ getMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<Mutual<B, T>, any, {}>>;
865
+ createMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any, {}>>;
866
+ editMutual: (byEntityId: string, entityId: string, payload: MutualData<B, T> | Record<string, unknown>, opts?: {}) => Promise<AxiosResponse<Mutual<B, T>, any, {}>>;
867
+ deleteMutual: (byEntityId: string, entityId: string, opts?: import("./services/core.service").CommonOptions) => Promise<AxiosResponse<any, any, {}>>;
868
868
  };
869
869
  setOptions: (opts: {
870
870
  entityApiBaseUrl?: string;
@@ -905,31 +905,31 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
905
905
  error: Error & {
906
906
  originalError?: unknown;
907
907
  };
908
- } | undefined>, createEntity: <T extends Entity>(entityType: T, entity: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
909
- data: import("@monorise/base").CreatedEntity<T>;
908
+ } | undefined>, createEntity: <T extends Entity>(entityType: T, entity: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
909
+ data: import("../base/index").CreatedEntity<T>;
910
910
  error?: undefined;
911
911
  } | {
912
912
  error: Error & {
913
913
  originalError?: unknown;
914
914
  };
915
915
  data?: undefined;
916
- }>, upsertEntity: <T extends Entity>(entityType: T, id: string, entity: import("@monorise/base").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
917
- data: import("@monorise/base").CreatedEntity<T>;
916
+ }>, upsertEntity: <T extends Entity>(entityType: T, id: string, entity: import("../base/index").DraftEntity<T>, opts?: import("./services/core.service").CommonOptions) => Promise<{
917
+ data: import("../base/index").CreatedEntity<T>;
918
918
  error?: undefined;
919
919
  } | {
920
920
  error: Error & {
921
921
  originalError?: unknown;
922
922
  };
923
923
  data?: undefined;
924
- }>, editEntity: <T extends Entity>(entityType: T, id: string, entity: Partial<import("@monorise/base").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<{
925
- data: import("@monorise/base").CreatedEntity<T>;
924
+ }>, editEntity: <T extends Entity>(entityType: T, id: string, entity: Partial<import("../base/index").DraftEntity<T>>, opts?: import("./services/core.service").CommonOptions) => Promise<{
925
+ data: import("../base/index").CreatedEntity<T>;
926
926
  error?: undefined;
927
927
  } | {
928
928
  error: Error & {
929
929
  originalError?: unknown;
930
930
  };
931
931
  data?: undefined;
932
- }>, updateLocalEntity: <T extends Entity>(entityType: Entity, entityId: string, data?: Partial<import("@monorise/base").DraftEntity<T>>) => Promise<void>, deleteEntity: <T extends Entity>(entityType: T, id: string, opts?: import("./services/core.service").CommonOptions) => Promise<{
932
+ }>, updateLocalEntity: <T extends Entity>(entityType: Entity, entityId: string, data?: Partial<import("../base/index").DraftEntity<T>>) => Promise<void>, deleteEntity: <T extends Entity>(entityType: T, id: string, opts?: import("./services/core.service").CommonOptions) => Promise<{
933
933
  data: {
934
934
  entityId: string;
935
935
  };
@@ -960,7 +960,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
960
960
  originalError?: unknown;
961
961
  };
962
962
  data?: undefined;
963
- }>, createLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data: import("@monorise/base").EntitySchemaMap[T] | Record<string, any>) => Promise<void>, upsertLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data?: import("@monorise/base").EntitySchemaMap[T] | Record<string, any>) => Promise<void>, editMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, payload?: MutualData<B, T> | Record<string, any>, opts?: import("./services/core.service").CommonOptions) => Promise<{
963
+ }>, createLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data: import("../base/index").EntitySchemaMap[T] | Record<string, any>) => Promise<void>, upsertLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, mutualData: MutualData<B, T>, data?: import("../base/index").EntitySchemaMap[T] | Record<string, any>) => Promise<void>, editMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string, payload?: MutualData<B, T> | Record<string, any>, opts?: import("./services/core.service").CommonOptions) => Promise<{
964
964
  data: Mutual<B, T>;
965
965
  error?: undefined;
966
966
  } | {
@@ -977,19 +977,19 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
977
977
  };
978
978
  data?: undefined;
979
979
  }>, deleteLocalMutual: <B extends Entity, T extends Entity>(byEntityType: B, entityType: T, byEntityId: string, entityId: string) => void, useEntity: <T extends Entity>(entityType: T, id?: string, opts?: import("./services/core.service").CommonOptions) => {
980
- entity: import("@monorise/base").CreatedEntity<T> | undefined;
980
+ entity: import("../base/index").CreatedEntity<T> | undefined;
981
981
  isLoading: boolean;
982
982
  error?: import("./types/api.type").ApplicationRequestError;
983
983
  requestKey: string;
984
984
  isFirstFetched?: boolean;
985
- refetch: () => Promise<import("@monorise/base").CreatedEntity<T> | undefined>;
985
+ refetch: () => Promise<import("../base/index").CreatedEntity<T> | undefined>;
986
986
  }, useEntityByUniqueField: <T extends Entity>(entityType: T, fieldName: string, value?: string, opts?: import("./services/core.service").CommonOptions) => {
987
- entity: import("@monorise/base").CreatedEntity<T> | undefined;
987
+ entity: import("../base/index").CreatedEntity<T> | undefined;
988
988
  isLoading: boolean;
989
989
  error?: import("./types/api.type").ApplicationRequestError;
990
990
  requestKey: string;
991
991
  isFirstFetched?: boolean;
992
- refetch: () => Promise<import("@monorise/base").CreatedEntity<T> | undefined>;
992
+ refetch: () => Promise<import("../base/index").CreatedEntity<T> | undefined>;
993
993
  }, useEntities: <T extends Entity>(entityType: T, params?: {
994
994
  skRange?: {
995
995
  start: string;
@@ -1000,8 +1000,8 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
1000
1000
  searchInterval?: number;
1001
1001
  }) => {
1002
1002
  isLoading: boolean;
1003
- entities?: import("@monorise/base").CreatedEntity<T>[];
1004
- entitiesMap: Map<string, import("@monorise/base").CreatedEntity<T>>;
1003
+ entities?: import("../base/index").CreatedEntity<T>[];
1004
+ entitiesMap: Map<string, import("../base/index").CreatedEntity<T>>;
1005
1005
  error?: import("./types/api.type").ApplicationRequestError;
1006
1006
  requestKey: string;
1007
1007
  searchField: {
@@ -1031,8 +1031,8 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
1031
1031
  }, useTaggedEntities: <T extends Entity>(entityType: T, tagName: string, opts?: import("./services/core.service").CommonOptions & {
1032
1032
  params?: import("./services/core.service").ListEntitiesByTagParams;
1033
1033
  }) => {
1034
- entities: import("@monorise/base").CreatedEntity<T>[];
1035
- entitiesMap: Map<string, import("@monorise/base").CreatedEntity<T>>;
1034
+ entities: import("../base/index").CreatedEntity<T>[];
1035
+ entitiesMap: Map<string, import("../base/index").CreatedEntity<T>>;
1036
1036
  isLoading: boolean;
1037
1037
  requestKey: string;
1038
1038
  error: import("./types/api.type").ApplicationRequestError | undefined;
@@ -1043,13 +1043,13 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
1043
1043
  data?: undefined;
1044
1044
  } | {
1045
1045
  data: {
1046
- entities: import("@monorise/base").CreatedEntity<Entity>[];
1046
+ entities: import("../base/index").CreatedEntity<Entity>[];
1047
1047
  lastKey: null;
1048
1048
  };
1049
1049
  error?: undefined;
1050
1050
  } | {
1051
1051
  data: {
1052
- entities: import("@monorise/base").CreatedEntity<T>[];
1052
+ entities: import("../base/index").CreatedEntity<T>[];
1053
1053
  lastKey: string;
1054
1054
  };
1055
1055
  error?: undefined;
@@ -1064,13 +1064,13 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
1064
1064
  data?: undefined;
1065
1065
  } | {
1066
1066
  data: {
1067
- entities: import("@monorise/base").CreatedEntity<Entity>[];
1067
+ entities: import("../base/index").CreatedEntity<Entity>[];
1068
1068
  lastKey: null;
1069
1069
  };
1070
1070
  error?: undefined;
1071
1071
  } | {
1072
1072
  data: {
1073
- entities: import("@monorise/base").CreatedEntity<T>[];
1073
+ entities: import("../base/index").CreatedEntity<T>[];
1074
1074
  lastKey: string;
1075
1075
  };
1076
1076
  error?: undefined;
@@ -1080,14 +1080,14 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
1080
1080
  };
1081
1081
  data?: undefined;
1082
1082
  } | undefined>;
1083
- }, useEntityState: <T extends Entity>(entityType: T) => Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>[T], getEntity: <T extends Entity>(entityType: T, id: string, opts?: import("./services/core.service").CommonOptions) => Promise<{
1084
- data?: import("@monorise/base").CreatedEntity<T>;
1083
+ }, useEntityState: <T extends Entity>(entityType: T) => Record<Entity, import("./types/monorise.type").CommonStore<import("../base/index").CreatedEntity<Entity>>>[T], getEntity: <T extends Entity>(entityType: T, id: string, opts?: import("./services/core.service").CommonOptions) => Promise<{
1084
+ data?: import("../base/index").CreatedEntity<T>;
1085
1085
  error?: import("./types/api.type").ApplicationRequestError | (Error & {
1086
1086
  originalError?: unknown;
1087
1087
  });
1088
- }>, updateLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, data?: Partial<import("@monorise/base").DraftEntity<T>>, params?: import("./services/core.service").ListEntitiesByTagParams) => void, deleteLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, params?: import("./services/core.service").ListEntitiesByTagParams) => void;
1088
+ }>, updateLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, data?: Partial<import("../base/index").DraftEntity<T>>, params?: import("./services/core.service").ListEntitiesByTagParams) => void, deleteLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, params?: import("./services/core.service").ListEntitiesByTagParams) => void;
1089
1089
  export { store, axios, authService, filestoreService, coreService, setConfig, getConfig, useConfig, startLoading, endLoading, setError, getError, clearError, openModal, closeModal, useLoadStore, useInterruptiveLoadStore, useErrorStore, useModalStore, requestLogin, useProfile, getProfile, useIsUnauthorized, setIsUnauthorized, logout, listMoreEntities, createEntity, upsertEntity, editEntity, updateLocalEntity, deleteEntity, getMutual, createMutual, createLocalMutual, upsertLocalMutual, editMutual, deleteMutual, deleteLocalMutual, useEntity, useEntityByUniqueField, useEntities, useMutual, useMutuals, useTaggedEntities, useEntityState, getEntityRequestKey, getMutualRequestKey, getTagRequestKey, getUniqueFieldRequestKey, getEntity, updateLocalTaggedEntity, deleteLocalTaggedEntity, };
1090
1090
  export default Monorise;
1091
1091
  export { MutualDataWithIndex, MutualDataMapping, MutualData, Mutual };
1092
- export type { CreatedEntity, DraftEntity, Entity, EntitySchemaMap, } from '@monorise/base';
1092
+ export type { CreatedEntity, DraftEntity, Entity, EntitySchemaMap, } from '../base/index';
1093
1093
  //# sourceMappingURL=index.d.ts.map