@atlaskit/linking-types
Advanced tools
Comparing version 8.10.0 to 8.11.0
# @atlaskit/linking-types | ||
## 8.11.0 | ||
### Minor Changes | ||
- [#119546](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/119546) | ||
[`cbe8dcaa80703`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cbe8dcaa80703) - | ||
New Datasource Action Types: `ActionsServiceDiscoveryResponse`, `AtomicActionExecuteRequest`, | ||
`ActionOperationStatus`, `AtomicActionExecuteResponse`, `ActionsServiceError` | ||
## 8.10.0 | ||
@@ -4,0 +13,0 @@ |
@@ -1,1 +0,13 @@ | ||
"use strict"; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.ActionOperationStatus = void 0; | ||
// Discovery | ||
// Execution | ||
var ActionOperationStatus = exports.ActionOperationStatus = /*#__PURE__*/function (ActionOperationStatus) { | ||
ActionOperationStatus["SUCCESS"] = "SUCCESS"; | ||
ActionOperationStatus["FAILURE"] = "FAILURE"; | ||
return ActionOperationStatus; | ||
}({}); // Errors |
@@ -0,1 +1,12 @@ | ||
interface ActionsDiscoveryInterface { | ||
aris: string[]; | ||
fieldKeys: string[]; | ||
} | ||
interface DatasourceIntegration extends ActionsDiscoveryInterface { | ||
datasourceId: string; | ||
} | ||
interface TargetIntegration extends ActionsDiscoveryInterface { | ||
integrationKey: string; | ||
} | ||
export type ActionsDiscoveryRequest = DatasourceIntegration | TargetIntegration; | ||
export interface PermissionTypes { | ||
@@ -9,8 +20,9 @@ isEditable: boolean; | ||
export interface AtomicActionInterface { | ||
integrationKey: string; | ||
actionKey: string; | ||
fieldKey: string; | ||
type: 'string' | 'number'; | ||
description?: string; | ||
type: 'string' | 'number'; | ||
} | ||
export interface ActionsDiscoveryResponse { | ||
export interface ActionsServiceDiscoveryResponse { | ||
actions: AtomicActionInterface[]; | ||
@@ -21,5 +33,24 @@ permissions: { | ||
} | ||
export interface ActionsDiscoveryRequest { | ||
aris: string[]; | ||
fieldKeys: string[]; | ||
export type ActionsDiscoveryResponse = ActionsServiceDiscoveryResponse | ActionsServiceError; | ||
export interface AtomicActionExecuteRequest { | ||
integrationKey: string; | ||
actionKey: string; | ||
parameters: { | ||
inputs: { | ||
[key: string]: string | number; | ||
}; | ||
}; | ||
} | ||
export declare enum ActionOperationStatus { | ||
SUCCESS = "SUCCESS", | ||
FAILURE = "FAILURE" | ||
} | ||
export interface AtomicActionExecuteResponse { | ||
operationStatus: ActionOperationStatus; | ||
errors: ActionsServiceError[]; | ||
} | ||
export interface ActionsServiceError { | ||
message: string; | ||
code: number; | ||
} | ||
export {}; |
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 { ActionsDiscoveryRequest, PermissionTypes, PermissionInterface, AtomicActionInterface, ActionsServiceDiscoveryResponse, ActionsDiscoveryResponse, AtomicActionExecuteRequest, ActionOperationStatus, AtomicActionExecuteResponse, ActionsServiceError, } 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'; |
@@ -0,1 +1,12 @@ | ||
interface ActionsDiscoveryInterface { | ||
aris: string[]; | ||
fieldKeys: string[]; | ||
} | ||
interface DatasourceIntegration extends ActionsDiscoveryInterface { | ||
datasourceId: string; | ||
} | ||
interface TargetIntegration extends ActionsDiscoveryInterface { | ||
integrationKey: string; | ||
} | ||
export type ActionsDiscoveryRequest = DatasourceIntegration | TargetIntegration; | ||
export interface PermissionTypes { | ||
@@ -9,8 +20,9 @@ isEditable: boolean; | ||
export interface AtomicActionInterface { | ||
integrationKey: string; | ||
actionKey: string; | ||
fieldKey: string; | ||
type: 'string' | 'number'; | ||
description?: string; | ||
type: 'string' | 'number'; | ||
} | ||
export interface ActionsDiscoveryResponse { | ||
export interface ActionsServiceDiscoveryResponse { | ||
actions: AtomicActionInterface[]; | ||
@@ -21,5 +33,24 @@ permissions: { | ||
} | ||
export interface ActionsDiscoveryRequest { | ||
aris: string[]; | ||
fieldKeys: string[]; | ||
export type ActionsDiscoveryResponse = ActionsServiceDiscoveryResponse | ActionsServiceError; | ||
export interface AtomicActionExecuteRequest { | ||
integrationKey: string; | ||
actionKey: string; | ||
parameters: { | ||
inputs: { | ||
[key: string]: string | number; | ||
}; | ||
}; | ||
} | ||
export declare enum ActionOperationStatus { | ||
SUCCESS = "SUCCESS", | ||
FAILURE = "FAILURE" | ||
} | ||
export interface AtomicActionExecuteResponse { | ||
operationStatus: ActionOperationStatus; | ||
errors: ActionsServiceError[]; | ||
} | ||
export interface ActionsServiceError { | ||
message: string; | ||
code: number; | ||
} | ||
export {}; |
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 { ActionsDiscoveryRequest, PermissionTypes, PermissionInterface, AtomicActionInterface, ActionsServiceDiscoveryResponse, ActionsDiscoveryResponse, AtomicActionExecuteRequest, ActionOperationStatus, AtomicActionExecuteResponse, ActionsServiceError, } 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'; |
{ | ||
"name": "@atlaskit/linking-types", | ||
"version": "8.10.0", | ||
"version": "8.11.0", | ||
"description": "Schema and Types for frontend and backend parts of linking platform", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd", |
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
48212
786