feat: draft of excel export
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
// @ts-ignore: Unused imports
|
||||
import {Create as $Create} from "@wailsio/runtime";
|
||||
|
||||
/**
|
||||
* Author A sample of comment
|
||||
*/
|
||||
export class Author {
|
||||
"Id": number;
|
||||
"Name": string;
|
||||
@@ -33,6 +36,7 @@ export class Author {
|
||||
export class Post {
|
||||
"Id": number;
|
||||
"Text": string;
|
||||
"CreatedAt": number;
|
||||
|
||||
/** Creates a new Post instance. */
|
||||
constructor($$source: Partial<Post> = {}) {
|
||||
@@ -42,6 +46,9 @@ export class Post {
|
||||
if (!("Text" in $$source)) {
|
||||
this["Text"] = "";
|
||||
}
|
||||
if (!("CreatedAt" in $$source)) {
|
||||
this["CreatedAt"] = 0;
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
||||
4
frontend/bindings/time/index.ts
Normal file
4
frontend/bindings/time/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export * from "./models.js";
|
||||
51
frontend/bindings/time/models.ts
Normal file
51
frontend/bindings/time/models.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import {Create as $Create} from "@wailsio/runtime";
|
||||
|
||||
/**
|
||||
* A Time represents an instant in time with nanosecond precision.
|
||||
*
|
||||
* Programs using times should typically store and pass them as values,
|
||||
* not pointers. That is, time variables and struct fields should be of
|
||||
* type time.Time, not *time.Time.
|
||||
*
|
||||
* A Time value can be used by multiple goroutines simultaneously except
|
||||
* that the methods GobDecode, UnmarshalBinary, UnmarshalJSON and
|
||||
* UnmarshalText are not concurrency-safe.
|
||||
*
|
||||
* Time instants can be compared using the Before, After, and Equal methods.
|
||||
* The Sub method subtracts two instants, producing a Duration.
|
||||
* The Add method adds a Time and a Duration, producing a Time.
|
||||
*
|
||||
* The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
|
||||
* As this time is unlikely to come up in practice, the IsZero method gives
|
||||
* a simple way of detecting a time that has not been initialized explicitly.
|
||||
*
|
||||
* Each time has an associated Location. The methods Local, UTC, and In return a
|
||||
* Time with a specific Location. Changing the Location of a Time value with
|
||||
* these methods does not change the actual instant it represents, only the time
|
||||
* zone in which to interpret it.
|
||||
*
|
||||
* Representations of a Time value saved by the GobEncode, MarshalBinary,
|
||||
* MarshalJSON, and MarshalText methods store the Time.Location's offset, but not
|
||||
* the location name. They therefore lose information about Daylight Saving Time.
|
||||
*
|
||||
* In addition to the required “wall clock” reading, a Time may contain an optional
|
||||
* reading of the current process's monotonic clock, to provide additional precision
|
||||
* for comparison or subtraction.
|
||||
* See the “Monotonic Clocks” section in the package documentation for details.
|
||||
*
|
||||
* Note that the Go == operator compares not just the time instant but also the
|
||||
* Location and the monotonic clock reading. Therefore, Time values should not
|
||||
* be used as map or database keys without first guaranteeing that the
|
||||
* identical Location has been set for all values, which can be achieved
|
||||
* through use of the UTC or Local method, and that the monotonic clock reading
|
||||
* has been stripped by setting t = t.Round(0). In general, prefer t.Equal(u)
|
||||
* to t == u, since t.Equal uses the most accurate comparison available and
|
||||
* correctly handles the case when only one of its arguments has a monotonic
|
||||
* clock reading.
|
||||
*/
|
||||
export type Time = any;
|
||||
File diff suppressed because one or more lines are too long
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
<title>Wails + Vue + TS</title>
|
||||
<script type="module" crossorigin src="/assets/index-oNxRZnbe.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-CeF7Es-a.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-bq12HDyQ.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
10
frontend/node_modules/.vite/deps/_metadata.json
generated
vendored
10
frontend/node_modules/.vite/deps/_metadata.json
generated
vendored
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"hash": "257bd7a5",
|
||||
"configHash": "b9bde7bc",
|
||||
"hash": "63964395",
|
||||
"configHash": "d64a9a31",
|
||||
"lockfileHash": "21c581ed",
|
||||
"browserHash": "d3139d3b",
|
||||
"browserHash": "f28abe22",
|
||||
"optimized": {
|
||||
"@wailsio/runtime": {
|
||||
"src": "../../@wailsio/runtime/src/index.js",
|
||||
"file": "@wailsio_runtime.js",
|
||||
"fileHash": "aba6d6fb",
|
||||
"fileHash": "b57ae746",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vue": {
|
||||
"src": "../../vue/dist/vue.runtime.esm-bundler.js",
|
||||
"file": "vue.js",
|
||||
"fileHash": "cec76e90",
|
||||
"fileHash": "616b6ec4",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
|
||||
1620
frontend/node_modules/.vite/deps_temp_e0499671/@wailsio_runtime.js
generated
vendored
Normal file
1620
frontend/node_modules/.vite/deps_temp_e0499671/@wailsio_runtime.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
frontend/node_modules/.vite/deps_temp_e0499671/@wailsio_runtime.js.map
generated
vendored
Normal file
7
frontend/node_modules/.vite/deps_temp_e0499671/@wailsio_runtime.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
10
frontend/node_modules/.vite/deps_temp_e0499671/chunk-PZ5AY32C.js
generated
vendored
Normal file
10
frontend/node_modules/.vite/deps_temp_e0499671/chunk-PZ5AY32C.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
|
||||
export {
|
||||
__export
|
||||
};
|
||||
//# sourceMappingURL=chunk-PZ5AY32C.js.map
|
||||
7
frontend/node_modules/.vite/deps_temp_e0499671/chunk-PZ5AY32C.js.map
generated
vendored
Normal file
7
frontend/node_modules/.vite/deps_temp_e0499671/chunk-PZ5AY32C.js.map
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
3
frontend/node_modules/.vite/deps_temp_e0499671/package.json
generated
vendored
Normal file
3
frontend/node_modules/.vite/deps_temp_e0499671/package.json
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
12543
frontend/node_modules/.vite/deps_temp_e0499671/vue.js
generated
vendored
Normal file
12543
frontend/node_modules/.vite/deps_temp_e0499671/vue.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
frontend/node_modules/.vite/deps_temp_e0499671/vue.js.map
generated
vendored
Normal file
7
frontend/node_modules/.vite/deps_temp_e0499671/vue.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
frontend/node_modules/esbuild/lib/downloaded-@esbuild-linux-x64-esbuild
generated
vendored
Executable file
BIN
frontend/node_modules/esbuild/lib/downloaded-@esbuild-linux-x64-esbuild
generated
vendored
Executable file
Binary file not shown.
Reference in New Issue
Block a user