mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 13:36:43 +00:00
64 lines
1.0 KiB
TypeScript
64 lines
1.0 KiB
TypeScript
export interface ExtensionManifest {
|
|
id: string
|
|
title: string
|
|
subTitle: string
|
|
description: string
|
|
entry: string
|
|
version: string
|
|
iconUrl: string
|
|
publisher: {
|
|
name: string
|
|
email: string
|
|
url: string
|
|
icon?: {
|
|
src: string
|
|
width?: number
|
|
height?: number
|
|
}
|
|
}
|
|
links: {
|
|
title: string
|
|
href: string
|
|
}[]
|
|
config: {
|
|
modalSize?: 'xs' | 'sm' | 'md' | 'lg'
|
|
contentMinHeight?: string
|
|
}
|
|
order: number
|
|
disabled?: boolean
|
|
type: 'extension'
|
|
beta?: boolean
|
|
onPrem?: boolean
|
|
}
|
|
|
|
export interface ScriptManifest {
|
|
id: string
|
|
title: string
|
|
subTitle: string
|
|
description: string
|
|
entry: string
|
|
version: string
|
|
iconUrl: string
|
|
publisher: {
|
|
name: string
|
|
email: string
|
|
url: string
|
|
icon?: {
|
|
src: string
|
|
width?: number
|
|
height?: number
|
|
}
|
|
}
|
|
links: {
|
|
title: string
|
|
href: string
|
|
}[]
|
|
order: number
|
|
disabled?: boolean
|
|
type: 'script'
|
|
beta?: boolean
|
|
onPrem?: boolean
|
|
}
|
|
|
|
export type PluginManifest = ExtensionManifest | ScriptManifest
|