Skip to content

Commit 37e1065

Browse files
committed
refactor(apps-engine): remove unused lib/ directory
1 parent a908c44 commit 37e1065

5 files changed

Lines changed: 2 additions & 9 deletions

File tree

packages/apps-engine/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@
3434
"email": "douglas.gubert@rocket.chat"
3535
}
3636
],
37-
"files": [
38-
"definition/**",
39-
"lib/**"
40-
],
37+
"files": ["definition/**"],
4138
"scripts": {
4239
"build": "run-s .:build:clean .:build:default",
43-
".:build:clean": "rimraf definition lib",
40+
".:build:clean": "rimraf definition",
4441
".:build:default": "tsc -p tsconfig.json",
4542
"dev": "yarn .:build:default --watch",
4643
"gen-doc": "typedoc",

packages/apps-engine/src/definition/accessors/IUIController.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { Omit } from '../../lib/utils';
21
import type { IUIKitErrorInteraction, IUIKitInteraction, IUIKitSurface } from '../uikit';
32
import type { IUIKitContextualBarViewParam, IUIKitModalViewParam } from '../uikit/UIKitInteractionResponder';
43
import type { IUser } from '../users';

packages/apps-engine/src/definition/uikit/UIKitInteractionResponder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { UIKitInteractionType } from './IUIKitInteractionType';
33
import type { IUIKitSurface } from './IUIKitSurface';
44
import type { IUIKitBaseIncomingInteraction } from './UIKitIncomingInteractionTypes';
55
import { formatContextualBarInteraction, formatModalInteraction } from './UIKitInteractionPayloadFormatter';
6-
import type { Omit } from '../../lib/utils';
76
import type { IUIKitErrorInteractionParam } from '../accessors/IUIController';
87

98
export type IUIKitModalViewParam = Omit<IUIKitSurface, 'appId' | 'id' | 'type'> & Partial<Pick<IUIKitSurface, 'id'>>;

packages/apps-engine/src/definition/uikit/blocks/BlockBuilder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import type {
2626
import { BlockElementType } from './Elements';
2727
import type { ITextObject } from './Objects';
2828
import { TextObjectType } from './Objects';
29-
import type { Omit } from '../../../lib/utils';
3029

3130
type BlockFunctionParameter<T extends IBlock> = Omit<T, 'type'>;
3231
type ElementFunctionParameter<T extends IBlockElement> = T extends IInteractiveElement

packages/apps-engine/src/lib/utils.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)