@data-fair/lib-vue 1.0.0 → 1.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/package.json +3 -2
- package/session.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@data-fair/lib-vue",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Composables and other utilities for Vue applications in the data-fair stack.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"scripts": {
|
|
13
|
-
"prepublishOnly": "cd .. && npm run prepublishOnly"
|
|
13
|
+
"prepublishOnly": "cd .. && npm run prepublishOnly",
|
|
14
|
+
"build": "cd .. && npm run build"
|
|
14
15
|
},
|
|
15
16
|
"peerDependencies": {
|
|
16
17
|
"dayjs": "1",
|
package/session.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { type Ref, App } from 'vue';
|
|
|
3
3
|
import { type RouteLocation } from 'vue-router';
|
|
4
4
|
import { type fetch } from 'ofetch';
|
|
5
5
|
import { type SessionState, type SessionStateAuthenticated } from '@data-fair/lib-common-types/session/index.js';
|
|
6
|
+
export type { SessionState, SessionStateAuthenticated, User, Account } from '@data-fair/lib-common-types/session/index.js';
|
|
6
7
|
interface GenericCookies {
|
|
7
8
|
get: (key: string) => string | undefined;
|
|
8
9
|
set: (key: string, value: string, options?: Record<string, any>) => void;
|