@atlaskit/linking-types
Advanced tools
Comparing version 8.9.0 to 8.10.0
222
CHANGELOG.md
# @atlaskit/linking-types | ||
## 8.10.0 | ||
### Minor Changes | ||
- [#118585](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/118585) | ||
[`723f4d3111877`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/723f4d3111877) - | ||
The changes here adds `AtomicActionInterface`, `ActionsDiscoveryResponse`, `PermissionInterface`, | ||
`PermissionTypes`, `ActionsDiscoveryRequest` datasource-actions types. | ||
## 8.9.0 | ||
@@ -7,5 +16,5 @@ | ||
- [#102193](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102193) | ||
[`8af48cf8ca23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8af48cf8ca23) - | ||
Add RelatedLinks to SupportedFeature | ||
- [#102193](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102193) | ||
[`8af48cf8ca23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8af48cf8ca23) - | ||
Add RelatedLinks to SupportedFeature | ||
@@ -16,5 +25,5 @@ ## 8.8.1 | ||
- [#99895](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99895) | ||
[`b36c3f2b02c6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b36c3f2b02c6) - | ||
Added the automation action to the SupportedFeatures type for object resolver services | ||
- [#99895](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99895) | ||
[`b36c3f2b02c6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b36c3f2b02c6) - | ||
Added the automation action to the SupportedFeatures type for object resolver services | ||
@@ -25,6 +34,6 @@ ## 8.8.0 | ||
- [#87079](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87079) | ||
[`b3f493af070b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b3f493af070b) - | ||
[ux] Added optional `color` and `url` field to datasource-types.ts to update the possible | ||
properties of Tags (Labels) and how they are rendered. | ||
- [#87079](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87079) | ||
[`b3f493af070b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b3f493af070b) - | ||
[ux] Added optional `color` and `url` field to datasource-types.ts to update the possible | ||
properties of Tags (Labels) and how they are rendered. | ||
@@ -35,5 +44,5 @@ ## 8.7.1 | ||
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) | ||
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - | ||
Upgrade Typescript from `4.9.5` to `5.4.2` | ||
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) | ||
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - | ||
Upgrade Typescript from `4.9.5` to `5.4.2` | ||
@@ -44,5 +53,5 @@ ## 8.7.0 | ||
- [#78777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78777) | ||
[`c581b7545e6f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c581b7545e6f) - | ||
Update DatasourceResponseParameter type to include isList | ||
- [#78777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78777) | ||
[`c581b7545e6f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c581b7545e6f) - | ||
Update DatasourceResponseParameter type to include isList | ||
@@ -53,5 +62,5 @@ ## 8.6.0 | ||
- [#68611](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68611) | ||
[`22434a653486`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22434a653486) - | ||
Added a SupportedFeature type | ||
- [#68611](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68611) | ||
[`22434a653486`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22434a653486) - | ||
Added a SupportedFeature type | ||
@@ -62,6 +71,6 @@ ## 8.5.1 | ||
- [#57736](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57736) | ||
[`d8193e501bcc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d8193e501bcc) - | ||
[ux] Changes behavior of datasource modal to persist query changes on insert without needing to | ||
click search. | ||
- [#57736](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57736) | ||
[`d8193e501bcc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d8193e501bcc) - | ||
[ux] Changes behavior of datasource modal to persist query changes on insert without needing to | ||
click search. | ||
@@ -72,5 +81,5 @@ ## 8.5.0 | ||
- [#42504](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42504) | ||
[`8ee7afb2d85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ee7afb2d85) - Added | ||
DatasourceDataSchema model. Used fields in the request for applying schema. | ||
- [#42504](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42504) | ||
[`8ee7afb2d85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ee7afb2d85) - Added | ||
DatasourceDataSchema model. Used fields in the request for applying schema. | ||
@@ -81,5 +90,5 @@ ## 8.4.0 | ||
- [#40783](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40783) | ||
[`a591eb7b1ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a591eb7b1ce) - Added | ||
default properties to datasource data response | ||
- [#40783](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40783) | ||
[`a591eb7b1ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a591eb7b1ce) - Added | ||
default properties to datasource data response | ||
@@ -90,5 +99,5 @@ ## 8.3.0 | ||
- [#39621](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39621) | ||
[`5a5d1886592`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a5d1886592) - Add | ||
follow and unfollow action type | ||
- [#39621](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39621) | ||
[`5a5d1886592`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a5d1886592) - Add | ||
follow and unfollow action type | ||
@@ -99,5 +108,5 @@ ## 8.2.0 | ||
- [#36787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36787) | ||
[`3c0719a11f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c0719a11f7) - added | ||
richtext type | ||
- [#36787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36787) | ||
[`3c0719a11f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c0719a11f7) - added | ||
richtext type | ||
@@ -108,5 +117,5 @@ ## 8.1.0 | ||
- [#35297](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35297) | ||
[`ba155a0034c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba155a0034c) - [ux] | ||
Add restricted access view to modal and table | ||
- [#35297](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35297) | ||
[`ba155a0034c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba155a0034c) - [ux] Add | ||
restricted access view to modal and table | ||
@@ -117,6 +126,6 @@ ## 8.0.0 | ||
- [#36138](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36138) | ||
[`12411d70076`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12411d70076) - export | ||
more datasource types in the linking-type index and remove the defaultProperties in the | ||
datasourceDataResponse | ||
- [#36138](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36138) | ||
[`12411d70076`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12411d70076) - export | ||
more datasource types in the linking-type index and remove the defaultProperties in the | ||
datasourceDataResponse | ||
@@ -127,6 +136,6 @@ ## 7.0.0 | ||
- [#35861](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35861) | ||
[`f427908df3d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f427908df3d) - change | ||
the datasource response type to include the meta data section and the data response will wrap in | ||
the data section | ||
- [#35861](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35861) | ||
[`f427908df3d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f427908df3d) - change | ||
the datasource response type to include the meta data section and the data response will wrap in | ||
the data section | ||
@@ -137,5 +146,5 @@ ## 6.0.0 | ||
- [#34363](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34363) | ||
[`b232899125b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b232899125b) - Update | ||
DatasourceDataResponse.totalIssues is changed to totalCount | ||
- [#34363](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34363) | ||
[`b232899125b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b232899125b) - Update | ||
DatasourceDataResponse.totalIssues is changed to totalCount | ||
@@ -146,5 +155,5 @@ ## 5.0.0 | ||
- [#34540](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34540) | ||
[`df4d3388fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df4d3388fb9) - Added | ||
schema to data response. Removed isFullSchema from datasource details request and response | ||
- [#34540](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34540) | ||
[`df4d3388fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df4d3388fb9) - Added | ||
schema to data response. Removed isFullSchema from datasource details request and response | ||
@@ -155,5 +164,5 @@ ## 4.0.0 | ||
- [#34361](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34361) | ||
[`637822277ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/637822277ce) - Added | ||
an optional parameter for datasource details request and response | ||
- [#34361](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34361) | ||
[`637822277ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/637822277ce) - Added an | ||
optional parameter for datasource details request and response | ||
@@ -164,6 +173,5 @@ ## 3.0.0 | ||
- [#34035](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34035) | ||
[`3f4a6031a0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f4a6031a0e) - | ||
Removed the meta wrapper for primitive types and added `data` prop for | ||
`DatasourceDataResponseItem` | ||
- [#34035](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34035) | ||
[`3f4a6031a0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f4a6031a0e) - Removed | ||
the meta wrapper for primitive types and added `data` prop for `DatasourceDataResponseItem` | ||
@@ -174,5 +182,5 @@ ## 2.0.0 | ||
- [#33917](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33917) | ||
[`c3219284ef0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3219284ef0) - Added | ||
meta wrapper to primitive types | ||
- [#33917](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33917) | ||
[`c3219284ef0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3219284ef0) - Added | ||
meta wrapper to primitive types | ||
@@ -183,11 +191,11 @@ ## 1.6.0 | ||
- [#33790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33790) | ||
[`d04dbae5a15`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d04dbae5a15) - Remove | ||
uneeded type that was accidentally added in | ||
- [#33790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33790) | ||
[`d04dbae5a15`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d04dbae5a15) - Remove | ||
uneeded type that was accidentally added in | ||
### Patch Changes | ||
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) | ||
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure | ||
legacy types are published for TS 4.5-4.8 | ||
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) | ||
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure | ||
legacy types are published for TS 4.5-4.8 | ||
@@ -198,5 +206,5 @@ ## 1.5.1 | ||
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) | ||
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - | ||
Upgrade Typescript from `4.5.5` to `4.9.5` | ||
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) | ||
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade | ||
Typescript from `4.5.5` to `4.9.5` | ||
@@ -207,5 +215,5 @@ ## 1.5.0 | ||
- [#33177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33177) | ||
[`670454dc4a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/670454dc4a0) - Add | ||
totalIssues to mock/types | ||
- [#33177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33177) | ||
[`670454dc4a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/670454dc4a0) - Add | ||
totalIssues to mock/types | ||
@@ -216,5 +224,5 @@ ## 1.4.0 | ||
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) | ||
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip | ||
minor dependency bump | ||
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) | ||
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip | ||
minor dependency bump | ||
@@ -225,5 +233,5 @@ ## 1.3.0 | ||
- [#32751](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32751) | ||
[`92798c68d27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/92798c68d27) - Add | ||
`DatasourceTableStatusType` type and updated DatasourceDataResponse with `totalIssues` field. | ||
- [#32751](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32751) | ||
[`92798c68d27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/92798c68d27) - Add | ||
`DatasourceTableStatusType` type and updated DatasourceDataResponse with `totalIssues` field. | ||
@@ -234,5 +242,5 @@ ## 1.2.0 | ||
- [#32589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32589) | ||
[`709e46de9d0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/709e46de9d0) - New | ||
error type was added to Smart card actions | ||
- [#32589](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32589) | ||
[`709e46de9d0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/709e46de9d0) - New | ||
error type was added to Smart card actions | ||
@@ -243,5 +251,5 @@ ## 1.1.0 | ||
- [#32502](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32502) | ||
[`d6266015d59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6266015d59) - Added | ||
`Time` and `DateTime` types to `DatasourceType` | ||
- [#32502](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32502) | ||
[`d6266015d59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6266015d59) - Added | ||
`Time` and `DateTime` types to `DatasourceType` | ||
@@ -252,5 +260,5 @@ ## 1.0.0 | ||
- [#32189](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32189) | ||
[`c195b15017e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c195b15017e) - | ||
removed url property from `Icon` and updated status in `Status` as union type. | ||
- [#32189](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32189) | ||
[`c195b15017e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c195b15017e) - removed | ||
url property from `Icon` and updated status in `Status` as union type. | ||
@@ -261,5 +269,5 @@ ## 0.4.1 | ||
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) | ||
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY | ||
remove before merging to master; dupe adf-schema via adf-utils | ||
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) | ||
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY | ||
remove before merging to master; dupe adf-schema via adf-utils | ||
@@ -270,5 +278,5 @@ ## 0.4.0 | ||
- [#32368](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32368) | ||
[`5c993bce7c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c993bce7c7) - | ||
Updated types and interfaces to match current Datasource API design | ||
- [#32368](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32368) | ||
[`5c993bce7c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c993bce7c7) - Updated | ||
types and interfaces to match current Datasource API design | ||
@@ -279,5 +287,5 @@ ## 0.3.0 | ||
- [#31905](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31905) | ||
[`278539e88cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278539e88cd) - Update | ||
smart link action types | ||
- [#31905](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31905) | ||
[`278539e88cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278539e88cd) - Update | ||
smart link action types | ||
@@ -288,5 +296,5 @@ ## 0.2.0 | ||
- [#30419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30419) | ||
[`82ce247716c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/82ce247716c) - Adds a | ||
new link datasource component `JiraIssuesTableView` (still under development) is added | ||
- [#30419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30419) | ||
[`82ce247716c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/82ce247716c) - Adds a | ||
new link datasource component `JiraIssuesTableView` (still under development) is added | ||
@@ -297,5 +305,5 @@ ## 0.1.1 | ||
- [#31232](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31232) | ||
[`47412a09e69`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47412a09e69) - | ||
Changed export way for SmartLinkActionType enum | ||
- [#31232](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31232) | ||
[`47412a09e69`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47412a09e69) - Changed | ||
export way for SmartLinkActionType enum | ||
@@ -306,4 +314,4 @@ ## 0.1.0 | ||
- [#31204](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31204) | ||
[`04378334c97`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04378334c97) - Added | ||
Smart Link Action types that will be shared between FE & BE | ||
- [#31204](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31204) | ||
[`04378334c97`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04378334c97) - Added | ||
Smart Link Action types that will be shared between FE & BE |
export type { Access, AuthService, BooleanType, DatasourceData, DatasourceDataRequest, DatasourceDataResponse, DatasourceDataResponseItem, DatasourceDetails, DatasourceDetailsRequest, DatasourceDetailsResponse, DatasourceDataSchema, DatasourceDetailsSchema, DatasourceMeta, DatasourceParameters, DatasourceResponseParameter, DatasourceResponseSchemaProperty, DatasourceTableStatusType, DatasourceType, DateTimeType, DateType, Icon, IconType, Link, LinkType, NumberType, RichText, RichTextType, Status, StatusType, StringType, Tag, TagType, TimeType, User, UserType, Visibility, } from './datasource-types'; | ||
export type { AtomicActionInterface, ActionsDiscoveryResponse, PermissionInterface, PermissionTypes, ActionsDiscoveryRequest, } from './datasource-action-types'; | ||
export type { InvokeRequest, InvokeRequestAction, StatusUpdateActionPayload, InvokeResponse, InvokeErrorResponse, GetStatusTransitionsInvokeResponse, } from './smart-link-action-types'; | ||
export { SmartLinkActionType, InvokeError } from './smart-link-action-types'; | ||
export type { SupportedFeature } from './supported-feature'; |
export type { Access, AuthService, BooleanType, DatasourceData, DatasourceDataRequest, DatasourceDataResponse, DatasourceDataResponseItem, DatasourceDetails, DatasourceDetailsRequest, DatasourceDetailsResponse, DatasourceDataSchema, DatasourceDetailsSchema, DatasourceMeta, DatasourceParameters, DatasourceResponseParameter, DatasourceResponseSchemaProperty, DatasourceTableStatusType, DatasourceType, DateTimeType, DateType, Icon, IconType, Link, LinkType, NumberType, RichText, RichTextType, Status, StatusType, StringType, Tag, TagType, TimeType, User, UserType, Visibility, } from './datasource-types'; | ||
export type { AtomicActionInterface, ActionsDiscoveryResponse, PermissionInterface, PermissionTypes, ActionsDiscoveryRequest, } from './datasource-action-types'; | ||
export type { InvokeRequest, InvokeRequestAction, StatusUpdateActionPayload, InvokeResponse, InvokeErrorResponse, GetStatusTransitionsInvokeResponse, } from './smart-link-action-types'; | ||
export { SmartLinkActionType, InvokeError } from './smart-link-action-types'; | ||
export type { SupportedFeature } from './supported-feature'; |
Copyright 2022 Atlassian Pty Ltd | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
implied. See the License for the specific language governing permissions and limitations under the | ||
License. |
157
package.json
{ | ||
"name": "@atlaskit/linking-types", | ||
"version": "8.9.0", | ||
"description": "Schema and Types for frontend and backend parts of linking platform", | ||
"author": "Atlassian Pty Ltd", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"atlassian": { | ||
"team": "Linking Platform", | ||
"inPublicMirror": false, | ||
"releaseModel": "continuous", | ||
"website": { | ||
"name": "LinkingTypes" | ||
} | ||
}, | ||
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"module:es2019": "dist/es2019/index.js", | ||
"types": "dist/types/index.d.ts", | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"dist/types-ts4.5/*", | ||
"dist/types-ts4.5/index.d.ts" | ||
] | ||
} | ||
}, | ||
"sideEffects": false, | ||
"atlaskit:src": "src/index.ts", | ||
"af:exports": { | ||
".": "./src/index.ts", | ||
"./datasource": "./src/datasource-types.ts", | ||
"./smart-link-actions": "./src/smart-link-action-types.ts" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0" | ||
}, | ||
"devDependencies": { | ||
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0", | ||
"react-dom": "^16.8.0", | ||
"typescript": "~5.4.2", | ||
"wait-for-expect": "^1.2.0" | ||
}, | ||
"techstack": { | ||
"@atlassian/frontend": { | ||
"import-structure": [ | ||
"atlassian-conventions" | ||
], | ||
"circular-dependencies": [ | ||
"file-and-folder-level" | ||
] | ||
}, | ||
"@repo/internal": { | ||
"dom-events": "use-bind-event-listener", | ||
"analytics": [ | ||
"analytics-next" | ||
], | ||
"design-tokens": [ | ||
"color" | ||
], | ||
"theming": [ | ||
"react-context" | ||
], | ||
"ui-components": [ | ||
"lite-mode" | ||
], | ||
"deprecation": [ | ||
"no-deprecated-imports" | ||
], | ||
"styling": [ | ||
"static", | ||
"emotion" | ||
] | ||
} | ||
}, | ||
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0" | ||
} | ||
"name": "@atlaskit/linking-types", | ||
"version": "8.10.0", | ||
"description": "Schema and Types for frontend and backend parts of linking platform", | ||
"author": "Atlassian Pty Ltd", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"atlassian": { | ||
"team": "Linking Platform", | ||
"inPublicMirror": false, | ||
"releaseModel": "continuous", | ||
"website": { | ||
"name": "LinkingTypes" | ||
} | ||
}, | ||
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"module:es2019": "dist/es2019/index.js", | ||
"types": "dist/types/index.d.ts", | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
"*": [ | ||
"dist/types-ts4.5/*", | ||
"dist/types-ts4.5/index.d.ts" | ||
] | ||
} | ||
}, | ||
"sideEffects": false, | ||
"atlaskit:src": "src/index.ts", | ||
"af:exports": { | ||
".": "./src/index.ts", | ||
"./datasource": "./src/datasource-types.ts", | ||
"./datasource-actions": "./src/datasource-action-types.ts", | ||
"./smart-link-actions": "./src/smart-link-action-types.ts" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0" | ||
}, | ||
"devDependencies": { | ||
"react-dom": "^16.8.0", | ||
"typescript": "~5.4.2", | ||
"wait-for-expect": "^1.2.0" | ||
}, | ||
"techstack": { | ||
"@atlassian/frontend": { | ||
"import-structure": [ | ||
"atlassian-conventions" | ||
], | ||
"circular-dependencies": [ | ||
"file-and-folder-level" | ||
] | ||
}, | ||
"@repo/internal": { | ||
"dom-events": "use-bind-event-listener", | ||
"analytics": [ | ||
"analytics-next" | ||
], | ||
"design-tokens": [ | ||
"color" | ||
], | ||
"theming": [ | ||
"react-context" | ||
], | ||
"ui-components": [ | ||
"lite-mode" | ||
], | ||
"deprecation": [ | ||
"no-deprecated-imports" | ||
], | ||
"styling": [ | ||
"static", | ||
"emotion" | ||
] | ||
} | ||
} | ||
} |
@@ -5,3 +5,4 @@ <!-- API Report Version: 2.3 --> | ||
> Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/). | ||
> Do not edit this file. This report is auto-generated using | ||
> [API Extractor](https://api-extractor.com/). | ||
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports) | ||
@@ -24,8 +25,8 @@ | ||
export interface AuthService { | ||
// (undocumented) | ||
displayName: string; | ||
// (undocumented) | ||
key: string; | ||
// (undocumented) | ||
url: string; | ||
// (undocumented) | ||
displayName: string; | ||
// (undocumented) | ||
key: string; | ||
// (undocumented) | ||
url: string; | ||
} | ||
@@ -35,6 +36,6 @@ | ||
export interface BooleanType { | ||
// (undocumented) | ||
type: 'boolean'; | ||
// (undocumented) | ||
value: boolean; | ||
// (undocumented) | ||
type: 'boolean'; | ||
// (undocumented) | ||
value: boolean; | ||
} | ||
@@ -44,6 +45,6 @@ | ||
export type DatasourceData = { | ||
items: DatasourceDataResponseItem[]; | ||
schema?: DatasourceDataSchema; | ||
nextPageCursor?: string; | ||
totalCount?: number; | ||
items: DatasourceDataResponseItem[]; | ||
schema?: DatasourceDataSchema; | ||
nextPageCursor?: string; | ||
totalCount?: number; | ||
}; | ||
@@ -53,24 +54,23 @@ | ||
export interface DatasourceDataRequest { | ||
// (undocumented) | ||
fields?: string[]; | ||
// (undocumented) | ||
includeSchema?: boolean; | ||
// (undocumented) | ||
pageCursor?: string; | ||
// (undocumented) | ||
pageSize: number; | ||
// (undocumented) | ||
parameters: DatasourceParameters; | ||
// (undocumented) | ||
fields?: string[]; | ||
// (undocumented) | ||
includeSchema?: boolean; | ||
// (undocumented) | ||
pageCursor?: string; | ||
// (undocumented) | ||
pageSize: number; | ||
// (undocumented) | ||
parameters: DatasourceParameters; | ||
} | ||
// @public (undocumented) | ||
export interface DatasourceDataResponse | ||
extends DatasourceResponse<DatasourceData> {} | ||
export interface DatasourceDataResponse extends DatasourceResponse<DatasourceData> {} | ||
// @public (undocumented) | ||
export interface DatasourceDataResponseItem { | ||
// (undocumented) | ||
[key: string]: { | ||
data: DatasourceType['value'] | DatasourceType['value'][]; | ||
}; | ||
// (undocumented) | ||
[key: string]: { | ||
data: DatasourceType['value'] | DatasourceType['value'][]; | ||
}; | ||
} | ||
@@ -80,4 +80,4 @@ | ||
export type DatasourceDataSchema = { | ||
properties: DatasourceResponseSchemaProperty[]; | ||
defaultProperties?: string[]; | ||
properties: DatasourceResponseSchemaProperty[]; | ||
defaultProperties?: string[]; | ||
}; | ||
@@ -87,8 +87,8 @@ | ||
export type DatasourceDetails = { | ||
ari: string; | ||
id: string; | ||
name: string; | ||
description: string; | ||
parameters: DatasourceResponseParameter[]; | ||
schema: DatasourceDetailsSchema; | ||
ari: string; | ||
id: string; | ||
name: string; | ||
description: string; | ||
parameters: DatasourceResponseParameter[]; | ||
schema: DatasourceDetailsSchema; | ||
}; | ||
@@ -98,13 +98,12 @@ | ||
export type DatasourceDetailsRequest = { | ||
parameters: DatasourceParameters; | ||
parameters: DatasourceParameters; | ||
}; | ||
// @public (undocumented) | ||
export interface DatasourceDetailsResponse | ||
extends DatasourceResponse<DatasourceDetails> {} | ||
export interface DatasourceDetailsResponse extends DatasourceResponse<DatasourceDetails> {} | ||
// @public (undocumented) | ||
export type DatasourceDetailsSchema = { | ||
properties: DatasourceResponseSchemaProperty[]; | ||
defaultProperties: string[]; | ||
properties: DatasourceResponseSchemaProperty[]; | ||
defaultProperties: string[]; | ||
}; | ||
@@ -114,6 +113,6 @@ | ||
export type DatasourceMeta = { | ||
access: Access; | ||
visibility: Visibility; | ||
auth?: AuthService[]; | ||
[k: string]: any; | ||
access: Access; | ||
visibility: Visibility; | ||
auth?: AuthService[]; | ||
[k: string]: any; | ||
}; | ||
@@ -123,4 +122,4 @@ | ||
export interface DatasourceParameters { | ||
// (undocumented) | ||
[key: string]: any; | ||
// (undocumented) | ||
[key: string]: any; | ||
} | ||
@@ -130,6 +129,6 @@ | ||
interface DatasourceResponse<TData> { | ||
// (undocumented) | ||
data: TData; | ||
// (undocumented) | ||
meta: DatasourceMeta; | ||
// (undocumented) | ||
data: TData; | ||
// (undocumented) | ||
meta: DatasourceMeta; | ||
} | ||
@@ -139,10 +138,10 @@ | ||
export interface DatasourceResponseParameter { | ||
// (undocumented) | ||
description: string; | ||
// (undocumented) | ||
isRequired?: boolean; | ||
// (undocumented) | ||
key: string; | ||
// (undocumented) | ||
type: DatasourceType['type']; | ||
// (undocumented) | ||
description: string; | ||
// (undocumented) | ||
isRequired?: boolean; | ||
// (undocumented) | ||
key: string; | ||
// (undocumented) | ||
type: DatasourceType['type']; | ||
} | ||
@@ -152,10 +151,10 @@ | ||
export interface DatasourceResponseSchemaProperty { | ||
// (undocumented) | ||
isList?: boolean; | ||
// (undocumented) | ||
key: string; | ||
// (undocumented) | ||
title: string; | ||
// (undocumented) | ||
type: DatasourceType['type']; | ||
// (undocumented) | ||
isList?: boolean; | ||
// (undocumented) | ||
key: string; | ||
// (undocumented) | ||
title: string; | ||
// (undocumented) | ||
type: DatasourceType['type']; | ||
} | ||
@@ -165,29 +164,29 @@ | ||
export type DatasourceTableStatusType = | ||
| 'empty' | ||
| 'loading' | ||
| 'rejected' | ||
| 'resolved' | ||
| 'unauthorized'; | ||
| 'empty' | ||
| 'loading' | ||
| 'rejected' | ||
| 'resolved' | ||
| 'unauthorized'; | ||
// @public (undocumented) | ||
export type DatasourceType = | ||
| BooleanType | ||
| DateTimeType | ||
| DateType | ||
| IconType | ||
| LinkType | ||
| NumberType | ||
| RichTextType | ||
| StatusType | ||
| StringType | ||
| TagType | ||
| TimeType | ||
| UserType; | ||
| BooleanType | ||
| DateTimeType | ||
| DateType | ||
| IconType | ||
| LinkType | ||
| NumberType | ||
| RichTextType | ||
| StatusType | ||
| StringType | ||
| TagType | ||
| TimeType | ||
| UserType; | ||
// @public (undocumented) | ||
export interface DateTimeType { | ||
// (undocumented) | ||
type: 'datetime'; | ||
// (undocumented) | ||
value: string; | ||
// (undocumented) | ||
type: 'datetime'; | ||
// (undocumented) | ||
value: string; | ||
} | ||
@@ -197,6 +196,6 @@ | ||
export interface DateType { | ||
// (undocumented) | ||
type: 'date'; | ||
// (undocumented) | ||
value: string; | ||
// (undocumented) | ||
type: 'date'; | ||
// (undocumented) | ||
value: string; | ||
} | ||
@@ -206,7 +205,7 @@ | ||
export type GetStatusTransitionsInvokeResponse = InvokeResponse & { | ||
transitions: { | ||
id: string; | ||
name: string; | ||
appearance?: string; | ||
}[]; | ||
transitions: { | ||
id: string; | ||
name: string; | ||
appearance?: string; | ||
}[]; | ||
}; | ||
@@ -216,6 +215,6 @@ | ||
export interface Icon { | ||
// (undocumented) | ||
label?: string; | ||
// (undocumented) | ||
source: string; | ||
// (undocumented) | ||
label?: string; | ||
// (undocumented) | ||
source: string; | ||
} | ||
@@ -225,6 +224,6 @@ | ||
export interface IconType { | ||
// (undocumented) | ||
type: 'icon'; | ||
// (undocumented) | ||
value: Icon; | ||
// (undocumented) | ||
type: 'icon'; | ||
// (undocumented) | ||
value: Icon; | ||
} | ||
@@ -234,5 +233,5 @@ | ||
export class InvokeError extends Error { | ||
constructor(message: string, errorCode: number); | ||
// (undocumented) | ||
errorCode: number; | ||
constructor(message: string, errorCode: number); | ||
// (undocumented) | ||
errorCode: number; | ||
} | ||
@@ -242,4 +241,4 @@ | ||
export type InvokeErrorResponse = InvokeResponse & { | ||
message?: string; | ||
errorCode?: string; | ||
message?: string; | ||
errorCode?: string; | ||
}; | ||
@@ -249,4 +248,4 @@ | ||
export type InvokeRequest<TPayload extends object = {}> = { | ||
action: InvokeRequestAction<TPayload>; | ||
providerKey: string; | ||
action: InvokeRequestAction<TPayload>; | ||
providerKey: string; | ||
}; | ||
@@ -256,5 +255,5 @@ | ||
export type InvokeRequestAction<TPayload extends object = {}> = { | ||
actionType: SmartLinkActionType; | ||
resourceIdentifiers: Record<string, any>; | ||
payload?: TPayload; | ||
actionType: SmartLinkActionType; | ||
resourceIdentifiers: Record<string, any>; | ||
payload?: TPayload; | ||
}; | ||
@@ -267,10 +266,10 @@ | ||
export interface Link { | ||
// (undocumented) | ||
style?: { | ||
appearance?: 'default' | 'key'; | ||
}; | ||
// (undocumented) | ||
text?: string; | ||
// (undocumented) | ||
url: string; | ||
// (undocumented) | ||
style?: { | ||
appearance?: 'default' | 'key'; | ||
}; | ||
// (undocumented) | ||
text?: string; | ||
// (undocumented) | ||
url: string; | ||
} | ||
@@ -280,6 +279,6 @@ | ||
export interface LinkType { | ||
// (undocumented) | ||
type: 'link'; | ||
// (undocumented) | ||
value: Link; | ||
// (undocumented) | ||
type: 'link'; | ||
// (undocumented) | ||
value: Link; | ||
} | ||
@@ -289,6 +288,6 @@ | ||
export interface NumberType { | ||
// (undocumented) | ||
type: 'number'; | ||
// (undocumented) | ||
value: number; | ||
// (undocumented) | ||
type: 'number'; | ||
// (undocumented) | ||
value: number; | ||
} | ||
@@ -298,6 +297,6 @@ | ||
export interface RichText { | ||
// (undocumented) | ||
text: string; | ||
// (undocumented) | ||
type: 'adf'; | ||
// (undocumented) | ||
text: string; | ||
// (undocumented) | ||
type: 'adf'; | ||
} | ||
@@ -307,6 +306,6 @@ | ||
export interface RichTextType { | ||
// (undocumented) | ||
type: 'richtext'; | ||
// (undocumented) | ||
value: RichText; | ||
// (undocumented) | ||
type: 'richtext'; | ||
// (undocumented) | ||
value: RichText; | ||
} | ||
@@ -316,10 +315,10 @@ | ||
export enum SmartLinkActionType { | ||
// (undocumented) | ||
FollowEntityAction = 'FollowEntityAction', | ||
// (undocumented) | ||
GetStatusTransitionsAction = 'GetStatusTransitionsAction', | ||
// (undocumented) | ||
StatusUpdateAction = 'StatusUpdateAction', | ||
// (undocumented) | ||
UnfollowEntityAction = 'UnfollowEntityAction', | ||
// (undocumented) | ||
FollowEntityAction = 'FollowEntityAction', | ||
// (undocumented) | ||
GetStatusTransitionsAction = 'GetStatusTransitionsAction', | ||
// (undocumented) | ||
StatusUpdateAction = 'StatusUpdateAction', | ||
// (undocumented) | ||
UnfollowEntityAction = 'UnfollowEntityAction', | ||
} | ||
@@ -329,17 +328,11 @@ | ||
export interface Status { | ||
// (undocumented) | ||
id?: string; | ||
// (undocumented) | ||
style?: { | ||
appearance?: | ||
| 'default' | ||
| 'inprogress' | ||
| 'moved' | ||
| 'new' | ||
| 'removed' | ||
| 'success'; | ||
isBold?: boolean; | ||
}; | ||
// (undocumented) | ||
text: string; | ||
// (undocumented) | ||
id?: string; | ||
// (undocumented) | ||
style?: { | ||
appearance?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success'; | ||
isBold?: boolean; | ||
}; | ||
// (undocumented) | ||
text: string; | ||
} | ||
@@ -349,6 +342,6 @@ | ||
export interface StatusType { | ||
// (undocumented) | ||
type: 'status'; | ||
// (undocumented) | ||
value: Status; | ||
// (undocumented) | ||
type: 'status'; | ||
// (undocumented) | ||
value: Status; | ||
} | ||
@@ -358,3 +351,3 @@ | ||
export type StatusUpdateActionPayload = { | ||
newStatusId: string; | ||
newStatusId: string; | ||
}; | ||
@@ -364,6 +357,6 @@ | ||
export interface StringType { | ||
// (undocumented) | ||
type: 'string'; | ||
// (undocumented) | ||
value: string; | ||
// (undocumented) | ||
type: 'string'; | ||
// (undocumented) | ||
value: string; | ||
} | ||
@@ -373,6 +366,6 @@ | ||
export interface Tag { | ||
// (undocumented) | ||
id?: string; | ||
// (undocumented) | ||
text: string; | ||
// (undocumented) | ||
id?: string; | ||
// (undocumented) | ||
text: string; | ||
} | ||
@@ -382,6 +375,6 @@ | ||
export interface TagType { | ||
// (undocumented) | ||
type: 'tag'; | ||
// (undocumented) | ||
value: Tag; | ||
// (undocumented) | ||
type: 'tag'; | ||
// (undocumented) | ||
value: Tag; | ||
} | ||
@@ -391,6 +384,6 @@ | ||
export interface TimeType { | ||
// (undocumented) | ||
type: 'time'; | ||
// (undocumented) | ||
value: string; | ||
// (undocumented) | ||
type: 'time'; | ||
// (undocumented) | ||
value: string; | ||
} | ||
@@ -400,10 +393,10 @@ | ||
export interface User { | ||
// (undocumented) | ||
atlassianUserId?: string; | ||
// (undocumented) | ||
avatarSource?: string; | ||
// (undocumented) | ||
displayName?: string; | ||
// (undocumented) | ||
url?: string; | ||
// (undocumented) | ||
atlassianUserId?: string; | ||
// (undocumented) | ||
avatarSource?: string; | ||
// (undocumented) | ||
displayName?: string; | ||
// (undocumented) | ||
url?: string; | ||
} | ||
@@ -413,6 +406,6 @@ | ||
export interface UserType { | ||
// (undocumented) | ||
type: 'user'; | ||
// (undocumented) | ||
value: User; | ||
// (undocumented) | ||
type: 'user'; | ||
// (undocumented) | ||
value: User; | ||
} | ||
@@ -419,0 +412,0 @@ |
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
44803
3
33
697