@ng-doc/keywords-loaders 22.0.0 → 22.2.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Aleksandr Skoropad
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/keywords-loaders",
3
- "version": "22.0.0",
3
+ "version": "22.2.0",
4
4
  "description": "Keyword loaders that link NgDoc pages to Angular, RxJS and other NgDoc sites.",
5
5
  "keywords": [
6
6
  "angular",
@@ -23,7 +23,7 @@
23
23
  "license": "MIT",
24
24
  "type": "commonjs",
25
25
  "dependencies": {
26
- "@ng-doc/core": "22.0.0",
26
+ "@ng-doc/core": "22.2.0",
27
27
  "node-fetch": "2.6.11"
28
28
  },
29
29
  "publishConfig": {
@@ -1,6 +0,0 @@
1
- import { NgDocKeyword } from '@ng-doc/core';
2
- /**
3
- *
4
- * @param endpoint
5
- */
6
- export declare function fetchKeywords(endpoint: string): Promise<Record<string, NgDocKeyword>>;
@@ -1 +0,0 @@
1
- export * from './fetch-keywords';
package/ng-doc/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './interfaces';
2
- export * from './ng-doc-keywords-loader';
@@ -1 +0,0 @@
1
- export * from './keywords-loader-options';
@@ -1,23 +0,0 @@
1
- /**
2
- * List of possible options for the NgDoc keywords loader.
3
- */
4
- export interface NgDocKeywordsLoaderOptions {
5
- /**
6
- * The URL endpoint of the NgDoc documentation. (e.g. https://ng-doc.com)
7
- */
8
- endpoint: string;
9
- /**
10
- * The path to the assets folder of the NgDoc documentation. (default: `/assets/ng-doc`)
11
- */
12
- assetsPath?: string;
13
- /**
14
- * Whether to load the keywords for the external guides. (default: `false`)
15
- */
16
- loadGuides?: boolean;
17
- /**
18
- * Defines the prefix to use for the external guides.
19
- * (e.g. if the external guides have keyword `Installation`
20
- * and you set `guidesPrefix` to `External`, the keyword will be `ExternalInstallation`)
21
- */
22
- guidesPrefix?: string;
23
- }
@@ -1,8 +0,0 @@
1
- import { NgDocKeywordsLoader } from '@ng-doc/core';
2
- import { NgDocKeywordsLoaderOptions } from './interfaces';
3
- /**
4
- * Loads keywords from an external NgDoc documentation.
5
- * You can use it to integrate your documentation with another NgDoc documentation and use its API or Pages keywords.
6
- * @param options - The options for the NgDoc keywords loader.
7
- */
8
- export declare function ngDocKeywordsLoader(options: NgDocKeywordsLoaderOptions): NgDocKeywordsLoader;