Skip to content

luxe API (2025.1.2)


luxe: asset/type module


AssetArtifact

import "luxe: asset/type" for AssetArtifact

no docs found


AssetArtifact.id returns unknown

no docs found

AssetArtifact.type returns unknown

no docs found

AssetArtifact.path returns unknown

no docs found

AssetArtifact.new(type: String, id: String, path: String) returns AssetArtifact

no docs found

AssetContext

import "luxe: asset/type" for AssetContext

no docs found


AssetContext.id returns String

no docs found

AssetContext.db returns unknown

no docs found

AssetContext.artifacts returns Map

no docs found

AssetContext.ast_for_asset returns Map

no docs found

AssetContext.errors returns List

no docs found

AssetContext.error(info: String) returns unknown

no docs found

AssetContext.artifacts_for(type_id: String) returns unknown

no docs found

AssetContext.ast_for(asset: AssetID) returns Result

no docs found

AssetContext.emit_block_def_for(asset: AssetID, block_tag: String, from: String) returns unknown

no docs found

AssetContext.tagged(tag: String) returns Any

no docs found

AssetContext.tag(tag: String, value: Any) returns unknown

no docs found

AssetContext.TYPE returns unknown

no docs found

AssetContext.DEV returns unknown

no docs found

AssetContext.RELEASE returns unknown

no docs found

AssetContext.new(id: String, db: Any, artifact_root: String) returns AssetContext

no docs found

AssetContext.set_modified(type: String, modified: List) returns unknown

no docs found

AssetContext.get_modified(type: String) returns List

no docs found

AssetContext.get_modified() returns Map

no docs found

AssetContext.skip(id: String) returns unknown

no docs found

AssetContext.skipped(id: String) returns unknown

no docs found

AssetContext.emit_path(id: String) returns String

no docs found

AssetContext.emit_path(id: String, extra: String) returns String

no docs found

AssetContext.emit(type_id: String, artifact_id: String, artifact_path: String) returns unknown

no docs found

AssetID

import "luxe: asset/type" for AssetID

no docs found


AssetID.type_id returns String

no docs found

AssetID.id returns String

no docs found

AssetID.asset returns String

no docs found

AssetID.path returns String

no docs found

AssetID.ext returns String

no docs found

AssetID.subtype returns String

no docs found

AssetID.prefix returns String

no docs found

AssetID.root returns String

no docs found

AssetID.meta_uuid returns String

no docs found

AssetID.new(type_id: String, map: Map) returns AssetID

no docs found

AssetID.from_id(type_id: String, asset_id: String) returns AssetID

no docs found

AssetID.refresh() returns unknown

no docs found

AssetType

import "luxe: asset/type" for AssetType

no docs found


AssetType.type_id returns String

no docs found

AssetType.version_id returns String

no docs found

AssetType.ext returns String

no docs found

AssetType.subtype returns String

no docs found

AssetType.ctx returns AssetContext

no docs found

AssetType.is_loader returns Bool

no docs found

AssetType.is_data returns Bool

no docs found

AssetType.is_handle returns Bool

no docs found

AssetType.version returns Num

no docs found

AssetType.load_before returns List

no docs found

AssetType.load_after returns List

no docs found

AssetType.before returns List

no docs found

AssetType.after returns List

no docs found

AssetType.pre_early returns Num

no docs found

AssetType.pre_late returns Num

no docs found

AssetType.new(type_id: String, ctx: AssetContext) returns AssetType

no docs found

AssetType.remap(asset: AssetID, new_id: String) returns unknown

no docs found

AssetType.get_remap(map: Map) returns Map

no docs found

AssetType.modify_affected(asset: AssetID) returns unknown

modify all assets that refer to this one

AssetType.modify(asset: AssetID) returns unknown

no docs found

AssetType.unmodify(asset: AssetID) returns unknown

no docs found

AssetType.emit_path(asset: AssetID) returns unknown

no docs found

AssetType.skip(asset: AssetID) returns unknown

no docs found

AssetType.get_data(id: String) returns unknown

no docs found

AssetType.set_handle(id: String, handle: Num) returns unknown

no docs found

AssetType.pre(assets: List) returns None

no docs found

AssetType.process(assets: List, each: Fn) returns None

no docs found

AssetType.loader(assets: List, artifacts: List) returns None

no docs found

AssetTypeID

import "luxe: asset/type" for AssetTypeID

no docs found


AssetTypeID.block returns String

no docs found

AssetTypeID.block=(v : Any) returns String

no docs found

AssetTypeID.block_class returns String

no docs found

AssetTypeID.block_class=(v : Any) returns String

no docs found

AssetTypeID.loader returns unknown

no docs found

AssetTypeID.loader=(v : Any) returns unknown

no docs found

AssetTypeID.handler returns AssetType

no docs found

AssetTypeID.handler=(v : Any) returns AssetType

no docs found

AssetTypeID.new(map: Map) returns AssetTypeID

no docs found