New build, typing ignores...
This commit is contained in:
parent
52ecbc3d36
commit
05a16e3037
6
cista-front/package-lock.json
generated
6
cista-front/package-lock.json
generated
|
@ -13,6 +13,7 @@
|
||||||
"ant-design-vue": "^4.0.3",
|
"ant-design-vue": "^4.0.3",
|
||||||
"axios": "^1.5.0",
|
"axios": "^1.5.0",
|
||||||
"esbuild": "^0.19.5",
|
"esbuild": "^0.19.5",
|
||||||
|
"locale-includes": "^1.0.5",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"pinia": "^2.1.6",
|
"pinia": "^2.1.6",
|
||||||
|
@ -3327,6 +3328,11 @@
|
||||||
"url": "https://github.com/sponsors/antfu"
|
"url": "https://github.com/sponsors/antfu"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/locale-includes": {
|
||||||
|
"version": "1.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/locale-includes/-/locale-includes-1.0.5.tgz",
|
||||||
|
"integrity": "sha512-8pcOkyBbMZvHGskk3gbi+o6dYSOmkLJ+hh1lle+LaULxB2YtwNrCMEhgpAJb3WruTUC2cSEu71bOe6im6DuCuA=="
|
||||||
|
},
|
||||||
"node_modules/locate-path": {
|
"node_modules/locate-path": {
|
||||||
"version": "6.0.0",
|
"version": "6.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
"ant-design-vue": "^4.0.3",
|
"ant-design-vue": "^4.0.3",
|
||||||
"axios": "^1.5.0",
|
"axios": "^1.5.0",
|
||||||
"esbuild": "^0.19.5",
|
"esbuild": "^0.19.5",
|
||||||
|
"locale-includes": "^1.0.5",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"pinia": "^2.1.6",
|
"pinia": "^2.1.6",
|
||||||
|
|
|
@ -2,6 +2,7 @@ import type { Document } from '@/repositories/Document';
|
||||||
import { fetchFile } from '@/repositories/Document'
|
import { fetchFile } from '@/repositories/Document'
|
||||||
import { formatSize, formatUnixDate } from '@/utils';
|
import { formatSize, formatUnixDate } from '@/utils';
|
||||||
import { defineStore } from 'pinia';
|
import { defineStore } from 'pinia';
|
||||||
|
// @ts-ignore
|
||||||
import { localeIncludes } from 'locale-includes'
|
import { localeIncludes } from 'locale-includes'
|
||||||
|
|
||||||
type FileData = { id: string, mtime: number, size: number, dir: DirectoryData};
|
type FileData = { id: string, mtime: number, size: number, dir: DirectoryData};
|
||||||
|
@ -76,7 +77,7 @@ export const useDocumentStore = defineStore({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const matched = {}
|
const matched: any = {}
|
||||||
traverseDir(this.root, "")
|
traverseDir(this.root, "")
|
||||||
this.updateTable(matched)
|
this.updateTable(matched)
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title>Vite Vasanko</title>
|
<title>Vite Vasanko</title>
|
||||||
<script type="module" crossorigin src="/assets/index-0449a6e2.js"></script>
|
<script type="module" crossorigin src="/assets/index-1ae30b84.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index-f91a1fb3.css">
|
<link rel="stylesheet" href="/assets/index-f91a1fb3.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user