Giter Club home page Giter Club logo

airpower's Introduction

👋 Hi bro

My name is Hamm, it's my shit-code-repository here.

I am a product designer, full stack developer, open source contributor from "ChongQing, China" and focusing on web technology and operation skill on the server side.

I'm also interested in 🚘 📷 🏊 🏝 🎮

You can get more information from My HomePage, but Email will be the quickest way to contact me.

I wish you enjoy your codes and fuck your bugs.

That's all and nice to meet you. 😉

airpower's People

Contributors

hammcn avatar ruanyf avatar rubylouvre avatar torvalds avatar yyx990803 avatar zhangxinxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ngogiaphat

airpower's Issues

AirModel 能否支持类型嵌套呢?

AirModel 非常好用,但没有支持类型嵌套有点可惜,比如:

class Info extends AirModel {
      id!: number
      @Type(String)
      phone!: string
}

class User extends AirModel {
     name!: string
     info: Info
     infoList: []Info
}

这种就不支持了,可惜

uniapp 编译小程序时提示"IJson"不是由"node_modules/airpower/src/interfaces/IJson导出的

报错信息:
node_modules/airpower/src/models/AirModel.ts (7:9) "IJson" is not exported by "node_modules/airpower/src/interfaces/IJson.ts", imported by "node_modules/airpower/src/models/AirModel.ts".​
​node_modules/airpower/src/interfaces/ITree.ts (1:9) "IEntity" is not exported by "node_modules/airpower/src/interfaces/IEntity.ts", imported by "node_modules/airpower/src/interfaces/ITree.ts".​
​node_modules/airpower/src/helpers/AirClassTransformer.ts (1:9) "IJson" is not exported by "node_modules/airpower/src/interfaces/IJson.ts", imported by "node_modules/airpower/src/helpers/AirClassTransformer.ts".​
​node_modules/airpower/src/helpers/AirClassTransformer.ts (2:9) "ITree" is not exported by "node_modules/airpower/src/interfaces/ITree.ts", imported by "node_modules/airpower/src/helpers/AirClassTransformer.ts".​
​node_modules/airpower/src/helpers/AirClassTransformer.ts (4:9) "AirClassConstructor" is not exported by "node_modules/airpower/src/types/AirClassConstructor.ts", imported by "node_modules/airpower/src/helpers/AirClassTransformer.ts".​
​node_modules/airpower/src/helpers/AirDecorator.ts (3:9) "IJson" is not exported by "node_modules/airpower/src/interfaces/IJson.ts", imported by "node_modules/airpower/src/helpers/AirDecorator.ts".​
​node_modules/airpower/src/helpers/AirDecorator.ts (5:9) "AirClassConstructor" is not exported by "node_modules/airpower/src/types/AirClassConstructor.ts", imported by "node_modules/airpower/src/helpers/AirDecorator.ts".​
​node_modules/airpower/src/helpers/AirDecorator.ts (6:9) "IFieldConfig" is not exported by "node_modules/airpower/src/interfaces/IFieldConfig.ts", imported by "node_modules/airpower/src/helpers/AirDecorator.ts".​
​node_modules/airpower/src/decorators/Type.ts (5:9) "AirClassConstructor" is not exported by "node_modules/airpower/src/types/AirClassConstructor.ts", imported by "node_modules/airpower/src/decorators/Type.ts".​
​node_modules/airpower/src/models/AirDictionary.ts (2:9) "IDictionary" is not exported by "node_modules/airpower/src/interfaces/IDictionary.ts", imported by "node_modules/airpower/src/models/AirDictionary.ts".​
​node_modules/airpower/src/models/AirDictionaryArray.ts (3:9) "IDictionary" is not exported by "node_modules/airpower/src/interfaces/IDictionary.ts", imported by "node_modules/airpower/src/models/AirDictionaryArray.ts".​
​node_modules/airpower/src/decorators/Dictionary.ts (5:9) "IDictionary" is not exported by "node_modules/airpower/src/interfaces/IDictionary.ts", imported by "node_modules/airpower/src/decorators/Dictionary.ts".​
​node_modules/airpower/src/helpers/AirDateTime.ts (5:9) "IJson" is not exported by "node_modules/airpower/src/interfaces/IJson.ts", imported by "node_modules/airpower/src/helpers/AirDateTime.ts".​
​node_modules/airpower/src/models/AirFieldConfig.ts (2:9) "IFieldConfig" is not exported by "node_modules/airpower/src/interfaces/IFieldConfig.ts", imported by "node_modules/airpower/src/models/AirFieldConfig.ts".​

开发环境:
"@dcloudio/uni-app": "3.0.0-4000620240325001",
"typescript": "^5.3.3",
"airpower": "^0.0.11",
"node": "v20.11.1"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.