Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@halo-dev/console-shared

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@halo-dev/console-shared - npm Package Compare versions

Comparing version
2.15.0
to
2.16.0
+2
-1
dist/core/plugins.d.ts

@@ -1,2 +0,3 @@

import type { PluginModule } from "../types/plugin";
import { PluginModule } from '../types/plugin';
export declare function definePlugin(plugin: PluginModule): PluginModule;

@@ -1,14 +0,14 @@

export * from "./types/plugin";
export * from "./types/menus";
export * from "./core/plugins";
export * from "./states/pages";
export * from "./states/attachment-selector";
export * from "./states/editor";
export * from "./states/plugin-tab";
export * from "./states/comment-subject-ref";
export * from "./states/backup";
export * from "./states/plugin-installation-tabs";
export * from "./states/entity";
export * from "./states/theme-list-tabs";
export * from "./states/operation";
export * from "./states/user-tab";
export * from './types/plugin';
export * from './types/menus';
export * from './core/plugins';
export * from './states/pages';
export * from './states/attachment-selector';
export * from './states/editor';
export * from './states/plugin-tab';
export * from './states/comment-subject-ref';
export * from './states/backup';
export * from './states/plugin-installation-tabs';
export * from './states/entity';
export * from './states/theme-list-tabs';
export * from './states/operation';
export * from './states/user-tab';

@@ -1,3 +0,4 @@

