apibuilder-js
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -12,2 +12,5 @@ import { FullyQualifiedName } from '../language'; | ||
declare type StrictUnion<T> = Compute<StrictUnionHelper<T, T>>; | ||
declare type JSONValue = string | number | boolean | null | JSONValue[] | { | ||
[key: string]: JSONValue; | ||
}; | ||
export interface ApiBuilderAnnotationConfig { | ||
@@ -46,3 +49,3 @@ readonly name: string; | ||
readonly name: string; | ||
readonly value: Record<string, string>; | ||
readonly value: JSONValue; | ||
readonly description?: string; | ||
@@ -49,0 +52,0 @@ readonly deprecation?: ApiBuilderDeprecationConfig; |
{ | ||
"name": "apibuilder-js", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "A reference implementation of API Builder for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -29,2 +29,10 @@ /* eslint-disable max-classes-per-file, import/no-cycle, @typescript-eslint/no-use-before-define */ | ||
type JSONValue = | ||
| string | ||
| number | ||
| boolean | ||
| null | ||
| JSONValue[] | ||
| { [key: string]: JSONValue }; | ||
export interface ApiBuilderAnnotationConfig { | ||
@@ -73,3 +81,3 @@ readonly name: string; | ||
readonly name: string; | ||
readonly value: Record<string, string>; | ||
readonly value: JSONValue; | ||
readonly description?: string; | ||
@@ -76,0 +84,0 @@ readonly deprecation?: ApiBuilderDeprecationConfig; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
309158
9784