@owlmeans/client-flow 0.1.1 → 0.1.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 OwlMeans Common — Fullstack typescript framework
3
+ Copyright (c) 2026 OwlMeans Common — Fullstack typescript framework
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/build/consts.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export declare const DEFAULT_ALIAS = "flow";
2
2
  export declare const FLOW_STATE = "state:flow";
3
+ export declare const EXTRA_FLOW = "extra-flow";
3
4
  export declare const REHACK_MOD = "__redirect";
4
5
  //# sourceMappingURL=consts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa,SAAS,CAAA;AAEnC,eAAO,MAAM,UAAU,eAAe,CAAA;AAEtC,eAAO,MAAM,UAAU,eAAe,CAAA"}
1
+ {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa,SAAS,CAAA;AAEnC,eAAO,MAAM,UAAU,eAAe,CAAA;AAEtC,eAAO,MAAM,UAAU,eAAe,CAAA;AAEtC,eAAO,MAAM,UAAU,eAAe,CAAA"}
package/build/consts.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export const DEFAULT_ALIAS = 'flow';
2
2
  export const FLOW_STATE = 'state:flow';
3
+ export const EXTRA_FLOW = 'extra-flow';
3
4
  export const REHACK_MOD = '__redirect';
4
5
  //# sourceMappingURL=consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAA;AAEnC,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAA;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAA"}
1
+ {"version":3,"file":"consts.js","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAA;AAEnC,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAA;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAA;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { ClientContext } from "@owlmeans/client";
2
+ import type { ClientConfig } from "@owlmeans/client-context";
3
+ import type { StateResource } from "./types.js";
4
+ export declare const getFlowResource: <C extends ClientConfig = ClientConfig, T extends ClientContext<C> = ClientContext<C>>(context: T) => StateResource;
5
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../src/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,eAAO,MAAM,eAAe,GAC1B,CAAC,SAAS,YAAY,GAAG,YAAY,EACrC,CAAC,SAAS,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,EAC7C,SAAS,CAAC,KAAG,aAA6C,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { FLOW_STATE } from "./consts.js";
2
+ export const getFlowResource = (context) => context.resource(FLOW_STATE);
3
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../src/helper.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,MAAM,eAAe,GAAG,CAG7B,OAAU,EAAiB,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@owlmeans/client-flow",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
+ "license": "MIT",
4
5
  "type": "module",
5
6
  "scripts": {
6
7
  "build": "tsc -b",
@@ -20,18 +21,18 @@
20
21
  }
21
22
  },
22
23
  "dependencies": {
23
- "@owlmeans/auth-common": "^0.1.1",
24
- "@owlmeans/client": "^0.1.1",
25
- "@owlmeans/client-context": "^0.1.1",
26
- "@owlmeans/client-module": "^0.1.1",
27
- "@owlmeans/client-resource": "^0.1.1",
28
- "@owlmeans/config": "^0.1.1",
29
- "@owlmeans/context": "^0.1.1",
30
- "@owlmeans/error": "^0.1.1",
31
- "@owlmeans/flow": "^0.1.1",
32
- "@owlmeans/module": "^0.1.1",
33
- "@owlmeans/resource": "^0.1.1",
34
- "@owlmeans/route": "^0.1.1"
24
+ "@owlmeans/auth-common": "^0.1.2",
25
+ "@owlmeans/client": "^0.1.2",
26
+ "@owlmeans/client-context": "^0.1.2",
27
+ "@owlmeans/client-module": "^0.1.2",
28
+ "@owlmeans/client-resource": "^0.1.2",
29
+ "@owlmeans/config": "^0.1.2",
30
+ "@owlmeans/context": "^0.1.2",
31
+ "@owlmeans/error": "^0.1.2",
32
+ "@owlmeans/flow": "^0.1.2",
33
+ "@owlmeans/module": "^0.1.2",
34
+ "@owlmeans/resource": "^0.1.2",
35
+ "@owlmeans/route": "^0.1.2"
35
36
  },
36
37
  "peerDependencies": {
37
38
  "react": "*"
package/src/consts.ts CHANGED
@@ -3,4 +3,6 @@ export const DEFAULT_ALIAS = 'flow'
3
3
 
4
4
  export const FLOW_STATE = 'state:flow'
5
5
 
6
+ export const EXTRA_FLOW = 'extra-flow'
7
+
6
8
  export const REHACK_MOD = '__redirect'