aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/users
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/users')
-rw-r--r--shared/extra-utils/users/accounts-command.ts3
-rw-r--r--shared/extra-utils/users/blocklist-command.ts5
-rw-r--r--shared/extra-utils/users/subscriptions-command.ts6
3 files changed, 14 insertions, 0 deletions
diff --git a/shared/extra-utils/users/accounts-command.ts b/shared/extra-utils/users/accounts-command.ts
index 89c080e93..4cd1d2158 100644
--- a/shared/extra-utils/users/accounts-command.ts
+++ b/shared/extra-utils/users/accounts-command.ts
@@ -17,6 +17,7 @@ export class AccountsCommand extends AbstractCommand {
17 17
18 path, 18 path,
19 query: { sort }, 19 query: { sort },
20 implicitToken: false,
20 defaultExpectedStatus: HttpStatusCode.OK_200 21 defaultExpectedStatus: HttpStatusCode.OK_200
21 }) 22 })
22 } 23 }
@@ -30,6 +31,7 @@ export class AccountsCommand extends AbstractCommand {
30 ...options, 31 ...options,
31 32
32 path, 33 path,
34 implicitToken: false,
33 defaultExpectedStatus: HttpStatusCode.OK_200 35 defaultExpectedStatus: HttpStatusCode.OK_200
34 }) 36 })
35 } 37 }
@@ -48,6 +50,7 @@ export class AccountsCommand extends AbstractCommand {
48 50
49 path, 51 path,
50 query, 52 query,
53 implicitToken: true,
51 defaultExpectedStatus: HttpStatusCode.OK_200 54 defaultExpectedStatus: HttpStatusCode.OK_200
52 }) 55 })
53 } 56 }
diff --git a/shared/extra-utils/users/blocklist-command.ts b/shared/extra-utils/users/blocklist-command.ts
index 96afdc3fd..089b5a579 100644
--- a/shared/extra-utils/users/blocklist-command.ts
+++ b/shared/extra-utils/users/blocklist-command.ts
@@ -56,6 +56,7 @@ export class BlocklistCommand extends AbstractCommand {
56 accountName: account, 56 accountName: account,
57 host: server 57 host: server
58 }, 58 },
59 implicitToken: true,
59 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 60 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204
60 }) 61 })
61 } 62 }
@@ -78,6 +79,7 @@ export class BlocklistCommand extends AbstractCommand {
78 accountName: account, 79 accountName: account,
79 host: server 80 host: server
80 }, 81 },
82 implicitToken: true,
81 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 83 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204
82 }) 84 })
83 } 85 }
@@ -98,6 +100,7 @@ export class BlocklistCommand extends AbstractCommand {
98 ...options, 100 ...options,
99 101
100 path, 102 path,
103 implicitToken: true,
101 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 104 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204
102 }) 105 })
103 } 106 }
@@ -116,6 +119,7 @@ export class BlocklistCommand extends AbstractCommand {
116 ...options, 119 ...options,
117 120
118 path, 121 path,
122 implicitToken: true,
119 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 123 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204
120 }) 124 })
121 } 125 }
@@ -128,6 +132,7 @@ export class BlocklistCommand extends AbstractCommand {
128 132
129 path, 133 path,
130 query: { start, count, sort }, 134 query: { start, count, sort },
135 implicitToken: true,
131 defaultExpectedStatus: HttpStatusCode.OK_200 136 defaultExpectedStatus: HttpStatusCode.OK_200
132 }) 137 })
133 } 138 }
diff --git a/shared/extra-utils/users/subscriptions-command.ts b/shared/extra-utils/users/subscriptions-command.ts
index 94d2af67a..e998eb426 100644
--- a/shared/extra-utils/users/subscriptions-command.ts
+++ b/shared/extra-utils/users/subscriptions-command.ts
@@ -14,6 +14,7 @@ export class SubscriptionsCommand extends AbstractCommand {
14 14
15 path, 15 path,
16 fields: { uri: options.targetUri }, 16 fields: { uri: options.targetUri },
17 implicitToken: true,
17 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 18 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204
18 }) 19 })
19 } 20 }
@@ -33,6 +34,7 @@ export class SubscriptionsCommand extends AbstractCommand {
33 sort, 34 sort,
34 search 35 search
35 }, 36 },
37 implicitToken: true,
36 defaultExpectedStatus: HttpStatusCode.OK_200 38 defaultExpectedStatus: HttpStatusCode.OK_200
37 }) 39 })
38 } 40 }
@@ -48,6 +50,7 @@ export class SubscriptionsCommand extends AbstractCommand {
48 50
49 path, 51 path,
50 query: { sort }, 52 query: { sort },
53 implicitToken: true,
51 defaultExpectedStatus: HttpStatusCode.OK_200 54 defaultExpectedStatus: HttpStatusCode.OK_200
52 }) 55 })
53 } 56 }
@@ -61,6 +64,7 @@ export class SubscriptionsCommand extends AbstractCommand {
61 ...options, 64 ...options,
62 65
63 path, 66 path,
67 implicitToken: true,
64 defaultExpectedStatus: HttpStatusCode.OK_200 68 defaultExpectedStatus: HttpStatusCode.OK_200
65 }) 69 })
66 } 70 }
@@ -74,6 +78,7 @@ export class SubscriptionsCommand extends AbstractCommand {
74 ...options, 78 ...options,
75 79
76 path, 80 path,
81 implicitToken: true,
77 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 82 defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204
78 }) 83 })
79 } 84 }
@@ -88,6 +93,7 @@ export class SubscriptionsCommand extends AbstractCommand {
88 93
89 path, 94 path,
90 query: { 'uris[]': options.uris }, 95 query: { 'uris[]': options.uris },
96 implicitToken: true,
91 defaultExpectedStatus: HttpStatusCode.OK_200 97 defaultExpectedStatus: HttpStatusCode.OK_200
92 }) 98 })
93 } 99 }