diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index af5b740..1b39493 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -48,7 +48,9 @@ export default { items: [ { text: 'Index', link: '/admin/' }, { text: 'Announcement', link: '/admin/announcement/' }, - { text: 'Dump', link: '/admin/dump/' } + { text: 'Dump', link: '/admin/dump/' }, + { text: 'Feature', link: '/admin/feature/' }, + { text: 'Featured Theme', link: '/admin/featuredtheme/' } ], }, { @@ -73,7 +75,6 @@ export default { text: 'Config', items: [ { text: 'Index', link: '/config/' }, - { text: 'Flags', link: '/config/flags/' }, { text: 'Wiki', link: '/config/wiki/' } ] }, @@ -160,6 +161,31 @@ export default { { text: 'Store', link: '/admin/dump/store/' }, { text: 'Update', link: '/admin/dump/update/' } ] + }, + { + text: 'Feature', + collapsed: true, + items: [ + { text: 'Resource', link: '/admin/feature/' }, + { text: 'Index', link: '/admin/feature/index/' }, + { text: 'Show', link: '/admin/feature/show/' }, + { text: 'Update', link: '/admin/feature/update/' } + ] + }, + { + text: 'Featured Theme', + collapsed: true, + items: [ + { text: 'Resource', link: '/admin/featuredtheme/' }, + { text: 'Current', link: '/admin/featuredtheme/current/' }, + { text: 'Destroy', link: '/admin/featuredtheme/destroy/' }, + { text: 'Force Delete', link: '/admin/featuredtheme/forceDelete/' }, + { text: 'Index', link: '/admin/featuredtheme/index/' }, + { text: 'Restore', link: '/admin/featuredtheme/restore/' }, + { text: 'Show', link: '/admin/featuredtheme/show/' }, + { text: 'Store', link: '/admin/featuredtheme/store/' }, + { text: 'Update', link: '/admin/featuredtheme/update/' } + ] } ], '/auth/': [ @@ -225,14 +251,6 @@ export default { } ], '/config/': [ - { - text: 'Feature Flags', - collapsed: true, - items: [ - { text: 'Resource', link: '/config/flags/' }, - { text: 'Show', link: '/config/flags/show/' } - ] - }, { text: 'Wiki Config', collapsed: true, diff --git a/docs/admin/feature/index.md b/docs/admin/feature/index.md new file mode 100644 index 0000000..3baf836 --- /dev/null +++ b/docs/admin/feature/index.md @@ -0,0 +1,39 @@ +--- +title: Feature +--- + +# Feature + +--- + +A feature API resource represents a feature flag that enable/disable site functionalities. + +For example, the 'allow_discord_notifications' feature enables/disables discord notifications for the configured bot. + +## Fields + +| Name | Type | Nullable | Default | Description | +| :--------: | :-----: | :------: | :-----: | :--------------------------------------------| +| id | Integer | No | Yes | The primary key of the resource | +| name | String | No | Yes | The title of the resource | +| value | String | No | Yes | The value of the resource | +| created_at | Date | No | No | The date that the resource was created | +| updated_at | Date | No | No | The date that the resource was last modified | + +## Allowed Include Paths + +None + +## Endpoints + +**[Feature Index](/admin/feature/index/)** + +The feature index endpoint displays a listing of feature resources. + +**[Feature Show](/admin/feature/show/)** + +The feature show endpoint returns a feature resource. + +**[Feature Update](/admin/feature/update/)** + +The feature update endpoint updates a feature and returns the updated feature resource. \ No newline at end of file diff --git a/docs/admin/feature/index/index.md b/docs/admin/feature/index/index.md new file mode 100644 index 0000000..76b7cb7 --- /dev/null +++ b/docs/admin/feature/index/index.md @@ -0,0 +1,84 @@ +--- +title: Feature Index +--- + +# Feature Index Endpoint + +The feature index endpoint returns a listing of feature resources. + +## URL + +```sh +GET /feature/ +``` + +## Authentication + +None + +## Parameters + +| Name | Required | Description | +| :----------: | :------: | :-------------------------------------------------------------- | +| fields | No | Sparse fieldsets for resource types | +| filter | No | Filters for feature resources | +| page[number] | No | The page of feature resources to display | +| page[size] | No | The number of feature resources to display for the current page | +| sort | No | The list of fields to sort the feature resources | + +## Allowed Sort Fields + +| Name | Description | +| :--------: | :------------------------------------------------------------------ | +| id | Sort resources on the primary key | +| name | Sort resources on the title of the resource | +| value | Sort resources on the value of the resource | +| created_at | Sort resources on the resource creation date | +| updated_at | Sort resources on the resource last modified date | +| random | Sort resources randomly. Ignored if other sort fields are provided. | + +## Filters + +| Name | Description | +| :--------: | :-------------------------------------------------- | +| id | Filter resources on the primary key | +| name | Filter resources on the title of the resource | +| value | Filter resources on the value of the resource | +| created_at | Filter resources on the resource creation date | +| updated_at | Filter resources on the resource last modified date | + +## Response + +```json +{ + features: [ + { + id: id, + name: "name", + value: "value", + created_at: "created_at", + updated_at: "updated_at" + }, + ... + ], + links: { + first: "first", + last: "last", + prev: "prev", + next: "next" + }, + meta: { + current_page: current_page, + from: from, + path: "path", + per_page: per_page, + to: to + } +} +``` + +## Example + +```bash +curl https://api.animethemes.moe/feature/ +``` diff --git a/docs/admin/feature/show/index.md b/docs/admin/feature/show/index.md new file mode 100644 index 0000000..8257595 --- /dev/null +++ b/docs/admin/feature/show/index.md @@ -0,0 +1,43 @@ +--- +title: Feature Show +--- + +# Feature Show Endpoint + +The feature show endpoint returns a feature resource. + +## URL + +```sh +GET /feature/{id} +``` + +## Authentication + +None + +## Parameters + +| Name | Required | Description | +| :-----: | :------: | :------------------------------------------------------ | +| fields | No | Sparse fieldsets for resource types | + +## Response + +```json +{ + feature: { + id: id, + name: "name", + value: "value", + created_at: "created_at", + updated_at: "updated_at" + } +} +``` + +## Example + +```bash +curl https://api.animethemes.moe/feature/1 +``` diff --git a/docs/admin/feature/update/index.md b/docs/admin/feature/update/index.md new file mode 100644 index 0000000..8735b61 --- /dev/null +++ b/docs/admin/feature/update/index.md @@ -0,0 +1,47 @@ +--- +title: Feature Update +--- + +# Feature Update Endpoint + +The feature update endpoint updates a feature and returns the updated feature resource. + +For example, the `/feature/1?value=false` endpoint will update the feature path attribute and return the updated feature resource. + +## URL + +```sh +PUT|PATCH /feature/{id} +``` + +## Authentication + +**Required Permission**: update feature + +**Roles with Permission**: Admin + +## Parameters + +| Name | Required | Rules | +| :-----: | :------: | :---------------- | +| value | No | string, max:192 | + +## Response + +```json +{ + feature: { + id: id, + name: "name", + value: "value", + created_at: "created_at", + updated_at: "updated_at" + } +} +``` + +## Example + +```bash +curl -X PATCH -H "Authorization: Bearer {token}" https://api.animethemes.moe/feature/1 +``` diff --git a/docs/admin/featuredtheme/current/index.md b/docs/admin/featuredtheme/current/index.md new file mode 100644 index 0000000..fe1d462 --- /dev/null +++ b/docs/admin/featuredtheme/current/index.md @@ -0,0 +1,47 @@ +--- +title: Current Featured Theme Show +--- + +# Current Featured Theme Show Endpoint + +The current featured theme show endpoint returns the first featured theme where the current date is between start_at and end_at dates. + +## URL + +```sh +GET /current/featuredtheme/ +``` + +## Authentication + +None + +## Parameters + +| Name | Required | Description | +| :-----: | :------: | :------------------------------------------------------ | +| fields | No | Sparse fieldsets for resource types | +| filter | No | Filters to constrain the inclusion of related resources | +| include | No | Inclusion of related resources | +| sort | No | Sort related resources | + +## Response + +```json +{ + featuredtheme: { + id: id, + start_at: "start_at", + end_at: "end_at", + created_at: "created_at", + updated_at: "updated_at", + deleted_at: "deleted_at" + } +} +``` + +## Example + +```bash +curl https://api.animethemes.moe/current/featuredtheme/ +``` diff --git a/docs/admin/featuredtheme/destroy/index.md b/docs/admin/featuredtheme/destroy/index.md new file mode 100644 index 0000000..b788699 --- /dev/null +++ b/docs/admin/featuredtheme/destroy/index.md @@ -0,0 +1,48 @@ +--- +title: Featured Theme Destroy +--- + +# Featured Theme Destroy Endpoint + +The featured theme destroy endpoint soft deletes a featured theme and returns the deleted featured theme resource. + +For example, the `/featuredtheme/1` endpoint will soft delete the featured theme of id '1' and return the deleted featured theme resource. + +## URL + +```sh +DELETE /featuredtheme/{id} +``` + +## Authentication + +**Required Permission**: delete featured theme + +**Roles with Permission**: Admin + +**Other Requirements**: Featured Theme must not be soft deleted + +## Parameters + +None + +## Response + +```json +{ + featuredtheme: { + id: id, + start_at: "start_at", + end_at: "end_at", + created_at: "created_at", + updated_at: "updated_at", + deleted_at: "deleted_at" + } +} +``` + +## Example + +```bash +curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/featuredtheme/1 +``` diff --git a/docs/admin/featuredtheme/forceDelete/index.md b/docs/admin/featuredtheme/forceDelete/index.md new file mode 100644 index 0000000..2fe3344 --- /dev/null +++ b/docs/admin/featuredtheme/forceDelete/index.md @@ -0,0 +1,39 @@ +--- +title: Featured Theme Force Delete +--- + +# Featured Theme Force Delete Endpoint + +The featured theme force delete endpoint hard deletes a featured theme and returns a confirmation message. + +For example, the `/forceDelete/featuredtheme/1` endpoint will hard delete the featured theme of id '1' and return a confirmation message. + +## URL + +```sh +DELETE /forceDelete/featuredtheme/{id} +``` + +## Authentication + +**Required Permission**: force delete featured theme + +**Roles with Permission**: Admin + +## Parameters + +None + +## Response + +```json +{ + message: "The Featured Theme '1' was deleted.", +} +``` + +## Example + +```bash +curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/forceDelete/featuredtheme/1 +``` diff --git a/docs/admin/featuredtheme/index.md b/docs/admin/featuredtheme/index.md new file mode 100644 index 0000000..220b718 --- /dev/null +++ b/docs/admin/featuredtheme/index.md @@ -0,0 +1,65 @@ +--- +title: Featured Theme +--- + +# Featured Theme + +--- + +A featured theme API resource represents a video to be featured on the homepage of the site for a specified amount of time. + +## Fields + +| Name | Type | Nullable | Default | Description | +| :--------: | :-----: | :------: | :-----: | :--------------------------------------------| +| id | Integer | No | Yes | The primary key of the resource | +| start_at | Date | No | Yes | The start date of the resource | +| end_at | Date | No | Yes | The end date of the resource | +| created_at | Date | No | No | The date that the resource was created | +| updated_at | Date | No | No | The date that the resource was last modified | +| deleted_at | Date | Yes | No | The date that the resource was deleted | + +## Allowed Include Paths + +* animethemeentry +* animethemeentry.animetheme +* animethemeentry.animetheme.anime +* animethemeentry.animetheme.anime.images +* animethemeentry.animetheme.song +* animethemeentry.animetheme.song.artists +* user +* video + +## Endpoints + +**[Current Featured Theme Show](/admin/featuredtheme/current/)** + +The current featured theme show endpoint returns the first featured theme where the current date is between start_at and end_at dates. + +**[Featured Theme Destroy](/admin/featuredtheme/destroy/)** + +The featured theme destroy endpoint soft deletes a featured theme and returns the deleted featured theme resource. + +**[Featured Theme Force Delete](/admin/featuredtheme/forceDelete/)** + +The featured theme force delete endpoint hard deletes a featured theme and returns a confirmation message. + +**[Featured Theme Index](/admin/featuredtheme/index/)** + +The featured theme index endpoint displays a listing of featured theme resources. + +**[Featured Theme Restore](/admin/featuredtheme/restore/)** + +The featured theme restore endpoint restores a soft deleted featured theme and returns the restored featured theme resource. + +**[Featured Theme Show](/admin/featuredtheme/show/)** + +The featured theme show endpoint returns a featured theme resource. + +**[Featured Theme Store](/admin/featuredtheme/store/)** + +The featured theme store endpoint creates a new featured theme and returns the new featured theme resource. + +**[Featured Theme Update](/admin/featuredtheme/update/)** + +The featured theme update endpoint updates a featured theme and returns the updated featured theme resource. \ No newline at end of file diff --git a/docs/admin/featuredtheme/index/index.md b/docs/admin/featuredtheme/index/index.md new file mode 100644 index 0000000..e76d5e9 --- /dev/null +++ b/docs/admin/featuredtheme/index/index.md @@ -0,0 +1,88 @@ +--- +title: Featured Theme Index +--- + +# Featured Theme Index Endpoint + +The featured theme index endpoint returns a listing of featured theme resources whose start date is on or before the current date. + +## URL + +```sh +GET /featuredtheme/ +``` + +## Authentication + +None + +## Parameters + +| Name | Required | Description | +| :----------: | :------: | :--------------------------------------------------------------------- | +| fields | No | Sparse fieldsets for resource types | +| filter | No | Filters for featured theme resources | +| page[number] | No | The page of featured theme resources to display | +| page[size] | No | The number of featured theme resources to display for the current page | +| sort | No | The list of fields to sort the featured theme resources | + +## Allowed Sort Fields + +| Name | Description | +| :--------: | :------------------------------------------------------------------ | +| id | Sort resources on the primary key | +| start_at | Sort resources on the resource start date | +| end_at | Sort resources on the resource end date | +| created_at | Sort resources on the resource creation date | +| updated_at | Sort resources on the resource last modified date | +| deleted_at | Sort resources on the resource deletion date | +| random | Sort resources randomly. Ignored if other sort fields are provided. | + +## Filters + +| Name | Description | +| :--------: | :----------------------------------------------------------------- | +| id | Filter resources on the primary key | +| start_at | Filter resources on the resource start date | +| end_at | Filter resources on the resource end date | +| created_at | Filter resources on the resource creation date | +| updated_at | Filter resources on the resource last modified date | +| deleted_at | Filter resources on the resource deletion date | +| trashed | Filter resources on trashed (deleted) status [With, Without, Only] | + +## Response + +```json +{ + featuredthemes: [ + { + id: id, + start_at: "start_at", + end_at: "end_at", + created_at: "created_at", + updated_at: "updated_at", + deleted_at: "deleted_at" + }, + ... + ], + links: { + first: "first", + last: "last", + prev: "prev", + next: "next" + }, + meta: { + current_page: current_page, + from: from, + path: "path", + per_page: per_page, + to: to + } +} +``` + +## Example + +```bash +curl https://api.animethemes.moe/featuredtheme/ +``` diff --git a/docs/admin/featuredtheme/restore/index.md b/docs/admin/featuredtheme/restore/index.md new file mode 100644 index 0000000..2d0eead --- /dev/null +++ b/docs/admin/featuredtheme/restore/index.md @@ -0,0 +1,48 @@ +--- +title: Featured Theme Restore +--- + +# Featured Theme Restore Endpoint + +The featured theme restore endpoint restores a soft deleted featured theme and returns the restored featured theme resource. + +For example, the `/restore/featuredtheme/1` endpoint will restore the soft deleted featured theme of id '1' and return the restored featured theme resource. + +## URL + +```sh +PATCH /restore/featuredtheme/{id} +``` + +## Authentication + +**Required Permission**: restore featured theme + +**Roles with Permission**: Admin + +**Other Requirements**: Featured Theme must be soft deleted + +## Parameters + +None + +## Response + +```json +{ + featuredtheme: { + id: id, + start_at: "start_at", + end_at: "end_at", + created_at: "created_at", + updated_at: "updated_at", + deleted_at: "deleted_at" + } +} +``` + +## Example + +```bash +curl -X PATCH -H "Authorization: Bearer {token}" https://api.animethemes.moe/restore/featuredtheme/1 +``` diff --git a/docs/admin/featuredtheme/show/index.md b/docs/admin/featuredtheme/show/index.md new file mode 100644 index 0000000..19df6a2 --- /dev/null +++ b/docs/admin/featuredtheme/show/index.md @@ -0,0 +1,47 @@ +--- +title: Featured Theme Show +--- + +# Featured Theme Show Endpoint + +The featured theme show endpoint returns a featured theme resource. + +## URL + +```sh +GET /featuredtheme/{id} +``` + +## Authentication + +**Other Requirements**: The start_at date must be on or before the current date + +## Parameters + +| Name | Required | Description | +| :-----: | :------: | :------------------------------------------------------ | +| fields | No | Sparse fieldsets for resource types | +| filter | No | Filters to constrain the inclusion of related resources | +| include | No | Inclusion of related resources | +| sort | No | Sort related resources | + +## Response + +```json +{ + featuredtheme: { + id: id, + start_at: "start_at", + end_at: "end_at", + created_at: "created_at", + updated_at: "updated_at", + deleted_at: "deleted_at" + } +} +``` + +## Example + +```bash +curl https://api.animethemes.moe/featuredtheme/1 +``` diff --git a/docs/admin/featuredtheme/store/index.md b/docs/admin/featuredtheme/store/index.md new file mode 100644 index 0000000..c12a49c --- /dev/null +++ b/docs/admin/featuredtheme/store/index.md @@ -0,0 +1,52 @@ +--- +title: Featured Theme Store +--- + +# Featured Theme Store Endpoint + +The featured theme store endpoint creates a new featured theme and returns the new featured theme resource. + +For example, the `/featuredtheme?start_at=2023-01-01&end_at=2023-01-07` endpoint will create a new featured theme and return the new featured theme resource. + +## URL + +```sh +POST /featuredtheme +``` + +## Authentication + +**Required Permission**: create featured theme + +**Roles with Permission**: Admin + +## Parameters + +| Name | Required | Rules | +| :------: | :------: | :--------------------------------------------------------------------------------- | +| start_at | Yes | date_format:Y-m-d\TH:i:s.u, before:end_at | +| end_at | Yes | date_format:Y-m-d\TH:i:s.u, after:start_at | +| entry_id | No | integer, Entry ID Exists, Anime Theme Entry Video Exists when video_id is provided | +| user_id | No | integer, User ID Exists | +| video_id | No | integer, Video ID Exists, Anime Theme Entry Video Exists when entry_id is provided | + +## Response + +```json +{ + featuredtheme: { + id: id, + start_at: "start_at", + end_at: "end_at", + created_at: "created_at", + updated_at: "updated_at", + deleted_at: "deleted_at" + } +} +``` + +## Example + +```bash +curl -X POST -H "Authorization: Bearer {token}" https://api.animethemes.moe/featuredtheme/ +``` diff --git a/docs/admin/featuredtheme/update/index.md b/docs/admin/featuredtheme/update/index.md new file mode 100644 index 0000000..2d47629 --- /dev/null +++ b/docs/admin/featuredtheme/update/index.md @@ -0,0 +1,54 @@ +--- +title: Featured Theme Update +--- + +# Featured Theme Update Endpoint + +The featured theme update endpoint updates a featured theme and returns the updated featured theme resource. + +For example, the `/featuredtheme/1?start_at=2023-01-01` endpoint will update the featured theme start_at attribute and return the updated featured theme resource. + +## URL + +```sh +PUT|PATCH /featuredtheme/{id} +``` + +## Authentication + +**Required Permission**: update featured theme + +**Roles with Permission**: Admin + +**Other Requirements**: Featured Theme must not be soft deleted + +## Parameters + +| Name | Required | Rules | +| :------: | :------: | :--------------------------------------------------------------------------------- | +| start_at | No | date_format:Y-m-d\TH:i:s.u, before:end_at | +| end_at | No | date_format:Y-m-d\TH:i:s.u, after:start_at | +| entry_id | No | integer, Entry ID Exists, Anime Theme Entry Video Exists when video_id is provided | +| user_id | No | integer, User ID Exists | +| video_id | No | integer, Video ID Exists, Anime Theme Entry Video Exists when entry_id is provided | + +## Response + +```json +{ + featuredtheme: { + id: id, + start_at: "start_at", + end_at: "end_at", + created_at: "created_at", + updated_at: "updated_at", + deleted_at: "deleted_at" + } +} +``` + +## Example + +```bash +curl -X PATCH -H "Authorization: Bearer {token}" https://api.animethemes.moe/featuredtheme/1 +``` diff --git a/docs/admin/index.md b/docs/admin/index.md index 349e7e8..23c3ee8 100644 --- a/docs/admin/index.md +++ b/docs/admin/index.md @@ -16,4 +16,12 @@ An announcement API resource represents a site-wide message to be broadcasted on **[Dump](/admin/dump/)** -A dump API resource represents a database dump of selected tables at a given point in time. \ No newline at end of file +A dump API resource represents a database dump of selected tables at a given point in time. + +**[Feature](/admin/feature/)** + +A feature API resource represents a feature flag that enable/disable site functionalities. + +**[Featured Theme](/admin/featuredtheme/)** + +A featured theme API resource represents a video to be featured on the homepage of the site for a specified amount of time. \ No newline at end of file diff --git a/docs/config/flags/index.md b/docs/config/flags/index.md deleted file mode 100644 index 3ec4fdc..0000000 --- a/docs/config/flags/index.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Flags ---- - -# Flags - ---- - -The config flags API resource contains the list of feature flags that enable/disable site functionalities. - -## Fields - -| Name | Type | Nullable | Default | Description | -| :-------------------------: | :-----: | :------: | :-----: | :---------------------------------------------------------- | -| allow_video_streams | Boolean | No | Yes | Enable/Disable video streaming | -| allow_audio_streams | Boolean | No | Yes | Enable/Disable audio streaming | -| allow_discord_notifications | Boolean | No | Yes | Enable/Disable discord notifications for the configured bot | -| allow_view_recording | Boolean | No | Yes | Enable/Disable the recording of views for view counts | -| allow_dump_downloading | Boolean | No | Yes | Enable/Disable database dump downloading | -| allow_script_downloading | Boolean | No | Yes | Enable/Disable encoding script downloading | - -## Allowed Include Paths - -None - -### Endpoints - -**[Flags Show](/config/flags/show/)** - -The Flags Show endpoint return the flags resource. \ No newline at end of file diff --git a/docs/config/flags/show/index.md b/docs/config/flags/show/index.md deleted file mode 100644 index 1568237..0000000 --- a/docs/config/flags/show/index.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: Flags Show ---- - -# Flags Show Endpoint - -The flags show endpoint returns the flags resource. - -## URL - -```sh -GET /config/flags -``` - -## Authentication - -None - -## Parameters - -| Name | Required | Description | -| :-----: | :------: | :------------------------------------------------------ | -| fields | No | Sparse fieldsets for resource types | - -## Response - -```json -{ - flags: { - allow_video_streams: allow_video_streams, - allow_audio_streams: allow_audio_streams, - allow_discord_notifications: allow_discord_notifications, - allow_view_recording: allow_view_recording, - allow_dump_downloading: allow_dump_downloading, - allow_script_downloading: allow_script_downloading - } -} -``` - -## Example - -```bash -curl https://api.animethemes.moe/config/flags -``` diff --git a/docs/config/index.md b/docs/config/index.md index 542a173..a5226c4 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -10,10 +10,6 @@ Config API resources pertain to site configuration. ## Resources -**[Flags](/config/flags/)** - -The config flags API resource contains the list of feature flags that enable/disable site functionalities. - **[Wiki](/config/wiki/)** The config wiki API resource contains the list of settings that impact animethemes-web functionalities. \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 955dc4c..71934a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "dotenv": "^16.0.3", - "vitepress": "^1.0.0-alpha.76" + "vitepress": "^1.0.0-beta.1" } }, "node_modules/@algolia/autocomplete-core": { @@ -154,9 +154,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.21.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.8.tgz", - "integrity": "sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==", + "version": "7.21.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.9.tgz", + "integrity": "sha512-q5PNg/Bi1OpGgx5jYlvWZwAorZepEudDMCLtj967aeS7WMont7dUZI46M2XwcIQqvUlMxWfdLFu4S/qSxeUu5g==", "bin": { "parser": "bin/babel-parser.js" }, @@ -1028,9 +1028,9 @@ } }, "node_modules/rollup": { - "version": "3.22.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.22.1.tgz", - "integrity": "sha512-ZI+GSAqOkCyTtJPlwyPOaYKa0RqvztN4miRVusVJseMj6BIBT2f6pFeK90IdJsQ86FLMYkxju2whuck3yKPE4Q==", + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.23.0.tgz", + "integrity": "sha512-h31UlwEi7FHihLe1zbk+3Q7z1k/84rb9BSwmBSr/XjOCEaBJ2YyedQDuM0t/kfOS0IxM+vk1/zI9XxYj9V+NJQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -1114,9 +1114,9 @@ } }, "node_modules/vitepress": { - "version": "1.0.0-alpha.76", - "resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-alpha.76.tgz", - "integrity": "sha512-fzR1pDpGnSMeCJ+AnDdMe/ETD2G0Go+g6mTxDv9ps7Hmr1JjVqw97nasCyZg3jgfQxi2nt78EJ/bw7hY5n/rlw==", + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-beta.1.tgz", + "integrity": "sha512-V2yyCwQ+v9fh7rbnGDLp8M7vHa9sLElexXf/JHtBOsOwv7ed9wt1QI4WUagYgKR3TeoJT9v2s6f0UaQSne0EvQ==", "dependencies": { "@docsearch/css": "^3.3.5", "@docsearch/js": "^3.3.5", diff --git a/package.json b/package.json index ba48a3f..ef6da2f 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,6 @@ "license": "MIT", "dependencies": { "dotenv": "^16.0.3", - "vitepress": "^1.0.0-alpha.76" + "vitepress": "^1.0.0-beta.1" } }