import FolderNotesPlugin from '../main';
export class WhitelistedPattern {
	type: string;
	id: string;
	string: string;
	path: string;
	position: number;
	subFolders: boolean;
	enableSync: boolean;
	enableAutoCreate: boolean;
	enableFolderNote: boolean;
	disableCollapsing: boolean;
	showInFolderOverview: boolean;
	hideInFileExplorer: boolean;
	hideInSettings: boolean;
	constructor(pattern: string, position: number, id: string | undefined, plugin: FolderNotesPlugin) {
		this.type = 'pattern';
		this.id = id || crypto.randomUUID();
		this.subFolders = plugin.settings.excludePatternDefaultSettings.subFolders;
		this.position = position;
		this.string = pattern;
		this.path = '';
	}
}
