flurryx 0.0.1

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/http.cjs ADDED
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/http.ts
21
+ var http_exports = {};
22
+ __export(http_exports, {
23
+ httpErrorNormalizer: () => import_http.httpErrorNormalizer
24
+ });
25
+ module.exports = __toCommonJS(http_exports);
26
+ var import_http = require("@flurryx/rx/http");
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
29
+ httpErrorNormalizer
30
+ });
31
+ //# sourceMappingURL=http.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/http.ts"],"sourcesContent":["export { httpErrorNormalizer } from '@flurryx/rx/http';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAoC;","names":[]}
@@ -0,0 +1,4 @@
1
+ export { httpErrorNormalizer } from '@flurryx/rx/http';
2
+ import '@flurryx/core';
3
+ import '@flurryx/store';
4
+ import '@flurryx/rx';
package/dist/http.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export { httpErrorNormalizer } from '@flurryx/rx/http';
2
+ import '@flurryx/core';
3
+ import '@flurryx/store';
4
+ import '@flurryx/rx';
package/dist/http.js ADDED
@@ -0,0 +1,6 @@
1
+ // src/http.ts
2
+ import { httpErrorNormalizer } from "@flurryx/rx/http";
3
+ export {
4
+ httpErrorNormalizer
5
+ };
6
+ //# sourceMappingURL=http.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/http.ts"],"sourcesContent":["export { httpErrorNormalizer } from '@flurryx/rx/http';\n"],"mappings":";AAAA,SAAS,2BAA2B;","names":[]}
package/dist/index.cjs ADDED
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ BaseStore: () => import_store.BaseStore,
24
+ CACHE_NO_TIMEOUT: () => import_core.CACHE_NO_TIMEOUT,
25
+ DEFAULT_CACHE_TTL_MS: () => import_core.DEFAULT_CACHE_TTL_MS,
26
+ Loading: () => import_rx.Loading,
27
+ SkipIfCached: () => import_rx.SkipIfCached,
28
+ createKeyedResourceData: () => import_core.createKeyedResourceData,
29
+ defaultErrorNormalizer: () => import_rx.defaultErrorNormalizer,
30
+ isAnyKeyLoading: () => import_core.isAnyKeyLoading,
31
+ isKeyedResourceData: () => import_core.isKeyedResourceData,
32
+ syncToKeyedStore: () => import_rx.syncToKeyedStore,
33
+ syncToStore: () => import_rx.syncToStore
34
+ });
35
+ module.exports = __toCommonJS(index_exports);
36
+ var import_core = require("@flurryx/core");
37
+ var import_store = require("@flurryx/store");
38
+ var import_rx = require("@flurryx/rx");
39
+ // Annotate the CommonJS export names for ESM import in node:
40
+ 0 && (module.exports = {
41
+ BaseStore,
42
+ CACHE_NO_TIMEOUT,
43
+ DEFAULT_CACHE_TTL_MS,
44
+ Loading,
45
+ SkipIfCached,
46
+ createKeyedResourceData,
47
+ defaultErrorNormalizer,
48
+ isAnyKeyLoading,
49
+ isKeyedResourceData,
50
+ syncToKeyedStore,
51
+ syncToStore
52
+ });
53
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @flurryx/core\nexport type {\n ResourceState,\n StoreEnum,\n KeyedResourceData,\n KeyedResourceKey,\n ResourceStatus,\n ResourceErrors,\n} from '@flurryx/core';\nexport {\n isKeyedResourceData,\n createKeyedResourceData,\n isAnyKeyLoading,\n CACHE_NO_TIMEOUT,\n DEFAULT_CACHE_TTL_MS,\n} from '@flurryx/core';\n\n// @flurryx/store\nexport { BaseStore } from '@flurryx/store';\n\n// @flurryx/rx\nexport {\n syncToStore,\n syncToKeyedStore,\n SkipIfCached,\n Loading,\n defaultErrorNormalizer,\n} from '@flurryx/rx';\nexport type {\n SyncToStoreOptions,\n SyncToKeyedStoreOptions,\n ErrorNormalizer,\n} from '@flurryx/rx';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,kBAMO;AAGP,mBAA0B;AAG1B,gBAMO;","names":[]}
@@ -0,0 +1,3 @@
1
+ export { CACHE_NO_TIMEOUT, DEFAULT_CACHE_TTL_MS, KeyedResourceData, KeyedResourceKey, ResourceErrors, ResourceState, ResourceStatus, StoreEnum, createKeyedResourceData, isAnyKeyLoading, isKeyedResourceData } from '@flurryx/core';
2
+ export { BaseStore } from '@flurryx/store';
3
+ export { ErrorNormalizer, Loading, SkipIfCached, SyncToKeyedStoreOptions, SyncToStoreOptions, defaultErrorNormalizer, syncToKeyedStore, syncToStore } from '@flurryx/rx';
@@ -0,0 +1,3 @@
1
+ export { CACHE_NO_TIMEOUT, DEFAULT_CACHE_TTL_MS, KeyedResourceData, KeyedResourceKey, ResourceErrors, ResourceState, ResourceStatus, StoreEnum, createKeyedResourceData, isAnyKeyLoading, isKeyedResourceData } from '@flurryx/core';
2
+ export { BaseStore } from '@flurryx/store';
3
+ export { ErrorNormalizer, Loading, SkipIfCached, SyncToKeyedStoreOptions, SyncToStoreOptions, defaultErrorNormalizer, syncToKeyedStore, syncToStore } from '@flurryx/rx';
package/dist/index.js ADDED
@@ -0,0 +1,30 @@
1
+ // src/index.ts
2
+ import {
3
+ isKeyedResourceData,
4
+ createKeyedResourceData,
5
+ isAnyKeyLoading,
6
+ CACHE_NO_TIMEOUT,
7
+ DEFAULT_CACHE_TTL_MS
8
+ } from "@flurryx/core";
9
+ import { BaseStore } from "@flurryx/store";
10
+ import {
11
+ syncToStore,
12
+ syncToKeyedStore,
13
+ SkipIfCached,
14
+ Loading,
15
+ defaultErrorNormalizer
16
+ } from "@flurryx/rx";
17
+ export {
18
+ BaseStore,
19
+ CACHE_NO_TIMEOUT,
20
+ DEFAULT_CACHE_TTL_MS,
21
+ Loading,
22
+ SkipIfCached,
23
+ createKeyedResourceData,
24
+ defaultErrorNormalizer,
25
+ isAnyKeyLoading,
26
+ isKeyedResourceData,
27
+ syncToKeyedStore,
28
+ syncToStore
29
+ };
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @flurryx/core\nexport type {\n ResourceState,\n StoreEnum,\n KeyedResourceData,\n KeyedResourceKey,\n ResourceStatus,\n ResourceErrors,\n} from '@flurryx/core';\nexport {\n isKeyedResourceData,\n createKeyedResourceData,\n isAnyKeyLoading,\n CACHE_NO_TIMEOUT,\n DEFAULT_CACHE_TTL_MS,\n} from '@flurryx/core';\n\n// @flurryx/store\nexport { BaseStore } from '@flurryx/store';\n\n// @flurryx/rx\nexport {\n syncToStore,\n syncToKeyedStore,\n SkipIfCached,\n Loading,\n defaultErrorNormalizer,\n} from '@flurryx/rx';\nexport type {\n SyncToStoreOptions,\n SyncToKeyedStoreOptions,\n ErrorNormalizer,\n} from '@flurryx/rx';\n"],"mappings":";AASA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAGP,SAAS,iBAAiB;AAG1B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "flurryx",
3
+ "version": "0.0.1",
4
+ "description": "Signal-first reactive state management for Angular",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": {
13
+ "types": "./dist/index.d.ts",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "require": {
17
+ "types": "./dist/index.d.cts",
18
+ "default": "./dist/index.cjs"
19
+ }
20
+ },
21
+ "./http": {
22
+ "import": {
23
+ "types": "./dist/http.d.ts",
24
+ "default": "./dist/http.js"
25
+ },
26
+ "require": {
27
+ "types": "./dist/http.d.cts",
28
+ "default": "./dist/http.cjs"
29
+ }
30
+ }
31
+ },
32
+ "files": ["dist"],
33
+ "scripts": {
34
+ "build": "tsup",
35
+ "typecheck": "tsc --noEmit"
36
+ },
37
+ "sideEffects": false,
38
+ "dependencies": {
39
+ "@flurryx/core": "0.0.1",
40
+ "@flurryx/store": "0.0.1",
41
+ "@flurryx/rx": "0.0.1"
42
+ },
43
+ "peerDependencies": {
44
+ "@angular/core": ">=17.0.0",
45
+ "rxjs": ">=7.0.0"
46
+ },
47
+ "peerDependenciesMeta": {
48
+ "@angular/common": {
49
+ "optional": true
50
+ }
51
+ }
52
+ }