mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Type functions
This commit is contained in:
parent
4d4e5cd4dc
commit
69818c9394
96 changed files with 990 additions and 544 deletions
|
@ -1,8 +1,12 @@
|
|||
import * as Sequelize from 'sequelize'
|
||||
|
||||
export namespace OAuthClientMethods {
|
||||
export type CountTotal = (callback) => void
|
||||
export type LoadFirstClient = (callback) => void
|
||||
export type CountTotalCallback = (err: Error, total: number) => void
|
||||
export type CountTotal = (callback: CountTotalCallback) => void
|
||||
|
||||
export type LoadFirstClientCallback = (err: Error, client: OAuthClientInstance) => void
|
||||
export type LoadFirstClient = (callback: LoadFirstClientCallback) => void
|
||||
|
||||
export type GetByIdAndSecret = (clientId, clientSecret) => void
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue