@monorise/react 8.4.1 → 9.0.0-dev.0

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.ts CHANGED
@@ -5,7 +5,6 @@ import { WebSocketManager, type ConnectionState, type ClientMessage, type Server
5
5
  import { getEntityRequestKey, getMutualRequestKey, getTagRequestKey, getUniqueFieldRequestKey } from './lib/utils';
6
6
  import { Mutual, MutualData, MutualDataMapping, MutualDataWithIndex } from './types/mutual.type';
7
7
  type Options<T extends Record<string, React.ComponentType<any>>> = {
8
- authBaseUrl?: string;
9
8
  filestoreBaseUrl?: string;
10
9
  entityBaseUrl?: string;
11
10
  mutualBaseUrl?: string;
@@ -394,22 +393,6 @@ declare const Monorise: {
394
393
  useEntityState: <T extends Entity>(entityType: T) => Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>[T];
395
394
  updateLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, data?: Partial<import("@monorise/base").DraftEntity<T>>, params?: import("./services/core.service").ListEntitiesByTagParams) => void;
396
395
  deleteLocalTaggedEntity: <T extends Entity>(entityType: T, entityId: string, tagName: string, params?: import("./services/core.service").ListEntitiesByTagParams) => void;
397
- requestLogin: (entityType: Entity, payload: {
398
- email: string;
399
- }) => Promise<any>;
400
- useProfile: <T extends Record<string, unknown>>() => T & {
401
- displayName: string;
402
- email: string;
403
- accountId: string;
404
- impersonatorId?: string;
405
- };
406
- getProfile: () => Promise<void>;
407
- useIsUnauthorized: () => {
408
- isUnauthorized: boolean;
409
- isLoading: boolean;
410
- };
411
- setIsUnauthorized: (isUnauthorized: boolean) => void;
412
- logout: () => void;
413
396
  startLoading: <T>({ requestKey, isInterruptive, message, request, }: {
414
397
  requestKey: string;
415
398
  isInterruptive?: boolean;
@@ -466,15 +449,6 @@ declare const Monorise: {
466
449
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
467
450
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
468
451
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
469
- auth: {
470
- isUnauthorized: boolean;
471
- profile: {
472
- displayName: string;
473
- email: string;
474
- accountId: string;
475
- };
476
- isLoading: boolean;
477
- };
478
452
  }>, "setState"> & {
479
453
  setState<A extends string | {
480
454
  type: string;
@@ -494,15 +468,6 @@ declare const Monorise: {
494
468
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
495
469
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
496
470
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
497
- auth: {
498
- isUnauthorized: boolean;
499
- profile: {
500
- displayName: string;
501
- email: string;
502
- accountId: string;
503
- };
504
- isLoading: boolean;
505
- };
506
471
  } | Partial<{
507
472
  app: {
508
473
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -519,15 +484,6 @@ declare const Monorise: {
519
484
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
520
485
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
521
486
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
522
- auth: {
523
- isUnauthorized: boolean;
524
- profile: {
525
- displayName: string;
526
- email: string;
527
- accountId: string;
528
- };
529
- isLoading: boolean;
530
- };
531
487
  }> | ((state: {
532
488
  app: {
533
489
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -544,15 +500,6 @@ declare const Monorise: {
544
500
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
545
501
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
546
502
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
547
- auth: {
548
- isUnauthorized: boolean;
549
- profile: {
550
- displayName: string;
551
- email: string;
552
- accountId: string;
553
- };
554
- isLoading: boolean;
555
- };
556
503
  }) => {
557
504
  app: {
558
505
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -569,15 +516,6 @@ declare const Monorise: {
569
516
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
570
517
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
571
518
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
572
- auth: {
573
- isUnauthorized: boolean;
574
- profile: {
575
- displayName: string;
576
- email: string;
577
- accountId: string;
578
- };
579
- isLoading: boolean;
580
- };
581
519
  } | Partial<{
582
520
  app: {
583
521
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -594,15 +532,6 @@ declare const Monorise: {
594
532
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
595
533
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
596
534
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
597
- auth: {
598
- isUnauthorized: boolean;
599
- profile: {
600
- displayName: string;
601
- email: string;
602
- accountId: string;
603
- };
604
- isLoading: boolean;
605
- };
606
535
  }>), replace?: boolean | undefined, action?: A | undefined): void;
607
536
  }>;
608
537
  axios: {
@@ -667,20 +596,6 @@ declare const Monorise: {
667
596
  response: import("axios").AxiosInterceptorManager<AxiosResponse>;
668
597
  };
669
598
  };
670
- authService: {
671
- requestLoginMagicLink: (entityType: Entity, payload: {
672
- email: string;
673
- }) => Promise<AxiosResponse<any, any, {}>>;
674
- getSessionProfile: <T extends Record<string, unknown>>() => Promise<AxiosResponse<T & {
675
- displayName: string;
676
- email: string;
677
- accountId: string;
678
- }, any, {}>>;
679
- logout: () => Promise<AxiosResponse<any, any, {}>>;
680
- setOptions: (opts: {
681
- apiBaseUrl?: string;
682
- }) => void;
683
- };
684
599
  filestoreService: {
685
600
  uploadFile: ({ file, scope, directory, name, disableLoading, onProgress, }: {
686
601
  file: File;
@@ -777,15 +692,6 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
777
692
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
778
693
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
779
694
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
780
- auth: {
781
- isUnauthorized: boolean;
782
- profile: {
783
- displayName: string;
784
- email: string;
785
- accountId: string;
786
- };
787
- isLoading: boolean;
788
- };
789
695
  }>, "setState"> & {
790
696
  setState<A extends string | {
791
697
  type: string;
@@ -805,15 +711,6 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
805
711
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
806
712
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
807
713
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
808
- auth: {
809
- isUnauthorized: boolean;
810
- profile: {
811
- displayName: string;
812
- email: string;
813
- accountId: string;
814
- };
815
- isLoading: boolean;
816
- };
817
714
  } | Partial<{
818
715
  app: {
819
716
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -830,15 +727,6 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
830
727
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
831
728
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
832
729
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
833
- auth: {
834
- isUnauthorized: boolean;
835
- profile: {
836
- displayName: string;
837
- email: string;
838
- accountId: string;
839
- };
840
- isLoading: boolean;
841
- };
842
730
  }> | ((state: {
843
731
  app: {
844
732
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -855,15 +743,6 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
855
743
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
856
744
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
857
745
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
858
- auth: {
859
- isUnauthorized: boolean;
860
- profile: {
861
- displayName: string;
862
- email: string;
863
- accountId: string;
864
- };
865
- isLoading: boolean;
866
- };
867
746
  }) => {
868
747
  app: {
869
748
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -880,15 +759,6 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
880
759
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
881
760
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
882
761
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
883
- auth: {
884
- isUnauthorized: boolean;
885
- profile: {
886
- displayName: string;
887
- email: string;
888
- accountId: string;
889
- };
890
- isLoading: boolean;
891
- };
892
762
  } | Partial<{
893
763
  app: {
894
764
  ongoingRequests: Map<string, Promise<unknown>>;
@@ -905,15 +775,6 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
905
775
  entity: Record<Entity, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
906
776
  mutual: Record<string, import("./types/monorise.type").CommonStore<Mutual>>;
907
777
  tag: Record<string, import("./types/monorise.type").CommonStore<import("@monorise/base").CreatedEntity<Entity>>>;
908
- auth: {
909
- isUnauthorized: boolean;
910
- profile: {
911
- displayName: string;
912
- email: string;
913
- accountId: string;
914
- };
915
- isLoading: boolean;
916
- };
917
778
  }>), replace?: boolean | undefined, action?: A | undefined): void;
918
779
  }>, axios: {
919
780
  post: <T = any, R = AxiosResponse<T, any, {}>, D = any>(url: string, data: D, config: import("axios").AxiosRequestConfig<D> & {
@@ -976,19 +837,6 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
976
837
  request: import("axios").AxiosInterceptorManager<import("axios").InternalAxiosRequestConfig>;
977
838
  response: import("axios").AxiosInterceptorManager<AxiosResponse>;
978
839
  };
979
- }, authService: {
980
- requestLoginMagicLink: (entityType: Entity, payload: {
981
- email: string;
982
- }) => Promise<AxiosResponse<any, any, {}>>;
983
- getSessionProfile: <T extends Record<string, unknown>>() => Promise<AxiosResponse<T & {
984
- displayName: string;
985
- email: string;
986
- accountId: string;
987
- }, any, {}>>;
988
- logout: () => Promise<AxiosResponse<any, any, {}>>;
989
- setOptions: (opts: {
990
- apiBaseUrl?: string;
991
- }) => void;
992
840
  }, filestoreService: {
993
841
  uploadFile: ({ file, scope, directory, name, disableLoading, onProgress, }: {
994
842
  file: File;
@@ -1087,17 +935,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
1087
935
  }, useErrorStore: (requestKey: string) => import("./types/api.type").ApplicationRequestError | undefined, useModalStore: () => {
1088
936
  name: string | null;
1089
937
  context?: unknown;
1090
- }, requestLogin: (entityType: Entity, payload: {
1091
- email: string;
1092
- }) => Promise<any>, useProfile: <T extends Record<string, unknown>>() => T & {
1093
- displayName: string;
1094
- email: string;
1095
- accountId: string;
1096
- impersonatorId?: string;
1097
- }, getProfile: () => Promise<void>, useIsUnauthorized: () => {
1098
- isUnauthorized: boolean;
1099
- isLoading: boolean;
1100
- }, setIsUnauthorized: (isUnauthorized: boolean) => void, logout: () => void, listMoreEntities: <T extends Entity>(entityType: T, opts?: import("./services/core.service").CommonOptions) => Promise<{
938
+ }, listMoreEntities: <T extends Entity>(entityType: T, opts?: import("./services/core.service").CommonOptions) => Promise<{
1101
939
  error: Error & {
1102
940
  originalError?: unknown;
1103
941
  };
@@ -1439,7 +1277,7 @@ declare const store: import("zustand").UseBoundStore<Omit<import("zustand").Stor
1439
1277
  isSubscribed: boolean;
1440
1278
  send: (data: T) => void;
1441
1279
  }, useEntityFeed: (opts: import("./actions/websocket.action").UseEntityFeedOptions) => import("./actions/websocket.action").UseEntityFeedReturn;
1442
- 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, adjustEntity, updateLocalEntity, deleteEntity, executeTransaction, getMutual, createMutual, createLocalMutual, upsertLocalMutual, editMutual, deleteMutual, deleteLocalMutual, useCreateEntity, useUpsertEntity, useEditEntity, useAdjustEntity, useDeleteEntity, useExecuteTransaction, useCreateMutual, useEditMutual, useDeleteMutual, useEntity, useEntityByUniqueField, useEntities, useMutual, useMutuals, useTaggedEntities, useEntityState, getEntityRequestKey, getMutualRequestKey, getTagRequestKey, getUniqueFieldRequestKey, getEntity, updateLocalTaggedEntity, deleteLocalTaggedEntity, useEntitySocket, useMutualSocket, useEphemeralSocket, useEntityFeed, initializeWebSocketManager, getWebSocketManager, WebSocketManager, type ConnectionState, type ClientMessage, type ServerMessage, };
1280
+ export { store, axios, filestoreService, coreService, setConfig, getConfig, useConfig, startLoading, endLoading, setError, getError, clearError, openModal, closeModal, useLoadStore, useInterruptiveLoadStore, useErrorStore, useModalStore, listMoreEntities, createEntity, upsertEntity, editEntity, adjustEntity, updateLocalEntity, deleteEntity, executeTransaction, getMutual, createMutual, createLocalMutual, upsertLocalMutual, editMutual, deleteMutual, deleteLocalMutual, useCreateEntity, useUpsertEntity, useEditEntity, useAdjustEntity, useDeleteEntity, useExecuteTransaction, useCreateMutual, useEditMutual, useDeleteMutual, useEntity, useEntityByUniqueField, useEntities, useMutual, useMutuals, useTaggedEntities, useEntityState, getEntityRequestKey, getMutualRequestKey, getTagRequestKey, getUniqueFieldRequestKey, getEntity, updateLocalTaggedEntity, deleteLocalTaggedEntity, useEntitySocket, useMutualSocket, useEphemeralSocket, useEntityFeed, initializeWebSocketManager, getWebSocketManager, WebSocketManager, type ConnectionState, type ClientMessage, type ServerMessage, };
1443
1281
  export default Monorise;
1444
1282
  export { transactional } from './helpers/transactional';
1445
1283
  export { MutualDataWithIndex, MutualDataMapping, MutualData, Mutual };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3C,OAAO,EAEL,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAKrB,OAAO,EACL,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAE7B,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI;IACjE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAC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AAe,EACf,SAAS,EACT,sBAAsB,EACtB,WAAW,EACX,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,0BAA0B,EAC1B,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,CAAC;AAEF,eAAe,QAAQ,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;AAEtE,YAAY,EACV,aAAa,EACb,WAAW,EACX,MAAM,EACN,eAAe,EACf,aAAa,GACd,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,EAEL,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAIrB,OAAO,EACL,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;AAE7B,KAAK,OAAO,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