Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eha

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eha - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

orm/base/delete.d.ts

2

ability/Const.d.ts

@@ -5,5 +5,5 @@ export declare const NOTICE_ACTIONS: {

};
export declare type SCFAction = {
export type SCFAction = {
action: string;
[propName: string]: any;
};
import { FastifyRequest } from 'fastify/types/request';
import { FastifyReply } from 'fastify/types/reply';
import { LoginUser } from './vo';
declare type CacheOptions = {
type CacheOptions = {
/**

@@ -6,0 +6,0 @@ * 是否使用Redis,默认TRUE

@@ -54,3 +54,6 @@ "use strict";

if (!_.has(options, 'usePg') || options.usePg !== false) {
_Application_1.fastify.register(postgres_1.default, { host: env_1.default.PG_HOST, port: env_1.default.PG_PORT, user: env_1.default.PG_USER, password: env_1.default.PG_PASS, database: env_1.default.PG_DB, });
_Application_1.fastify.register(postgres_1.default, {
host: env_1.default.PG_HOST, port: env_1.default.PG_PORT, user: env_1.default.PG_USER, password: env_1.default.PG_PASS, database: env_1.default.PG_DB,
// min: 1, max: 10
});
}

@@ -57,0 +60,0 @@ // REDIS PLUGIN

@@ -6,8 +6,8 @@ import { Static, Type, TObject, TProperties, ObjectOptions } from '@sinclair/typebox';

code: import("@sinclair/typebox").TNumber;
message: import("@sinclair/typebox").TString;
message: import("@sinclair/typebox").TString<string>;
}>;
export declare type Result = Static<typeof Result>;
export type Result = Static<typeof Result>;
export declare const VData: (t: TObject) => TObject<{
code: import("@sinclair/typebox").TNumber;
message: import("@sinclair/typebox").TString;
message: import("@sinclair/typebox").TString<string>;
data: TObject<TProperties>;

@@ -17,3 +17,3 @@ }>;

code: import("@sinclair/typebox").TNumber;
message: import("@sinclair/typebox").TString;
message: import("@sinclair/typebox").TString<string>;
total: import("@sinclair/typebox").TNumber;

@@ -38,11 +38,11 @@ list: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;

export declare const LoginUser: TObject<{
id: import("@sinclair/typebox").TString;
nickName: import("@sinclair/typebox").TString;
avatar: import("@sinclair/typebox").TString;
lastLogin: import("@sinclair/typebox").TString;
registerDate: import("@sinclair/typebox").TString;
id: import("@sinclair/typebox").TString<string>;
nickName: import("@sinclair/typebox").TString<string>;
avatar: import("@sinclair/typebox").TString<string>;
lastLogin: import("@sinclair/typebox").TString<string>;
registerDate: import("@sinclair/typebox").TString<string>;
lang: import("@sinclair/typebox").TEnum<typeof Language>;
theme: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
theme: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
loginChannel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof LOGIN_TYPE>>;
}>;
export declare type LoginUser = Static<typeof LoginUser>;
export type LoginUser = Static<typeof LoginUser>;
export declare const SESSION_KEY = "w-mark";
export declare const LANGUAGE_KEY = "w-lang";
export declare type Primitive = bigint | boolean | null | number | string | symbol | undefined;
export declare type PlainObject = Record<string, any>;
export type Primitive = bigint | boolean | null | number | string | symbol | undefined;
export type PlainObject = Record<string, any>;
export declare const isPhone: (txt: string) => boolean;
export declare const isEmail: (txt: string) => boolean;
declare type IP_VERSION = '' | '4' | '6';
type IP_VERSION = '' | '4' | '6';
export default function isIP(str: string, version?: IP_VERSION): any;
export declare const genKey: () => any;
export {};
{
"name": "eha",
"version": "1.0.0",
"description": "For ServerLess Farmework, Base on fastify",
"version": "1.0.1",
"description": "Eha For ServerLess",
"author": "ada87"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc