Skip to content

Commit

Permalink
chore: cleanup commented out API
Browse files Browse the repository at this point in the history
  • Loading branch information
bd82 committed Oct 6, 2021
1 parent f6facfd commit f11dd07
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions packages/app-studio-toolkit-types/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ declare interface BasToolkit {
*/
getAction: (id: string) => BasAction | undefined;

/**
* Note that in BAS these parameters are usually URL parameters.
* But the API is more general and is not limited to only URL parameters.
*
* @param key - parameter **key** name.
*
* @returns The **value** of the specified `key` parameter IFF such a key exists in BAS,
* `undefined` otherwise.
*/
//getParameter: (key: string) => Promise<string | undefined>;

/**
* Is environment LCAP or not
*
Expand Down
2 changes: 0 additions & 2 deletions packages/app-studio-toolkit/src/public-api/base-bas-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
CommandAction,
FileAction,
} from "../actions/impl";
import { getParameter } from "../apis/parameters";
import { getLogger } from "../logger/logger";
import { isLCAPEnabled } from "../apis/validateLCAP";

Expand Down Expand Up @@ -43,7 +42,6 @@ export const baseBasToolkitAPI: Omit<BasToolkit, "workspaceAPI"> = {
},

getAction: (actionId: string) => ActionsController.getAction(actionId),
//getParameter,
performAction,
isLCAPEnabled,

Expand Down

0 comments on commit f11dd07

Please sign in to comment.