Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating the client to fix stuff #31

Draft
wants to merge 5 commits into
base: mr-scrooge-3.0.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/test-view.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on: [pull_request]

env:
NODE_VERSION: 20
PNPM_VERSION: 9.12.0

jobs:
test:
Expand All @@ -18,6 +19,7 @@ jobs:
name: Install pnpm
with:
run_install: false
version: ${{ env.PNPM_VERSION }}

- name: Install Node.js
uses: actions/setup-node@v4
Expand All @@ -26,7 +28,7 @@ jobs:
cache: 'pnpm'

- run: pnpm install
- run: pnpm run test:view
- run: pnpm run test
lint:
name: Lint
runs-on: ubuntu-latest
Expand All @@ -36,6 +38,7 @@ jobs:
name: Install pnpm
with:
run_install: false
version: ${{ env.PNPM_VERSION }}

- name: Install Node.js
uses: actions/setup-node@v4
Expand Down
1 change: 1 addition & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ dependencies:
react-router-dom: ^6.26.2
recharts: ^2.13.0
zod: ^3.23.8
packageManager: [email protected]
48 changes: 25 additions & 23 deletions src/@typespec/openapi3/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1108,28 +1108,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
username:
type: string
email:
type: string
firstName:
type: string
lastName:
type: string
isActive:
type: boolean
isAdmin:
type: boolean
password:
type: string
required:
- username
- email
- isActive
- isAdmin
- password
$ref: '#/components/schemas/CreateUserParams'
get:
operationId: ApiUser_list
parameters:
Expand Down Expand Up @@ -1328,6 +1307,26 @@ components:
type: array
items:
$ref: '#/components/schemas/UUID'
BaseModifyUserData:
type: object
required:
- username
- email
- isActive
- isAdmin
properties:
username:
type: string
email:
type: string
firstName:
type: string
lastName:
type: string
isActive:
type: boolean
isAdmin:
type: boolean
BaseUserData:
type: object
required:
Expand Down Expand Up @@ -1422,13 +1421,14 @@ components:
type: string
groupOwnerId:
$ref: '#/components/schemas/UUID'
CreateUserData:
CreateUserParams:
type: object
required:
- username
- email
- isActive
- isAdmin
- password
properties:
username:
type: string
Expand All @@ -1442,6 +1442,8 @@ components:
type: boolean
isAdmin:
type: boolean
password:
type: string
Date:
type: string
format: date-time
Expand Down
Loading
Loading