import type { Attachment } from "@halo-dev/api-client";
import type { Component } from "vue";
import { Attachment } from '@halo-dev/api-client';
import { Component } from 'vue';
export type AttachmentLike = Attachment | string | {

@@ -4,0 +5,0 @@ url: string;

@@ -1,2 +0,3 @@

import type { Component, Raw } from "vue";
import { Component, Raw } from 'vue';
export interface BackupTab {

@@ -3,0 +4,0 @@ id: string;

@@ -1,3 +0,4 @@

import type { Extension } from "@halo-dev/api-client";
import type { RouteLocationRaw } from "vue-router";
import { Extension } from '@halo-dev/api-client';
import { RouteLocationRaw } from 'vue-router';
export interface CommentSubjectRefResult {

@@ -4,0 +5,0 @@ label: string;

@@ -1,2 +0,3 @@

import type { Component } from "vue";
import { Component } from 'vue';
export interface EditorProvider {

@@ -3,0 +4,0 @@ name: string;

@@ -1,2 +0,3 @@

import type { Component, Raw } from "vue";
import { Component, Raw } from 'vue';
export interface EntityFieldItem {

@@ -3,0 +4,0 @@ priority: number;

@@ -1,2 +0,3 @@

import type { Component, Raw } from "vue";
import { Component, Raw } from 'vue';
export interface OperationItem<T> {

@@ -3,0 +4,0 @@ priority: number;

@@ -1,2 +0,3 @@

import type { Component, Raw } from "vue";
import { Component, Raw } from 'vue';
export interface PluginInstallationTab {

@@ -3,0 +4,0 @@ id: string;

@@ -1,2 +0,3 @@

import type { Component, Raw } from "vue";
import { Component, Raw } from 'vue';
export interface PluginTab {

@@ -3,0 +4,0 @@ id: string;

@@ -1,2 +0,3 @@

import type { Component, Raw } from "vue";
import { Component, Raw } from 'vue';
export interface ThemeListTab {

@@ -3,0 +4,0 @@ id: string;

@@ -1,2 +0,3 @@

import type { Component, Raw } from "vue";
import { Component, Raw } from 'vue';
export interface UserTab {

@@ -3,0 +4,0 @@ id: string;

@@ -1,2 +0,3 @@

import type { Component } from "vue";
import { Component } from 'vue';
export type CoreMenuGroupId = "dashboard" | "content" | "interface" | "system" | "tool";

@@ -3,0 +4,0 @@ export interface MenuGroupType {

@@ -1,15 +0,16 @@

import type { Component, Ref } from "vue";
import type { RouteRecordName, RouteRecordRaw } from "vue-router";
import type { FunctionalPage } from "../states/pages";
import type { AttachmentSelectProvider } from "../states/attachment-selector";
import type { EditorProvider, PluginTab } from "..";
import type { AnyExtension } from "@halo-dev/richtext-editor";
import type { CommentSubjectRefProvider } from '../states/comment-subject-ref';
import type { BackupTab } from '../states/backup';
import type { PluginInstallationTab } from '../states/plugin-installation-tabs';
import type { EntityFieldItem } from '../states/entity';
import type { OperationItem } from '../states/operation';
import type { ThemeListTab } from '../states/theme-list-tabs';
import type { Attachment, Backup, ListedPost, Plugin, Theme } from "@halo-dev/api-client";
import type { UserProfileTab, UserTab } from '../states/user-tab';
import { BackupTab } from '../states/backup';
import { CommentSubjectRefProvider } from '../states/comment-subject-ref';
import { EntityFieldItem } from '../states/entity';
import { OperationItem } from '../states/operation';
import { PluginInstallationTab } from '../states/plugin-installation-tabs';
import { ThemeListTab } from '../states/theme-list-tabs';
import { UserProfileTab, UserTab } from '../states/user-tab';
import { Attachment, Backup, ListedPost, Plugin, Theme } from '@halo-dev/api-client';
import { AnyExtension } from '@halo-dev/richtext-editor';
import { Component, Ref } from 'vue';
import { RouteRecordName, RouteRecordRaw } from 'vue-router';
import { EditorProvider, PluginTab } from '..';
import { AttachmentSelectProvider } from '../states/attachment-selector';
import { FunctionalPage } from '../states/pages';
export interface RouteRecordAppend {

@@ -28,10 +29,10 @@ parentName: RouteRecordName;

"plugin:installation:tabs:create"?: () => PluginInstallationTab[] | Promise<PluginInstallationTab[]>;
"post:list-item:operation:create"?: (post: Ref<ListedPost>) => OperationItem<ListedPost>[] | Promise<OperationItem<ListedPost>[]>;
"plugin:list-item:operation:create"?: (plugin: Ref<Plugin>) => OperationItem<Plugin>[] | Promise<OperationItem<Plugin>[]>;
"backup:list-item:operation:create"?: (backup: Ref<Backup>) => OperationItem<Backup>[] | Promise<OperationItem<Backup>[]>;
"attachment:list-item:operation:create"?: (attachment: Ref<Attachment>) => OperationItem<Attachment>[] | Promise<OperationItem<Attachment>[]>;
"plugin:list-item:field:create"?: (plugin: Ref<Plugin>) => EntityFieldItem[] | Promise<EntityFieldItem[]>;
"post:list-item:field:create"?: (post: Ref<ListedPost>) => EntityFieldItem[] | Promise<EntityFieldItem[]>;
"post:list-item:operation:create"?: (post: Ref<ListedPost>) => OperationItem<ListedPost>[];
"plugin:list-item:operation:create"?: (plugin: Ref<Plugin>) => OperationItem<Plugin>[];
"backup:list-item:operation:create"?: (backup: Ref<Backup>) => OperationItem<Backup>[];
"attachment:list-item:operation:create"?: (attachment: Ref<Attachment>) => OperationItem<Attachment>[];
"plugin:list-item:field:create"?: (plugin: Ref<Plugin>) => EntityFieldItem[];
"post:list-item:field:create"?: (post: Ref<ListedPost>) => EntityFieldItem[];
"theme:list:tabs:create"?: () => ThemeListTab[] | Promise<ThemeListTab[]>;
"theme:list-item:operation:create"?: (theme: Ref<Theme>) => OperationItem<Theme>[] | Promise<OperationItem<Theme>[]>;
"theme:list-item:operation:create"?: (theme: Ref<Theme>) => OperationItem<Theme>[];
"user:detail:tabs:create"?: () => UserTab[] | Promise<UserTab[]>;

@@ -38,0 +39,0 @@ "uc:user:profile:tabs:create"?: () => UserProfileTab[] | Promise<UserProfileTab[]>;

{
"name": "@halo-dev/console-shared",
"version": "2.15.0",
"version": "2.16.0",
"description": "",

@@ -34,10 +34,10 @@ "files": [

"devDependencies": {
"vite-plugin-dts": "^2.3.0"
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
"vue": "^3.4.19",
"vue-router": "^4.2.5"
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"dependencies": {
"@halo-dev/api-client": "2.15.0"
"@halo-dev/api-client": "2.16.0"
},

@@ -44,0 +44,0 @@ "scripts": {