synapse-storage 3.0.1 → 3.0.2
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/api/api.module.js +3 -3
- package/dist/api/index.js +3 -3
- package/dist/api/utils/endpoint-headers.js +1 -1
- package/dist/api/utils/fetch-base-query.js +1 -1
- package/dist/core/index.js +2 -2
- package/dist/core/storage/index.js +1 -1
- package/dist/core/storage/utils/cache.util.js +1 -1
- package/dist/index.js +5 -5
- package/dist/react/hooks/index.js +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/utils/index.js +1 -1
- package/dist/reactive/dispatcher/index.js +1 -1
- package/dist/reactive/effects/effects.module.js +1 -1
- package/dist/reactive/effects/utils/index.js +2 -2
- package/dist/reactive/index.js +2 -2
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
package/dist/api/api.module.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointClass } from './components/endpoint.js';
|
|
2
|
-
import { QueryStorage } from './components/query-storage.js';
|
|
3
|
-
import { apiLogger } from './utils/api-helpers.js';
|
|
1
|
+
import { EndpointClass } from './components/endpoint/index.js';
|
|
2
|
+
import { QueryStorage } from './components/query-storage/index.js';
|
|
3
|
+
import { apiLogger } from './utils/api-helpers/index.js';
|
|
4
4
|
export class ApiClient {
|
|
5
5
|
/** Хранилище запросов */
|
|
6
6
|
// @ts-ignore
|
package/dist/api/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './api.module.js';
|
|
2
2
|
export { ResponseFormat } from './types/api.interface.js';
|
|
3
|
-
export * from './utils/api-helpers.js';
|
|
4
|
-
// export * from './_utils/file-_utils.js'
|
|
5
|
-
// export * from './_utils/get-cacheable-headers.js'
|
|
3
|
+
export * from './utils/api-helpers/index.js';
|
|
4
|
+
// export * from './_utils/file-_utils/index.js'
|
|
5
|
+
// export * from './_utils/get-cacheable-headers/index.js'
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseFormat } from '../types/api.interface';
|
|
2
|
-
import { getFileMetadataFromHeaders, getResponseFormatForMimeType, isFileResponse } from './file-utils.js';
|
|
2
|
+
import { getFileMetadataFromHeaders, getResponseFormatForMimeType, isFileResponse } from './file-utils/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Извлекает данные из response в зависимости от формата
|
|
5
5
|
* @param response Объект Response
|
package/dist/core/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './selector.js';
|
|
2
|
-
export * from './storage.js';
|
|
1
|
+
export * from './selector/index.js';
|
|
2
|
+
export * from './storage/index.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export * from './modules/plugin/plugin.interface.js';
|
|
3
3
|
export * from './modules/plugin/plugin.service.js';
|
|
4
4
|
export * from './storage.interface.js';
|
|
5
|
-
export { broadcastMiddleware } from './middlewares.js';
|
|
5
|
+
export { broadcastMiddleware } from './middlewares/index.js';
|
|
6
6
|
// Экспортируем публичные адаптеры
|
|
7
7
|
// export { BaseStorage } from './adapters/base-storage.service.js'
|
|
8
8
|
// export { IndexedDBStorage } from './adapters/indexed-DB.service1.js'
|
package/dist/index.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* @author Vlad Firsov
|
|
4
4
|
*/
|
|
5
5
|
// Основные модули
|
|
6
|
-
export * from './api.js';
|
|
7
|
-
export * from './core.js';
|
|
8
|
-
export * from './reactive.js';
|
|
9
|
-
export * from './utils.js';
|
|
6
|
+
export * from './api/index.js';
|
|
7
|
+
export * from './core/index.js';
|
|
8
|
+
export * from './reactive/index.js';
|
|
9
|
+
export * from './utils/index.js';
|
|
10
10
|
// React-интеграция экспортируется только если установлен React
|
|
11
11
|
// Оставляем этот экспорт, он будет работать для пользователей,
|
|
12
12
|
// которые импортируют React напрямую
|
|
13
|
-
export * from './react.js';
|
|
13
|
+
export * from './react/index.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './useSelector.js';
|
|
2
|
-
export * from './useStorageSubscribe.js';
|
|
1
|
+
export * from './useSelector/index.js';
|
|
2
|
+
export * from './useStorageSubscribe/index.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/react/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './hooks.js';
|
|
2
|
-
export * from './utils.js';
|
|
1
|
+
export * from './hooks/index.js';
|
|
2
|
+
export * from './utils/index.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './createSynapseCtx.js';
|
|
1
|
+
export * from './createSynapseCtx/index.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { combineLatest, merge, Observable, of, pipe, Subject } from 'rxjs';
|
|
2
2
|
import { catchError, filter, map, share, switchMap, take } from 'rxjs/operators';
|
|
3
|
-
import { chunkRequestConsistent, chunkRequestParallel } from './utils.js';
|
|
3
|
+
import { chunkRequestConsistent, chunkRequestParallel } from './utils/index.js';
|
|
4
4
|
/**
|
|
5
5
|
* Оператор для фильтрации действий по типу с сохранением типа payload
|
|
6
6
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './chunkRequestConsistent.js';
|
|
2
|
-
export * from './chunkRequestParallel.js';
|
|
1
|
+
export * from './chunkRequestConsistent/index.js';
|
|
2
|
+
export * from './chunkRequestParallel/index.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/reactive/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './dispatcher.js';
|
|
2
|
-
export * from './effects.js';
|
|
1
|
+
export * from './dispatcher/index.js';
|
|
2
|
+
export * from './effects/index.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createSynapse } from './createSynapse.js';
|
|
1
|
+
export { createSynapse } from './createSynapse/index.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|