@zoyafng/guard-angular 5.3.10-hb.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.
- package/LICENSE +21 -0
- package/README.md +195 -0
- package/esm2020/guard.client.mjs +13 -0
- package/esm2020/guard.config.mjs +28 -0
- package/esm2020/guard.module.mjs +31 -0
- package/esm2020/guard.service.mjs +21 -0
- package/esm2020/index.mjs +5 -0
- package/esm2020/zoyafng-guard-angular.mjs +5 -0
- package/fesm2015/zoyafng-guard-angular.mjs +102 -0
- package/fesm2015/zoyafng-guard-angular.mjs.map +1 -0
- package/fesm2020/zoyafng-guard-angular.mjs +92 -0
- package/fesm2020/zoyafng-guard-angular.mjs.map +1 -0
- package/guard.client.d.ts +7 -0
- package/guard.config.d.ts +12 -0
- package/guard.min.css +3 -0
- package/guard.module.d.ts +9 -0
- package/guard.service.d.ts +8 -0
- package/index.d.ts +4 -0
- package/package.json +42 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { GuardOptions } from '@zoyafng/guard';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GuardModule {
|
|
5
|
+
static forRoot(config: GuardOptions): ModuleWithProviders<GuardModule>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GuardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GuardModule, never, never, never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GuardModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Guard } from '@zoyafng/guard';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GuardService {
|
|
4
|
+
client: Guard;
|
|
5
|
+
constructor(client: Guard);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GuardService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GuardService>;
|
|
8
|
+
}
|
package/index.d.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zoyafng/guard-angular",
|
|
3
|
+
"version": "5.3.10-hb.0",
|
|
4
|
+
"description": "Guard for Angular",
|
|
5
|
+
"module": "fesm2015/zoyafng-guard-angular.mjs",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"@angular/core": "^14.0.0"
|
|
9
|
+
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@zoyafng/guard": "5.3.10-hb.0",
|
|
12
|
+
"tslib": "^2.3.0"
|
|
13
|
+
},
|
|
14
|
+
"author": "https://github.com/authing",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"registry": "https://registry.npmjs.org"
|
|
19
|
+
},
|
|
20
|
+
"es2020": "fesm2020/zoyafng-guard-angular.mjs",
|
|
21
|
+
"esm2020": "esm2020/zoyafng-guard-angular.mjs",
|
|
22
|
+
"fesm2020": "fesm2020/zoyafng-guard-angular.mjs",
|
|
23
|
+
"fesm2015": "fesm2015/zoyafng-guard-angular.mjs",
|
|
24
|
+
"typings": "index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": {
|
|
27
|
+
"default": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./index.d.ts",
|
|
31
|
+
"esm2020": "./esm2020/zoyafng-guard-angular.mjs",
|
|
32
|
+
"es2020": "./fesm2020/zoyafng-guard-angular.mjs",
|
|
33
|
+
"es2015": "./fesm2015/zoyafng-guard-angular.mjs",
|
|
34
|
+
"node": "./fesm2015/zoyafng-guard-angular.mjs",
|
|
35
|
+
"default": "./fesm2020/zoyafng-guard-angular.mjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"sideEffects": false,
|
|
39
|
+
"scripts": {
|
|
40
|
+
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
41
|
+
}
|
|
42
|
+
}
|