ngssm-smusdi 19.4.0 → 20.0.1

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
@@ -1,5 +1,32 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="ngssm-smusdi" />
5
- export * from './public-api';
1
+ import { NgssmDataLoading } from 'ngssm-data';
2
+ import { EnvironmentProviders } from '@angular/core';
3
+
4
+ interface OauthInfo {
5
+ authority: string;
6
+ }
7
+
8
+ interface SearchQueryResult<TData> {
9
+ maxResults: number;
10
+ totalResults: number;
11
+ results: TData[];
12
+ }
13
+
14
+ declare const serviceInfoKey = "service-info";
15
+ interface ProvidedCustomElements {
16
+ script: string;
17
+ customElements: string[];
18
+ }
19
+ interface ServiceInfo {
20
+ serviceName: string;
21
+ serviceVersion: string;
22
+ environment: string;
23
+ oauth?: OauthInfo;
24
+ customElements?: ProvidedCustomElements;
25
+ serviceUrl?: string;
26
+ }
27
+ declare const serviceInfoLoader: NgssmDataLoading<ServiceInfo, string>;
28
+
29
+ declare const provideNgssmSmusdi: (infoUrl?: string) => EnvironmentProviders;
30
+
31
+ export { provideNgssmSmusdi, serviceInfoKey, serviceInfoLoader };
32
+ export type { OauthInfo, ProvidedCustomElements, SearchQueryResult, ServiceInfo };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "ngssm-smusdi",
3
- "version": "19.4.0",
3
+ "version": "20.0.1",
4
4
  "description": "NgSsm - Helpers when using smusdi services.",
5
5
  "author": "Lion Marc",
6
6
  "license": "MIT",
7
7
  "peerDependencies": {
8
- "@angular/common": "^19.2.0",
9
- "@angular/core": "^19.2.0",
8
+ "@angular/common": ">=20.0.0",
9
+ "@angular/core": ">=20.0.0",
10
10
  "ngssm-store": ">=18.0.0",
11
11
  "ngssm-data": ">=18.0.0"
12
12
  },
@@ -1,3 +0,0 @@
1
- export interface OauthInfo {
2
- authority: string;
3
- }
@@ -1,2 +0,0 @@
1
- import { EnvironmentProviders } from '@angular/core';
2
- export declare const provideNgssmSmusdi: (infoUrl?: string) => EnvironmentProviders;
@@ -1,5 +0,0 @@
1
- export interface SearchQueryResult<TData> {
2
- maxResults: number;
3
- totalResults: number;
4
- results: TData[];
5
- }
@@ -1,16 +0,0 @@
1
- import { NgssmDataLoading } from 'ngssm-data';
2
- import { OauthInfo } from './oauth-info';
3
- export declare const serviceInfoKey = "service-info";
4
- export interface ProvidedCustomElements {
5
- script: string;
6
- customElements: string[];
7
- }
8
- export interface ServiceInfo {
9
- serviceName: string;
10
- serviceVersion: string;
11
- environment: string;
12
- oauth?: OauthInfo;
13
- customElements?: ProvidedCustomElements;
14
- serviceUrl?: string;
15
- }
16
- export declare const serviceInfoLoader: NgssmDataLoading<ServiceInfo, string>;
package/public-api.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './lib/oauth-info';
2
- export * from './lib/search-query-result';
3
- export * from './lib/service-info';
4
- export * from './lib/provide-ngssm-smusdi';