bt-core-app 1.2.7 → 1.2.8
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/bt-core-app.js +307 -303
- package/dist/composables/urls.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/composables/urls.ts +5 -0
- package/src/index.ts +1 -1
|
@@ -18,4 +18,5 @@ export declare function useAuthUrl(): string;
|
|
|
18
18
|
* @returns
|
|
19
19
|
*/
|
|
20
20
|
export declare function useDataUrl(microservice?: string): string;
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function useUrls(): CreateUrlOptions;
|
|
22
|
+
export declare function createUrl(options: CreateUrlOptions): CreateUrlOptions;
|
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export type { BTStoreDefinition, BTStore, StoreMode, StorageMode, LocalMeta, Loc
|
|
|
36
36
|
export { createStoreBuilder, createStoreDefinition, useStore, useStoreDefinition, createWholeLastUpdateStoreDefinition, createSessionStoreDefinition } from './composables/stores';
|
|
37
37
|
export type { UseTrackerOptions } from './composables/track';
|
|
38
38
|
export { useTracker } from './composables/track';
|
|
39
|
-
export { createUrl, useAuthUrl, useDbName, useDataUrl } from './composables/urls';
|
|
39
|
+
export { createUrl, useUrls, useAuthUrl, useDbName, useDataUrl } from './composables/urls';
|
|
40
40
|
export * from './types';
|
|
41
41
|
export type { CoreApp, CreateCoreOptions } from './core';
|
|
42
42
|
export { createCore } from './core';
|
package/package.json
CHANGED
package/src/composables/urls.ts
CHANGED
|
@@ -56,6 +56,11 @@ export function useDataUrl(microservice?: string): string {
|
|
|
56
56
|
return other ?? urlSet.data ?? ''
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
export function useUrls(): CreateUrlOptions {
|
|
60
|
+
return current
|
|
61
|
+
}
|
|
62
|
+
|
|
59
63
|
export function createUrl(options: CreateUrlOptions) {
|
|
60
64
|
current = options
|
|
65
|
+
return current
|
|
61
66
|
}
|
package/src/index.ts
CHANGED
|
@@ -36,7 +36,7 @@ export type { BTStoreDefinition, BTStore, StoreMode, StorageMode, LocalMeta, Loc
|
|
|
36
36
|
export { createStoreBuilder, createStoreDefinition, useStore, useStoreDefinition, createWholeLastUpdateStoreDefinition, createSessionStoreDefinition } from './composables/stores'
|
|
37
37
|
export type { UseTrackerOptions } from './composables/track'
|
|
38
38
|
export { useTracker } from './composables/track'
|
|
39
|
-
export { createUrl, useAuthUrl, useDbName, useDataUrl } from './composables/urls'
|
|
39
|
+
export { createUrl, useUrls, useAuthUrl, useDbName, useDataUrl } from './composables/urls'
|
|
40
40
|
// export { useApi, useAuth, useDates, useDemo, useFilters, useNavigation, usePresets, usePWA, useStore } from './useApi'
|
|
41
41
|
export * from './types'
|
|
42
42
|
export type { CoreApp, CreateCoreOptions } from './core'
|