first commit

This commit is contained in:
Noor E Ilahi
2026-01-09 12:54:53 +05:30
commit 7ccf44f7da
1070 changed files with 113036 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
/**
* Section service <abstract> class.
* Used to fetch data from api for inside DynamicSettings.vue
* Data is stored inside store -> settings -> sections -> data
*/
export default class SettingsService {
/**
* API endpoint URL
* @returns string
*/
getItemRequestUri() {
throw new Error('getItemRequestUri must be implemented in SettingsService class');
}
/**
* Fetch item data from api endpoint
* @returns {data}
*/
getAll() {
throw new Error('getAll must be implemented in SettingsService class');
}
/**
* Save item data
* @param data
* @returns {Promise<void>}
*/
save(data) {
throw new Error('save must be implemented in SettingsService class');
}
}