@nu-art/slack-backend 0.500.0 → 0.500.6

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.
@@ -5,7 +5,7 @@ import { Module } from '@nu-art/ts-common';
5
5
  import { WebClientOptions } from '@slack/web-api';
6
6
  import { API_Slack, PreSendSlackStructuredMessage } from '@nu-art/slack-shared';
7
7
  import { Stream } from 'stream';
8
- export type ConfigType_ModuleBE_Slack = {
8
+ type Config = {
9
9
  token: string;
10
10
  defaultChannel: string;
11
11
  throttlingTime?: number;
@@ -23,7 +23,7 @@ export type ThreadPointer = {
23
23
  ts?: string;
24
24
  channel: string;
25
25
  };
26
- export declare class ModuleBE_Slack_Class extends Module<ConfigType_ModuleBE_Slack, any> {
26
+ export declare class ModuleBE_Slack_Class extends Module<Config> {
27
27
  private web;
28
28
  private messageMap;
29
29
  constructor();
@@ -39,7 +39,7 @@ export declare class ModuleBE_Slack_Class extends Module<ConfigType_ModuleBE_Sla
39
39
  uploadFile: (file: Buffer | Stream, name: string, tp?: ThreadPointer) => Promise<import("@slack/web-api").FilesUploadResponse>;
40
40
  getUserIdByEmail(email: string): Promise<string | undefined>;
41
41
  openDM(userIds: string[]): Promise<string | undefined>;
42
- getDefaultChannel: () => any;
42
+ getDefaultChannel: () => string;
43
43
  }
44
44
  export declare const ModuleBE_Slack: ModuleBE_Slack_Class;
45
45
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/slack-backend",
3
- "version": "0.500.0",
3
+ "version": "0.500.6",
4
4
  "description": "Storm - Express & Typescript based backend framework Backend",
5
5
  "keywords": [
6
6
  "TacB0sS",
@@ -31,8 +31,8 @@
31
31
  "build": "tsc"
32
32
  },
33
33
  "dependencies": {
34
- "@nu-art/slack-shared": "0.500.0",
35
- "@nu-art/ts-common": "0.500.0",
34
+ "@nu-art/slack-shared": "0.500.6",
35
+ "@nu-art/ts-common": "0.500.6",
36
36
  "@slack/web-api": "7.13.0",
37
37
  "firebase": "^11.9.0",
38
38
  "firebase-admin": "13.4.0",
@@ -42,8 +42,8 @@
42
42
  "react": "^18.0.0",
43
43
  "react-dom": "^18.0.0",
44
44
  "react-router-dom": "^6.9.0",
45
- "@nu-art/http-server": "{{THUNDERSTORM_VERSION}}",
46
- "@nu-art/api-types": "{{THUNDERSTORM_VERSION}}"
45
+ "@nu-art/http-server": "0.500.6",
46
+ "@nu-art/api-types": "0.500.6"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/react": "^18.0.0",