Catalog
Defined in: asset/Catalog.ts:59
Accessors
Section titled “Accessors”isEmpty
Section titled “isEmpty”Get Signature
Section titled “Get Signature”get isEmpty():
boolean
Defined in: asset/Catalog.ts:157
Returns
Section titled “Returns”boolean
Methods
Section titled “Methods”addressOf()
Section titled “addressOf()”addressOf(
path):string|null
Defined in: asset/Catalog.ts:116
The authored logical address a staged path came from, or null. A document that names a SIBLING — a spine atlas page, a font page — resolves it against where the document was AUTHORED, and content-addressed staging renames every asset to a hash under one flat directory, which loses that.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | null
getAllLabels()
Section titled “getAllLabels()”getAllLabels():
string[]
Defined in: asset/Catalog.ts:145
Returns
Section titled “Returns”string[]
getAtlasFrame()
Section titled “getAtlasFrame()”getAtlasFrame(
path):AtlasFrameInfo|null
Defined in: asset/Catalog.ts:98
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”AtlasFrameInfo | null
getBuildPath()
Section titled “getBuildPath()”getBuildPath(
path):string
Defined in: asset/Catalog.ts:131
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
getByLabel()
Section titled “getByLabel()”getByLabel(
label):string[]
Defined in: asset/Catalog.ts:141
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string[]
getDeps()
Section titled “getDeps()”getDeps(
path):string[]
Defined in: asset/Catalog.ts:136
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string[]
getEntry()
Section titled “getEntry()”getEntry(
path):CatalogEntry|null
Defined in: asset/Catalog.ts:94
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”CatalogEntry | null
hasAddress()
Section titled “hasAddress()”hasAddress(
address):boolean
Defined in: asset/Catalog.ts:153
Parameters
Section titled “Parameters”address
Section titled “address”string
Returns
Section titled “Returns”boolean
hasEntry()
Section titled “hasEntry()”hasEntry(
path):boolean
Defined in: asset/Catalog.ts:149
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
resolve()
Section titled “resolve()”resolve(
ref):string
Defined in: asset/Catalog.ts:87
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
empty()
Section titled “empty()”
staticempty():Catalog
Defined in: asset/Catalog.ts:83
Returns
Section titled “Returns”Catalog
fromJson()
Section titled “fromJson()”
staticfromJson(data):Catalog
Defined in: asset/Catalog.ts:76
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Catalog