Skip to main content

Binaries

@webda/core


Type Alias: Binaries<T>

Binaries<T> = BinariesImpl<T>

Defined in: packages/core/src/services/binary.service.ts:1096

Type-level alias for BinariesImpl<T>.

Models declare photos: Binaries<...> rather than the more verbose photos: BinariesImpl<...>; the compiler resolves this alias to the BinariesImpl class declaration, picks up the @WebdaBehavior JSDoc tag there, and registers the attribute as a Behavior. The runtime shape (push/splice/index access plus attach, attachChallenge, get, getUrl, deleteAt, setMetadata, upload) comes from BinariesImpl directly.

Type Parameters​

T​

T extends object = { }