@c8y/api-doc 1023.48.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/.browserslistrc +16 -0
- package/cumulocity.config.ts +58 -0
- package/package.json +30 -0
- package/public/c8y-oas.yml +31217 -0
- package/public/favicon.ico +0 -0
- package/src/app/api-doc-app.model.ts +10 -0
- package/src/app/api-doc-home/api-doc-home.component.html +108 -0
- package/src/app/api-doc-home/api-doc-home.component.ts +36 -0
- package/src/app/api-doc-navigator.factory.ts +36 -0
- package/src/app/api-doc.providers.ts +18 -0
- package/src/app/api-doc.service.ts +100 -0
- package/src/app/app-icon/app-icon-navigator.component.html +4 -0
- package/src/app/app-icon/app-icon-navigator.component.less +13 -0
- package/src/app/app-icon/app-icon-navigator.component.ts +17 -0
- package/src/app/app.config.ts +18 -0
- package/src/app/swagger/swagger.component.html +54 -0
- package/src/app/swagger/swagger.component.less +274 -0
- package/src/app/swagger/swagger.component.ts +94 -0
- package/src/bootstrap.ts +18 -0
- package/src/i18n.ts +18 -0
- package/src/main.ts +17 -0
- package/src/polyfills.ts +33 -0
- package/tsconfig.app.json +20 -0
package/.browserslistrc
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
|
|
2
|
+
# For additional information regarding the format and rule options, please see:
|
|
3
|
+
# https://github.com/browserslist/browserslist#queries
|
|
4
|
+
|
|
5
|
+
# For the full list of supported browsers by the Angular framework, please see:
|
|
6
|
+
# https://angular.io/guide/browser-support
|
|
7
|
+
|
|
8
|
+
# You can see what browsers were selected by your queries by running:
|
|
9
|
+
# npx browserslist
|
|
10
|
+
|
|
11
|
+
last 2 Chrome versions
|
|
12
|
+
last 1 Firefox version
|
|
13
|
+
last 2 Edge major versions
|
|
14
|
+
last 2 Safari major versions
|
|
15
|
+
last 2 iOS major versions
|
|
16
|
+
Firefox ESR
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ConfigurationOptions } from '@c8y/devkit';
|
|
2
|
+
import { author, description, version, name, license } from './package.json';
|
|
3
|
+
import { gettext } from '@c8y/ngx-components/gettext';
|
|
4
|
+
|
|
5
|
+
const appName = name.replace('@c8y/', '');
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
runTime: {
|
|
9
|
+
author,
|
|
10
|
+
description,
|
|
11
|
+
version,
|
|
12
|
+
name: appName,
|
|
13
|
+
dynamicOptionsUrl: true,
|
|
14
|
+
isPackage: true,
|
|
15
|
+
license,
|
|
16
|
+
package: 'blueprint',
|
|
17
|
+
icon: {
|
|
18
|
+
class: 'rest-api'
|
|
19
|
+
},
|
|
20
|
+
remotes: {
|
|
21
|
+
[appName]: ['apiDocProviders']
|
|
22
|
+
},
|
|
23
|
+
blueprintDeploymentOptions: {
|
|
24
|
+
name: gettext('API Documentation'),
|
|
25
|
+
contextPath: 'api_doc',
|
|
26
|
+
key: 'api_doc-application-key'
|
|
27
|
+
},
|
|
28
|
+
label: 'OFFICIAL',
|
|
29
|
+
availability: 'SHARED',
|
|
30
|
+
exports: [
|
|
31
|
+
{
|
|
32
|
+
name: gettext('API Documentation'),
|
|
33
|
+
module: 'apiDocProviders',
|
|
34
|
+
path: './src/app/api-doc.providers',
|
|
35
|
+
description: gettext('A tool to view API documentation of installed applications.')
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
buildTime: {
|
|
40
|
+
skipMonacoLanguageSupport: true,
|
|
41
|
+
federation: [
|
|
42
|
+
'@angular/animations',
|
|
43
|
+
'@angular/cdk',
|
|
44
|
+
'@angular/common',
|
|
45
|
+
'@angular/compiler',
|
|
46
|
+
'@angular/core',
|
|
47
|
+
'@angular/forms',
|
|
48
|
+
'@angular/platform-browser',
|
|
49
|
+
'@angular/platform-browser-dynamic',
|
|
50
|
+
'@angular/router',
|
|
51
|
+
'@c8y/client',
|
|
52
|
+
'@c8y/ngx-components',
|
|
53
|
+
'ngx-bootstrap',
|
|
54
|
+
'@ngx-translate/core',
|
|
55
|
+
'@ngx-formly/core'
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
} as const satisfies ConfigurationOptions;
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@c8y/api-doc",
|
|
3
|
+
"version": "1023.48.0",
|
|
4
|
+
"description": "This package is a blueprint application which allows to show all API documentations of the platform.",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"@c8y/style": "1023.48.0",
|
|
7
|
+
"@c8y/ngx-components": "1023.48.0",
|
|
8
|
+
"@c8y/client": "1023.48.0",
|
|
9
|
+
"@c8y/bootstrap": "1023.48.0",
|
|
10
|
+
"@angular/cdk": "^20.2.14",
|
|
11
|
+
"monaco-editor": "~0.53.0",
|
|
12
|
+
"ngx-bootstrap": "20.0.2",
|
|
13
|
+
"rxjs": "7.8.2",
|
|
14
|
+
"swagger-ui-dist": "~5.31.0",
|
|
15
|
+
"lodash": "^4.17.21"
|
|
16
|
+
},
|
|
17
|
+
"scarfSettings": {
|
|
18
|
+
"enabled": false
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@c8y/options": "1023.48.0",
|
|
22
|
+
"@c8y/devkit": "1023.48.0",
|
|
23
|
+
"@types/lodash": "4.17.20"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"@angular/common": ">=20 <21"
|
|
27
|
+
},
|
|
28
|
+
"author": "Cumulocity GmbH",
|
|
29
|
+
"license": "Apache-2.0"
|
|
30
|
+
}
|