Skip to content

Commit 2a1cb7e

Browse files
authored
Adds patch option (#22)
* Adds patch option * Adds admin role enum
1 parent 0e2da82 commit 2a1cb7e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

basic-fetch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export enum FetchType {
33
POST = "POST",
44
PUT = "PUT",
55
DELETE = "DELETE",
6+
PATCH = "PATCH"
67
}
78

89
// error logic faulty => does both, error & not error if both are provided

enums/enums.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,9 @@ export enum StrategyStepType {
111111
CURRENT_TIME = "CURRENT_TIME",
112112
COMPLIANT_WEBSEARCH = "COMPLIANT_WEBSEARCH",
113113

114-
}
114+
}
115+
116+
117+
export enum AdminRole {
118+
ADMIN = "ADMIN",
119+
}

0 commit comments

Comments
 (0)