diff --git a/docs/graphql/examples/filter-by-external-site/index.md b/docs/graphql/examples/filter-by-external-site/index.md index 6d9b5b8..06fa549 100644 --- a/docs/graphql/examples/filter-by-external-site/index.md +++ b/docs/graphql/examples/filter-by-external-site/index.md @@ -16,7 +16,7 @@ An external resource may be linked to multiple anime. query ($id: [Int!]) { findAnimeByExternalSite(site: ANILIST, id: $id) { name - mediaFormat + format season year } @@ -43,7 +43,7 @@ None "findAnimeByExternalSite": [ { "name": "Hibike! Euphonium 3", - "mediaFormat": "TV", + "format": "TV", "season": "SPRING", "year": 2024 } diff --git a/docs/graphql/guide/filtering/index.md b/docs/graphql/guide/filtering/index.md index 3265108..d3f05df 100644 --- a/docs/graphql/guide/filtering/index.md +++ b/docs/graphql/guide/filtering/index.md @@ -31,30 +31,6 @@ query { } ``` -## Trashed Filter - -Queries that return a type implementing soft deletes have a `trashed` filter. - -The argument is `trashed: TrashedFilter`, which allows filtering to determine if trashed elements should be fetched. - -`TrashedFilter` is an enum with the following values: - -| Value | Description | -| :----------: | :------------------------------------------- | -| ONLY | Only return trashed results. | -| WITH | Return both trashed and non-trashed results. | -| WITHOUT | Only return non-trashed results. | - -```graphql -query { - animePagination(trashed: ONLY) { - data { - name - } - } -} -``` - ## Relationship Filtering Filtering in relationships is applied **ONLY** to the relationship and does not affect the previous root. diff --git a/docs/graphql/guide/relationships/index.md b/docs/graphql/guide/relationships/index.md index 8282ffe..74c22d8 100644 --- a/docs/graphql/guide/relationships/index.md +++ b/docs/graphql/guide/relationships/index.md @@ -16,9 +16,9 @@ A one-to-many relationship has a list of objects that reference the related type And an inverse one-to-many relationship has a unique object that references the related type. ```graphql -query { - animethemePagination { - data { +query($slug: String!) { + anime(slug: $slug) { + animethemes { sequence animethemeentries(first: 1, version: 1) { # Inverse One-to-Many version diff --git a/docs/graphql/migrating/index.md b/docs/graphql/migrating/index.md index e939f2d..da3fc7d 100644 --- a/docs/graphql/migrating/index.md +++ b/docs/graphql/migrating/index.md @@ -18,12 +18,12 @@ Affected Fields: * end_at -> endAt * email_verified_at -> emailVerifiedAt * two_factor_confirmed_at -> twoFactorConfirmedAt -* guard_name -> guardName -* media_format -> mediaFormat +* guard_name -> guardName (removed) +* media_format -> format * external_id -> externalId * created_at -> createdAt * updated_at -> updatedAt -* deleted_at -> deletedAt +* deleted_at -> deletedAt (removed) ## Artists to Performances diff --git a/docs/jsonapi/reference/auth/permission/index.md b/docs/jsonapi/reference/auth/permission/index.md index b0e75b9..713db42 100644 --- a/docs/jsonapi/reference/auth/permission/index.md +++ b/docs/jsonapi/reference/auth/permission/index.md @@ -14,6 +14,5 @@ A permission API resource represents an assignable label for users and roles tha | :--------: | :-----: | :------: | :-----: | :------------------------------------------- | | id | Integer | No | Yes | The primary key of the resource | | name | String | No | Yes | The label of the resource | -| guard_name | String | No | Yes | The authentication guard 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 | \ No newline at end of file diff --git a/docs/jsonapi/reference/auth/role/index.md b/docs/jsonapi/reference/auth/role/index.md index 472e786..322f5cf 100644 --- a/docs/jsonapi/reference/auth/role/index.md +++ b/docs/jsonapi/reference/auth/role/index.md @@ -14,7 +14,6 @@ A role API resource represents an assignable label for users that provides a con | :--------: | :-----: | :------: | :-----: | :------------------------------------------------------------------------------------- | | id | Integer | No | Yes | The primary key of the resource | | name | String | No | Yes | The label of the resource | -| guard_name | String | No | Yes | The authentication guard of the resource | | default | Boolean | No | Yes | Is the role assigned on account verification? | | color | String | Yes | Yes | The hex representation of the color used to distinguish the resource | | priority | Integer | Yes | Yes | The weight assigned to the resource, where higher values correspond to higher priority |