Converted main codebase to typescript
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
15
src/typings/Profile.ts
Normal file
15
src/typings/Profile.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export type Profile = {
|
||||
data: {
|
||||
id: string
|
||||
name: string;
|
||||
}
|
||||
}
|
||||
|
||||
export type Profile2 = {
|
||||
data: {
|
||||
id: string,
|
||||
name: string,
|
||||
properties: { name: string, value: string }[],
|
||||
profileActions: []
|
||||
}
|
||||
}
|
||||
6
src/typings/index.ts
Normal file
6
src/typings/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Profile, Profile2 } from "./Profile"
|
||||
|
||||
export {
|
||||
Profile,
|
||||
Profile2
|
||||
}
|
||||
Reference in New Issue
Block a user