store-scrapper-js-common 1.0.150 → 1.0.151

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,4 +1,5 @@
1
1
  export declare class ProxyConfigDto {
2
+ enabled?: boolean;
2
3
  host: string;
3
4
  port: number;
4
5
  auth?: {
@@ -1 +1 @@
1
- {"version":3,"file":"proxy-config.dto.js","sourceRoot":"/","sources":["dto/proxy-config.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAc;CAW1B;AAXD,wCAWC","sourcesContent":["export class ProxyConfigDto {\n host: string;\n\n port: number;\n\n auth?: {\n username: string;\n password: string;\n };\n\n protocol?: string;\n}\n"]}
1
+ {"version":3,"file":"proxy-config.dto.js","sourceRoot":"/","sources":["dto/proxy-config.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAc;CAa1B;AAbD,wCAaC","sourcesContent":["export class ProxyConfigDto {\n enabled?: boolean;\n\n host: string;\n\n port: number;\n\n auth?: {\n username: string;\n password: string;\n };\n\n protocol?: string;\n}\n"]}
@@ -6,4 +6,5 @@ export declare class ScraperMethodConfigDto {
6
6
  fetchType?: FetchTypeEnum;
7
7
  proxy?: ProxyConfigDto;
8
8
  headers?: ObjectLiteral;
9
+ enabled?: boolean;
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"scraper-method-config.dto.js","sourceRoot":"/","sources":["dto/scraper-method-config.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,sBAAsB;CASlC;AATD,wDASC","sourcesContent":["import { ObjectLiteral } from 'typeorm';\nimport { FetchTypeEnum } from '../enums';\nimport { ProxyConfigDto } from './proxy-config.dto';\n\nexport class ScraperMethodConfigDto {\n // getPages, getProduct, etc\n name?: string;\n\n fetchType?: FetchTypeEnum;\n\n proxy?: ProxyConfigDto;\n\n headers?: ObjectLiteral;\n}\n"]}
1
+ {"version":3,"file":"scraper-method-config.dto.js","sourceRoot":"/","sources":["dto/scraper-method-config.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,sBAAsB;CAWlC;AAXD,wDAWC","sourcesContent":["import { ObjectLiteral } from 'typeorm';\nimport { FetchTypeEnum } from '../enums';\nimport { ProxyConfigDto } from './proxy-config.dto';\n\nexport class ScraperMethodConfigDto {\n // getPages, getProduct, etc\n name?: string;\n\n fetchType?: FetchTypeEnum;\n\n proxy?: ProxyConfigDto;\n\n headers?: ObjectLiteral;\n\n enabled?: boolean;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "store-scrapper-js-common",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,6 @@
1
1
  export class ProxyConfigDto {
2
+ enabled?: boolean;
3
+
2
4
  host: string;
3
5
 
4
6
  port: number;
@@ -11,4 +11,6 @@ export class ScraperMethodConfigDto {
11
11
  proxy?: ProxyConfigDto;
12
12
 
13
13
  headers?: ObjectLiteral;
14
+
15
+ enabled?: boolean;
14
16
  }