@noatgnu/cupcake-core 1.2.11 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ interface SiteConfig extends BaseTimestampedModel {
|
|
|
90
90
|
showPoweredBy: boolean;
|
|
91
91
|
allowUserRegistration: boolean;
|
|
92
92
|
enableOrcidLogin: boolean;
|
|
93
|
+
bookingDeletionWindowMinutes: number;
|
|
93
94
|
installedApps: {
|
|
94
95
|
[appCode: string]: {
|
|
95
96
|
name: string;
|
|
@@ -108,6 +109,7 @@ interface SiteConfigUpdateRequest {
|
|
|
108
109
|
showPoweredBy?: boolean;
|
|
109
110
|
allowUserRegistration?: boolean;
|
|
110
111
|
enableOrcidLogin?: boolean;
|
|
112
|
+
bookingDeletionWindowMinutes?: number;
|
|
111
113
|
}
|
|
112
114
|
interface AuthConfig {
|
|
113
115
|
registrationEnabled: boolean;
|
|
@@ -916,6 +918,7 @@ declare class SiteConfigService extends BaseApiService {
|
|
|
916
918
|
config$: Observable<SiteConfig>;
|
|
917
919
|
constructor();
|
|
918
920
|
private loadConfig;
|
|
921
|
+
refreshConfig(): void;
|
|
919
922
|
private fetchConfigFromBackend;
|
|
920
923
|
getCurrentConfig(): Observable<SiteConfig>;
|
|
921
924
|
updateConfig(config: Partial<SiteConfig>): Observable<SiteConfig>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noatgnu/cupcake-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
4
4
|
"description": "A reusable Angular library that provides user management, authentication, and site configuration functionality for cupcake applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|