@anchan828/nest-cloud-run-queue-common 2.0.18 → 2.0.19

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.
@@ -1,6 +1,6 @@
1
1
  import { Type } from "@nestjs/common";
2
2
  import { ModuleMetadata } from "@nestjs/common/interfaces";
3
- export declare type ModuleOptions = {};
3
+ export type ModuleOptions = {};
4
4
  export interface ModuleAsyncOptions<T extends ModuleOptions = ModuleOptions> extends Pick<ModuleMetadata, "imports"> {
5
5
  useClass?: Type<ModuleOptionsFactory<T>>;
6
6
  useExisting?: Type<ModuleOptionsFactory<T>>;
@@ -10,12 +10,12 @@ export interface ModuleAsyncOptions<T extends ModuleOptions = ModuleOptions> ext
10
10
  export interface ModuleOptionsFactory<T extends ModuleOptions = ModuleOptions> {
11
11
  createModuleOptions(): Promise<T> | T;
12
12
  }
13
- export declare type QueueWorkerName = string;
13
+ export type QueueWorkerName = string;
14
14
  export interface Message<T = any> {
15
15
  name: QueueWorkerName;
16
16
  data?: T;
17
17
  }
18
- export declare type PublishExtraConfig<T extends Message = Message> = {
18
+ export type PublishExtraConfig<T extends Message = Message> = {
19
19
  prePublish?: (message: T) => T | Promise<T>;
20
20
  postPublish?: (message: T, resultId: string) => void | Promise<void>;
21
21
  };
@@ -1,7 +1,7 @@
1
1
  import { Provider, Type } from "@nestjs/common";
2
2
  import { Abstract, FactoryProvider } from "@nestjs/common/interfaces";
3
3
  import { ModuleAsyncOptions, ModuleOptions } from "./interfaces";
4
- declare type ProvideType = string | symbol | Type<any> | Abstract<any> | Function;
4
+ type ProvideType = string | symbol | Type<any> | Abstract<any> | Function;
5
5
  export declare function createOptionProvider(provide: ProvideType, options: ModuleOptions): Provider;
6
6
  export declare function createAsyncOptionsProvider(provide: ProvideType, options: ModuleAsyncOptions): FactoryProvider;
7
7
  export declare function createAsyncProviders(provide: ProvideType, options: ModuleAsyncOptions): Provider[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anchan828/nest-cloud-run-queue-common",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/anchan828/nest-cloud-run-queue/tree/master/packages/common#readme",
6
6
  "bugs": {
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "ae800eef8e7ad68319a3d7a3197b0d8044650839"
45
+ "gitHead": "f9e7d7c503f1eb3aa8303235db23fe6fc731d2ad"
46
46
  }