X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Futils.ts;h=ce07ceff9f231b1ac37da765992f7c718ab045e2;hb=f0adb2701c1cf404ff63095f71e542bfe6d025ae;hp=af5be0c69dcbc40b845c22bcd82b7c90d122d956;hpb=0aef76c479bc7fc758e70e1cd478ade46761b51b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts index af5be0c69..ce07ceff9 100644 --- a/server/helpers/utils.ts +++ b/server/helpers/utils.ts @@ -47,11 +47,14 @@ function isSignupAllowed () { }) } +type SortType = { sortModel: any, sortValue: string } + // --------------------------------------------------------------------------- export { badRequest, generateRandomString, getFormattedObjects, - isSignupAllowed + isSignupAllowed, + SortType }