@cap-js/cds-typer 0.6.0 → 0.6.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/CHANGELOG.md +8 -1
- package/lib/cli.js +1 -1
- package/lib/components/resolver.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,14 +4,21 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
6
6
|
|
|
7
|
-
## Version 0.6.
|
|
7
|
+
## Version 0.6.2 - TBD
|
|
8
8
|
|
|
9
9
|
### Changed
|
|
10
10
|
|
|
11
11
|
### Added
|
|
12
12
|
|
|
13
13
|
### Fixed
|
|
14
|
+
## Version 0.6.1 - 2023-08-10
|
|
14
15
|
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- Removed a warning about circular imports
|
|
15
22
|
|
|
16
23
|
## Version 0.6.0 - 2023-08-07
|
|
17
24
|
|
package/lib/cli.js
CHANGED
|
@@ -44,7 +44,7 @@ const flags = {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
const hint = () =>
|
|
47
|
+
const hint = () => 'Missing or invalid parameter(s). Call with --help for more details.'
|
|
48
48
|
const indent = (s, indentation) => s.split(EOL).map(line => `${indentation}${line}`).join(EOL)
|
|
49
49
|
|
|
50
50
|
const help = () => `SYNOPSIS${EOL2}` +
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
const util = require('../util')
|
|
4
4
|
const { Buffer, SourceFile, Path, Library, baseDefinitions } = require("../file")
|
|
5
5
|
const { deepRequire, createToManyAssociation, createToOneAssociation, createArrayOf, createCompositionOfMany, createCompositionOfOne } = require('./wrappers')
|
|
6
|
-
const { Visitor } = require("../visitor")
|
|
7
6
|
const { StructuredInlineDeclarationResolver } = require("./inline")
|
|
8
7
|
|
|
9
8
|
/** @typedef {{ cardinality?: { max?: '*' | number } }} EntityCSN */
|
|
10
9
|
/** @typedef {{ definitions?: Object<string, EntityCSN> }} CSN */
|
|
10
|
+
/** @typedef {import('../visitor').Visitor} Visitor */
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* When nested inline types require additional imports. E.g.:
|