@sneat/core 0.12.1 → 0.13.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.service.js","sourceRoot":"","sources":["../../../../../libs/core/src/lib/app.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"app.service.js","sourceRoot":"","sources":["../../../../../libs/core/src/lib/app.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AA+C/C,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,cAAc,CAAW,UAAU,CAAC,CAAC","sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { SpaceType } from './team-type';\n\n// Sneat app identifier. The type is intentionally OPEN: third-party / niche\n// apps can use their own appId without being enumerated here (the `string & {}`\n// arm accepts any string). The explicit first-party literals are kept only for\n// editor autocomplete and documentation — `string & {}` preserves those\n// suggestions while still accepting arbitrary strings (plain `| string` would\n// collapse the whole union to `string` and drop the autocomplete).\nexport type SneatApp =\n | 'sneat'\n | 'aaproject'\n | 'agendum'\n | 'budgetus'\n | 'class'\n | 'contactus'\n | 'creche'\n | 'debtus'\n | 'docus'\n | 'dream7'\n | 'eventus'\n | 'feis'\n | 'gameboard'\n | 'logist'\n | 'listus'\n | 'neighbours'\n | 'parish'\n | 'renterra'\n | 'rsvp'\n | 'sizechart'\n | 'splitus'\n | 'sportclubs'\n | 'template'\n | 'tournament'\n | 'trackus'\n | 'datatug'\n // Open arm: accept any appId (e.g. third-party apps) while keeping the\n // literal suggestions above. Do not remove — this is what makes the union\n // extensible without a platform release per new app.\n | (string & {});\n\nexport interface IAppInfo {\n readonly appId: SneatApp;\n readonly appTitle: string;\n readonly requiredSpaceType?: SpaceType;\n}\n\nexport const APP_INFO = new InjectionToken<IAppInfo>('app_info');\n"]}
|
package/lib/app.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { SpaceType } from './team-type';
|
|
3
|
-
export type SneatApp = 'sneat' | 'aaproject' | 'agendum' | 'class' | 'contactus' | 'creche' | 'debtus' | 'docus' | 'dream7' | 'eventus' | 'feis' | 'logist' | 'listus' | 'neighbours' | 'parish' | 'renterra' | 'rsvp' | 'sizechart' | 'splitus' | 'sportclubs' | 'tournament' | 'datatug';
|
|
3
|
+
export type SneatApp = 'sneat' | 'aaproject' | 'agendum' | 'budgetus' | 'class' | 'contactus' | 'creche' | 'debtus' | 'docus' | 'dream7' | 'eventus' | 'feis' | 'gameboard' | 'logist' | 'listus' | 'neighbours' | 'parish' | 'renterra' | 'rsvp' | 'sizechart' | 'splitus' | 'sportclubs' | 'template' | 'tournament' | 'trackus' | 'datatug' | (string & {});
|
|
4
4
|
export interface IAppInfo {
|
|
5
5
|
readonly appId: SneatApp;
|
|
6
6
|
readonly appTitle: string;
|