Skip to content

Commit

Permalink
Add new ApiJsonSchemaVersion (V_1011) for 'isAbstract' field
Browse files Browse the repository at this point in the history
  • Loading branch information
fwienber committed Oct 18, 2022
1 parent 2c272dc commit 2088fd3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libraries/api-extractor-model/src/model/DeserializerContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,21 @@ export enum ApiJsonSchemaVersion {
*/
V_1010 = 1010,

/**
* Add an `isAbstract` field to `ApiClass`, `ApiMethod`, and `ApiProperty` to
* track whether the item is abstract.
*
* When loading older JSON files, the value defaults to `false`.
*/
V_1011 = 1011,

/**
* The current latest .api.json schema version.
*
* IMPORTANT: When incrementing this number, consider whether `OLDEST_SUPPORTED` or `OLDEST_FORWARDS_COMPATIBLE`
* should be updated.
*/
LATEST = V_1010,
LATEST = V_1011,

/**
* The oldest .api.json schema version that is still supported for backwards compatibility.
Expand Down

0 comments on commit 2088fd3

Please sign in to comment.