@fdm-monster/client-next 0.0.28 → 2.0.0
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/.yarn/install-state.gz +0 -0
- package/README.md +21 -0
- package/RELEASE_NOTES.MD +51 -1
- package/dist/assets/bambu-logo-CHl3qEbB.png +0 -0
- package/dist/assets/index-D27mWBqZ.css +1 -0
- package/dist/assets/index-DlvaLf-L.js +104 -0
- package/dist/assets/index-DlvaLf-L.js.map +1 -0
- package/dist/assets/materialdesignicons-webfont-B7mPwVP_.ttf +0 -0
- package/dist/assets/materialdesignicons-webfont-CSr8KVlo.eot +0 -0
- package/dist/assets/materialdesignicons-webfont-Dp5v-WZN.woff2 +0 -0
- package/dist/assets/materialdesignicons-webfont-PXm3-2wK.woff +0 -0
- package/dist/index.html +7 -3
- package/openapi-ts.config.ts +24 -0
- package/package.json +5 -2
- package/tsconfig.json +2 -1
- package/vite.config.ts +3 -5
- package/dist/assets/index-BMvBSgsG.css +0 -1
- package/dist/assets/index-ClwvElud.js +0 -60
- package/dist/assets/index-ClwvElud.js.map +0 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.html
CHANGED
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin="anonymous">
|
|
6
6
|
<link rel="preload" as="style" onload="this.rel='stylesheet'" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap">
|
|
7
|
-
<link rel="preload" as="font" type="font/woff2" href="/assets/MaterialIcons-Regular-DOtZ65Va.woff2" crossorigin="anonymous">
|
|
8
7
|
<link rel="preload" as="font" type="font/eot" href="/assets/MaterialIcons-Regular-BjXOXp5c.eot" crossorigin="anonymous">
|
|
8
|
+
<link rel="preload" as="font" type="font/woff2" href="/assets/MaterialIcons-Regular-DOtZ65Va.woff2" crossorigin="anonymous">
|
|
9
|
+
<link rel="preload" as="font" type="font/eot" href="/assets/materialdesignicons-webfont-CSr8KVlo.eot" crossorigin="anonymous">
|
|
9
10
|
<link rel="preload" as="font" type="font/woff" href="/assets/MaterialIcons-Regular-FsbMSDLx.woff" crossorigin="anonymous">
|
|
11
|
+
<link rel="preload" as="font" type="font/woff2" href="/assets/materialdesignicons-webfont-Dp5v-WZN.woff2" crossorigin="anonymous">
|
|
10
12
|
<link rel="preload" as="font" type="font/ttf" href="/assets/MaterialIcons-Regular-DEUTIz1o.ttf" crossorigin="anonymous">
|
|
13
|
+
<link rel="preload" as="font" type="font/woff" href="/assets/materialdesignicons-webfont-PXm3-2wK.woff" crossorigin="anonymous">
|
|
14
|
+
<link rel="preload" as="font" type="font/ttf" href="/assets/materialdesignicons-webfont-B7mPwVP_.ttf" crossorigin="anonymous">
|
|
11
15
|
|
|
12
16
|
<meta charset="UTF-8" />
|
|
13
17
|
<link rel="icon" href="/favicon.ico" />
|
|
@@ -20,8 +24,8 @@
|
|
|
20
24
|
background-color: #121212; /* should match the Vuetify theme background */
|
|
21
25
|
}
|
|
22
26
|
</style>
|
|
23
|
-
<script type="module" crossorigin src="/assets/index-
|
|
24
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
27
|
+
<script type="module" crossorigin src="/assets/index-DlvaLf-L.js"></script>
|
|
28
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D27mWBqZ.css">
|
|
25
29
|
</head>
|
|
26
30
|
|
|
27
31
|
<body>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineConfig } from '@hey-api/openapi-ts'
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
input: './openapi.json',
|
|
5
|
+
output: {
|
|
6
|
+
path: './src/backend/generated',
|
|
7
|
+
format: 'prettier',
|
|
8
|
+
lint: 'eslint',
|
|
9
|
+
},
|
|
10
|
+
client: {
|
|
11
|
+
name: '@hey-api/client-axios',
|
|
12
|
+
},
|
|
13
|
+
plugins: [
|
|
14
|
+
{
|
|
15
|
+
name: '@hey-api/typescript',
|
|
16
|
+
enums: 'javascript',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: '@hey-api/sdk',
|
|
20
|
+
asClass: true,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
})
|
|
24
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fdm-monster/client-next",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/fdm-monster/fdm-monster-client-next.git"
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
"test:unit": "vitest --environment jsdom",
|
|
20
20
|
"test:unit:update": "vitest --environment jsdom -u",
|
|
21
21
|
"test:coverage": "vitest run --coverage --environment jsdom",
|
|
22
|
-
"test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'"
|
|
22
|
+
"test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
|
|
23
|
+
"fetch:openapi": "curl -s http://127.0.0.1:4000/api-docs/swagger.json -o openapi.json",
|
|
24
|
+
"openapi-ts": "openapi-ts",
|
|
25
|
+
"generate:api": "yarn fetch:openapi && yarn openapi-ts"
|
|
23
26
|
},
|
|
24
27
|
"dependencies": {},
|
|
25
28
|
"devDependencies": {},
|
package/tsconfig.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
// Plugins
|
|
2
1
|
import AutoImport from 'unplugin-auto-import/vite'
|
|
3
2
|
import Components from 'unplugin-vue-components/vite'
|
|
4
3
|
import Fonts from 'unplugin-fonts/vite'
|
|
5
4
|
import Vue from '@vitejs/plugin-vue'
|
|
6
5
|
import Vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
|
7
|
-
|
|
8
|
-
// Utilities
|
|
9
6
|
import { defineConfig } from 'vite'
|
|
10
7
|
import { fileURLToPath, URL } from 'node:url'
|
|
11
8
|
import packageJson from './package.json'
|
|
12
9
|
import { sentryVitePlugin } from '@sentry/vite-plugin'
|
|
13
10
|
|
|
14
11
|
// https://vitejs.dev/config/
|
|
12
|
+
// As advised by vite 7 docs, we now use sass-embedded for increased vuetify/sass performance
|
|
15
13
|
export default defineConfig({
|
|
16
14
|
// Avoid console jumping around:
|
|
17
15
|
clearScreen: false,
|
|
@@ -42,14 +40,14 @@ export default defineConfig({
|
|
|
42
40
|
sentryVitePlugin({
|
|
43
41
|
telemetry: false,
|
|
44
42
|
org: 'fdm-monster',
|
|
45
|
-
project: 'fdm-monster-client',
|
|
43
|
+
project: 'fdm-monster-client-next',
|
|
46
44
|
// Auth tokens can be obtained from https://sentry.io/settings/account/api/auth-tokens/
|
|
47
45
|
// and needs the `project:releases` and `org:read` scopes
|
|
48
46
|
authToken: process.env.SENTRY_AUTH_TOKEN,
|
|
49
47
|
// Optionally uncomment the line below to override automatic release name detection
|
|
50
48
|
release: {
|
|
51
49
|
name: packageJson.version
|
|
52
|
-
}
|
|
50
|
+
},
|
|
53
51
|
}),
|
|
54
52
|
Fonts({
|
|
55
53
|
google: {
|