npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@easydo/types

v0.1.1-alpha.1

Published

TypeScript definitions for easydo

Downloads

2

Readme

错误信息列表

HTTP 请求错误

| 错误码 | 参数说明 | 错误字段 | | ------ | ---------------------- | ----------------- | | 100001 | 未知错误 | UnknownError | | 100002 | 未找到资源 | NotFound | | 100003 | 未授权 | UnauthorizedError | | 100004 | 您没有权限完成该次操作 | PermissionDenied |

用户错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | ------------------------------------- | ---------------------------- | | 101001 | 创建用户,验证失败 | createUserValidateFail | | 101002 | 创建用户失败,该用户已存在 | createUserAlreadyExist | | 101003 | 登录失败,请检查邮箱和密码 | loginByEmailError | | 101004 | 登录失败,请检查用户名和密码 | loginByEmailError | | 101005 | 用户不存在 | userNotExist | | 101006 | 验证码已发送, 请勿频繁获取短信验证码! | verifyCodeAlreadySent | | 101007 | 发送短信验证码失败 | sendVerifyCodeFail | | 101008 | 手机号验证失败 | verifyPhoneNumberFail | | 101009 | 验证码错误或已过期!请重新输入验证码 | loginVerifyCodeFailOrExpired | | 101009 | 验证码错误或已过期!请重新输入验证码 | loginVerifyCodeFailOrExpired | | 101010 | 用户已存在 | userAlreadyExist | | 101011 | 获取授权失败 | oauthAccessTokenFail | | 101012 | 更新用户信息失败 | updateUserInfoFail | | 101013 | 删除用户失败 | deleteUserFail | | 101014 | 更新用户信息,字段验证失败 | updateUserValidateFail | | 101015 | 更新用户信息,该用户已存在 | updateUserAlreadyExist |

作品错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | -------------------------- | ----------------------------- | | 102001 | 输入信息验证失败 | workValidateFail | | 102002 | 作品内容不存在 | workNotFound | | 102003 | 作品删除失败 | deleteWorkFail | | 102004 | 没有权限修改此作品 | workNoPermissionFail | | 102005 | 作品未发布为模板,不能查看 | workNoPublicFail | | 102006 | 作品未发布,复制失败 | workCopyFail | | 102007 | 作品关联该渠道验证失败 | workRelateChannelValidateFail | | 102008 | 作品已经关联该渠道 | workChannelExist | | 102009 | 作品未关联该渠道 | workChannelNotExist | | 102010 | 删除渠道失败 | deleteChannelError |

工具类别错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | -------------------- | ---------------------- | | 103001 | 文件上传失败 | uploadFileFail | | 103002 | 上传文件大小超过限制 | uploadFileSizeMaxError |

渠道错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | ------------ | ------------------------- | | 104001 | 参数错误 | channelFieldValidateError | | 104002 | 创建渠道失败 | createChannelError | | 104003 | 渠道不存在 | channelNotFound | | 104004 | 更新渠道失败 | updateChannelError | | 104005 | 渠道已存在 | channelExist | | 104006 | 删除渠道失败 | deleteChannelError |

组件包错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | -------------------------- | ------------------------- | | 105001 | 创建组件包时,字段校验错误 | packageFieldValidateError | | 105002 | 创建组件包失败 | packageCreateFail | | 105003 | 组件包名不存在 | packageNameNotFound | | 105004 | 组件包名已存在 | packageAlreadyExists | | 105005 | 更新组件包信息失败 | packageUpdateFail | | 105006 | 组件包不存在 | packageNotFound |

组件错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | ------------------------ | ------------------------ | | 106001 | 创建组件时,字段校验错误 | createComponentFieldFail | | 106002 | 创建组件失败 | createComponentFail | | 106003 | 组件不存在 | componentNotExistsFail | | 106004 | 更新组件失败 | updateComponentFail | | 106005 | 删除组件失败 | deleteComponentFail |

标签错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | ------------------------ | ------------------- | | 107001 | 创建标签失败,请检查参数 | createTagFieldsFail | | 107002 | 创建标签失败,请检查参数 | createTagFail | | 107003 | 该类型标签已存在 | tagAlreadyExists | | 107004 | 该标签不存在 | tagNotExists | | 107005 | 查找标签失败 | findTagsFail | | 107006 | 删除标签失败 | deleteTagFail | | 107007 | 该标签已被使用,不可删除 | tagHaveUsed |

应用错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | ------------------------ | -------------------------- | | 108001 | 创建时,字段规则不正确 | createApplicationRuleError | | 108002 | 应用已存在, 请勿重复创建 | applicationExist | | 108003 | 更新失败 | applicationUpdateFail | | 108004 | 应用不存在 | applicationNotExist |

页面错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | ---------------------- | ------------------- | | 109001 | 创建时,字段规则不正确 | createPageRuleError | | 109002 | 创建页面失败 | createPageFail | | 109003 | 克隆页面失败 | copyPageFail | | 109004 | 页面不存在 | pageNotExists | | 109005 | 更新页面失败 | updatePageFail | | 109006 | 删除页面失败 | deletePageFail | | 109007 | 获取页面列表失败 | getPageListFail |

db 错误码

| 错误码 | 参数说明 | 错误字段 | | ------ | ----------------------------- | ----------------- | | 110001 | 创建时,字段规则不正确 | createDbRuleError | | 110002 | 创建 db 失败 | createDbFail | | 110003 | 克隆 db 失败 | copyDbFail | | 110004 | db 不存在 | dbNotExists | | 110005 | 更新 db 失败 | updateDbFail | | 110006 | 删除 db 失败 | deleteDbFail | | 110007 | 获取 db 列表失败 | getDbListFail | | 110008 | 获取 db 详情失败 | getDbDetailFail | | 110009 | pageSize 或者 pageNumber 不对 | limitFiledError |