Type Alias: CustomPropertyReference
ts
type CustomPropertyReference =
| {
kind: "node";
uid?: string;
ref?: string;
}
| {
kind: "component";
nodeUid?: string;
nodeRef?: string;
componentUid?: string;
componentType?: string;
}
| {
kind: "asset";
asset?: string;
subAsset?: string | null;
};Stored value for type: "reference".
Node and component references use document uids plus a cached NodeRef path; asset references use the document alias/uid/Addressable Key. An empty reference keeps its kind but omits the target fields.
