Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Jp/bump major #102

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "https://github.com/prismatic-io/embedded.git"
},
"license": "MIT",
"version": "2.12.0",
"version": "3.0.0-alpha",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down
4 changes: 0 additions & 4 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ import {
export { authenticate } from "./authenticate";
export {
configureInstance,
/**
* @deprecated Use configureInstance instead, this will be removed in the next major version (v3.0.0)
*/
configureInstance as configureIntegration, // alias for backwards compatibility
isConfigureInstanceWithInstanceId,
isConfigureInstanceWithIntegrationId,
isConfigureInstanceWithIntegrationName,
Expand Down
6 changes: 1 addition & 5 deletions src/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ export interface State {
}

const defaultState: State = {
filters: {
category: undefined,
filterQuery: undefined,
label: undefined,
},
filters: {},
initComplete: false,
jwt: "",
embeddedDesignerEnabled: false,
Expand Down
12 changes: 0 additions & 12 deletions src/types/filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ export interface IntegrationsFilters {
}

export type Filters = {
/**
* @deprecated Use marketplace instead, this will be removed in the next major version (v3.0.0)
*/
category?: string;
/**
* @deprecated Use marketplace instead, this will be removed in the next major version (v3.0.0)
*/
filterQuery?: ConditionalExpression;
/**
* @deprecated Use marketplace instead, this will be removed in the next major version (v3.0.0)
*/
label?: string;
components?: ComponentsFilters;
integrations?: IntegrationsFilters;
marketplace?: MarketplaceFilters;
Expand Down
8 changes: 1 addition & 7 deletions src/types/screenConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export type TriggerDetails = "default" | "default-open" | "hidden";

export interface InstanceScreenConfiguration {
hideBackToMarketplace?: boolean;
hideTabs?: Array<"Test" | "Executions" | "Monitors" | "Logs">;
hideTabs?: Array<"Test" | "Executions" | "Logs">;
hidePauseButton?: boolean;
}

Expand All @@ -12,12 +12,6 @@ export interface ConfigureInstanceScreenConfiguration {

export interface MarketplaceConfiguration {
configuration?: "allow-details" | "always-show-details" | "disallow-details";
/**
* Include all active Integrations including those activated outside the Marketplace.
* @default true
* @deprecated Use marketplace filters instead, this will be removed in the next major version (v3.0.0)
*/
includeActiveIntegrations?: boolean;
hideSearch?: boolean;
hideActiveIntegrationsFilter?: boolean;
}
Expand Down