@nomalism-com/types 0.19.124 → 0.19.126

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.
@@ -252,18 +252,3 @@ type Impossible<K extends keyof any> = {
252
252
  };
253
253
  export type NoExtraProperties<T, U extends T = T> = U & Impossible<Exclude<keyof U, keyof T>>;
254
254
  export type ExactPromise<T> = Promise<NoExtraProperties<T>>;
255
- export interface IProductsSheetsRequest {
256
- products_google_sheet_id: string;
257
- }
258
- export interface IProductsDataForNoma {
259
- keys: Record<string, string>;
260
- values: Record<string, string>;
261
- }
262
- export interface IProductsForNomaResponse {
263
- sheetLineIndex: number;
264
- reference: string;
265
- type: string;
266
- state: string;
267
- data: IProductsDataForNoma[];
268
- }
269
- export type IProductsForSheetsResponse = Record<string, unknown>[];
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.19.124",
12
+ "version": "0.19.126",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -34,14 +34,14 @@
34
34
  "prepack": "npm run lint && npm run typecheck && npm run build && npm run start"
35
35
  },
36
36
  "dependencies": {
37
- "joi": "^17.13.0"
37
+ "joi": "^17.13.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@rollup/plugin-terser": "^0.4.4",
41
41
  "@rollup/plugin-typescript": "^11.1.6",
42
- "@types/node": "^20.12.8",
43
- "@typescript-eslint/eslint-plugin": "^7.8.0",
44
- "@typescript-eslint/parser": "^7.8.0",
42
+ "@types/node": "^20.12.12",
43
+ "@typescript-eslint/eslint-plugin": "^7.10.0",
44
+ "@typescript-eslint/parser": "^7.10.0",
45
45
  "eslint": "^8.57.0",
46
46
  "rollup": "^4.17.2",
47
47
  "tslib": "^2.6.2"
@@ -1,8 +0,0 @@
1
- import { IProductsForNomaResponse, IProductsSheetsRequest, IProductsForSheetsResponse } from "../../../shared/interface";
2
- export declare const Route = "product_google";
3
- export declare const UpperName = "ProductGoogle";
4
- export declare const LowerName: string;
5
- export interface IController {
6
- fromNomaToSheets(params: IProductsSheetsRequest): Promise<IProductsForSheetsResponse[]>;
7
- fromSheetsToNoma(params: IProductsSheetsRequest): Promise<IProductsForNomaResponse[]>;
8
- }
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const getProductsParams: joi.ObjectSchema<any>;
3
- export declare const productsForNomaBody: joi.ObjectSchema<any>;
@@ -1,8 +0,0 @@
1
- import { IProductsForNomaResponse, IProductsSheetsRequest, IProductsForSheetsResponse } from "../../../shared/interface";
2
- export declare const Route = "product_google";
3
- export declare const UpperName = "ProductGoogle";
4
- export declare const LowerName: string;
5
- export interface IController {
6
- fromNomaToSheets(params: IProductsSheetsRequest): Promise<IProductsForSheetsResponse[]>;
7
- fromSheetsToNoma(params: IProductsSheetsRequest): Promise<IProductsForNomaResponse[]>;
8
- }
@@ -1,3 +0,0 @@
1
- import joi from "joi";
2
- export declare const getProductsParams: joi.ObjectSchema<any>;
3
- export declare const productsForNomaBody: joi.ObjectSchema<any>;