@xpr/nestjs-slack 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/decorators.d.ts +6 -0
- package/decorators.js +1 -0
- package/package.json +2 -2
package/decorators.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ export type ActionId = Pattern | ActionConstraints;
|
|
|
5
5
|
export type ViewId = Pattern | ViewConstraints;
|
|
6
6
|
export type OptionId = OptionsConstraints;
|
|
7
7
|
export type AllConstraints = Pattern | ActionConstraints | ShortcutConstraints | ViewConstraints | OptionsConstraints;
|
|
8
|
+
/**
|
|
9
|
+
* Create method decorator
|
|
10
|
+
* @param type type of listener
|
|
11
|
+
* @param event how to identify the event
|
|
12
|
+
*/
|
|
13
|
+
export declare function eventDecorator<T extends AllConstraints>(type: string, event: T): MethodDecorator;
|
|
8
14
|
/**
|
|
9
15
|
* @see https://tools.slack.dev/bolt-js/reference/
|
|
10
16
|
*/
|
package/decorators.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpr/nestjs-slack",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "NestJS server implementation of the Slack Assistant",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "tsc -p tsconfig.json && cp package.json ../../dist/nestjs-slack/. && cp readme.md ../../dist/nestjs-slack/."
|
|
7
|
+
"build": "tsc -p tsconfig-lib.json && cp package.json ../../dist/nestjs-slack/. && cp readme.md ../../dist/nestjs-slack/."
|
|
8
8
|
},
|
|
9
9
|
"author": "Ziv Perry",
|
|
10
10
|
"license": "MIT",
|