diff --git a/fe_calckey/frontend/calckey-js/src/api.types.ts b/fe_calckey/frontend/calckey-js/src/api.types.ts index 70818cb..ad42dae 100644 --- a/fe_calckey/frontend/calckey-js/src/api.types.ts +++ b/fe_calckey/frontend/calckey-js/src/api.types.ts @@ -23,7 +23,6 @@ import { NoteReaction, Notification, OriginType, - Page, ServerInfo, Signin, Stats, @@ -631,8 +630,6 @@ export type Endpoints = { }; res: Notification[]; }; - "i/page-likes": { req: TODO; res: TODO }; - "i/pages": { req: TODO; res: TODO }; "i/pin": { req: { noteId: Note["id"] }; res: MeDetailed }; "i/read-all-messaging-messages": { req: TODO; res: TODO }; "i/read-all-unread-notes": { req: TODO; res: TODO }; @@ -886,24 +883,6 @@ export type Endpoints = { res: null; }; - // page-push - "page-push": { - req: { pageId: Page["id"]; event: string; var?: any }; - res: null; - }; - - // pages - "pages/create": { req: TODO; res: Page }; - "pages/delete": { req: { pageId: Page["id"] }; res: null }; - "pages/featured": { req: NoParams; res: Page[] }; - "pages/like": { req: { pageId: Page["id"] }; res: null }; - "pages/show": { - req: { pageId?: Page["id"]; name?: string; username?: string }; - res: Page; - }; - "pages/unlike": { req: { pageId: Page["id"] }; res: null }; - "pages/update": { req: TODO; res: null }; - // ping ping: { req: NoParams; res: { pong: number } }; @@ -1000,7 +979,6 @@ export type Endpoints = { }; res: Note[]; }; - "users/pages": { req: TODO; res: TODO }; "users/recommendation": { req: TODO; res: TODO }; "users/relation": { req: TODO; res: TODO }; "users/report-abuse": { req: TODO; res: TODO }; diff --git a/fe_calckey/frontend/calckey-js/src/entities.ts b/fe_calckey/frontend/calckey-js/src/entities.ts index 44238de..67a4a69 100644 --- a/fe_calckey/frontend/calckey-js/src/entities.ts +++ b/fe_calckey/frontend/calckey-js/src/entities.ts @@ -64,8 +64,6 @@ export type UserDetailed = UserLite & { notesCount: number; pinnedNoteIds: ID[]; pinnedNotes: Note[]; - pinnedPage: Page | null; - pinnedPageId: string | null; publicReactions: boolean; securityKeys: boolean; twoFactorEnabled: boolean; @@ -308,36 +306,6 @@ export type Stats = { driveUsageRemote: number; }; -export type Page = { - id: ID; - createdAt: DateString; - updatedAt: DateString; - userId: User["id"]; - user: User; - content: Record[]; - variables: Record[]; - title: string; - name: string; - summary: string | null; - hideTitleWhenPinned: boolean; - alignCenter: boolean; - font: string; - script: string; - eyeCatchingImageId: DriveFile["id"] | null; - eyeCatchingImage: DriveFile | null; - attachedFiles: any; - likedCount: number; - isLiked?: boolean; -}; - -export type PageEvent = { - pageId: Page["id"]; - event: string; - var: any; - userId: User["id"]; - user: User; -}; - export type Announcement = { id: ID; createdAt: DateString; diff --git a/fe_calckey/frontend/client/package.json b/fe_calckey/frontend/client/package.json index 86705e2..a647210 100644 --- a/fe_calckey/frontend/client/package.json +++ b/fe_calckey/frontend/client/package.json @@ -13,7 +13,6 @@ "@rollup/plugin-alias": "3.1.9", "@rollup/plugin-json": "4.1.0", "@rollup/pluginutils": "^4.2.1", - "@syuilo/aiscript": "0.11.1", "@types/escape-regexp": "0.0.1", "@types/glob": "8.1.0", "@types/gulp": "4.0.11", @@ -90,7 +89,6 @@ "vue": "3.3.4", "vue-isyourpasswordsafe": "^2.0.0", "vue-plyr": "^7.0.0", - "vue-prism-editor": "2.0.0-alpha.2", "vue3-otp-input": "^0.4.1", "vuedraggable": "4.1.0" } diff --git a/fe_calckey/frontend/client/src/components/MagNote.vue b/fe_calckey/frontend/client/src/components/MagNote.vue index 1251a2d..82a1e22 100644 --- a/fe_calckey/frontend/client/src/components/MagNote.vue +++ b/fe_calckey/frontend/client/src/components/MagNote.vue @@ -218,7 +218,7 @@ - - diff --git a/fe_calckey/frontend/client/src/components/MkPostForm.vue b/fe_calckey/frontend/client/src/components/MkPostForm.vue index 491e411..97507fe 100644 --- a/fe_calckey/frontend/client/src/components/MkPostForm.vue +++ b/fe_calckey/frontend/client/src/components/MkPostForm.vue @@ -197,14 +197,6 @@ > -