@polinetwork/backend 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -174,7 +174,7 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
174
174
|
setRole: _trpc_server.TRPCQueryProcedure<{
|
|
175
175
|
input: {
|
|
176
176
|
userId: number;
|
|
177
|
-
role: "admin" | "hr" | "direttivo" | "owner";
|
|
177
|
+
role: "admin" | "hr" | "direttivo" | "creator" | "owner";
|
|
178
178
|
adderId: number;
|
|
179
179
|
};
|
|
180
180
|
output: void;
|
|
@@ -194,6 +194,18 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
194
194
|
};
|
|
195
195
|
output: void;
|
|
196
196
|
}>;
|
|
197
|
+
canAddBot: _trpc_server.TRPCQueryProcedure<{
|
|
198
|
+
input: {
|
|
199
|
+
userId: number;
|
|
200
|
+
};
|
|
201
|
+
output: {
|
|
202
|
+
error: null;
|
|
203
|
+
allowed: boolean;
|
|
204
|
+
} | {
|
|
205
|
+
error: "NOT_FOUND";
|
|
206
|
+
allowed: false;
|
|
207
|
+
};
|
|
208
|
+
}>;
|
|
197
209
|
}>>;
|
|
198
210
|
link: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
199
211
|
ctx: {
|
package/dist/index.d.ts
CHANGED
|
@@ -174,7 +174,7 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
174
174
|
setRole: _trpc_server.TRPCQueryProcedure<{
|
|
175
175
|
input: {
|
|
176
176
|
userId: number;
|
|
177
|
-
role: "admin" | "hr" | "direttivo" | "owner";
|
|
177
|
+
role: "admin" | "hr" | "direttivo" | "creator" | "owner";
|
|
178
178
|
adderId: number;
|
|
179
179
|
};
|
|
180
180
|
output: void;
|
|
@@ -194,6 +194,18 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
|
194
194
|
};
|
|
195
195
|
output: void;
|
|
196
196
|
}>;
|
|
197
|
+
canAddBot: _trpc_server.TRPCQueryProcedure<{
|
|
198
|
+
input: {
|
|
199
|
+
userId: number;
|
|
200
|
+
};
|
|
201
|
+
output: {
|
|
202
|
+
error: null;
|
|
203
|
+
allowed: boolean;
|
|
204
|
+
} | {
|
|
205
|
+
error: "NOT_FOUND";
|
|
206
|
+
allowed: false;
|
|
207
|
+
};
|
|
208
|
+
}>;
|
|
197
209
|
}>>;
|
|
198
210
|
link: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
|
|
199
211
|
ctx: {
|