Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/linking-types

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/linking-types - npm Package Compare versions

Comparing version 8.10.0 to 8.11.0

9

CHANGELOG.md
# @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 @@

14

dist/cjs/datasource-action-types.js

@@ -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 {};

2

dist/types-ts4.5/index.d.ts
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc