You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
494 B
13 lines
494 B
import { PluginRegistry } from "../pluginRegistry.js"; |
|
|
|
PluginRegistry.register('cache', { |
|
type: 'cache', |
|
label: 'Cache', |
|
props: [ |
|
{ name: 'label', type: 'string', default: 'Cache', group: 'label-group' }, |
|
{ name: 'cacheTTL', type: 'number', default: 60, group: 'cache-group' }, |
|
{ name: 'maxEntries', type: 'number', default: 100000, group: 'cache-group' }, |
|
{ name: 'evictionPolicy', type: 'string', default: 'LRU', group: 'cache-group' } |
|
] |
|
}); |
|
|
|
|