16 lines
432 B
TypeScript
16 lines
432 B
TypeScript
import { EntityDict } from '../oak-app-domain/index';
|
|
import { BasicFeatures, Feature } from 'oak-frontend-base';
|
|
type DoSthAcion = {
|
|
type: 'doSth';
|
|
payload: {
|
|
args: string;
|
|
};
|
|
};
|
|
export default class Sample extends Feature {
|
|
get(params: any): void;
|
|
action(action: DoSthAcion): void;
|
|
cache: BasicFeatures<EntityDict>['cache'];
|
|
constructor(cache: BasicFeatures<EntityDict>['cache']);
|
|
}
|
|
export {};
|