mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
feat: adding color and priority attributes to role (#82)
This commit is contained in:
+10
-8
@@ -10,11 +10,13 @@ A role API resource represents an assignable label for users that provides a con
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Nullable | Default | Description |
|
||||
| :--------: | :-----: | :------: | :-----: | :-------------------------------------------- |
|
||||
| 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? |
|
||||
| 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 |
|
||||
| Name | Type | Nullable | Default | Description |
|
||||
| :--------: | :-----: | :------: | :-----: | :------------------------------------------------------------------------------------- |
|
||||
| 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 |
|
||||
| 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 |
|
||||
Generated
+4
-4
@@ -10,7 +10,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"dotenv": "^16.0.3",
|
||||
"vitepress": "^1.0.0-alpha.59"
|
||||
"vitepress": "^1.0.0-alpha.60"
|
||||
}
|
||||
},
|
||||
"node_modules/@algolia/autocomplete-core": {
|
||||
@@ -1057,9 +1057,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vitepress": {
|
||||
"version": "1.0.0-alpha.59",
|
||||
"resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-alpha.59.tgz",
|
||||
"integrity": "sha512-kKs/srBf4n4uWalhD3jvMkyXbszq4sDW5rx2RdWwhUZJE9Fm9dmL6BRf0IfLnPpEJWIiM5loQf/8ndspm5g7tQ==",
|
||||
"version": "1.0.0-alpha.60",
|
||||
"resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-alpha.60.tgz",
|
||||
"integrity": "sha512-GI5iLDkZRqGEPixbSloT+p6pbKcMh9ykRRxt8vf9AjV1gaPit6Stg/t9WNxTdIhKVCuQMexGs1605DNApSRK2A==",
|
||||
"dependencies": {
|
||||
"@docsearch/css": "^3.3.3",
|
||||
"@docsearch/js": "^3.3.3",
|
||||
|
||||
+1
-1
@@ -16,6 +16,6 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"dotenv": "^16.0.3",
|
||||
"vitepress": "^1.0.0-alpha.59"
|
||||
"vitepress": "^1.0.0-alpha.60"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user