Raw
Exports related to raw video files.
interface ProbeRawDecoded {
format: ProbingFormat
streams: Array<ProbingStream>
}
type RawSource = MediaType | 'css' | 'ttf' | 'woff2' | 'otf'
interface RawStorableResource
extends StorableResource {
bytes?: number
createdAt?: number
decoded?: UnknownRecord
deletedAt?: number
error?: NamedError
extension: string
id?: string
request?: EndpointRequest
source: string
storedAt?: number
type: string
updatedAt?: number
}
interface RawStoredResource
extends StoredResource {
bytes?: number
createdAt?: number
decoded?: UnknownRecord
deletedAt?: number
error?: NamedError
extension: string
id: string
request?: EndpointRequest
source: string
storedAt?: number
type: string
updatedAt?: number
}
interface ScanRawDecoded
extends UnknownRecord {
capability?: string
color?: number
decorative?: number
family?: string
familylang?: string
fontformat?: string
fonthashint?: number
fontversion?: number
foundry?: string
fullname?: string
fullnamelang?: string
index?: number
order?: number
outline?: number
postscriptname?: string
scalable?: number
slant?: number
style?: string
stylelang?: string
symbol?: number
variable?: number
weight?: number
width?: number
}
/** @implements DropHandled */
class ImporterRawElement
extends ElementBase {
connectedCallback: () => void
cssBorderBoxSizing: CSSResult
cssHostDropping: CSSResult
cssHostFlex: CSSResult
defaultContent: () => OptionalContent
disconnectedCallback: () => void
drop: (dataTransfer: DataTransfer, clientX: number) => void
dropValid: (dataTransfer: DataTransfer) => boolean
pluginsNeeded: Array<PluginId>
properties: PropertyDeclarations
signals: SignalsRecord
styles: CSSResult
subscribe: (handler: SignalFunction, arg: string | SignalId | PropertyObject, name?: string, type?: string) => Signal
templateContent: (contents: TemplateContents) => TemplateContent
unsubscribe: (arg: string | SignalId | PropertyObject, name?: string, type?: string) => void
variable: (name: string) => number
variableSet: (nameOrSignal: Signal | string, value?: Scalar, suffix?: string) => void
variableString: (name: string) => string
}
/** @implements Importer */
class RawClientImporter {
icon: Node
id: string
label?: string
media: (file: File | FileSystemFileHandle | ImporterFileDetails) => Promise<DataOrError<Media>>
ui: () => Node
}
/** Type guard for RawStorableResource */
function isRawStorableResource(
value: unknown
): boolean
/** Type guard for RawStoredResource */
function isRawStoredResource(
value: unknown
): boolean