monorise 0.0.2-dev.2 → 0.0.2-dev.4

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 { CreatedEntity, Entity, EntitySchemaMap } from '@monorise/base';
1
+ import type { CreatedEntity, Entity, EntitySchemaMap } from '../../base/index';
2
2
  import type { Mutual, MutualData } from '../types/mutual.type';
3
3
  export declare const constructLocal: (entityType: Entity, entityId: string, data: any) => CreatedEntity<Entity>;
4
4
  export declare const constructMutual: <B extends Entity, T extends Entity>(byEntityType: B, byEntityId: string, entityType: T, entityId: string, mutualData: Partial<MutualData<B, T>>, data: EntitySchemaMap[T]) => Mutual;
@@ -1,4 +1,4 @@
1
- import type { Entity } from '@monorise/base';
1
+ import type { Entity } from '../../base/index';
2
2
  export declare const convertToMap: <T extends Record<string, any>>(data: T[], mapKey: string) => Map<any, any>;
3
3
  export declare const getMutualStateKey: (byEntity: Entity, byEntityId: string | null, entity: Entity, entityId?: string, chainEntityQuery?: string) => string;
4
4
  export declare const getTagStateKey: (entityType: Entity, tagName: string, params?: Record<string, string>) => string;
@@ -1,4 +1,4 @@
1
- import type { Entity } from '@monorise/base';
1
+ import type { Entity } from '../../base/index';
2
2
  import type { AxiosInterceptor } from '../types/api.type';
3
3
  type LoginPayload = {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import type { CreatedEntity, DraftEntity, Entity } from '@monorise/base';
1
+ import type { CreatedEntity, DraftEntity, Entity } from '../../base/index';
2
2
  import type { AxiosRequestConfig } from 'axios';
3
3
  import type { MonoriseStore } from '../store/monorise.store';
4
4
  import type { ApplicationRequestError, AxiosInterceptor } from '../types/api.type';
@@ -1,4 +1,4 @@
1
- import type { CreatedEntity, Entity, MonoriseEntityConfig } from '@monorise/base';
1
+ import type { CreatedEntity, Entity, MonoriseEntityConfig } from '../../base/index';
2
2
  import type React from 'react';
3
3
  import type { ApplicationRequestError } from '../types/api.type';
4
4
  import type { CommonStore } from '../types/monorise.type';
@@ -1,4 +1,4 @@
1
- import type { CreatedEntity, Entity } from '@monorise/base';
1
+ import type { CreatedEntity, Entity } from '../../base/index';
2
2
  export type CommonStore<T> = {
3
3
  dataMap: Map<string, T>;
4
4
  isFirstFetched: boolean;
@@ -1,4 +1,4 @@
1
- import type { Entity, EntitySchemaMap } from '@monorise/base';
1
+ import type { Entity, EntitySchemaMap } from '../../base/index';
2
2
  type MutualDataWithIndex = {
3
3
  index: number;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { Entity as EntityType } from '@monorise/base';
1
+ import type { Entity as EntityType } from '../../base/index';
2
2
  declare const SOURCE: {
3
3
  CORE: string;
4
4
  GENERAL: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorise",
3
- "version": "0.0.2-dev.2",
3
+ "version": "0.0.2-dev.4",
4
4
  "description": "Monorise - A unified package for all Monorise functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",