@atlaskit/linking-types
Advanced tools
Comparing version 2.0.0 to 3.0.0
# @atlaskit/linking-types | ||
## 3.0.0 | ||
### Major Changes | ||
- [`3f4a6031a0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f4a6031a0e) - Removed the meta wrapper for primitive types and added `data` prop for `DatasourceDataResponseItem` | ||
## 2.0.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@atlaskit/linking-types", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/linking-types", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/linking-types", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"sideEffects": false | ||
} |
@@ -1,31 +0,32 @@ | ||
interface TypeValueInjector<TValue> { | ||
value: TValue; | ||
} | ||
export interface BooleanType { | ||
type: 'boolean'; | ||
value: TypeValueInjector<boolean>; | ||
value: boolean; | ||
} | ||
export interface NumberType { | ||
type: 'number'; | ||
value: TypeValueInjector<number>; | ||
value: number; | ||
} | ||
export interface StringType { | ||
type: 'string'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface DateType { | ||
type: 'date'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface TimeType { | ||
type: 'time'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface DateTimeType { | ||
type: 'datetime'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface Tag { | ||
id?: string; | ||
text: string; | ||
} | ||
export interface TagType { | ||
type: 'tag'; | ||
value: TypeValueInjector<string>; | ||
value: Tag; | ||
} | ||
@@ -43,7 +44,7 @@ export interface User { | ||
export interface Status { | ||
id?: string; | ||
text: string; | ||
status: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
style?: { | ||
color: string; | ||
backgroundColor: string; | ||
appearance?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
isBold?: boolean; | ||
}; | ||
@@ -58,3 +59,5 @@ } | ||
text?: string; | ||
linkType?: 'key'; | ||
style?: { | ||
appearance?: 'default' | 'key'; | ||
}; | ||
} | ||
@@ -73,3 +76,3 @@ export interface LinkType { | ||
} | ||
export type DatasourceType = BooleanType | NumberType | StringType | TagType | IconType | UserType | StatusType | LinkType | DateType | TimeType | DateTimeType; | ||
export type DatasourceType = BooleanType | NumberType | StringType | IconType | StatusType | DateType | TimeType | DateTimeType | TagType | UserType | LinkType; | ||
export interface DatasourceResponseSchemaProperty { | ||
@@ -80,7 +83,7 @@ key: string; | ||
isList?: boolean; | ||
isDefault?: boolean; | ||
isIdentity?: boolean; | ||
} | ||
export interface DatasourceDataResponseItem { | ||
[key: string]: DatasourceType['value'] | DatasourceType['value'][]; | ||
[key: string]: { | ||
data: DatasourceType['value'] | DatasourceType['value'][]; | ||
}; | ||
} | ||
@@ -100,2 +103,3 @@ export interface DatasourceParameters { | ||
description: string; | ||
isRequired?: boolean; | ||
} | ||
@@ -119,2 +123,1 @@ export interface DatasourceResponse { | ||
export type DatasourceTableStatusType = 'empty' | 'loading' | 'resolved' | 'rejected'; | ||
export {}; |
@@ -1,31 +0,32 @@ | ||
interface TypeValueInjector<TValue> { | ||
value: TValue; | ||
} | ||
export interface BooleanType { | ||
type: 'boolean'; | ||
value: TypeValueInjector<boolean>; | ||
value: boolean; | ||
} | ||
export interface NumberType { | ||
type: 'number'; | ||
value: TypeValueInjector<number>; | ||
value: number; | ||
} | ||
export interface StringType { | ||
type: 'string'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface DateType { | ||
type: 'date'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface TimeType { | ||
type: 'time'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface DateTimeType { | ||
type: 'datetime'; | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
export interface Tag { | ||
id?: string; | ||
text: string; | ||
} | ||
export interface TagType { | ||
type: 'tag'; | ||
value: TypeValueInjector<string>; | ||
value: Tag; | ||
} | ||
@@ -43,7 +44,7 @@ export interface User { | ||
export interface Status { | ||
id?: string; | ||
text: string; | ||
status: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
style?: { | ||
color: string; | ||
backgroundColor: string; | ||
appearance?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
isBold?: boolean; | ||
}; | ||
@@ -58,3 +59,5 @@ } | ||
text?: string; | ||
linkType?: 'key'; | ||
style?: { | ||
appearance?: 'default' | 'key'; | ||
}; | ||
} | ||
@@ -73,3 +76,3 @@ export interface LinkType { | ||
} | ||
export type DatasourceType = BooleanType | NumberType | StringType | TagType | IconType | UserType | StatusType | LinkType | DateType | TimeType | DateTimeType; | ||
export type DatasourceType = BooleanType | NumberType | StringType | IconType | StatusType | DateType | TimeType | DateTimeType | TagType | UserType | LinkType; | ||
export interface DatasourceResponseSchemaProperty { | ||
@@ -80,7 +83,7 @@ key: string; | ||
isList?: boolean; | ||
isDefault?: boolean; | ||
isIdentity?: boolean; | ||
} | ||
export interface DatasourceDataResponseItem { | ||
[key: string]: DatasourceType['value'] | DatasourceType['value'][]; | ||
[key: string]: { | ||
data: DatasourceType['value'] | DatasourceType['value'][]; | ||
}; | ||
} | ||
@@ -100,2 +103,3 @@ export interface DatasourceParameters { | ||
description: string; | ||
isRequired?: boolean; | ||
} | ||
@@ -119,2 +123,1 @@ export interface DatasourceResponse { | ||
export type DatasourceTableStatusType = 'empty' | 'loading' | 'resolved' | 'rejected'; | ||
export {}; |
{ | ||
"name": "@atlaskit/linking-types", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Schema and Types for frontend and backend parts of linking platform", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd", |
@@ -23,3 +23,3 @@ <!-- API Report Version: 2.3 --> | ||
// (undocumented) | ||
value: TypeValueInjector<boolean>; | ||
value: boolean; | ||
} | ||
@@ -52,3 +52,5 @@ | ||
// (undocumented) | ||
[key: string]: DatasourceType['value'] | DatasourceType['value'][]; | ||
[key: string]: { | ||
data: DatasourceType['value'] | DatasourceType['value'][]; | ||
}; | ||
} | ||
@@ -86,2 +88,4 @@ | ||
// (undocumented) | ||
isRequired?: boolean; | ||
// (undocumented) | ||
key: string; | ||
@@ -95,6 +99,2 @@ // (undocumented) | ||
// (undocumented) | ||
isDefault?: boolean; | ||
// (undocumented) | ||
isIdentity?: boolean; | ||
// (undocumented) | ||
isList?: boolean; | ||
@@ -135,3 +135,3 @@ // (undocumented) | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
@@ -144,3 +144,3 @@ | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
@@ -205,3 +205,5 @@ | ||
// (undocumented) | ||
linkType?: 'key'; | ||
style?: { | ||
appearance?: 'default' | 'key'; | ||
}; | ||
// (undocumented) | ||
@@ -226,3 +228,3 @@ text?: string; | ||
// (undocumented) | ||
value: TypeValueInjector<number>; | ||
value: number; | ||
} | ||
@@ -241,7 +243,13 @@ | ||
// (undocumented) | ||
status: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
id?: string; | ||
// (undocumented) | ||
style?: { | ||
color: string; | ||
backgroundColor: string; | ||
appearance?: | ||
| 'default' | ||
| 'inprogress' | ||
| 'moved' | ||
| 'new' | ||
| 'removed' | ||
| 'success'; | ||
isBold?: boolean; | ||
}; | ||
@@ -270,6 +278,14 @@ // (undocumented) | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
// @public (undocumented) | ||
interface Tag { | ||
// (undocumented) | ||
id?: string; | ||
// (undocumented) | ||
text: string; | ||
} | ||
// @public (undocumented) | ||
export interface TagType { | ||
@@ -279,3 +295,3 @@ // (undocumented) | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: Tag; | ||
} | ||
@@ -288,12 +304,6 @@ | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
// @public (undocumented) | ||
interface TypeValueInjector<TValue> { | ||
// (undocumented) | ||
value: TValue; | ||
} | ||
// @public (undocumented) | ||
export interface User { | ||
@@ -300,0 +310,0 @@ // (undocumented) |
@@ -12,3 +12,3 @@ ## API Report File for "@atlaskit/linking-types" | ||
// (undocumented) | ||
value: TypeValueInjector<boolean>; | ||
value: boolean; | ||
} | ||
@@ -41,3 +41,5 @@ | ||
// (undocumented) | ||
[key: string]: DatasourceType['value'] | DatasourceType['value'][]; | ||
[key: string]: { | ||
data: DatasourceType['value'] | DatasourceType['value'][]; | ||
}; | ||
} | ||
@@ -75,2 +77,4 @@ | ||
// (undocumented) | ||
isRequired?: boolean; | ||
// (undocumented) | ||
key: string; | ||
@@ -84,6 +88,2 @@ // (undocumented) | ||
// (undocumented) | ||
isDefault?: boolean; | ||
// (undocumented) | ||
isIdentity?: boolean; | ||
// (undocumented) | ||
isList?: boolean; | ||
@@ -109,3 +109,3 @@ // (undocumented) | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
@@ -118,3 +118,3 @@ | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
@@ -179,3 +179,5 @@ | ||
// (undocumented) | ||
linkType?: 'key'; | ||
style?: { | ||
appearance?: 'default' | 'key'; | ||
}; | ||
// (undocumented) | ||
@@ -200,3 +202,3 @@ text?: string; | ||
// (undocumented) | ||
value: TypeValueInjector<number>; | ||
value: number; | ||
} | ||
@@ -215,7 +217,7 @@ | ||
// (undocumented) | ||
status: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
id?: string; | ||
// (undocumented) | ||
style?: { | ||
color: string; | ||
backgroundColor: string; | ||
appearance?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
isBold?: boolean; | ||
}; | ||
@@ -244,6 +246,14 @@ // (undocumented) | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
// @public (undocumented) | ||
interface Tag { | ||
// (undocumented) | ||
id?: string; | ||
// (undocumented) | ||
text: string; | ||
} | ||
// @public (undocumented) | ||
export interface TagType { | ||
@@ -253,3 +263,3 @@ // (undocumented) | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: Tag; | ||
} | ||
@@ -262,12 +272,6 @@ | ||
// (undocumented) | ||
value: TypeValueInjector<string>; | ||
value: string; | ||
} | ||
// @public (undocumented) | ||
interface TypeValueInjector<TValue> { | ||
// (undocumented) | ||
value: TValue; | ||
} | ||
// @public (undocumented) | ||
export interface User { | ||
@@ -274,0 +278,0 @@ // (undocumented) |
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
812
37404