This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
forked from eesast/hasura
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request eesast#149 from xiangmy21/dev
refact: delete user table
- Loading branch information
Showing
47 changed files
with
131 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +0,0 @@ | ||
type Query { | ||
user_by_role( | ||
role: String! | ||
): [user_by_role_user!]! | ||
} | ||
|
||
type user_by_role_user { | ||
_id: String! | ||
name: String! | ||
department: String! | ||
} | ||
|
||
type user_by_role_users { | ||
uuid: uuid! | ||
realname: String! | ||
department: String! | ||
} | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,6 @@ | ||
actions: | ||
- name: user_by_role | ||
definition: | ||
kind: "" | ||
handler: https://api.eesast.com/user/user_by_role | ||
forward_client_headers: true | ||
headers: | ||
- name: x-hasura-action-secret | ||
value_from_env: ACTION_SECRET | ||
permissions: | ||
- role: teacher | ||
- role: root | ||
- role: counselor | ||
- role: student | ||
actions: [] | ||
custom_types: | ||
enums: [] | ||
input_objects: [] | ||
objects: | ||
- name: user_by_role_user | ||
relationships: | ||
- field_mapping: | ||
_id: _id | ||
name: user | ||
remote_table: | ||
name: user | ||
schema: public | ||
source: default | ||
type: object | ||
- name: user_by_role_users | ||
objects: [] | ||
scalars: [] |
Oops, something went wrong.