@j2inn/fin5-ui-utils 1.0.1-beta.5 → 1.0.1-beta.6
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/fin5Top/getFin5BinUrl.d.ts +1 -1
- package/dist/fin5Top/getFin5BinUrl.js +1 -1
- package/dist/fin5Top/getFin5BinUrl.js.map +1 -1
- package/dist_es/fin5Top/getFin5BinUrl.d.ts +1 -1
- package/dist_es/fin5Top/getFin5BinUrl.js +1 -1
- package/dist_es/fin5Top/getFin5BinUrl.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { HRef } from 'haystack-core';
|
|
2
|
-
export declare const getFin5BinUrl: (id: HRef) => string;
|
|
2
|
+
export declare const getFin5BinUrl: (id: HRef, projectName?: string | undefined) => string;
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getFin5BinUrl = void 0;
|
|
7
7
|
const fin5Top_1 = require("./fin5Top");
|
|
8
|
-
const getFin5BinUrl = (id
|
|
8
|
+
const getFin5BinUrl = (id, projectName = fin5Top_1.fin5Top?.finstack?.projectName) => `/finGetFile/${projectName}?fileRef=${id?.toAxon()}`;
|
|
9
9
|
exports.getFin5BinUrl = getFin5BinUrl;
|
|
10
10
|
//# sourceMappingURL=getFin5BinUrl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFin5BinUrl.js","sourceRoot":"","sources":["../../src/fin5Top/getFin5BinUrl.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,uCAAmC;AAE5B,MAAM,aAAa,GAAG,
|
|
1
|
+
{"version":3,"file":"getFin5BinUrl.js","sourceRoot":"","sources":["../../src/fin5Top/getFin5BinUrl.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAGH,uCAAmC;AAE5B,MAAM,aAAa,GAAG,CAC5B,EAAQ,EACR,WAAW,GAAG,iBAAO,EAAE,QAAQ,EAAE,WAAW,EACnC,EAAE,CAAC,eAAe,WAAW,YAAY,EAAE,EAAE,MAAM,EAAE,EAAE,CAAA;AAHpD,QAAA,aAAa,iBAGuC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { HRef } from 'haystack-core';
|
|
2
|
-
export declare const getFin5BinUrl: (id: HRef) => string;
|
|
2
|
+
export declare const getFin5BinUrl: (id: HRef, projectName?: string | undefined) => string;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Copyright (c) 2022, J2 Innovations. All Rights Reserved
|
|
3
3
|
*/
|
|
4
4
|
import { fin5Top } from './fin5Top';
|
|
5
|
-
export const getFin5BinUrl = (id) => `/finGetFile/${
|
|
5
|
+
export const getFin5BinUrl = (id, projectName = fin5Top?.finstack?.projectName) => `/finGetFile/${projectName}?fileRef=${id?.toAxon()}`;
|
|
6
6
|
//# sourceMappingURL=getFin5BinUrl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFin5BinUrl.js","sourceRoot":"","sources":["../../src/fin5Top/getFin5BinUrl.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,aAAa,GAAG,
|
|
1
|
+
{"version":3,"file":"getFin5BinUrl.js","sourceRoot":"","sources":["../../src/fin5Top/getFin5BinUrl.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,CAAC,MAAM,aAAa,GAAG,CAC5B,EAAQ,EACR,WAAW,GAAG,OAAO,EAAE,QAAQ,EAAE,WAAW,EACnC,EAAE,CAAC,eAAe,WAAW,YAAY,EAAE,EAAE,MAAM,EAAE,EAAE,CAAA"}
|
package/package.json
CHANGED