blob: d764f188576a94bfad548a4ca1ab8a1f98baa60d [file] [log] [blame]
import { FileAdapter } from './fileAdapter';
import { BatchAdapter } from './batchAdapter';
/**
* BatchFileAdapter is the file adapter for Casbin.
* It can add policies and remove policies.
* @deprecated The class should not be used, you should use FileAdapter.
*/
export class BatchFileAdapter extends FileAdapter implements BatchAdapter {
/**
* FileAdapter is the constructor for FileAdapter.
* @param {string} filePath filePath the path of the policy file.
*/
constructor(filePath: string) {
super(filePath);
}
}