@halo-dev/console-shared
Advanced tools
| import { PluginModule } from '../types/plugin'; | ||
| export declare function definePlugin(plugin: PluginModule): PluginModule; |
| import { Attachment } from '@halo-dev/api-client'; | ||
| import { Component } from 'vue'; | ||
| export type AttachmentLike = Attachment | string | { | ||
@@ -5,0 +4,0 @@ url: string; |
| import { Component, Raw } from 'vue'; | ||
| export interface BackupTab { | ||
@@ -4,0 +3,0 @@ id: string; |
| import { Extension } from '@halo-dev/api-client'; | ||
| import { RouteLocationRaw } from 'vue-router'; | ||
| export interface CommentSubjectRefResult { | ||
@@ -5,0 +4,0 @@ label: string; |
| import { Component } from 'vue'; | ||
| export interface EditorProvider { | ||
@@ -4,0 +3,0 @@ name: string; |
| import { Component, Raw } from 'vue'; | ||
| export interface EntityFieldItem { | ||
@@ -4,0 +3,0 @@ priority: number; |
| import { Component, Raw } from 'vue'; | ||
| export interface OperationItem<T> { | ||
@@ -4,0 +3,0 @@ priority: number; |
| import { Component, Raw } from 'vue'; | ||
| export interface PluginInstallationTab { | ||
@@ -4,0 +3,0 @@ id: string; |
| import { Component, Raw } from 'vue'; | ||
| export interface PluginTab { | ||
@@ -4,0 +3,0 @@ id: string; |
| import { Component, Raw } from 'vue'; | ||
| export interface ThemeListTab { | ||
@@ -4,0 +3,0 @@ id: string; |
| import { Component, Raw } from 'vue'; | ||
| export interface UserTab { | ||
@@ -4,0 +3,0 @@ id: string; |
| import { Component } from 'vue'; | ||
| export type CoreMenuGroupId = "dashboard" | "content" | "interface" | "system" | "tool"; | ||
@@ -4,0 +3,0 @@ export interface MenuGroupType { |
@@ -8,3 +8,3 @@ import { BackupTab } from '../states/backup'; | ||
| import { UserProfileTab, UserTab } from '../states/user-tab'; | ||
| import { Attachment, Backup, ListedPost, Plugin, Theme } from '@halo-dev/api-client'; | ||
| import { Attachment, Backup, ListedPost, Plugin, Theme, ListedComment, ListedReply } from '@halo-dev/api-client'; | ||
| import { AnyExtension } from '@halo-dev/richtext-editor'; | ||
@@ -16,3 +16,2 @@ import { Component, Ref } from 'vue'; | ||
| import { FunctionalPage } from '../states/pages'; | ||
| export interface RouteRecordAppend { | ||
@@ -32,2 +31,4 @@ parentName: RouteRecordName; | ||
| "post:list-item:operation:create"?: (post: Ref<ListedPost>) => OperationItem<ListedPost>[]; | ||
| "comment:list-item:operation:create"?: (comment: Ref<ListedComment>) => OperationItem<ListedComment>[]; | ||
| "reply:list-item:operation:create"?: (reply: Ref<ListedReply>) => OperationItem<ListedReply>[]; | ||
| "plugin:list-item:operation:create"?: (plugin: Ref<Plugin>) => OperationItem<Plugin>[]; | ||
@@ -34,0 +35,0 @@ "backup:list-item:operation:create"?: (backup: Ref<Backup>) => OperationItem<Backup>[]; |
+3
-3
| { | ||
| "name": "@halo-dev/console-shared", | ||
| "version": "2.18.0", | ||
| "version": "2.19.0", | ||
| "description": "", | ||
@@ -34,3 +34,3 @@ "files": [ | ||
| "devDependencies": { | ||
| "vite-plugin-dts": "^3.9.1" | ||
| "vite-plugin-dts": "^4.0.3" | ||
| }, | ||
@@ -42,3 +42,3 @@ "peerDependencies": { | ||
| "dependencies": { | ||
| "@halo-dev/api-client": "2.18.0" | ||
| "@halo-dev/api-client": "2.19.0" | ||
| }, | ||
@@ -45,0 +45,0 @@ "scripts": { |
9366
2.44%204
0.99%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
Updated