Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
a706c82
Get rid of annoying signalr build errors
hhvrc Nov 1, 2024
d0a223d
Update packages with compiler warning patch
hhvrc Nov 1, 2024
e806f8b
Bump skeleton to V3 Beta
hhvrc Nov 1, 2024
5f36ea8
Better stores and store initialization
hhvrc Nov 1, 2024
54ad49c
Improve SignalR store
hhvrc Nov 1, 2024
51b3b1a
Style fix Turnstile.svelte
hhvrc Nov 1, 2024
252a796
Forgot to initialize SignalR on page load
hhvrc Nov 1, 2024
ce9deca
Basic AppShell replacement
hhvrc Nov 1, 2024
52d2597
Remove AppShell and AppBar,
hhvrc Nov 1, 2024
4599a10
Improve sidebar
hhvrc Nov 1, 2024
9597052
Ignore unused exception
hhvrc Nov 1, 2024
3ad9f3a
Improve ColorSchemeStore
hhvrc Nov 1, 2024
21562e3
Start implementing LightSwitch
hhvrc Nov 1, 2024
a5cac8d
Oops
hhvrc Nov 1, 2024
e6535f0
Initial chadcn conversion step
hhvrc Nov 1, 2024
2e957ba
fuck
hhvrc Nov 1, 2024
86e2966
Update .gitignore
hhvrc Nov 1, 2024
f26726d
Implement online hub table
hhvrc Nov 3, 2024
525e008
Improve sidebar
hhvrc Nov 3, 2024
6dd3418
Improve password strength meter
hhvrc Nov 3, 2024
79d5e81
Cleanup of online hubs page
hhvrc Nov 3, 2024
8a5df13
Implement users table
hhvrc Nov 3, 2024
ce076d2
Make groups properly collapsible
hhvrc Nov 3, 2024
de83f20
Fix PasswordStrengthMeter
hhvrc Nov 4, 2024
aa04c2c
Fix recursive issue
hhvrc Nov 4, 2024
6a3160f
Account settings cleanup
hhvrc Nov 4, 2024
7c5df2f
Remove unnecessary comments
hhvrc Nov 4, 2024
759d363
More cleanup
hhvrc Nov 4, 2024
2d491c0
Start on session settings
hhvrc Nov 4, 2024
6e74af5
Improve color scheme hanlding
hhvrc Nov 4, 2024
9b86cb1
Remove unused dependencies
hhvrc Nov 4, 2024
8609dda
Improve color scheme handling more
hhvrc Nov 4, 2024
11edb01
Bump bits-ui
hhvrc Nov 4, 2024
899ee9a
Bump the npm-dependencies group with 10 updates (#64)
dependabot[bot] Nov 4, 2024
bb4027d
Merge branch 'develop' into feature/shadcn
hhvrc Nov 4, 2024
66a1561
More cleanup in Turnstile
hhvrc Nov 4, 2024
e213b97
Fix sidebar icons
hhvrc Nov 4, 2024
a0793f5
Improve hubs page
hhvrc Nov 4, 2024
ddb51b0
Sessions page stuffz
hhvrc Nov 4, 2024
14ed84c
Theme fixes
hhvrc Nov 4, 2024
feff27f
fomratting changes
hhvrc Nov 4, 2024
a193c54
Refresh OpenAPI spec
hhvrc Nov 4, 2024
de455cf
Simplify CreateSortHeader
hhvrc Nov 4, 2024
5fd4aa7
More comment and syntax fixes
hhvrc Nov 4, 2024
f98bc5f
start working on api query helper
hhvrc Nov 4, 2024
c93a36b
Add search functionality
hhvrc Nov 4, 2024
c0d0390
Fix README Technologies
hhvrc Nov 5, 2024
7f609d2
Add shadcn calendar
hhvrc Nov 5, 2024
d4bbece
Start implementing apiTokens dialogs
hhvrc Nov 5, 2024
dcd9b4d
Fix circleslider
hhvrc Nov 5, 2024
f8fd91e
Add epic lighttheme feature
hhvrc Nov 5, 2024
6c53cdc
add labelid for circleslider
hhvrc Nov 5, 2024
707744e
Seperate install drivers dialog
hhvrc Nov 5, 2024
01f239b
Fix and clean up LightSwitch
hhvrc Nov 6, 2024
7371a7e
Improve profile dropdown in header
hhvrc Nov 6, 2024
b09c9ee
Remove legacy Modal stuff
hhvrc Nov 6, 2024
9ac5f82
Implement api tokens page
hhvrc Nov 6, 2024
3613e78
Add actions to tables
hhvrc Nov 6, 2024
2bda17a
Bump OpenAPI schema
hhvrc Nov 6, 2024
cd4d423
Update OpenAPI
LucHeart Nov 6, 2024
73f3bbe
Update OpenAPI
LucHeart Nov 6, 2024
e8c6a8d
Update OpenAPI
LucHeart Nov 6, 2024
1c4ec78
Fix shares v2 api and users list
LucHeart Nov 6, 2024
fbab318
More DataTable fixes
hhvrc Nov 7, 2024
543b1aa
misc other fixes
hhvrc Nov 7, 2024
0d2258c
Fix OpenAPI enums
hhvrc Nov 7, 2024
ebc358d
Improve typing in tables
hhvrc Nov 7, 2024
a81b5be
Add more columns to online hub table
hhvrc Nov 7, 2024
ab35880
Parse online device user agents
hhvrc Nov 7, 2024
47fea88
Improve parsing and coloring of useragent
hhvrc Nov 7, 2024
82f3902
Dedup sorting buttons
hhvrc Nov 7, 2024
0ac171f
Add user actions
hhvrc Nov 7, 2024
3629629
More cleanup and table action dialogs
hhvrc Nov 7, 2024
a804a8c
Start work on hubs table
hhvrc Nov 7, 2024
c53ff7b
Fix type errors
hhvrc Nov 7, 2024
c48f8d2
Reformat
hhvrc Nov 7, 2024
5bdd9e3
Show toast on CDN fetch failure
hhvrc Nov 7, 2024
145df66
Sort includes
hhvrc Nov 7, 2024
9b737fe
Move danger zone, and add count to online hubs
LucHeart Nov 7, 2024
c70cbd2
Consistent Props typing
hhvrc Nov 7, 2024
e7678f8
Merge branch 'feature/shadcn' of https://github.com/OpenShock/Fronten…
hhvrc Nov 7, 2024
1b36521
Type all non-implicit states
hhvrc Nov 7, 2024
67a0de8
change if browser checks to onmount for component init
hhvrc Nov 7, 2024
0041d71
No dynamic imports
hhvrc Nov 7, 2024
50b678c
Remove legacy theme selector
hhvrc Nov 7, 2024
a7e5faf
Forgot to commit some changes
hhvrc Nov 7, 2024
0ab3678
Fix header to top and nest footer under sidebar
hhvrc Nov 7, 2024
f2230d9
Fix body and footer layout
hhvrc Nov 7, 2024
4fec7f6
Finally fix layout
hhvrc Nov 7, 2024
ae17e52
simplify lucide includes
hhvrc Nov 7, 2024
6dd5d63
Make header smaller
hhvrc Nov 7, 2024
5bda844
Fix content positioning
hhvrc Nov 7, 2024
10d9662
Work on login related sidebar behaviour
hhvrc Nov 7, 2024
893785b
Start working on flashtool
hhvrc Nov 7, 2024
18c8b18
move firmware cdn stuff to api folder
hhvrc Nov 8, 2024
72026c3
Bump dependencies
hhvrc Nov 8, 2024
d421fbc
Bump dependencies
hhvrc Nov 8, 2024
418f199
Always use latest and greatest non-breaking dependency
hhvrc Nov 8, 2024
f27999d
Fix vunerability in cookie dependency
hhvrc Nov 8, 2024
53a5674
Bump OpenAPI schema
hhvrc Nov 8, 2024
6e61519
Complete logout page
hhvrc Nov 8, 2024
4159163
Improve api error handling
hhvrc Nov 9, 2024
d255a8b
Make online devices status reactive
hhvrc Nov 9, 2024
25aec63
Create ApiTokenStore
hhvrc Nov 9, 2024
12197a5
Fix more of api tokens
LucHeart Nov 10, 2024
cb9a8b4
Update stores and signalr reactivity
hhvrc Nov 10, 2024
454c3f5
Only let SignalR log debug in dev builds
hhvrc Nov 10, 2024
d4fba3a
Some cleanup
hhvrc Nov 10, 2024
25b4c8b
Bump the npm-dependencies group with 4 updates (#65)
dependabot[bot] Nov 11, 2024
4b4e077
Update shadcn-svelte components
hhvrc Nov 11, 2024
05791fd
Fix slider background color
hhvrc Nov 12, 2024
a1ee99d
Bump the npm-dependencies group with 16 updates (#67)
dependabot[bot] Nov 18, 2024
8169bd3
Update openapi schema and associated table fields
hhvrc Nov 18, 2024
5217941
Bump the npm-dependencies group with 12 updates (#68)
dependabot[bot] Nov 25, 2024
bf168d6
Bump OpenAPI Generator to 7.10.0
hhvrc Nov 28, 2024
6d03cd6
Actually add turnstile
hhvrc Nov 28, 2024
e2d6a3b
No async defer in cfturnstile
hhvrc Nov 28, 2024
dd10cf3
Bump dependencies
hhvrc Nov 29, 2024
e0e8041
Remove sentry
hhvrc Nov 29, 2024
c6da0dc
Darkmode and Turnstile fixes
hhvrc Nov 29, 2024
259e447
Bump the npm-dependencies group with 8 updates (#69)
dependabot[bot] Dec 2, 2024
c68a62c
Invert dev check for loading cf turnstile resource
hhvrc Dec 2, 2024
6606fc0
Improve page prerendering
hhvrc Dec 2, 2024
a72ab7e
Disable CI integration tests for now
hhvrc Dec 3, 2024
f03bb4e
Fix XSS, page url handling, error handling, and tags
hhvrc Dec 3, 2024
cc56ebf
Fix some XSS request rules and docker build
hhvrc Dec 3, 2024
d19222c
use proper git sha accessor
hhvrc Dec 3, 2024
7738962
Add missing CSP directives
hhvrc Dec 3, 2024
f338188
Fix firmware board combobox
hhvrc Dec 5, 2024
6b6a32c
Only activate light mode if dark reader is disabled
hhvrc Dec 5, 2024
32c3f04
Bump generated OpenAPI client
hhvrc Dec 6, 2024
f10cb07
Improve flash tool landing page and help dialog
hhvrc Dec 6, 2024
f3d4dd8
Improve Flashtool UI
hhvrc Dec 8, 2024
90edf61
Bump the npm-dependencies group with 11 updates (#70)
dependabot[bot] Dec 9, 2024
6bb311f
Bump modules
hhvrc Dec 13, 2024
46904f6
Improve select on api tokens
hhvrc Dec 14, 2024
272fb6c
Bump nanoid from 3.3.7 to 3.3.8 in the npm_and_yarn group (#71)
dependabot[bot] Dec 14, 2024
56fa018
Bump the npm-dependencies group with 3 updates (#72)
dependabot[bot] Dec 16, 2024
37929d3
Remove js-sha1 dependency
hhvrc Dec 16, 2024
06a66c2
Remove email-validator dependency
hhvrc Dec 16, 2024
7f67c98
Remove more dependencies
hhvrc Dec 16, 2024
4e75e7b
npm run format
hhvrc Dec 16, 2024
505fbeb
Simplify tailwind h- w- declerations
hhvrc Dec 16, 2024
a6ca3d3
Update chadcn-svelte buttons component
hhvrc Dec 17, 2024
6dcfb7d
Update shadcn-svelte calendar component
hhvrc Dec 17, 2024
8add9cc
Fix up ui and control logic a bit more
hhvrc Dec 18, 2024
18e9361
Attempt to fix FlashManager
hhvrc Dec 18, 2024
b42ca0c
Swap out $app/stores with $app/state
hhvrc Dec 19, 2024
1431310
Bump dependencies and cleanup
hhvrc Dec 19, 2024
65549f8
Further restrict CSP
hhvrc Dec 19, 2024
ff5890b
Update pnpm-lock.yaml
hhvrc Dec 19, 2024
81c6414
Split env file for dev and prod
hhvrc Dec 19, 2024
c80c550
Add connect CSP for cloudflareinsights
hhvrc Dec 19, 2024
bf1c35b
Add back default values to .env file
hhvrc Dec 19, 2024
772f4f0
Specify "packageManager" in package.json
hhvrc Dec 19, 2024
3871411
Bump the npm-dependencies group across 1 directory with 8 updates (#75)
dependabot[bot] Jan 1, 2025
b0ef8c7
Make CSP directives more strict
hhvrc Jan 8, 2025
41e58fb
Fix specified pnpm versions
hhvrc Jan 8, 2025
f710ede
Bump the npm-dependencies group with 5 updates (#76)
dependabot[bot] Jan 8, 2025
38b3d6f
Fix CI build issues
hhvrc Jan 8, 2025
a7312ab
Fix spelling on HIBP validation result
hhvrc Jan 8, 2025
2929544
Update password validator to adhere to OWASP ASVS v4.0.3 recommendations
hhvrc Jan 8, 2025
f137f0e
Improve sidebar icon typing
hhvrc Jan 10, 2025
f747451
Better sidebar Hubs icon
hhvrc Jan 10, 2025
47db586
Improve .env handling
hhvrc Jan 10, 2025
178ead0
Remove more fontawesome references
hhvrc Jan 10, 2025
8f3e33b
Complete fontawesome replacement
hhvrc Jan 10, 2025
4509fce
Oops, forgot to commit this
hhvrc Jan 10, 2025
8f15e6c
Use proper component naming convention
hhvrc Jan 10, 2025
919a668
Fix PasswordValidator tests
hhvrc Jan 10, 2025
6adbca7
Create test .env file
hhvrc Jan 10, 2025
66f1760
Override .env files with environment variables
hhvrc Jan 10, 2025
8ec7aa6
Merge branch 'master' into develop
hhvrc Jan 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 1 addition & 5 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ NODE_PATH=src

PUBLIC_SITE_NAME=OpenShock
PUBLIC_SITE_DESCRIPTION=a free and open-source ecosystem to control various shock collars over the internet.
PUBLIC_SITE_DOMAIN=openshock.app
PUBLIC_SITE_SHORT_DOMAIN=openshock.app
PUBLIC_BACKEND_API_DOMAIN=api.openshock.app
PUBLIC_GITHUB_PROJECT_URL=https://github.com/OpenShock
PUBLIC_DISCORD_INVITE_URL=https://discord.gg/OpenShock

PUBLIC_SENTRY_DSN=INVALID
PUBLIC_TURNSTILE_SITE_KEY=INVALID
PUBLIC_TURNSTILE_DEV_BYPASS_VALUE=dev-bypass
PUBLIC_TURNSTILE_DEV_BYPASS_VALUE=INVALID
11 changes: 6 additions & 5 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Sentry
PUBLIC_SENTRY_ENABLED=false
PUBLIC_SENTRY_TRACES_SAMPLERATE=1.0
PUBLIC_SENTRY_REPLAYS_SESSION_SAMPLERATE=0.1
PUBLIC_SENTRY_REPLAYS_ONERROR_SAMPLERATE=1.0
PUBLIC_SITE_DOMAIN=openshock.dev
PUBLIC_SITE_SHORT_DOMAIN=openshock.dev
PUBLIC_BACKEND_API_DOMAIN=api.openshock.dev
PUBLIC_GATEWAY_CSP_WILDCARD=*.openshock.dev

PUBLIC_TURNSTILE_DEV_BYPASS_VALUE=dev-bypass
9 changes: 4 additions & 5 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Sentry
PUBLIC_SENTRY_ENABLED=true
PUBLIC_SENTRY_TRACES_SAMPLERATE=0.1
PUBLIC_SENTRY_REPLAYS_SESSION_SAMPLERATE=0.1
PUBLIC_SENTRY_REPLAYS_ONERROR_SAMPLERATE=0.1
PUBLIC_SITE_DOMAIN=openshock.app
PUBLIC_SITE_SHORT_DOMAIN=openshock.app
PUBLIC_BACKEND_API_DOMAIN=api.openshock.app
PUBLIC_GATEWAY_CSP_WILDCARD=*.openshock.app
6 changes: 6 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PUBLIC_SITE_DOMAIN=openshock.dev
PUBLIC_SITE_SHORT_DOMAIN=openshock.dev
PUBLIC_BACKEND_API_DOMAIN=api.openshock.dev
PUBLIC_GATEWAY_CSP_WILDCARD=*.openshock.dev

PUBLIC_TURNSTILE_DEV_BYPASS_VALUE=dev-bypass
3 changes: 2 additions & 1 deletion .github/actions/containerize/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ inputs:
runs:
using: composite
steps:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -53,3 +52,5 @@ runs:
push: ${{ inputs.push-image }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_HASH=${{ github.sha }}
5 changes: 3 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
version: 9.12.3
run_install: false

- name: Install Node.js
Expand All @@ -43,7 +43,8 @@ jobs:

- name: Test
shell: bash
run: pnpm test
#run: pnpm test # TODO: Fix intehration tests
run: pnpm test:unit

build-container:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
node_modules
.idea
/build
/.svelte-kit
/package
Expand Down
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
node_modules
/build
/.svelte-kit
/.vscode
/package
/src/lib/api/internal
/src/lib/components/ui
/static
.env
.env.*
!.env.example
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [
{ "files": "*.svelte", "options": { "parser": "svelte" } },
{ "files": "package*.json", "options": { "tabWidth": 2, "useTabs": true } }
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
ARG NODE_VERSION=20
ARG PNPM_VERSION=9.12.2
ARG PNPM_VERSION=9.12.3
ARG ALPINE_VERSION=3.20
ARG GIT_HASH

FROM node:${NODE_VERSION}-alpine${ALPINE_VERSION} AS build

WORKDIR /app
ENV DOCKER=true
ENV PNPM_VERSION=${PNPM_VERSION}
ENV GIT_HASH=${GIT_HASH}

RUN wget -qO /bin/pnpm "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" && chmod +x /bin/pnpm

Expand All @@ -26,6 +28,7 @@ WORKDIR /app
ENV DOCKER=true
ENV NODE_ENV=production
ENV PNPM_VERSION=${PNPM_VERSION}
ENV GIT_HASH=${GIT_HASH}

RUN wget -qO /bin/pnpm "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" && chmod +x /bin/pnpm

Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ This is the frontend for the OpenShock project that interfaces with the OpenShoc

![Typescript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
![Vite](https://img.shields.io/badge/Vite-646CFF?style=for-the-badge&logo=vite&logoColor=white)
![SveltKit](https://img.shields.io/badge/SvelteKit-4A4A55?style=for-the-badge&logo=svelte&logoColor=FF3E00)
![Skeleton UI](https://img.shields.io/badge/💀_Skeleton_UI-646CFF?style=for-the-badge&logoColor=white)
![SvelteKit](https://img.shields.io/badge/SvelteKit-4A4A55?style=for-the-badge&logo=svelte&logoColor=FF3E00)
![shadcn-ui](https://img.shields.io/badge/shadcn/ui-000?style=for-the-badge&logo=shadcnui&logoColor=orange)
![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)

## Available Commands
Expand All @@ -40,16 +40,19 @@ We recommend using a version manager like [Volta](https://docs.volta.sh/guide/ge
### Install Node.js and pnpm

Install on Linux:

```bash
curl https://get.volta.sh | bash
```

Install on Windows:

```pwsh
winget install Volta.Volta
```

Then you can install the required **Node.js** and **pnpm** version by running a single command in the repository root directory:

```bash
volta install node
volta install pnpm
Expand All @@ -67,13 +70,15 @@ pnpm run build
## Running locally

Running the frontend locally is as simple as this:

```bash
pnpm run dev
```

### Hosts redirect

If you do not have a hosts file config for your domain and try to run the project you will get the following example message:

```
Please ensure that local.openshock.app resolves to 127.0.0.1 in your hosts file

Expand All @@ -92,4 +97,4 @@ Try closing and re-opening your development environment or console to refresh it

## Support

You can support the openshock dev team here: [Sponsor OpenShock](https://github.com/sponsors/OpenShock)
You can support the openshock dev team here: [Sponsor OpenShock](https://github.com/sponsors/OpenShock)
17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://next.shadcn-svelte.com/schema.json",
"style": "default",
"tailwind": {
"config": "tailwind.config.ts",
"css": "src\\app.postcss",
"baseColor": "neutral"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils",
"ui": "$lib/components/ui",
"hooks": "$lib/hooks"
},
"typescript": true,
"registry": "https://next.shadcn-svelte.com/registry"
}
33 changes: 17 additions & 16 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
import prettier from "eslint-config-prettier";
import prettier from 'eslint-config-prettier';
import js from '@eslint/js';
import { includeIgnoreFile } from '@eslint/compat';
import svelte from 'eslint-plugin-svelte';
import globals from 'globals';
import { fileURLToPath } from 'node:url';
import ts from 'typescript-eslint';
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));

export default ts.config(
includeIgnoreFile(gitignorePath),
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs["flat/recommended"],
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node
}
}
globals: {
...globals.browser,
...globals.node,
},
},
},
{
files: ["**/*.svelte"],
files: ['**/*.svelte'],

languageOptions: {
parserOptions: {
parser: ts.parser,
ecmaVersion: 2020
}
}
},
{
ignores: ["build/", ".svelte-kit/", "dist/"]
parserOptions: {
parser: ts.parser,
ecmaVersion: 2020,
},
},
}
);
12 changes: 7 additions & 5 deletions openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "7.9.0",
"version": "7.10.0",
"generators": {
"v1": {
"inputSpec": "https://api.openshock.app/swagger/1/swagger.json",
Expand All @@ -12,9 +12,10 @@
"supportsES6": true,
"stringEnums": true,
"withInterfaces": true,
"enumPropertyNaming": "camelCase",
"paramNaming": "camelCase",
"enumPropertyNaming": "PascalCase",
"modelPropertyNaming": "camelCase",
"enumUnknownDefaultCase": true,
"enumUnknownDefaultCase": false,
"useSingleRequestParameter": false
}
},
Expand All @@ -26,9 +27,10 @@
"supportsES6": true,
"stringEnums": true,
"withInterfaces": true,
"enumPropertyNaming": "camelCase",
"paramNaming": "camelCase",
"enumPropertyNaming": "PascalCase",
"modelPropertyNaming": "camelCase",
"enumUnknownDefaultCase": true,
"enumUnknownDefaultCase": false,
"useSingleRequestParameter": false
}
}
Expand Down
101 changes: 0 additions & 101 deletions openshock-theme.ts

This file was deleted.

Loading
Loading