File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/pages/[platform]/build-a-backend/data/data-modeling/disable-operations Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,30 +49,30 @@ export const schema = a.schema({
49
49
});
50
50
```
51
51
52
- ##Available Operation Types
52
+ ## Available Operation Types
53
53
54
54
The disableOperations method accepts an array of operation types that you want to disable:
55
55
56
- ###General Operation Categories
56
+ ### General Operation Categories
57
57
58
58
"mutations": Disables all mutation operations (create, update, delete)
59
59
"subscriptions": Disables all real-time subscription operations (onCreate, onUpdate, onDelete)
60
60
"queries": Disables all query operations (get, list)
61
61
62
- ###Specific Operations
62
+ ### Specific Operations
63
63
You can also disable more granular operations:
64
64
Query Operations
65
65
66
66
"get": Disables the ability to fetch a single item by ID
67
67
"list": Disables the ability to fetch multiple items
68
68
69
- ###Mutation Operations
69
+ ### Mutation Operations
70
70
71
71
"create": Disables the ability to create new items
72
72
"update": Disables the ability to update existing items
73
73
"delete": Disables the ability to delete items
74
74
75
- ###Subscription Operations
75
+ ### Subscription Operations
76
76
77
77
"onCreate": Disables real-time notifications when items are created
78
78
"onUpdate": Disables real-time notifications when items are updated
You can’t perform that action at this time.
0 commit comments