summaryrefslogtreecommitdiff
path: root/src/client/app/mios.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-11-09 16:00:29 +0900
committerGitHub <noreply@github.com>2018-11-09 16:00:29 +0900
commit3f79c9ae4927d4186c708e130ecbb1ea4f72d9fa (patch)
tree3af53c7b8d5ecc5f0c21cbc5abec3ec5254606b0 /src/client/app/mios.ts
parent[Client] Fix bug (diff)
downloadmisskey-3f79c9ae4927d4186c708e130ecbb1ea4f72d9fa.tar.gz
misskey-3f79c9ae4927d4186c708e130ecbb1ea4f72d9fa.tar.bz2
misskey-3f79c9ae4927d4186c708e130ecbb1ea4f72d9fa.zip
Refactor client (#3178)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
Diffstat (limited to 'src/client/app/mios.ts')
-rw-r--r--src/client/app/mios.ts47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/client/app/mios.ts b/src/client/app/mios.ts
index 88dae04622..07021c9b60 100644
--- a/src/client/app/mios.ts
+++ b/src/client/app/mios.ts
@@ -15,41 +15,6 @@ let spinner = null;
let pending = 0;
//#endregion
-export type API = {
- chooseDriveFile: (opts: {
- title?: string;
- currentFolder?: any;
- multiple?: boolean;
- }) => Promise<any>;
-
- chooseDriveFolder: (opts: {
- title?: string;
- currentFolder?: any;
- }) => Promise<any>;
-
- dialog: (opts: {
- title: string;
- text: string;
- actions?: Array<{
- text: string;
- id?: string;
- }>;
- }) => Promise<string>;
-
- input: (opts: {
- title: string;
- placeholder?: string;
- default?: string;
- }) => Promise<string>;
-
- post: (opts?: {
- reply?: any;
- renote?: any;
- }) => void;
-
- notify: (message: string) => void;
-};
-
/**
* Misskey Operating System
*/
@@ -70,16 +35,6 @@ export default class MiOS extends EventEmitter {
public app: Vue;
- @autobind
- public new(vm, props) {
- const x = new vm({
- parent: this.app,
- propsData: props
- }).$mount();
- document.body.appendChild(x.$el);
- return x;
- }
-
/**
* Whether is debug mode
*/
@@ -89,8 +44,6 @@ export default class MiOS extends EventEmitter {
public store: ReturnType<typeof initStore>;
- public apis: API;
-
/**
* A connection manager of home stream
*/