fix: Final restoration with port 80
✅ COMPLETED: 1. Dockerfile uses port 80 (astro preview) 2. BaseLayout imports globals.css 3. globals.css with Tailwind v4 @theme syntax 4. index.astro has Header, Footer, FixedContact 5. All image references fixed to existing files 6. Hero uses hdpe_pipe_main.jpg 7. Product cards use hdpe001.jpg 8. pt-20 on main for fixed header ✅ TESTED LOCALLY: - Build: 15 pages in 1.27s - Docker build successful - Port 80 working - Images load - CSS works Ready for Easypanel deployment.
This commit is contained in:
58
node_modules/drizzle-orm/cache/core/cache.cjs
generated
vendored
Normal file
58
node_modules/drizzle-orm/cache/core/cache.cjs
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
var cache_exports = {};
|
||||
__export(cache_exports, {
|
||||
Cache: () => Cache,
|
||||
NoopCache: () => NoopCache,
|
||||
hashQuery: () => hashQuery
|
||||
});
|
||||
module.exports = __toCommonJS(cache_exports);
|
||||
var import_entity = require("../../entity.cjs");
|
||||
class Cache {
|
||||
static [import_entity.entityKind] = "Cache";
|
||||
}
|
||||
class NoopCache extends Cache {
|
||||
strategy() {
|
||||
return "all";
|
||||
}
|
||||
static [import_entity.entityKind] = "NoopCache";
|
||||
async get(_key) {
|
||||
return void 0;
|
||||
}
|
||||
async put(_hashedQuery, _response, _tables, _config) {
|
||||
}
|
||||
async onMutate(_params) {
|
||||
}
|
||||
}
|
||||
async function hashQuery(sql, params) {
|
||||
const dataToHash = `${sql}-${JSON.stringify(params)}`;
|
||||
const encoder = new TextEncoder();
|
||||
const data = encoder.encode(dataToHash);
|
||||
const hashBuffer = await crypto.subtle.digest("SHA-256", data);
|
||||
const hashArray = [...new Uint8Array(hashBuffer)];
|
||||
const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
|
||||
return hashHex;
|
||||
}
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 && (module.exports = {
|
||||
Cache,
|
||||
NoopCache,
|
||||
hashQuery
|
||||
});
|
||||
//# sourceMappingURL=cache.cjs.map
|
||||
1
node_modules/drizzle-orm/cache/core/cache.cjs.map
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/cache.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/cache/core/cache.ts"],"sourcesContent":["import { entityKind } from '~/entity.ts';\nimport type { Table } from '~/index.ts';\nimport type { CacheConfig } from './types.ts';\n\nexport abstract class Cache {\n\tstatic readonly [entityKind]: string = 'Cache';\n\n\tabstract strategy(): 'explicit' | 'all';\n\n\t/**\n\t * Invoked if we should check cache for cached response\n\t * @param sql\n\t * @param tables\n\t */\n\tabstract get(\n\t\tkey: string,\n\t\ttables: string[],\n\t\tisTag: boolean,\n\t\tisAutoInvalidate?: boolean,\n\t): Promise<any[] | undefined>;\n\n\t/**\n\t * Invoked if new query should be inserted to cache\n\t * @param sql\n\t * @param tables\n\t */\n\tabstract put(\n\t\thashedQuery: string,\n\t\tresponse: any,\n\t\ttables: string[],\n\t\tisTag: boolean,\n\t\tconfig?: CacheConfig,\n\t): Promise<void>;\n\n\t/**\n\t * Invoked if insert, update, delete was invoked\n\t * @param tables\n\t */\n\tabstract onMutate(\n\t\tparams: MutationOption,\n\t): Promise<void>;\n}\n\nexport class NoopCache extends Cache {\n\toverride strategy() {\n\t\treturn 'all' as const;\n\t}\n\n\tstatic override readonly [entityKind]: string = 'NoopCache';\n\n\toverride async get(_key: string): Promise<any[] | undefined> {\n\t\treturn undefined;\n\t}\n\toverride async put(\n\t\t_hashedQuery: string,\n\t\t_response: any,\n\t\t_tables: string[],\n\t\t_config?: any,\n\t): Promise<void> {\n\t\t// noop\n\t}\n\toverride async onMutate(_params: MutationOption): Promise<void> {\n\t\t// noop\n\t}\n}\n\nexport type MutationOption = { tags?: string | string[]; tables?: Table<any> | Table<any>[] | string | string[] };\n\nexport async function hashQuery(sql: string, params?: any[]) {\n\tconst dataToHash = `${sql}-${JSON.stringify(params)}`;\n\tconst encoder = new TextEncoder();\n\tconst data = encoder.encode(dataToHash);\n\tconst hashBuffer = await crypto.subtle.digest('SHA-256', data);\n\tconst hashArray = [...new Uint8Array(hashBuffer)];\n\tconst hashHex = hashArray.map((b) => b.toString(16).padStart(2, '0')).join('');\n\n\treturn hashHex;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA2B;AAIpB,MAAe,MAAM;AAAA,EAC3B,QAAiB,wBAAU,IAAY;AAoCxC;AAEO,MAAM,kBAAkB,MAAM;AAAA,EAC3B,WAAW;AACnB,WAAO;AAAA,EACR;AAAA,EAEA,QAA0B,wBAAU,IAAY;AAAA,EAEhD,MAAe,IAAI,MAA0C;AAC5D,WAAO;AAAA,EACR;AAAA,EACA,MAAe,IACd,cACA,WACA,SACA,SACgB;AAAA,EAEjB;AAAA,EACA,MAAe,SAAS,SAAwC;AAAA,EAEhE;AACD;AAIA,eAAsB,UAAU,KAAa,QAAgB;AAC5D,QAAM,aAAa,GAAG,GAAG,IAAI,KAAK,UAAU,MAAM,CAAC;AACnD,QAAM,UAAU,IAAI,YAAY;AAChC,QAAM,OAAO,QAAQ,OAAO,UAAU;AACtC,QAAM,aAAa,MAAM,OAAO,OAAO,OAAO,WAAW,IAAI;AAC7D,QAAM,YAAY,CAAC,GAAG,IAAI,WAAW,UAAU,CAAC;AAChD,QAAM,UAAU,UAAU,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,EAAE,KAAK,EAAE;AAE7E,SAAO;AACR;","names":[]}
|
||||
36
node_modules/drizzle-orm/cache/core/cache.d.cts
generated
vendored
Normal file
36
node_modules/drizzle-orm/cache/core/cache.d.cts
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
import { entityKind } from "../../entity.cjs";
|
||||
import type { Table } from "../../index.cjs";
|
||||
import type { CacheConfig } from "./types.cjs";
|
||||
export declare abstract class Cache {
|
||||
static readonly [entityKind]: string;
|
||||
abstract strategy(): 'explicit' | 'all';
|
||||
/**
|
||||
* Invoked if we should check cache for cached response
|
||||
* @param sql
|
||||
* @param tables
|
||||
*/
|
||||
abstract get(key: string, tables: string[], isTag: boolean, isAutoInvalidate?: boolean): Promise<any[] | undefined>;
|
||||
/**
|
||||
* Invoked if new query should be inserted to cache
|
||||
* @param sql
|
||||
* @param tables
|
||||
*/
|
||||
abstract put(hashedQuery: string, response: any, tables: string[], isTag: boolean, config?: CacheConfig): Promise<void>;
|
||||
/**
|
||||
* Invoked if insert, update, delete was invoked
|
||||
* @param tables
|
||||
*/
|
||||
abstract onMutate(params: MutationOption): Promise<void>;
|
||||
}
|
||||
export declare class NoopCache extends Cache {
|
||||
strategy(): "all";
|
||||
static readonly [entityKind]: string;
|
||||
get(_key: string): Promise<any[] | undefined>;
|
||||
put(_hashedQuery: string, _response: any, _tables: string[], _config?: any): Promise<void>;
|
||||
onMutate(_params: MutationOption): Promise<void>;
|
||||
}
|
||||
export type MutationOption = {
|
||||
tags?: string | string[];
|
||||
tables?: Table<any> | Table<any>[] | string | string[];
|
||||
};
|
||||
export declare function hashQuery(sql: string, params?: any[]): Promise<string>;
|
||||
36
node_modules/drizzle-orm/cache/core/cache.d.ts
generated
vendored
Normal file
36
node_modules/drizzle-orm/cache/core/cache.d.ts
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
import { entityKind } from "../../entity.js";
|
||||
import type { Table } from "../../index.js";
|
||||
import type { CacheConfig } from "./types.js";
|
||||
export declare abstract class Cache {
|
||||
static readonly [entityKind]: string;
|
||||
abstract strategy(): 'explicit' | 'all';
|
||||
/**
|
||||
* Invoked if we should check cache for cached response
|
||||
* @param sql
|
||||
* @param tables
|
||||
*/
|
||||
abstract get(key: string, tables: string[], isTag: boolean, isAutoInvalidate?: boolean): Promise<any[] | undefined>;
|
||||
/**
|
||||
* Invoked if new query should be inserted to cache
|
||||
* @param sql
|
||||
* @param tables
|
||||
*/
|
||||
abstract put(hashedQuery: string, response: any, tables: string[], isTag: boolean, config?: CacheConfig): Promise<void>;
|
||||
/**
|
||||
* Invoked if insert, update, delete was invoked
|
||||
* @param tables
|
||||
*/
|
||||
abstract onMutate(params: MutationOption): Promise<void>;
|
||||
}
|
||||
export declare class NoopCache extends Cache {
|
||||
strategy(): "all";
|
||||
static readonly [entityKind]: string;
|
||||
get(_key: string): Promise<any[] | undefined>;
|
||||
put(_hashedQuery: string, _response: any, _tables: string[], _config?: any): Promise<void>;
|
||||
onMutate(_params: MutationOption): Promise<void>;
|
||||
}
|
||||
export type MutationOption = {
|
||||
tags?: string | string[];
|
||||
tables?: Table<any> | Table<any>[] | string | string[];
|
||||
};
|
||||
export declare function hashQuery(sql: string, params?: any[]): Promise<string>;
|
||||
32
node_modules/drizzle-orm/cache/core/cache.js
generated
vendored
Normal file
32
node_modules/drizzle-orm/cache/core/cache.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
import { entityKind } from "../../entity.js";
|
||||
class Cache {
|
||||
static [entityKind] = "Cache";
|
||||
}
|
||||
class NoopCache extends Cache {
|
||||
strategy() {
|
||||
return "all";
|
||||
}
|
||||
static [entityKind] = "NoopCache";
|
||||
async get(_key) {
|
||||
return void 0;
|
||||
}
|
||||
async put(_hashedQuery, _response, _tables, _config) {
|
||||
}
|
||||
async onMutate(_params) {
|
||||
}
|
||||
}
|
||||
async function hashQuery(sql, params) {
|
||||
const dataToHash = `${sql}-${JSON.stringify(params)}`;
|
||||
const encoder = new TextEncoder();
|
||||
const data = encoder.encode(dataToHash);
|
||||
const hashBuffer = await crypto.subtle.digest("SHA-256", data);
|
||||
const hashArray = [...new Uint8Array(hashBuffer)];
|
||||
const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
|
||||
return hashHex;
|
||||
}
|
||||
export {
|
||||
Cache,
|
||||
NoopCache,
|
||||
hashQuery
|
||||
};
|
||||
//# sourceMappingURL=cache.js.map
|
||||
1
node_modules/drizzle-orm/cache/core/cache.js.map
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/cache.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/cache/core/cache.ts"],"sourcesContent":["import { entityKind } from '~/entity.ts';\nimport type { Table } from '~/index.ts';\nimport type { CacheConfig } from './types.ts';\n\nexport abstract class Cache {\n\tstatic readonly [entityKind]: string = 'Cache';\n\n\tabstract strategy(): 'explicit' | 'all';\n\n\t/**\n\t * Invoked if we should check cache for cached response\n\t * @param sql\n\t * @param tables\n\t */\n\tabstract get(\n\t\tkey: string,\n\t\ttables: string[],\n\t\tisTag: boolean,\n\t\tisAutoInvalidate?: boolean,\n\t): Promise<any[] | undefined>;\n\n\t/**\n\t * Invoked if new query should be inserted to cache\n\t * @param sql\n\t * @param tables\n\t */\n\tabstract put(\n\t\thashedQuery: string,\n\t\tresponse: any,\n\t\ttables: string[],\n\t\tisTag: boolean,\n\t\tconfig?: CacheConfig,\n\t): Promise<void>;\n\n\t/**\n\t * Invoked if insert, update, delete was invoked\n\t * @param tables\n\t */\n\tabstract onMutate(\n\t\tparams: MutationOption,\n\t): Promise<void>;\n}\n\nexport class NoopCache extends Cache {\n\toverride strategy() {\n\t\treturn 'all' as const;\n\t}\n\n\tstatic override readonly [entityKind]: string = 'NoopCache';\n\n\toverride async get(_key: string): Promise<any[] | undefined> {\n\t\treturn undefined;\n\t}\n\toverride async put(\n\t\t_hashedQuery: string,\n\t\t_response: any,\n\t\t_tables: string[],\n\t\t_config?: any,\n\t): Promise<void> {\n\t\t// noop\n\t}\n\toverride async onMutate(_params: MutationOption): Promise<void> {\n\t\t// noop\n\t}\n}\n\nexport type MutationOption = { tags?: string | string[]; tables?: Table<any> | Table<any>[] | string | string[] };\n\nexport async function hashQuery(sql: string, params?: any[]) {\n\tconst dataToHash = `${sql}-${JSON.stringify(params)}`;\n\tconst encoder = new TextEncoder();\n\tconst data = encoder.encode(dataToHash);\n\tconst hashBuffer = await crypto.subtle.digest('SHA-256', data);\n\tconst hashArray = [...new Uint8Array(hashBuffer)];\n\tconst hashHex = hashArray.map((b) => b.toString(16).padStart(2, '0')).join('');\n\n\treturn hashHex;\n}\n"],"mappings":"AAAA,SAAS,kBAAkB;AAIpB,MAAe,MAAM;AAAA,EAC3B,QAAiB,UAAU,IAAY;AAoCxC;AAEO,MAAM,kBAAkB,MAAM;AAAA,EAC3B,WAAW;AACnB,WAAO;AAAA,EACR;AAAA,EAEA,QAA0B,UAAU,IAAY;AAAA,EAEhD,MAAe,IAAI,MAA0C;AAC5D,WAAO;AAAA,EACR;AAAA,EACA,MAAe,IACd,cACA,WACA,SACA,SACgB;AAAA,EAEjB;AAAA,EACA,MAAe,SAAS,SAAwC;AAAA,EAEhE;AACD;AAIA,eAAsB,UAAU,KAAa,QAAgB;AAC5D,QAAM,aAAa,GAAG,GAAG,IAAI,KAAK,UAAU,MAAM,CAAC;AACnD,QAAM,UAAU,IAAI,YAAY;AAChC,QAAM,OAAO,QAAQ,OAAO,UAAU;AACtC,QAAM,aAAa,MAAM,OAAO,OAAO,OAAO,WAAW,IAAI;AAC7D,QAAM,YAAY,CAAC,GAAG,IAAI,WAAW,UAAU,CAAC;AAChD,QAAM,UAAU,UAAU,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,EAAE,KAAK,EAAE;AAE7E,SAAO;AACR;","names":[]}
|
||||
23
node_modules/drizzle-orm/cache/core/index.cjs
generated
vendored
Normal file
23
node_modules/drizzle-orm/cache/core/index.cjs
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
var core_exports = {};
|
||||
module.exports = __toCommonJS(core_exports);
|
||||
__reExport(core_exports, require("./cache.cjs"), module.exports);
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 && (module.exports = {
|
||||
...require("./cache.cjs")
|
||||
});
|
||||
//# sourceMappingURL=index.cjs.map
|
||||
1
node_modules/drizzle-orm/cache/core/index.cjs.map
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/index.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/cache/core/index.ts"],"sourcesContent":["export * from './cache.ts';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,uBAAd;","names":[]}
|
||||
1
node_modules/drizzle-orm/cache/core/index.d.cts
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/index.d.cts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./cache.cjs";
|
||||
1
node_modules/drizzle-orm/cache/core/index.d.ts
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./cache.js";
|
||||
2
node_modules/drizzle-orm/cache/core/index.js
generated
vendored
Normal file
2
node_modules/drizzle-orm/cache/core/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "./cache.js";
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/drizzle-orm/cache/core/index.js.map
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/cache/core/index.ts"],"sourcesContent":["export * from './cache.ts';\n"],"mappings":"AAAA,cAAc;","names":[]}
|
||||
17
node_modules/drizzle-orm/cache/core/types.cjs
generated
vendored
Normal file
17
node_modules/drizzle-orm/cache/core/types.cjs
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
var types_exports = {};
|
||||
module.exports = __toCommonJS(types_exports);
|
||||
//# sourceMappingURL=types.cjs.map
|
||||
1
node_modules/drizzle-orm/cache/core/types.cjs.map
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/types.cjs.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../src/cache/core/types.ts"],"sourcesContent":["export type CacheConfig = {\n\t/**\n\t * expire time, in seconds (a positive integer)\n\t */\n\tex?: number;\n\t/**\n\t * expire time, in milliseconds (a positive integer).\n\t */\n\tpx?: number;\n\t/**\n\t * Unix time at which the key will expire, in seconds (a positive integer).\n\t */\n\texat?: number;\n\t/**\n\t * Unix time at which the key will expire, in milliseconds (a positive integer)\n\t */\n\tpxat?: number;\n\t/**\n\t * Retain the time to live associated with the key.\n\t */\n\tkeepTtl?: boolean;\n\t/**\n\t * Set an expiration (TTL or time to live) on one or more fields of a given hash key.\n\t * Used for HEXPIRE command\n\t */\n\thexOptions?: 'NX' | 'nx' | 'XX' | 'xx' | 'GT' | 'gt' | 'LT' | 'lt';\n};\n\nexport type WithCacheConfig = { enable: boolean; config?: CacheConfig; tag?: string; autoInvalidate?: boolean };\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
||||
33
node_modules/drizzle-orm/cache/core/types.d.cts
generated
vendored
Normal file
33
node_modules/drizzle-orm/cache/core/types.d.cts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
export type CacheConfig = {
|
||||
/**
|
||||
* expire time, in seconds (a positive integer)
|
||||
*/
|
||||
ex?: number;
|
||||
/**
|
||||
* expire time, in milliseconds (a positive integer).
|
||||
*/
|
||||
px?: number;
|
||||
/**
|
||||
* Unix time at which the key will expire, in seconds (a positive integer).
|
||||
*/
|
||||
exat?: number;
|
||||
/**
|
||||
* Unix time at which the key will expire, in milliseconds (a positive integer)
|
||||
*/
|
||||
pxat?: number;
|
||||
/**
|
||||
* Retain the time to live associated with the key.
|
||||
*/
|
||||
keepTtl?: boolean;
|
||||
/**
|
||||
* Set an expiration (TTL or time to live) on one or more fields of a given hash key.
|
||||
* Used for HEXPIRE command
|
||||
*/
|
||||
hexOptions?: 'NX' | 'nx' | 'XX' | 'xx' | 'GT' | 'gt' | 'LT' | 'lt';
|
||||
};
|
||||
export type WithCacheConfig = {
|
||||
enable: boolean;
|
||||
config?: CacheConfig;
|
||||
tag?: string;
|
||||
autoInvalidate?: boolean;
|
||||
};
|
||||
33
node_modules/drizzle-orm/cache/core/types.d.ts
generated
vendored
Normal file
33
node_modules/drizzle-orm/cache/core/types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
export type CacheConfig = {
|
||||
/**
|
||||
* expire time, in seconds (a positive integer)
|
||||
*/
|
||||
ex?: number;
|
||||
/**
|
||||
* expire time, in milliseconds (a positive integer).
|
||||
*/
|
||||
px?: number;
|
||||
/**
|
||||
* Unix time at which the key will expire, in seconds (a positive integer).
|
||||
*/
|
||||
exat?: number;
|
||||
/**
|
||||
* Unix time at which the key will expire, in milliseconds (a positive integer)
|
||||
*/
|
||||
pxat?: number;
|
||||
/**
|
||||
* Retain the time to live associated with the key.
|
||||
*/
|
||||
keepTtl?: boolean;
|
||||
/**
|
||||
* Set an expiration (TTL or time to live) on one or more fields of a given hash key.
|
||||
* Used for HEXPIRE command
|
||||
*/
|
||||
hexOptions?: 'NX' | 'nx' | 'XX' | 'xx' | 'GT' | 'gt' | 'LT' | 'lt';
|
||||
};
|
||||
export type WithCacheConfig = {
|
||||
enable: boolean;
|
||||
config?: CacheConfig;
|
||||
tag?: string;
|
||||
autoInvalidate?: boolean;
|
||||
};
|
||||
1
node_modules/drizzle-orm/cache/core/types.js
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/types.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
//# sourceMappingURL=types.js.map
|
||||
1
node_modules/drizzle-orm/cache/core/types.js.map
generated
vendored
Normal file
1
node_modules/drizzle-orm/cache/core/types.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
||||
Reference in New Issue
Block a user