Function: createFsPartitionMap()
ts
function createFsPartitionMap<TPartition>(topology, mapping): FsPartitionMapNode<TPartition>;Defined in: fs/src/builders/create-fs-partition-map.ts:22
Compiles a passive FsPartitionMapNode (fs:partition-map) for fs.partitionMap(topology, mapping).
Associates each logical partition in topology with its physical implementation globs (globs) and protected public boundary surface globs (boundaryGlobs).
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TPartition extends string | string | Literal union of partition identifiers in topology. |
Parameters
| Parameter | Type | Description |
|---|---|---|
topology | MaybeBuilder<TopologyNode<TPartition>> | Relational topology AST node or builder. |
mapping | Readonly<Record<TPartition, FsPartitionPathMapping>> | Per-partition member and boundary globs. |
Returns
FsPartitionMapNode<TPartition>
Deeply frozen FsPartitionMapNode AST descriptor.