Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 1ac7ede

Browse files
filipesilvahansl
authored andcommitted
docs(@angular-devkit/core): add JSON schema headers
1 parent 9e709f1 commit 1ac7ede

File tree

3 files changed

+49
-1
lines changed

3 files changed

+49
-1
lines changed

.monorepo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@
5858
},
5959
"@angular-devkit/core": {
6060
"name": "Core",
61+
"links": [
62+
{
63+
"label": "README",
64+
"url": "https://github.com/angular/devkit/blob/master/packages/angular_devkit/core/README.md"
65+
}
66+
],
6167
"version": "0.0.23",
6268
"hash": "45c3c8b7d60b038bbedd3000ebca1b88"
6369
},

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This is a monorepo which contains many packages:
5151
| Project | Package | Version | Links |
5252
|---|---|---|---|
5353
**Build Optimizer** | [`@angular-devkit/build-optimizer`](http://npmjs.com/packages/@angular-devkit/build-optimizer) | [![latest](https://img.shields.io/npm/v/%40angular-devkit%2Fbuild-optimizer/latest.svg)](http://npmjs.com/packages/@angular-devkit/build-optimizer) | [![README](https://img.shields.io/badge/README--green.svg)](https://github.com/angular/devkit/blob/master/packages/angular_devkit/build_optimizer/README.md)
54-
**Core** | [`@angular-devkit/core`](http://npmjs.com/packages/@angular-devkit/core) | [![latest](https://img.shields.io/npm/v/%40angular-devkit%2Fcore/latest.svg)](http://npmjs.com/packages/@angular-devkit/core) |
54+
**Core** | [`@angular-devkit/core`](http://npmjs.com/packages/@angular-devkit/core) | [![latest](https://img.shields.io/npm/v/%40angular-devkit%2Fcore/latest.svg)](http://npmjs.com/packages/@angular-devkit/core) | [![README](https://img.shields.io/badge/README--green.svg)](https://github.com/angular/devkit/blob/master/packages/angular_devkit/core/README.md)
5555
**Schematics** | [`@angular-devkit/schematics`](http://npmjs.com/packages/@angular-devkit/schematics) | [![latest](https://img.shields.io/npm/v/%40angular-devkit%2Fschematics/latest.svg)](http://npmjs.com/packages/@angular-devkit/schematics) | [![README](https://img.shields.io/badge/README--green.svg)](https://github.com/angular/devkit/blob/master/packages/angular_devkit/schematics/README.md)
5656
**Schematics CLI** | [`@angular-devkit/schematics-cli`](http://npmjs.com/packages/@angular-devkit/schematics-cli) | [![latest](https://img.shields.io/npm/v/%40angular-devkit%2Fschematics-cli/latest.svg)](http://npmjs.com/packages/@angular-devkit/schematics-cli) |
5757

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Core
2+
> Shared utilities for Angular DevKit.
3+
4+
# Exception
5+
6+
# Json
7+
8+
## Schema
9+
10+
### SchemaValidatorResult
11+
```
12+
export interface SchemaValidatorResult {
13+
success: boolean;
14+
errors?: string[];
15+
}
16+
```
17+
18+
### SchemaValidator
19+
20+
```
21+
export interface SchemaValidator {
22+
(data: any): Observable<SchemaValidatorResult>;
23+
}
24+
```
25+
26+
### SchemaRegistry
27+
28+
```
29+
export interface SchemaRegistry {
30+
compile(schema: Object): Observable<SchemaValidator>;
31+
}
32+
```
33+
34+
### CoreSchemaRegistry
35+
36+
`SchemaRegistry` implementation using https://github.com/epoberezkin/ajv.
37+
38+
# Logger
39+
40+
# Utils
41+
42+
# Virtual FS

0 commit comments

Comments
 (0)