mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Converted tests to typescript. (#6181)
* Converted tests to typescript. * Run all tests. * Fixed tests. * Removed cypress from every installation. * Use cache for libreoffice. * Fixed cypress install. * Fixed cypress install.
This commit is contained in:
parent
4bd27a1c79
commit
546ede284c
45 changed files with 912 additions and 734 deletions
|
@ -5,11 +5,16 @@ export type PadType = {
|
|||
apool: ()=>APool,
|
||||
atext: AText,
|
||||
pool: APool,
|
||||
getInternalRevisionAText: (text:string)=>Promise<AText>,
|
||||
getInternalRevisionAText: (text:number|string)=>Promise<AText>,
|
||||
getValidRevisionRange: (fromRev: string, toRev: string)=>PadRange,
|
||||
getRevisionAuthor: (rev: number)=>Promise<string>,
|
||||
getRevision: (rev?: string)=>Promise<any>,
|
||||
head: number,
|
||||
getAllAuthorColors: ()=>Promise<MapArrayType<string>>,
|
||||
remove: ()=>Promise<void>,
|
||||
text: ()=>string,
|
||||
setText: (text: string)=>Promise<void>,
|
||||
appendText: (text: string)=>Promise<void>,
|
||||
}
|
||||
|
||||
|
||||
|
|
6
src/node/types/SettingsUser.ts
Normal file
6
src/node/types/SettingsUser.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export type SettingsUser = {
|
||||
[username: string]:{
|
||||
password: string,
|
||||
is_admin?: boolean,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue