Skip to content

Commit

Permalink
deps: Bump to Nuxt 3.12, bring other dependencies up-to-date, separat…
Browse files Browse the repository at this point in the history
…e prettier in repo & checks, update devcontainer.json format and docker container to Node.js to 20-bookworm (#419)

* chore(deps-dev): bump jest from 29.4.3 to 29.7.0 (#409)

Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.4.3 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump webpack from 5.76.0 to 5.92.1 (#411)

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.92.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.0...v5.92.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @graphql-codegen/cli from 2.13.7 to 5.0.2 (#412)

Bumps [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) from 2.13.7 to 5.0.2.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/[email protected]/packages/graphql-codegen-cli)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump nuxt to 3.12.3 manually

* Resolve almost all tsc issues, unit tests still pass

* Ignore @nuxtjs/apollo import issue with TODO

* Regenerate yarn.lock

* Bump cypress to support ts v5

* chore(deps-dev): bump @vitejs/plugin-vue from 4.6.2 to 5.0.5 (#416)

Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue) from 4.6.2 to 5.0.5.
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/[email protected]/packages/plugin-vue)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-vue"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @pinia/nuxt from 0.4.11 to 0.5.1 (#417)

Bumps [@pinia/nuxt](https://github.com/vuejs/pinia) from 0.4.11 to 0.5.1.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/[email protected]...@pinia/[email protected])

---
updated-dependencies:
- dependency-name: "@pinia/nuxt"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @graphql-codegen/typescript-vue-apollo-smart-ops (#418)

Bumps [@graphql-codegen/typescript-vue-apollo-smart-ops](https://github.com/dotansimha/graphql-code-generator-community/tree/HEAD/packages/plugins/typescript/vue-apollo-smart-ops) from 2.3.6 to 3.0.0.
- [Release notes](https://github.com/dotansimha/graphql-code-generator-community/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator-community/blob/main/packages/plugins/typescript/vue-apollo-smart-ops/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator-community/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/vue-apollo-smart-ops)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/typescript-vue-apollo-smart-ops"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump the eslint group across 1 directory with 8 updates (#425)

* chore(deps-dev): bump the eslint group across 1 directory with 8 updates

Bumps the eslint group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `5.53.0` | `7.16.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `5.53.0` | `7.16.0` |
| [eslint](https://github.com/eslint/eslint) | `8.34.0` | `9.6.0` |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | `8.6.0` | `9.1.0` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `4.2.1` | `5.1.3` |
| [eslint-plugin-unused-imports](https://github.com/sweepline/eslint-plugin-unused-imports) | `2.0.0` | `4.0.0` |
| [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) | `9.9.0` | `9.27.0` |
| [prettier](https://github.com/prettier/prettier) | `2.8.4` | `3.3.2` |



Updates `@typescript-eslint/eslint-plugin` from 5.53.0 to 7.16.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 5.53.0 to 7.16.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/parser)

Updates `eslint` from 8.34.0 to 9.6.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.34.0...v9.6.0)

Updates `eslint-config-prettier` from 8.6.0 to 9.1.0
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/eslint-config-prettier@v8.6.0...v9.1.0)

Updates `eslint-plugin-prettier` from 4.2.1 to 5.1.3
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/eslint-plugin-prettier@v4.2.1...v5.1.3)

Updates `eslint-plugin-unused-imports` from 2.0.0 to 4.0.0
- [Commits](https://github.com/sweepline/eslint-plugin-unused-imports/commits)

Updates `eslint-plugin-vue` from 9.9.0 to 9.27.0
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](vuejs/eslint-plugin-vue@v9.9.0...v9.27.0)

Updates `prettier` from 2.8.4 to 3.3.2
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.4...3.3.2)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: eslint-plugin-unused-imports
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump to node 20, migrate eslint options to eslint.config.mjs, remove depreciated eslint-plugin-nuxt

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HappNTH <[email protected]>

* chore(deps-dev): bump eslint from 9.6.0 to 9.7.0 in the eslint group (#427)

Bumps the eslint group with 1 update: [eslint](https://github.com/eslint/eslint).


Updates `eslint` from 9.6.0 to 9.7.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v9.6.0...v9.7.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump sweetalert2 from 11.7.2 to 11.12.2 (#428)

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.2 to 11.12.2.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.7.2...v11.12.2)

---
updated-dependencies:
- dependency-name: sweetalert2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump postcss from 8.4.31 to 8.4.39 (#429)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.31 to 8.4.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.31...8.4.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump tailwindcss from 3.2.7 to 3.4.4 (#430)

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.7 to 3.4.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.4/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.2.7...v3.4.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump jwt-decode from 3.1.2 to 4.0.0 (#431)

* chore(deps): bump jwt-decode from 3.1.2 to 4.0.0

Bumps [jwt-decode](https://github.com/auth0/jwt-decode) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/auth0/jwt-decode/releases)
- [Changelog](https://github.com/auth0/jwt-decode/blob/main/CHANGELOG.md)
- [Commits](auth0/jwt-decode@v3.1.2...v4.0.0)

---
updated-dependencies:
- dependency-name: jwt-decode
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update jwtDecode import with v4.0.0 changes

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HappNTH <[email protected]>

* chore(deps): bump luxon and @types/luxon (#432)

* chore(deps-dev): bump sass from 1.58.3 to 1.77.8 (#433)

* chore(deps-dev): bump @graphql-codegen/gql-tag-operations-preset (#434)

* chore(deps): bump axios from 1.6.0 to 1.7.2 (#435)

* chore(deps): bump prosemirror-model from 1.21.1 to 1.21.3 (#436)

Bumps [prosemirror-model](https://github.com/prosemirror/prosemirror-model) from 1.21.1 to 1.21.3.
- [Changelog](https://github.com/ProseMirror/prosemirror-model/blob/master/CHANGELOG.md)
- [Commits](ProseMirror/prosemirror-model@1.21.1...1.21.3)

---
updated-dependencies:
- dependency-name: prosemirror-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump unplugin-auto-import from 0.17.6 to 0.18.0 (#437)

Bumps [unplugin-auto-import](https://github.com/unplugin/unplugin-auto-import) from 0.17.6 to 0.18.0.
- [Release notes](https://github.com/unplugin/unplugin-auto-import/releases)
- [Commits](unplugin/unplugin-auto-import@v0.17.6...v0.18.0)

---
updated-dependencies:
- dependency-name: unplugin-auto-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @rollup/plugin-graphql from 2.0.3 to 2.0.4 (#438)

Bumps [@rollup/plugin-graphql](https://github.com/rollup/plugins/tree/HEAD/packages/graphql) from 2.0.3 to 2.0.4.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/graphql/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/image-v2.0.4/packages/graphql)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-graphql"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jsdom from 20.0.3 to 24.1.0 (#439)

* chore(deps-dev): bump jsdom from 20.0.3 to 24.1.0

Bumps [jsdom](https://github.com/jsdom/jsdom) from 20.0.3 to 24.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](jsdom/jsdom@20.0.3...24.1.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Switch depreciate atob abd btoa to Buffer

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HappNTH <[email protected]>

* chore(deps-dev): bump prettier from 3.3.2 to 3.3.3 in the eslint group (#440)

Bumps the eslint group with 1 update: [prettier](https://github.com/prettier/prettier).


Updates `prettier` from 3.3.2 to 3.3.3
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.3.2...3.3.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @graphql-eslint/eslint-plugin (#441)

Bumps [@graphql-eslint/eslint-plugin](https://github.com/B2o5T/graphql-eslint) from 3.16.0 to 3.20.1.
- [Release notes](https://github.com/B2o5T/graphql-eslint/releases)
- [Commits](https://github.com/B2o5T/graphql-eslint/compare/@graphql-eslint/[email protected]...@graphql-eslint/[email protected])

---
updated-dependencies:
- dependency-name: "@graphql-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump dayjs from 1.11.7 to 1.11.11 (#442)

Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.11.7 to 1.11.11.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md)
- [Commits](iamkun/dayjs@v1.11.7...v1.11.11)

---
updated-dependencies:
- dependency-name: dayjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump js-cookie and @types/js-cookie (#443)

Bumps [js-cookie](https://github.com/js-cookie/js-cookie) and [@types/js-cookie](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-cookie). These dependencies needed to be updated together.

Updates `js-cookie` from 3.0.1 to 3.0.5
- [Release notes](https://github.com/js-cookie/js-cookie/releases)
- [Changelog](https://github.com/js-cookie/js-cookie/blob/main/.release-it.json)
- [Commits](js-cookie/js-cookie@v3.0.1...v3.0.5)

Updates `@types/js-cookie` from 3.0.3 to 3.0.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-cookie)

---
updated-dependencies:
- dependency-name: js-cookie
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/js-cookie"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump leaflet and @types/leaflet (#444)

Bumps [leaflet](https://github.com/Leaflet/Leaflet) and [@types/leaflet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/leaflet). These dependencies needed to be updated together.

Updates `leaflet` from 1.9.3 to 1.9.4
- [Release notes](https://github.com/Leaflet/Leaflet/releases)
- [Changelog](https://github.com/Leaflet/Leaflet/blob/main/CHANGELOG.md)
- [Commits](Leaflet/Leaflet@v1.9.3...v1.9.4)

Updates `@types/leaflet` from 1.9.1 to 1.9.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/leaflet)

---
updated-dependencies:
- dependency-name: leaflet
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/leaflet"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump graphql from 16.8.1 to 16.9.0 (#445)

Bumps [graphql](https://github.com/graphql/graphql-js) from 16.8.1 to 16.9.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](graphql/graphql-js@v16.8.1...v16.9.0)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump prosemirror-history from 1.4.0 to 1.4.1 (#446)

Bumps [prosemirror-history](https://github.com/prosemirror/prosemirror-history) from 1.4.0 to 1.4.1.
- [Changelog](https://github.com/ProseMirror/prosemirror-history/blob/master/CHANGELOG.md)
- [Commits](ProseMirror/prosemirror-history@1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: prosemirror-history
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @tailwindcss/forms from 0.5.3 to 0.5.7 (#447)

Bumps [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms) from 0.5.3 to 0.5.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-forms/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-forms/blob/master/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss-forms@v0.5.3...v0.5.7)

---
updated-dependencies:
- dependency-name: "@tailwindcss/forms"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @nuxtjs/eslint-config-typescript (#448)

Bumps [@nuxtjs/eslint-config-typescript](https://github.com/nuxt/eslint-config) from 11.0.0 to 12.1.0.
- [Release notes](https://github.com/nuxt/eslint-config/releases)
- [Commits](https://github.com/nuxt/eslint-config/commits)

---
updated-dependencies:
- dependency-name: "@nuxtjs/eslint-config-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @popperjs/core from 2.11.6 to 2.11.8 (#450)

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.11.6 to 2.11.8.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](floating-ui/floating-ui@v2.11.6...v2.11.8)

---
updated-dependencies:
- dependency-name: "@popperjs/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump webpack from 5.92.1 to 5.93.0 (#451)

Bumps [webpack](https://github.com/webpack/webpack) from 5.92.1 to 5.93.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.92.1...v5.93.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump uuid and @types/uuid (#452)

Bumps [uuid](https://github.com/uuidjs/uuid) and [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid). These dependencies needed to be updated together.

Updates `uuid` from 9.0.0 to 10.0.0
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](uuidjs/uuid@v9.0.0...v10.0.0)

Updates `@types/uuid` from 9.0.1 to 10.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @sentry/browser from 7.38.0 to 7.118.0 (#453)

Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.38.0 to 7.118.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.118.0/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.38.0...7.118.0)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump the tiptap group with 3 updates (#454)

* chore(deps): bump apollo-link-sentry from 3.2.2 to 3.3.0 (#456)

* chore(deps): bump prosemirror-model from 1.21.3 to 1.22.1 (#455)

* chore(deps-dev): bump @nuxtjs/tailwindcss from 6.4.1 to 6.12.1 (#449)

* chore(deps): bump vue-qrcode-reader from 5.5.6 to 5.5.7 in the vue group (#457)

* chore(deps-dev): bump the eslint group with 2 updates (#458)

* chore(deps): bump the tiptap group with 3 updates (#459)

* chore(deps-dev): bump tailwindcss from 3.4.4 to 3.4.5 (#461)

* chore(deps): bump the fortawesome group with 4 updates (#462)

* chore(deps-dev): bump @types/lodash in the typescript group (#463)

* chore(deps): bump @vuepic/vue-datepicker from 8.8.1 to 9.0.0 (#464)

* chore(deps-dev): bump unplugin-vue-components from 0.27.2 to 0.27.3 (#465)

* chore(deps): bump the tiptap group with 3 updates (#466)

Bumps the tiptap group with 3 updates: [@tiptap/pm](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/pm), [@tiptap/starter-kit](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/starter-kit) and [@tiptap/vue-3](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/vue-3).


Updates `@tiptap/pm` from 2.5.1 to 2.5.2
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/pm/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/[email protected]/packages/pm)

Updates `@tiptap/starter-kit` from 2.5.1 to 2.5.2
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/starter-kit/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/[email protected]/packages/starter-kit)

Updates `@tiptap/vue-3` from 2.5.1 to 2.5.2
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/vue-3/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/[email protected]/packages/vue-3)

---
updated-dependencies:
- dependency-name: "@tiptap/pm"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tiptap
- dependency-name: "@tiptap/starter-kit"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tiptap
- dependency-name: "@tiptap/vue-3"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tiptap
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump tailwindcss from 3.4.5 to 3.4.6 (#467)

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.5 to 3.4.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.6/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.4.5...v3.4.6)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump cypress from 13.13.0 to 13.13.1 (#468)

Bumps [cypress](https://github.com/cypress-io/cypress) from 13.13.0 to 13.13.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.13.0...v13.13.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove depreciated Volar vscode extention

* Remove Prettier from ESlint due to formatting rules depreciation (https://eslint.org/blog/2023/10/deprecating-formatting-rules/), create yarn prettier:check / :write

* Remove unnecessary eslint-plugin-prettier

* chore(deps): bump the tiptap group with 3 updates (#469)

Bumps the tiptap group with 3 updates: [@tiptap/pm](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/pm), [@tiptap/starter-kit](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/starter-kit) and [@tiptap/vue-3](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/vue-3).


Updates `@tiptap/pm` from 2.5.2 to 2.5.4
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/pm/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/[email protected]/packages/pm)

Updates `@tiptap/starter-kit` from 2.5.2 to 2.5.4
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/starter-kit/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/[email protected]/packages/starter-kit)

Updates `@tiptap/vue-3` from 2.5.2 to 2.5.4
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/vue-3/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/@tiptap/[email protected]/packages/vue-3)

---
updated-dependencies:
- dependency-name: "@tiptap/pm"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tiptap
- dependency-name: "@tiptap/starter-kit"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tiptap
- dependency-name: "@tiptap/vue-3"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tiptap
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Integrate a Prettier check into the GitHub CI flow

* Bump CI action versions and CI to Node 20

* chore(deps-dev): bump nuxt from 3.12.3 to 3.12.4 in the nuxt group (#470)

* chore(deps): bump prosemirror-view from 1.33.8 to 1.33.9 (#471)

* chore(deps): bump prosemirror-model from 1.22.1 to 1.22.2 (#472)

* chore(deps): bump dayjs from 1.11.11 to 1.11.12 (#473)

* Add issue link, change QR converter to utf-8, add yarn pr to ease pre-push testing

* chore(deps): bump @vuepic/vue-datepicker from 9.0.0 to 9.0.1 (#475)

Bumps [@vuepic/vue-datepicker](https://github.com/Vuepic/vue-datepicker) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/Vuepic/vue-datepicker/releases)
- [Changelog](https://github.com/Vuepic/vue-datepicker/blob/main/CHANGELOG.md)
- [Commits](Vuepic/vue-datepicker@v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: "@vuepic/vue-datepicker"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump sweetalert2 from 11.12.2 to 11.12.3 (#476)

Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.12.2 to 11.12.3.
- [Release notes](https://github.com/sweetalert2/sweetalert2/releases)
- [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md)
- [Commits](sweetalert2/sweetalert2@v11.12.2...v11.12.3)

---
updated-dependencies:
- dependency-name: sweetalert2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
HappyNTH and dependabot[bot] committed Sep 1, 2024
1 parent dd3eb1a commit 860ce5c
Show file tree
Hide file tree
Showing 106 changed files with 6,437 additions and 4,766 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.148.0/containers/javascript-node/.devcontainer/base.Dockerfile

# [Choice] Node.js version: 14, 12, 10
ARG VARIANT="18-buster"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
# See here for documentation: https://github.com/devcontainers/images/tree/main/src/javascript-node
ARG VARIANT="20-bookworm"
FROM mcr.microsoft.com/devcontainers/javascript-node:${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
Expand Down
29 changes: 16 additions & 13 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,24 @@
"service": "uobtheatre-web",
"workspaceFolder": "/workspace/uobtheatre-web",
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"bradlc.vscode-tailwindcss",
"christian-kohler.path-intellisense",
"esbenp.prettier-vscode",
"apollographql.vscode-apollo",
"gruntfuggly.todo-tree",
"eamodio.gitlens",
"Vue.vscode-typescript-vue-plugin",
"Vue.volar",
"csstools.postcss"
],
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"bradlc.vscode-tailwindcss",
"christian-kohler.path-intellisense",
"esbenp.prettier-vscode",
"apollographql.vscode-apollo",
"gruntfuggly.todo-tree",
"eamodio.gitlens",
"Vue.vscode-typescript-vue-plugin",
"csstools.postcss"
]
}
},
"initializeCommand": "cp -n .devcontainer/.env.example .devcontainer/.env && docker-compose -f .devcontainer/docker-compose.yml pull uobtheatre-api",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postAttachCommand": "yarn install && ./node_modules/.bin/cypress install && yarn codegen"
}
}
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

17 changes: 0 additions & 17 deletions .eslintrc.js

This file was deleted.

55 changes: 28 additions & 27 deletions .github/scripts/waiton-api.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
#!/usr/bin/env node
(async function () {
function sleep(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}

var http = require('http')
function sleep(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}

const url = process.argv[2]
const timeout = process.argv[3] || 60
const sampleTime = 1000
var http = require('http');

var continuePolling = true
const startTime = new Date()
const url = process.argv[2];
const timeout = process.argv[3] || 60;
const sampleTime = 1000;

while (continuePolling) {
var req = http.request(url, { method: 'HEAD' }, function (r) {
continuePolling = false;
console.log("Positive connection made to API :)")
process.exit(0)
}).on('error', err => {
console.log('Error: ', err.message);
});
req.end();
var continuePolling = true;
const startTime = new Date();

if ((new Date() - startTime) >= timeout * 1000) {
console.log("Aborting due to timeout")
process.exit(1)
}
while (continuePolling) {
var req = http
.request(url, { method: 'HEAD' }, function (r) {
continuePolling = false;
console.log('Positive connection made to API :)');
process.exit(0);
})
.on('error', (err) => {
console.log('Error: ', err.message);
});
req.end();

await sleep(sampleTime)
if (new Date() - startTime >= timeout * 1000) {
console.log('Aborting due to timeout');
process.exit(1);
}

})()
await sleep(sampleTime);
}
})();
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache node_modules 📦
uses: actions/cache@v3.2.3
uses: actions/cache@v4.0.2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -53,6 +53,9 @@ jobs:
- name: Run linter 👀
run: yarn lint:tsc && yarn lint:js

- name: Check Prettier ✨
run: yarn prettier:check

- name: Load GraphQL 🕸
run: API_BASE=https://staging.api.uobtheatre.com yarn codegen

Expand All @@ -64,7 +67,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@master
Expand All @@ -73,7 +76,7 @@ jobs:
run: cp .env.test .env

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -82,7 +85,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache node_modules 📦
uses: actions/cache@v3.2.3
uses: actions/cache@v4.0.2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -94,7 +97,7 @@ jobs:
name: Install Yarn Dependencies 👨🏻‍💻

- name: Authenticate with GitHub Container Registry 🔒
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.2.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -113,7 +116,7 @@ jobs:
run: API_BASE=http://localhost:9000 yarn codegen

- name: Run End-to-End Tests 🧪
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6.7.1
timeout-minutes: 7
with:
start: yarn beforetest:e2e:ci
Expand Down
10 changes: 5 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"semi": true,
"trailingComma": "none",
"singleQuote": true,
"printWidth": 80
}
"semi": true,
"trailingComma": "none",
"singleQuote": true,
"printWidth": 80
}
25 changes: 12 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.packageManager": "yarn",
"eslint.validate": ["javascript", "javascriptreact", "vue"],
"path-intellisense.mappings": {
"@": "${workspaceRoot}"
},
"eslint.format.enable": true
}
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.validate": ["javascript", "javascriptreact", "vue"],
"path-intellisense.mappings": {
"@": "${workspaceRoot}"
},
"eslint.format.enable": true
}
15 changes: 7 additions & 8 deletions assets/styles/_swal.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// Fix issue with Sweetalert2 text colour
.swal2-container {
// Fix issue with Sweetalert2 text colour
.text-white {
color: white !important;
}
// Fix issue with Sweetalert2 text colour
.text-white {
color: white !important;
}

.swal2-select {
@apply bg-white;
}
.swal2-select {
@apply bg-white;
}
}

2 changes: 1 addition & 1 deletion classes/Booking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
SeatGroupNode,
ConcessionTypeNode
} from '~~/graphql/codegen/operations';
import { IdInput } from '~~/types/generic';
import type { IdInput } from '~~/types/generic';
import TicketsMatrix from './TicketsMatrix';

export default class Booking {
Expand Down
12 changes: 8 additions & 4 deletions classes/Ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type {
SeatGroupNode,
ExtendedUserNode
} from '~~/graphql/codegen/operations';
import { IdInput } from '~~/types/generic';
import { TicketOptions } from '~~/types/performance';
import type { IdInput } from '~~/types/generic';
import type { TicketOptions } from '~~/types/performance';
import { DateTime } from 'luxon';

export default class {
Expand Down Expand Up @@ -56,7 +56,9 @@ export default class {

static dataFromQRCode(rawQRCode: string) {
try {
const result = JSON.parse(atob(rawQRCode));
const result = JSON.parse(
Buffer.from(rawQRCode, 'base64').toString('utf-8')
);

return {
bookingReference: result[0],
Expand Down Expand Up @@ -117,7 +119,9 @@ export default class {
* @returns {string} Base 64 encoded string
*/
generateQRCodeString(bookingReference: string): string {
return btoa(JSON.stringify([bookingReference, this.id]));
return Buffer.from(JSON.stringify([bookingReference, this.id])).toString(
'base64'
);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion classes/TicketsMatrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type {
PerformanceNode,
FullPerformanceAndTicketOptionsQuery
} from '~~/graphql/codegen/operations';
import { IdInput } from '~~/types/generic';
import type { IdInput } from '~~/types/generic';

type Discounts = NonNullable<
FullPerformanceAndTicketOptionsQuery['performance']
Expand Down
2 changes: 1 addition & 1 deletion codegen.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CodegenConfig } from '@graphql-codegen/cli';
import type { CodegenConfig } from '@graphql-codegen/cli';
import publicConfig from './config.public';
require('dotenv').config();

Expand Down
4 changes: 2 additions & 2 deletions components/booking/SeatGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
expanded
? 'bg-sta-orange'
: available
? 'bg-sta-green'
: 'bg-sta-gray-dark border-2 border-sta-rouge',
? 'bg-sta-green'
: 'bg-sta-gray-dark border-2 border-sta-rouge',
available ? 'cursor-pointer' : ''
]"
@click="onHeaderClick"
Expand Down
2 changes: 1 addition & 1 deletion components/booking/SelectedPerformanceBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</template>

<script lang="ts" setup>
import { PerformanceNode } from '~~/graphql/codegen/operations';
import type { PerformanceNode } from '~~/graphql/codegen/operations';
const props = withDefaults(
defineProps<{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
loading
? 'bg-sta-gray-light cursor-not-allowed'
: checkIn
? 'bg-sta-green hover:bg-sta-green-dark'
: 'bg-sta-orange hover:bg-sta-orange-dark'
? 'bg-sta-green hover:bg-sta-green-dark'
: 'bg-sta-orange hover:bg-sta-orange-dark'
]"
@click="onClick"
><template v-if="!loading">{{ buttonText }}</template
Expand Down
4 changes: 2 additions & 2 deletions components/box-office/Booking/BoxOfficeBookingDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
</template>

<script lang="ts" setup>
import { IdInput } from '~~/types/generic';
import {
import type { IdInput } from '~~/types/generic';
import type {
IBookingHeaderProp,
IBookingTicketProp,
IPerformanceSummary
Expand Down
4 changes: 2 additions & 2 deletions components/box-office/Booking/BoxOfficeBookingHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

<script lang="ts">
import pluralize from 'pluralize';
import { PropType } from 'vue';
import { IBookingHeaderProp } from '~~/types/box-office';
import type { PropType } from 'vue';
import type { IBookingHeaderProp } from '~~/types/box-office';
export default defineComponent({
props: {
Expand Down
6 changes: 3 additions & 3 deletions components/box-office/Booking/BoxOfficeBookingInspector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ import type {
import { mutateTicketCheckInState as mutateTicketCheckInStateOperation } from '~~/services/ticketScanService';
import {
BoxOfficePerformanceBookingDocument,
BoxOfficePerformanceBookingQuery,
BoxOfficePerformanceBookingQueryVariables
type BoxOfficePerformanceBookingQuery,
type BoxOfficePerformanceBookingQueryVariables
} from '~~/graphql/codegen/operations';
import { IdInput, PaginationInfo } from '~~/types/generic';
import type { IdInput, PaginationInfo } from '~~/types/generic';
// Props
Expand Down
6 changes: 3 additions & 3 deletions components/box-office/Booking/BoxOfficeBookingList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
</template>

<script lang="ts" setup>
import { BookingNode } from '~~/graphql/codegen/operations';
import { PaginationInfo } from '~~/types/generic';
import { IBookingHeaderProp } from '../../../types/box-office';
import type { BookingNode } from '~~/graphql/codegen/operations';
import type { PaginationInfo } from '~~/types/generic';
import type { IBookingHeaderProp } from '../../../types/box-office';
type Booking = IBookingHeaderProp & Pick<BookingNode, 'id'>;
Expand Down
Loading

0 comments on commit 860ce5c

Please sign in to comment.