@medusajs/types 1.8.1 → 1.8.2-next-20230413194207

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.
@@ -8,25 +8,33 @@ declare type SessionOptions = {
8
8
  secret?: string;
9
9
  ttl?: number;
10
10
  };
11
- export declare type ConfigModule = {
12
- projectConfig: {
13
- redis_url?: string;
14
- session_options?: SessionOptions;
15
- jwt_secret?: string;
16
- cookie_secret?: string;
17
- database_url?: string;
18
- database_type: string;
19
- database_database?: string;
20
- database_schema?: string;
21
- database_logging: LoggerOptions;
22
- database_extra?: Record<string, unknown> & {
23
- ssl: {
24
- rejectUnauthorized: false;
25
- };
11
+ export declare type HttpCompressionOptions = {
12
+ enabled?: boolean;
13
+ level?: number;
14
+ memLevel?: number;
15
+ threshold?: number | string;
16
+ };
17
+ export declare type ProjectConfigOptions = {
18
+ redis_url?: string;
19
+ session_options?: SessionOptions;
20
+ jwt_secret?: string;
21
+ cookie_secret?: string;
22
+ database_url?: string;
23
+ database_type: string;
24
+ database_database?: string;
25
+ database_schema?: string;
26
+ database_logging: LoggerOptions;
27
+ http_compression?: HttpCompressionOptions;
28
+ database_extra?: Record<string, unknown> & {
29
+ ssl: {
30
+ rejectUnauthorized: false;
26
31
  };
27
- store_cors?: string;
28
- admin_cors?: string;
29
32
  };
33
+ store_cors?: string;
34
+ admin_cors?: string;
35
+ };
36
+ export declare type ConfigModule = {
37
+ projectConfig: ProjectConfigOptions;
30
38
  featureFlags: Record<string, boolean | string>;
31
39
  modules?: Record<string, false | string | Partial<InternalModuleDeclaration | ExternalModuleDeclaration>>;
32
40
  plugins: ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.8.1",
3
+ "version": "1.8.2-next-20230413194207",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "repository": {