PHP 8.2.30
Preview: noticeMessage.interface.ts Size: 482 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/adminjs/src/frontend/interfaces/noticeMessage.interface.ts

import { type MessageBoxProps } from '@adminjs/design-system'
import { type TOptions } from 'i18next'
import { type ReactNode } from 'react'

/**
 * NoticeMessage which can be presented as a "Toast" message.
 * @alias NoticeMessage
 */
export type NoticeMessage = {
  message: string
  // Extra 'error' to handle backwards. Error is replaced to danger in notification box
  type?: MessageBoxProps['variant'] | 'error'
  options?: TOptions
  resourceId?: string
  body?: ReactNode
}

Directory Contents

Dirs: 2 × Files: 6

Name Size Perms Modified Actions
action DIR
- drwxr-xr-x 2026-02-28 00:32:28
Edit Download
- drwxr-xr-x 2026-02-28 00:32:40
Edit Download
286 B lrw-r--r-- 2026-02-28 00:32:28
Edit Download
502 B lrw-r--r-- 2026-02-28 00:32:38
Edit Download
482 B lrw-r--r-- 2026-02-28 00:32:38
Edit Download
347 B lrw-r--r-- 2026-02-28 00:32:38
Edit Download
1.32 KB lrw-r--r-- 2026-02-28 00:32:40
Edit Download
1.68 KB lrw-r--r-- 2026-02-28 00:32:42
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).