mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-17 04:52:06 +00:00
24 lines
375 B
JavaScript
24 lines
375 B
JavaScript
|
|
class PartitionConfig {
|
||
|
|
constructor(config) {
|
||
|
|
this.config = config;
|
||
|
|
}
|
||
|
|
|
||
|
|
getPartitionMap() {
|
||
|
|
return this.config.partitions;
|
||
|
|
}
|
||
|
|
|
||
|
|
getOverrideMap() {
|
||
|
|
return this.config.overrides;
|
||
|
|
}
|
||
|
|
|
||
|
|
getPool() {
|
||
|
|
return this.config.pool;
|
||
|
|
}
|
||
|
|
|
||
|
|
getIdentity() {
|
||
|
|
return this.config.identity;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
export { PartitionConfig };
|