@meaningfully/ui 0.0.1 → 0.0.3
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.
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
api.getDocumentSet(documentSetId).then((receivedDocumentSet: DocumentSet) => {
|
|
31
31
|
documentSet = receivedDocumentSet;
|
|
32
|
+
documentSet.uploadDate = new Date(documentSet.uploadDate); // convert to Date object, if necessary (SQLite returns date obj, Postgres returns string)
|
|
32
33
|
metadataColumns = (documentSet.parameters.metadataColumns ?? []) as string[];
|
|
33
34
|
// @ts-ignore
|
|
34
35
|
textColumn = documentSet.parameters.textColumns[0] as string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meaningfully/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Svelte components for meaningfully semantic search",
|
|
6
|
+
"repo": "https://github.com/jeremybmerrill/meaningfully-ui",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"dev": "vite dev",
|
|
8
9
|
"build": "vite build && npm run prepack",
|
|
9
10
|
"preview": "vite preview",
|
|
10
|
-
"prepare": "svelte-kit sync
|
|
11
|
+
"prepare": "svelte-kit sync && npm run build",
|
|
11
12
|
"prepack": "svelte-kit sync && svelte-package && publint",
|
|
12
13
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
13
14
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|