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

fenextjs-interface

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fenextjs-interface - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

24

cjs/User/index.d.ts
import { PhoneProps } from "@/Phone";
export type UserStatusProps = "verify" | "no-verify" | "delete";
export declare enum UserTypeVerifyProps {
email = 0,
phone = 1,
company = 2
}
export declare enum UserStatusProps {
VERIFY = 0,
NOVERIFY = 1
}
export declare enum UserRoleProps {
ADMIN = 0,
CUSTOMER = 1
}
export interface UserProps {
status: UserStatusProps;
id: string;
token: string;
name: string;
token: string;
img: string;
role: UserRoleProps;
phone?: PhoneProps;
email: string;
status: UserStatusProps;
stripe_id?: string;
dateCreate: Date;
verify?: {
[id in UserTypeVerifyProps]: UserStatusProps;
};
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserRoleProps = exports.UserStatusProps = exports.UserTypeVerifyProps = void 0;
var UserTypeVerifyProps;
(function (UserTypeVerifyProps) {
UserTypeVerifyProps[UserTypeVerifyProps["email"] = 0] = "email";
UserTypeVerifyProps[UserTypeVerifyProps["phone"] = 1] = "phone";
UserTypeVerifyProps[UserTypeVerifyProps["company"] = 2] = "company";
})(UserTypeVerifyProps = exports.UserTypeVerifyProps || (exports.UserTypeVerifyProps = {}));
var UserStatusProps;
(function (UserStatusProps) {
UserStatusProps[UserStatusProps["VERIFY"] = 0] = "VERIFY";
UserStatusProps[UserStatusProps["NOVERIFY"] = 1] = "NOVERIFY";
})(UserStatusProps = exports.UserStatusProps || (exports.UserStatusProps = {}));
var UserRoleProps;
(function (UserRoleProps) {
UserRoleProps[UserRoleProps["ADMIN"] = 0] = "ADMIN";
UserRoleProps[UserRoleProps["CUSTOMER"] = 1] = "CUSTOMER";
})(UserRoleProps = exports.UserRoleProps || (exports.UserRoleProps = {}));
//# sourceMappingURL=index.js.map
import { PhoneProps } from "@/Phone";
export type UserStatusProps = "verify" | "no-verify" | "delete";
export declare enum UserTypeVerifyProps {
email = 0,
phone = 1,
company = 2
}
export declare enum UserStatusProps {
VERIFY = 0,
NOVERIFY = 1
}
export declare enum UserRoleProps {
ADMIN = 0,
CUSTOMER = 1
}
export interface UserProps {
status: UserStatusProps;
id: string;
token: string;
name: string;
token: string;
img: string;
role: UserRoleProps;
phone?: PhoneProps;
email: string;
status: UserStatusProps;
stripe_id?: string;
dateCreate: Date;
verify?: {
[id in UserTypeVerifyProps]: UserStatusProps;
};
}

@@ -1,2 +0,17 @@

export {};
export var UserTypeVerifyProps;
(function (UserTypeVerifyProps) {
UserTypeVerifyProps[UserTypeVerifyProps["email"] = 0] = "email";
UserTypeVerifyProps[UserTypeVerifyProps["phone"] = 1] = "phone";
UserTypeVerifyProps[UserTypeVerifyProps["company"] = 2] = "company";
})(UserTypeVerifyProps || (UserTypeVerifyProps = {}));
export var UserStatusProps;
(function (UserStatusProps) {
UserStatusProps[UserStatusProps["VERIFY"] = 0] = "VERIFY";
UserStatusProps[UserStatusProps["NOVERIFY"] = 1] = "NOVERIFY";
})(UserStatusProps || (UserStatusProps = {}));
export var UserRoleProps;
(function (UserRoleProps) {
UserRoleProps[UserRoleProps["ADMIN"] = 0] = "ADMIN";
UserRoleProps[UserRoleProps["CUSTOMER"] = 1] = "CUSTOMER";
})(UserRoleProps || (UserRoleProps = {}));
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "fenextjs-interface",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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