BlobNode
@blobs/sdk / utils/blobUtils / BlobNode
Defined in: utils/blobUtils.ts:179
Hydrated tree node returned by buildBlobTree.
Extends Blob with a non-optional children array.
Extends
Properties
id
id:
string
Defined in: types/Blobs.ts:67
Stable UUID for the blob.
Inherited from
owner_id
owner_id:
string
Defined in: types/Blobs.ts:69
ID of the user who owns this blob.
Inherited from
author_id?
optionalauthor_id?:string
Defined in: types/Blobs.ts:71
Alias for owner_id returned by some backend endpoints.
Inherited from
author?
optionalauthor?:BlobAuthor
Defined in: types/Blobs.ts:73
Embedded author summary (when included by the endpoint).
Inherited from
parent_id
parent_id:
string|null
Defined in: types/Blobs.ts:75
Parent blob’s ID, or null when this is a root blob.
Inherited from
title
title:
string|null
Defined in: types/Blobs.ts:77
Title (may be null for untitled blobs).
Inherited from
content
content:
string|null
Defined in: types/Blobs.ts:79
Body/content (may be null for placeholder/folder-style blobs).
Inherited from
content_type
content_type:
string
Defined in: types/Blobs.ts:81
Content kind: text, markdown, code, mixed, etc. Drives editor/renderer choice.
Inherited from
is_public
is_public:
boolean
Defined in: types/Blobs.ts:83
Whether anyone (including unauthenticated visitors) can read this blob.
Inherited from
inherit_permissions
inherit_permissions:
boolean
Defined in: types/Blobs.ts:85
Whether children inherit this blob’s permissions (default: true).
Inherited from
blobs?
optionalblobs?:Blob[]
Defined in: types/Blobs.ts:87
Hydrated child blobs (client-side tree convenience; not part of the wire shape).
Inherited from
files?
optionalfiles?:Media[]
Defined in: types/Blobs.ts:89
Files attached to the blob. See Media.
Inherited from
permissions?
optionalpermissions?:BlobPermissions
Defined in: types/Blobs.ts:91
Per-user permission flags computed for the calling user.
Inherited from
created_at
created_at:
string
Defined in: types/Blobs.ts:93
ISO-8601 timestamp the blob was created.
Inherited from
updated_at
updated_at:
string
Defined in: types/Blobs.ts:95
ISO-8601 timestamp of the last update.
Inherited from
children
children:
BlobNode[]
Defined in: utils/blobUtils.ts:181
Direct child nodes (recursively populated).