├── miniprogram
├── pages
│ ├── advice
│ │ ├── advice.json
│ │ └── advice.wxss
│ ├── index
│ │ └── index.json
│ ├── me
│ │ └── me.json
│ ├── pulish
│ │ └── pulish.json
│ ├── upload
│ │ ├── upload.json
│ │ └── upload.wxss
│ ├── comment
│ │ ├── comment.json
│ │ ├── comment.wxml
│ │ └── comment.wxss
│ ├── itemDetail
│ │ └── itemDetail.json
│ └── validContent
│ │ ├── validContent.json
│ │ └── validContent.wxss
├── images
│ ├── me.png
│ ├── tx.png
│ ├── 404.png
│ ├── add.png
│ ├── index.png
│ ├── left.png
│ ├── me1.png
│ ├── newF.png
│ ├── newF1.png
│ ├── pass.png
│ ├── pic.png
│ ├── share.png
│ ├── test.jpg
│ ├── user.png
│ ├── zan.png
│ ├── zan1.png
│ ├── comment.png
│ ├── index1.png
│ ├── noPass.png
│ ├── pulish.png
│ ├── pulish1.png
│ └── userBg.gif
└── app.js
├── cloudfunctions
├── comment
│ ├── node_modules
│ │ ├── extsprintf
│ │ │ ├── .gitmodules
│ │ │ └── .npmignore
│ │ ├── psl
│ │ │ ├── .eslintignore
│ │ │ ├── .travis.yml
│ │ │ └── .eslintrc
│ │ ├── qs
│ │ │ ├── .eslintignore
│ │ │ ├── test
│ │ │ │ ├── index.js
│ │ │ │ └── .eslintrc
│ │ │ ├── lib
│ │ │ │ ├── index.js
│ │ │ │ └── formats.js
│ │ │ └── .editorconfig
│ │ ├── isstream
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── tcb-admin-node
│ │ │ ├── src
│ │ │ │ ├── db
│ │ │ │ │ ├── model.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── geo
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── point.js
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── database
│ │ │ │ │ ├── geo
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.ts
│ │ │ │ └── README.md
│ │ │ ├── types
│ │ │ │ └── database
│ │ │ │ │ ├── date
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── request.d.ts
│ │ │ │ │ ├── validate.d.ts
│ │ │ │ │ ├── geo
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── point.d.ts
│ │ │ │ │ ├── serverDate
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── collection.d.ts
│ │ │ │ │ ├── document.d.ts
│ │ │ │ │ └── util.d.ts
│ │ │ ├── .editorconfig
│ │ │ └── docs
│ │ │ │ └── introduction.md
│ │ ├── delayed-stream
│ │ │ ├── .npmignore
│ │ │ └── Makefile
│ │ ├── performance-now
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── test
│ │ │ │ ├── mocha.opts
│ │ │ │ └── scripts
│ │ │ │ │ ├── difference.coffee
│ │ │ │ │ ├── initial-value.coffee
│ │ │ │ │ ├── delayed-call.coffee
│ │ │ │ │ └── delayed-require.coffee
│ │ │ ├── .tm_properties
│ │ │ └── src
│ │ │ │ └── index.d.ts
│ │ ├── wx-server-sdk
│ │ │ └── README.md
│ │ ├── jsbn
│ │ │ ├── .npmignore
│ │ │ ├── example.js
│ │ │ └── example.html
│ │ ├── json-stringify-safe
│ │ │ ├── .npmignore
│ │ │ └── test
│ │ │ │ └── mocha.opts
│ │ ├── tslib
│ │ │ ├── tslib.html
│ │ │ ├── .gitattributes
│ │ │ └── tslib.es6.html
│ │ ├── tweetnacl
│ │ │ └── .npmignore
│ │ ├── ajv
│ │ │ ├── lib
│ │ │ │ ├── compile
│ │ │ │ │ ├── equal.js
│ │ │ │ │ └── schema_obj.js
│ │ │ │ ├── dotjs
│ │ │ │ │ └── README.md
│ │ │ │ ├── dot
│ │ │ │ │ ├── const.jst
│ │ │ │ │ ├── _limitItems.jst
│ │ │ │ │ ├── _limitLength.jst
│ │ │ │ │ ├── _limitProperties.jst
│ │ │ │ │ └── pattern.jst
│ │ │ │ └── cache.js
│ │ │ ├── scripts
│ │ │ │ ├── .eslintrc.yml
│ │ │ │ ├── prepare-tests
│ │ │ │ └── info
│ │ │ └── .tonic_example.js
│ │ ├── aws4
│ │ │ └── .travis.yml
│ │ ├── core-util-is
│ │ │ └── README.md
│ │ ├── fast-json-stable-stringify
│ │ │ ├── .npmignore
│ │ │ ├── example
│ │ │ │ ├── str.js
│ │ │ │ ├── nested.js
│ │ │ │ ├── key_cmp.js
│ │ │ │ └── value_cmp.js
│ │ │ ├── .travis.yml
│ │ │ └── test
│ │ │ │ └── cmp.js
│ │ ├── http-signature
│ │ │ ├── .npmignore
│ │ │ └── .dir-locals.el
│ │ ├── getpass
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── uuid
│ │ │ ├── v3.js
│ │ │ ├── v5.js
│ │ │ ├── index.js
│ │ │ ├── AUTHORS
│ │ │ └── lib
│ │ │ │ └── rng.js
│ │ ├── form-data
│ │ │ └── lib
│ │ │ │ ├── browser.js
│ │ │ │ └── populate.js
│ │ ├── sshpk
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── fast-deep-equal
│ │ │ └── index.d.ts
│ │ ├── tunnel-agent
│ │ │ └── README.md
│ │ ├── json-schema-traverse
│ │ │ ├── spec
│ │ │ │ └── .eslintrc.yml
│ │ │ └── .travis.yml
│ │ ├── verror
│ │ │ └── .npmignore
│ │ ├── aws-sign2
│ │ │ └── README.md
│ │ ├── is-obj
│ │ │ └── index.js
│ │ ├── asynckit
│ │ │ └── index.js
│ │ ├── forever-agent
│ │ │ └── README.md
│ │ ├── .bin
│ │ │ ├── uuid.cmd
│ │ │ ├── sshpk-conv.cmd
│ │ │ ├── sshpk-sign.cmd
│ │ │ ├── sshpk-verify.cmd
│ │ │ ├── uuid
│ │ │ ├── sshpk-conv
│ │ │ ├── sshpk-sign
│ │ │ └── sshpk-verify
│ │ ├── mime-db
│ │ │ └── index.js
│ │ ├── json-schema
│ │ │ ├── draft-03
│ │ │ │ └── examples
│ │ │ │ │ └── geo
│ │ │ ├── README.md
│ │ │ ├── draft-00
│ │ │ │ └── json-ref
│ │ │ ├── draft-01
│ │ │ │ └── json-ref
│ │ │ └── draft-02
│ │ │ │ └── json-ref
│ │ ├── assert-plus
│ │ │ ├── AUTHORS
│ │ │ └── CHANGES.md
│ │ ├── oauth-sign
│ │ │ └── README.md
│ │ ├── har-schema
│ │ │ └── lib
│ │ │ │ ├── har.json
│ │ │ │ ├── query.json
│ │ │ │ ├── header.json
│ │ │ │ ├── pageTimings.json
│ │ │ │ ├── browser.json
│ │ │ │ ├── creator.json
│ │ │ │ └── cache.json
│ │ ├── asn1
│ │ │ └── lib
│ │ │ │ ├── ber
│ │ │ │ └── errors.js
│ │ │ │ └── index.js
│ │ ├── extend
│ │ │ ├── .editorconfig
│ │ │ └── .eslintrc
│ │ ├── ecc-jsbn
│ │ │ └── README.md
│ │ └── har-validator
│ │ │ └── lib
│ │ │ └── error.js
│ └── package.json
├── zan
│ ├── node_modules
│ │ ├── extsprintf
│ │ │ ├── .gitmodules
│ │ │ └── .npmignore
│ │ ├── qs
│ │ │ ├── .eslintignore
│ │ │ ├── test
│ │ │ │ ├── index.js
│ │ │ │ └── .eslintrc
│ │ │ ├── lib
│ │ │ │ ├── index.js
│ │ │ │ └── formats.js
│ │ │ └── .editorconfig
│ │ ├── isstream
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── psl
│ │ │ ├── .eslintignore
│ │ │ ├── .travis.yml
│ │ │ └── .eslintrc
│ │ ├── tcb-admin-node
│ │ │ ├── src
│ │ │ │ ├── db
│ │ │ │ │ ├── model.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── geo
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── point.js
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── database
│ │ │ │ │ ├── geo
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.ts
│ │ │ │ └── README.md
│ │ │ ├── types
│ │ │ │ └── database
│ │ │ │ │ ├── date
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── request.d.ts
│ │ │ │ │ ├── validate.d.ts
│ │ │ │ │ ├── geo
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── point.d.ts
│ │ │ │ │ ├── serverDate
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── collection.d.ts
│ │ │ │ │ ├── document.d.ts
│ │ │ │ │ └── util.d.ts
│ │ │ ├── .editorconfig
│ │ │ └── docs
│ │ │ │ └── introduction.md
│ │ ├── delayed-stream
│ │ │ ├── .npmignore
│ │ │ └── Makefile
│ │ ├── performance-now
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── test
│ │ │ │ ├── mocha.opts
│ │ │ │ └── scripts
│ │ │ │ │ ├── difference.coffee
│ │ │ │ │ ├── initial-value.coffee
│ │ │ │ │ ├── delayed-call.coffee
│ │ │ │ │ └── delayed-require.coffee
│ │ │ ├── .tm_properties
│ │ │ └── src
│ │ │ │ └── index.d.ts
│ │ ├── jsbn
│ │ │ ├── .npmignore
│ │ │ ├── example.js
│ │ │ └── example.html
│ │ ├── json-stringify-safe
│ │ │ ├── .npmignore
│ │ │ └── test
│ │ │ │ └── mocha.opts
│ │ ├── wx-server-sdk
│ │ │ └── README.md
│ │ ├── tslib
│ │ │ ├── tslib.html
│ │ │ ├── .gitattributes
│ │ │ └── tslib.es6.html
│ │ ├── tweetnacl
│ │ │ └── .npmignore
│ │ ├── ajv
│ │ │ ├── lib
│ │ │ │ ├── compile
│ │ │ │ │ ├── equal.js
│ │ │ │ │ └── schema_obj.js
│ │ │ │ ├── dotjs
│ │ │ │ │ └── README.md
│ │ │ │ ├── dot
│ │ │ │ │ ├── const.jst
│ │ │ │ │ ├── _limitItems.jst
│ │ │ │ │ ├── _limitLength.jst
│ │ │ │ │ ├── _limitProperties.jst
│ │ │ │ │ └── pattern.jst
│ │ │ │ └── cache.js
│ │ │ ├── scripts
│ │ │ │ ├── .eslintrc.yml
│ │ │ │ ├── prepare-tests
│ │ │ │ └── info
│ │ │ └── .tonic_example.js
│ │ ├── aws4
│ │ │ └── .travis.yml
│ │ ├── core-util-is
│ │ │ └── README.md
│ │ ├── fast-json-stable-stringify
│ │ │ ├── .npmignore
│ │ │ ├── example
│ │ │ │ ├── str.js
│ │ │ │ ├── nested.js
│ │ │ │ ├── key_cmp.js
│ │ │ │ └── value_cmp.js
│ │ │ ├── .travis.yml
│ │ │ └── test
│ │ │ │ └── cmp.js
│ │ ├── http-signature
│ │ │ ├── .npmignore
│ │ │ └── .dir-locals.el
│ │ ├── getpass
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── uuid
│ │ │ ├── v3.js
│ │ │ ├── v5.js
│ │ │ ├── index.js
│ │ │ ├── AUTHORS
│ │ │ └── lib
│ │ │ │ └── rng.js
│ │ ├── form-data
│ │ │ └── lib
│ │ │ │ ├── browser.js
│ │ │ │ └── populate.js
│ │ ├── sshpk
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── fast-deep-equal
│ │ │ └── index.d.ts
│ │ ├── tunnel-agent
│ │ │ └── README.md
│ │ ├── json-schema-traverse
│ │ │ ├── spec
│ │ │ │ └── .eslintrc.yml
│ │ │ └── .travis.yml
│ │ ├── verror
│ │ │ └── .npmignore
│ │ ├── aws-sign2
│ │ │ └── README.md
│ │ ├── is-obj
│ │ │ └── index.js
│ │ ├── asynckit
│ │ │ └── index.js
│ │ ├── .bin
│ │ │ ├── uuid.cmd
│ │ │ ├── sshpk-conv.cmd
│ │ │ ├── sshpk-sign.cmd
│ │ │ ├── sshpk-verify.cmd
│ │ │ ├── uuid
│ │ │ ├── sshpk-conv
│ │ │ ├── sshpk-sign
│ │ │ └── sshpk-verify
│ │ ├── forever-agent
│ │ │ └── README.md
│ │ ├── mime-db
│ │ │ └── index.js
│ │ ├── json-schema
│ │ │ ├── draft-03
│ │ │ │ └── examples
│ │ │ │ │ └── geo
│ │ │ ├── README.md
│ │ │ ├── draft-00
│ │ │ │ └── json-ref
│ │ │ ├── draft-01
│ │ │ │ └── json-ref
│ │ │ └── draft-02
│ │ │ │ └── json-ref
│ │ ├── assert-plus
│ │ │ ├── AUTHORS
│ │ │ └── CHANGES.md
│ │ ├── oauth-sign
│ │ │ └── README.md
│ │ ├── har-schema
│ │ │ └── lib
│ │ │ │ ├── har.json
│ │ │ │ ├── header.json
│ │ │ │ ├── pageTimings.json
│ │ │ │ ├── query.json
│ │ │ │ ├── browser.json
│ │ │ │ ├── creator.json
│ │ │ │ └── cache.json
│ │ ├── asn1
│ │ │ └── lib
│ │ │ │ ├── ber
│ │ │ │ └── errors.js
│ │ │ │ └── index.js
│ │ ├── extend
│ │ │ ├── .editorconfig
│ │ │ └── .eslintrc
│ │ ├── ecc-jsbn
│ │ │ └── README.md
│ │ └── har-validator
│ │ │ └── lib
│ │ │ └── error.js
│ └── package.json
├── passItem
│ ├── node_modules
│ │ ├── extsprintf
│ │ │ ├── .gitmodules
│ │ │ └── .npmignore
│ │ ├── qs
│ │ │ ├── .eslintignore
│ │ │ ├── test
│ │ │ │ ├── index.js
│ │ │ │ └── .eslintrc
│ │ │ └── lib
│ │ │ │ ├── index.js
│ │ │ │ └── formats.js
│ │ ├── isstream
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── psl
│ │ │ ├── .eslintignore
│ │ │ ├── .travis.yml
│ │ │ └── .eslintrc
│ │ ├── tcb-admin-node
│ │ │ ├── src
│ │ │ │ ├── db
│ │ │ │ │ ├── model.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── geo
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── point.js
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── database
│ │ │ │ │ ├── geo
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.ts
│ │ │ │ └── README.md
│ │ │ ├── types
│ │ │ │ └── database
│ │ │ │ │ ├── date
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── request.d.ts
│ │ │ │ │ ├── validate.d.ts
│ │ │ │ │ ├── geo
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── point.d.ts
│ │ │ │ │ ├── serverDate
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── collection.d.ts
│ │ │ │ │ ├── document.d.ts
│ │ │ │ │ └── util.d.ts
│ │ │ ├── .editorconfig
│ │ │ └── docs
│ │ │ │ └── introduction.md
│ │ ├── delayed-stream
│ │ │ ├── .npmignore
│ │ │ └── Makefile
│ │ ├── performance-now
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── test
│ │ │ │ ├── mocha.opts
│ │ │ │ └── scripts
│ │ │ │ │ ├── difference.coffee
│ │ │ │ │ ├── initial-value.coffee
│ │ │ │ │ ├── delayed-call.coffee
│ │ │ │ │ └── delayed-require.coffee
│ │ │ ├── .tm_properties
│ │ │ └── src
│ │ │ │ └── index.d.ts
│ │ ├── jsbn
│ │ │ ├── .npmignore
│ │ │ ├── example.js
│ │ │ └── example.html
│ │ ├── json-stringify-safe
│ │ │ ├── .npmignore
│ │ │ └── test
│ │ │ │ └── mocha.opts
│ │ ├── wx-server-sdk
│ │ │ └── README.md
│ │ ├── tslib
│ │ │ ├── tslib.html
│ │ │ ├── .gitattributes
│ │ │ └── tslib.es6.html
│ │ ├── tweetnacl
│ │ │ └── .npmignore
│ │ ├── ajv
│ │ │ ├── lib
│ │ │ │ ├── compile
│ │ │ │ │ ├── equal.js
│ │ │ │ │ └── schema_obj.js
│ │ │ │ ├── dotjs
│ │ │ │ │ └── README.md
│ │ │ │ ├── dot
│ │ │ │ │ ├── const.jst
│ │ │ │ │ ├── _limitItems.jst
│ │ │ │ │ ├── _limitLength.jst
│ │ │ │ │ ├── _limitProperties.jst
│ │ │ │ │ └── pattern.jst
│ │ │ │ └── cache.js
│ │ │ ├── scripts
│ │ │ │ ├── .eslintrc.yml
│ │ │ │ ├── prepare-tests
│ │ │ │ └── info
│ │ │ └── .tonic_example.js
│ │ ├── aws4
│ │ │ └── .travis.yml
│ │ ├── core-util-is
│ │ │ └── README.md
│ │ ├── fast-json-stable-stringify
│ │ │ ├── .npmignore
│ │ │ ├── example
│ │ │ │ ├── str.js
│ │ │ │ ├── nested.js
│ │ │ │ ├── key_cmp.js
│ │ │ │ └── value_cmp.js
│ │ │ ├── .travis.yml
│ │ │ └── test
│ │ │ │ └── cmp.js
│ │ ├── http-signature
│ │ │ ├── .npmignore
│ │ │ └── .dir-locals.el
│ │ ├── getpass
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── uuid
│ │ │ ├── v3.js
│ │ │ ├── v5.js
│ │ │ ├── index.js
│ │ │ ├── AUTHORS
│ │ │ └── lib
│ │ │ │ └── rng.js
│ │ ├── form-data
│ │ │ └── lib
│ │ │ │ ├── browser.js
│ │ │ │ └── populate.js
│ │ ├── sshpk
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── fast-deep-equal
│ │ │ └── index.d.ts
│ │ ├── tunnel-agent
│ │ │ └── README.md
│ │ ├── json-schema-traverse
│ │ │ ├── spec
│ │ │ │ └── .eslintrc.yml
│ │ │ └── .travis.yml
│ │ ├── verror
│ │ │ └── .npmignore
│ │ ├── aws-sign2
│ │ │ └── README.md
│ │ ├── is-obj
│ │ │ └── index.js
│ │ ├── asynckit
│ │ │ └── index.js
│ │ ├── .bin
│ │ │ ├── uuid.cmd
│ │ │ ├── sshpk-conv.cmd
│ │ │ ├── sshpk-sign.cmd
│ │ │ ├── sshpk-verify.cmd
│ │ │ ├── uuid
│ │ │ ├── sshpk-conv
│ │ │ ├── sshpk-sign
│ │ │ └── sshpk-verify
│ │ ├── forever-agent
│ │ │ └── README.md
│ │ ├── mime-db
│ │ │ └── index.js
│ │ ├── json-schema
│ │ │ ├── draft-03
│ │ │ │ └── examples
│ │ │ │ │ └── geo
│ │ │ └── README.md
│ │ ├── assert-plus
│ │ │ ├── AUTHORS
│ │ │ └── CHANGES.md
│ │ ├── oauth-sign
│ │ │ └── README.md
│ │ ├── har-schema
│ │ │ └── lib
│ │ │ │ ├── har.json
│ │ │ │ ├── header.json
│ │ │ │ ├── pageTimings.json
│ │ │ │ ├── query.json
│ │ │ │ ├── browser.json
│ │ │ │ ├── creator.json
│ │ │ │ └── cache.json
│ │ ├── asn1
│ │ │ └── lib
│ │ │ │ ├── ber
│ │ │ │ └── errors.js
│ │ │ │ └── index.js
│ │ ├── extend
│ │ │ ├── .editorconfig
│ │ │ └── .eslintrc
│ │ ├── ecc-jsbn
│ │ │ └── README.md
│ │ └── har-validator
│ │ │ └── lib
│ │ │ └── error.js
│ └── package.json
├── shareHandler
│ ├── node_modules
│ │ ├── extsprintf
│ │ │ ├── .gitmodules
│ │ │ └── .npmignore
│ │ ├── psl
│ │ │ ├── .eslintignore
│ │ │ ├── .travis.yml
│ │ │ └── .eslintrc
│ │ ├── qs
│ │ │ ├── .eslintignore
│ │ │ ├── test
│ │ │ │ ├── index.js
│ │ │ │ └── .eslintrc
│ │ │ └── lib
│ │ │ │ ├── index.js
│ │ │ │ └── formats.js
│ │ ├── isstream
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── tcb-admin-node
│ │ │ ├── src
│ │ │ │ ├── db
│ │ │ │ │ ├── model.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── geo
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── point.js
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── database
│ │ │ │ │ ├── geo
│ │ │ │ │ │ └── index.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── serverDate
│ │ │ │ │ │ └── index.ts
│ │ │ │ └── README.md
│ │ │ ├── types
│ │ │ │ └── database
│ │ │ │ │ ├── date
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── request.d.ts
│ │ │ │ │ ├── validate.d.ts
│ │ │ │ │ ├── geo
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── point.d.ts
│ │ │ │ │ ├── serverDate
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── collection.d.ts
│ │ │ │ │ ├── document.d.ts
│ │ │ │ │ └── util.d.ts
│ │ │ ├── .editorconfig
│ │ │ └── docs
│ │ │ │ └── introduction.md
│ │ ├── delayed-stream
│ │ │ ├── .npmignore
│ │ │ └── Makefile
│ │ ├── performance-now
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── test
│ │ │ │ ├── mocha.opts
│ │ │ │ └── scripts
│ │ │ │ │ ├── difference.coffee
│ │ │ │ │ ├── initial-value.coffee
│ │ │ │ │ ├── delayed-call.coffee
│ │ │ │ │ └── delayed-require.coffee
│ │ │ ├── .tm_properties
│ │ │ └── src
│ │ │ │ └── index.d.ts
│ │ ├── wx-server-sdk
│ │ │ └── README.md
│ │ ├── jsbn
│ │ │ ├── .npmignore
│ │ │ ├── example.js
│ │ │ └── example.html
│ │ ├── json-stringify-safe
│ │ │ ├── .npmignore
│ │ │ └── test
│ │ │ │ └── mocha.opts
│ │ ├── tslib
│ │ │ ├── tslib.html
│ │ │ ├── .gitattributes
│ │ │ └── tslib.es6.html
│ │ ├── tweetnacl
│ │ │ └── .npmignore
│ │ ├── ajv
│ │ │ ├── lib
│ │ │ │ ├── compile
│ │ │ │ │ ├── equal.js
│ │ │ │ │ └── schema_obj.js
│ │ │ │ ├── dotjs
│ │ │ │ │ └── README.md
│ │ │ │ ├── dot
│ │ │ │ │ ├── const.jst
│ │ │ │ │ ├── _limitItems.jst
│ │ │ │ │ ├── _limitLength.jst
│ │ │ │ │ ├── _limitProperties.jst
│ │ │ │ │ └── pattern.jst
│ │ │ │ └── cache.js
│ │ │ ├── scripts
│ │ │ │ ├── .eslintrc.yml
│ │ │ │ ├── prepare-tests
│ │ │ │ └── info
│ │ │ └── .tonic_example.js
│ │ ├── aws4
│ │ │ └── .travis.yml
│ │ ├── core-util-is
│ │ │ └── README.md
│ │ ├── fast-json-stable-stringify
│ │ │ ├── .npmignore
│ │ │ ├── example
│ │ │ │ ├── str.js
│ │ │ │ ├── nested.js
│ │ │ │ ├── key_cmp.js
│ │ │ │ └── value_cmp.js
│ │ │ ├── .travis.yml
│ │ │ └── test
│ │ │ │ └── cmp.js
│ │ ├── http-signature
│ │ │ ├── .npmignore
│ │ │ └── .dir-locals.el
│ │ ├── getpass
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── uuid
│ │ │ ├── v3.js
│ │ │ ├── v5.js
│ │ │ ├── index.js
│ │ │ ├── AUTHORS
│ │ │ └── lib
│ │ │ │ └── rng.js
│ │ ├── form-data
│ │ │ └── lib
│ │ │ │ ├── browser.js
│ │ │ │ └── populate.js
│ │ ├── sshpk
│ │ │ ├── .npmignore
│ │ │ └── .travis.yml
│ │ ├── fast-deep-equal
│ │ │ └── index.d.ts
│ │ ├── tunnel-agent
│ │ │ └── README.md
│ │ ├── json-schema-traverse
│ │ │ ├── spec
│ │ │ │ └── .eslintrc.yml
│ │ │ └── .travis.yml
│ │ ├── verror
│ │ │ └── .npmignore
│ │ ├── aws-sign2
│ │ │ └── README.md
│ │ ├── is-obj
│ │ │ └── index.js
│ │ ├── asynckit
│ │ │ └── index.js
│ │ ├── forever-agent
│ │ │ └── README.md
│ │ ├── .bin
│ │ │ ├── uuid.cmd
│ │ │ ├── sshpk-conv.cmd
│ │ │ ├── sshpk-sign.cmd
│ │ │ ├── sshpk-verify.cmd
│ │ │ ├── uuid
│ │ │ ├── sshpk-conv
│ │ │ ├── sshpk-sign
│ │ │ └── sshpk-verify
│ │ ├── mime-db
│ │ │ └── index.js
│ │ ├── json-schema
│ │ │ ├── draft-03
│ │ │ │ └── examples
│ │ │ │ │ └── geo
│ │ │ └── README.md
│ │ ├── assert-plus
│ │ │ ├── AUTHORS
│ │ │ └── CHANGES.md
│ │ ├── oauth-sign
│ │ │ └── README.md
│ │ ├── har-schema
│ │ │ └── lib
│ │ │ │ ├── har.json
│ │ │ │ ├── query.json
│ │ │ │ ├── header.json
│ │ │ │ ├── pageTimings.json
│ │ │ │ ├── browser.json
│ │ │ │ ├── creator.json
│ │ │ │ └── cache.json
│ │ ├── asn1
│ │ │ └── lib
│ │ │ │ ├── ber
│ │ │ │ └── errors.js
│ │ │ │ └── index.js
│ │ ├── extend
│ │ │ ├── .editorconfig
│ │ │ └── .eslintrc
│ │ ├── ecc-jsbn
│ │ │ └── README.md
│ │ └── har-validator
│ │ │ └── lib
│ │ │ └── error.js
│ └── package.json
├── vote
│ ├── index.js
│ └── package.json
└── login
│ └── index.js
└── README.md
/miniprogram/pages/advice/advice.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/miniprogram/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/extsprintf/.gitmodules:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/extsprintf/.gitmodules:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/psl/.eslintignore:
--------------------------------------------------------------------------------
1 | dist/
2 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/extsprintf/.gitmodules:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/extsprintf/.gitmodules:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/isstream/.npmignore:
--------------------------------------------------------------------------------
1 | *.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/psl/.eslintignore:
--------------------------------------------------------------------------------
1 | dist/
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/db/model.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/isstream/.npmignore:
--------------------------------------------------------------------------------
1 | *.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/db/model.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/isstream/.npmignore:
--------------------------------------------------------------------------------
1 | *.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/psl/.eslintignore:
--------------------------------------------------------------------------------
1 | dist/
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/db/model.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/psl/.eslintignore:
--------------------------------------------------------------------------------
1 | dist/
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/delayed-stream/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/delayed-stream/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/wx-server-sdk/README.md:
--------------------------------------------------------------------------------
1 | 小程序 Server SDK
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/delayed-stream/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/isstream/.npmignore:
--------------------------------------------------------------------------------
1 | *.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/db/model.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-stringify-safe/.npmignore:
--------------------------------------------------------------------------------
1 | /*.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/wx-server-sdk/README.md:
--------------------------------------------------------------------------------
1 | 小程序 Server SDK
--------------------------------------------------------------------------------
/miniprogram/pages/me/me.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的"
3 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-stringify-safe/.npmignore:
--------------------------------------------------------------------------------
1 | /*.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/json-stringify-safe/.npmignore:
--------------------------------------------------------------------------------
1 | /*.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/wx-server-sdk/README.md:
--------------------------------------------------------------------------------
1 | 小程序 Server SDK
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/delayed-stream/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/wx-server-sdk/README.md:
--------------------------------------------------------------------------------
1 | 小程序 Server SDK
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/extsprintf/.npmignore:
--------------------------------------------------------------------------------
1 | /deps
2 | /examples
3 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/date/index.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/extsprintf/.npmignore:
--------------------------------------------------------------------------------
1 | /deps
2 | /examples
3 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/date/index.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/extsprintf/.npmignore:
--------------------------------------------------------------------------------
1 | /deps
2 | /examples
3 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/date/index.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/json-stringify-safe/.npmignore:
--------------------------------------------------------------------------------
1 | /*.tgz
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tslib/tslib.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram/pages/pulish/pulish.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "发表趣事"
3 | }
--------------------------------------------------------------------------------
/miniprogram/pages/upload/upload.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的发布"
3 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tslib/tslib.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tslib/tslib.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/extsprintf/.npmignore:
--------------------------------------------------------------------------------
1 | /deps
2 | /examples
3 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/date/index.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tslib/.gitattributes:
--------------------------------------------------------------------------------
1 | *.js linguist-language=TypeScript
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tslib/tslib.es6.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram/pages/comment/comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的评论"
3 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/request.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tslib/.gitattributes:
--------------------------------------------------------------------------------
1 | *.js linguist-language=TypeScript
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tslib/tslib.es6.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tslib/.gitattributes:
--------------------------------------------------------------------------------
1 | *.js linguist-language=TypeScript
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tslib/tslib.es6.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tslib/tslib.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/request.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/validate.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram/pages/itemDetail/itemDetail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "段子详情"
3 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/validate.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/request.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/validate.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/request.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tslib/.gitattributes:
--------------------------------------------------------------------------------
1 | *.js linguist-language=TypeScript
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tslib/tslib.es6.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram/pages/validContent/validContent.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "审核帖子"
3 | }
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/validate.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-stringify-safe/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --recursive
2 | --require must
3 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/database/geo/index.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/miniprogram/images/me.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/me.png
--------------------------------------------------------------------------------
/miniprogram/images/tx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/tx.png
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-stringify-safe/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --recursive
2 | --require must
3 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/database/geo/index.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/json-stringify-safe/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --recursive
2 | --require must
3 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/database/geo/index.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/geo/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/miniprogram/images/404.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/404.png
--------------------------------------------------------------------------------
/miniprogram/images/add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/add.png
--------------------------------------------------------------------------------
/miniprogram/images/index.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/index.png
--------------------------------------------------------------------------------
/miniprogram/images/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/left.png
--------------------------------------------------------------------------------
/miniprogram/images/me1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/me1.png
--------------------------------------------------------------------------------
/miniprogram/images/newF.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/newF.png
--------------------------------------------------------------------------------
/miniprogram/images/newF1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/newF1.png
--------------------------------------------------------------------------------
/miniprogram/images/pass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/pass.png
--------------------------------------------------------------------------------
/miniprogram/images/pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/pic.png
--------------------------------------------------------------------------------
/miniprogram/images/share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/share.png
--------------------------------------------------------------------------------
/miniprogram/images/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/test.jpg
--------------------------------------------------------------------------------
/miniprogram/images/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/user.png
--------------------------------------------------------------------------------
/miniprogram/images/zan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/zan.png
--------------------------------------------------------------------------------
/miniprogram/images/zan1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/zan1.png
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/geo/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/geo/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/json-stringify-safe/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --recursive
2 | --require must
3 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/database/geo/index.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/miniprogram/images/comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/comment.png
--------------------------------------------------------------------------------
/miniprogram/images/index1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/index1.png
--------------------------------------------------------------------------------
/miniprogram/images/noPass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/noPass.png
--------------------------------------------------------------------------------
/miniprogram/images/pulish.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/pulish.png
--------------------------------------------------------------------------------
/miniprogram/images/pulish1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/pulish1.png
--------------------------------------------------------------------------------
/miniprogram/images/userBg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LWJcoder/qiupihu/HEAD/miniprogram/images/userBg.gif
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/geo/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/psl/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 6
4 | - 8
5 | - 9
6 | - 10
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/psl/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 6
4 | - 8
5 | - 9
6 | - 10
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/psl/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 6
4 | - 8
5 | - 9
6 | - 10
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/compile/equal.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = require('fast-deep-equal');
4 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/aws4/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.12"
5 | - "4.2"
6 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/database/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @internal
3 | */
4 | export * from "./db";
5 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/compile/equal.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = require('fast-deep-equal');
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/aws4/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.12"
5 | - "4.2"
6 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/database/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @internal
3 | */
4 | export * from "./db";
5 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/compile/equal.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = require('fast-deep-equal');
4 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/aws4/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.12"
5 | - "4.2"
6 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/database/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @internal
3 | */
4 | export * from "./db";
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/psl/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 6
4 | - 8
5 | - 9
6 | - 10
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/scripts/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | rules:
2 | no-console: 0
3 | no-empty: [2, allowEmptyCatch: true]
4 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-json-stable-stringify/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .nyc_output/
3 | coverage/
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/scripts/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | rules:
2 | no-console: 0
3 | no-empty: [2, allowEmptyCatch: true]
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-json-stable-stringify/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .nyc_output/
3 | coverage/
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/scripts/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | rules:
2 | no-console: 0
3 | no-empty: [2, allowEmptyCatch: true]
4 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-json-stable-stringify/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .nyc_output/
3 | coverage/
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/compile/equal.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = require('fast-deep-equal');
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/aws4/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.12"
5 | - "4.2"
6 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/database/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * @internal
3 | */
4 | export * from "./db";
5 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/http-signature/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/http-signature/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/http-signature/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/scripts/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | rules:
2 | no-console: 0
3 | no-empty: [2, allowEmptyCatch: true]
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-json-stable-stringify/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .nyc_output/
3 | coverage/
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/delayed-stream/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | .PHONY: test
7 |
8 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/delayed-stream/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | .PHONY: test
7 |
8 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/delayed-stream/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | .PHONY: test
7 |
8 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/http-signature/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/getpass/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "node"
4 | - "6"
5 | - "4"
6 | - "0.12"
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/getpass/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "node"
4 | - "6"
5 | - "4"
6 | - "0.12"
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/getpass/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "node"
4 | - "6"
5 | - "4"
6 | - "0.12"
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/delayed-stream/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | .PHONY: test
7 |
8 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/getpass/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "node"
4 | - "6"
5 | - "4"
6 | - "0.12"
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('./parse');
4 |
5 | require('./stringify');
6 |
7 | require('./utils');
8 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('./parse');
4 |
5 | require('./stringify');
6 |
7 | require('./utils');
8 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('./parse');
4 |
5 | require('./stringify');
6 |
7 | require('./utils');
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/jsbn/example.js:
--------------------------------------------------------------------------------
1 | var BigInteger = require('./');
2 | var a = new BigInteger('91823918239182398123');
3 | console.log(a.bitLength());
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --require coffee-script/register
2 | --compilers coffee:coffee-script/register
3 | --reporter spec
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/uuid/v3.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var md5 = require('./lib/md5');
3 |
4 | module.exports = v35('v3', 0x30, md5);
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/uuid/v5.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var sha1 = require('./lib/sha1');
3 | module.exports = v35('v5', 0x50, sha1);
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/jsbn/example.js:
--------------------------------------------------------------------------------
1 | var BigInteger = require('./');
2 | var a = new BigInteger('91823918239182398123');
3 | console.log(a.bitLength());
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --require coffee-script/register
2 | --compilers coffee:coffee-script/register
3 | --reporter spec
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/uuid/v3.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var md5 = require('./lib/md5');
3 |
4 | module.exports = v35('v3', 0x30, md5);
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/uuid/v5.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var sha1 = require('./lib/sha1');
3 | module.exports = v35('v5', 0x50, sha1);
4 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/jsbn/example.js:
--------------------------------------------------------------------------------
1 | var BigInteger = require('./');
2 | var a = new BigInteger('91823918239182398123');
3 | console.log(a.bitLength());
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --require coffee-script/register
2 | --compilers coffee:coffee-script/register
3 | --reporter spec
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/uuid/v3.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var md5 = require('./lib/md5');
3 |
4 | module.exports = v35('v3', 0x30, md5);
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/uuid/v5.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var sha1 = require('./lib/sha1');
3 | module.exports = v35('v5', 0x50, sha1);
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('./parse');
4 |
5 | require('./stringify');
6 |
7 | require('./utils');
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/form-data/lib/browser.js:
--------------------------------------------------------------------------------
1 | /* eslint-env browser */
2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData;
3 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/sshpk/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 | man/src
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/form-data/lib/browser.js:
--------------------------------------------------------------------------------
1 | /* eslint-env browser */
2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData;
3 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/sshpk/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 | man/src
10 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/form-data/lib/browser.js:
--------------------------------------------------------------------------------
1 | /* eslint-env browser */
2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData;
3 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/sshpk/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 | man/src
10 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/jsbn/example.js:
--------------------------------------------------------------------------------
1 | var BigInteger = require('./');
2 | var a = new BigInteger('91823918239182398123');
3 | console.log(a.bitLength());
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --require coffee-script/register
2 | --compilers coffee:coffee-script/register
3 | --reporter spec
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/uuid/v3.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var md5 = require('./lib/md5');
3 |
4 | module.exports = v35('v3', 0x30, md5);
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/uuid/v5.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var sha1 = require('./lib/sha1');
3 | module.exports = v35('v5', 0x50, sha1);
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/form-data/lib/browser.js:
--------------------------------------------------------------------------------
1 | /* eslint-env browser */
2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData;
3 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/sshpk/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 | man/src
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-deep-equal/index.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'fast-deep-equal' {
2 | const equal: (a: any, b: any) => boolean;
3 | export = equal;
4 | }
5 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-deep-equal/index.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'fast-deep-equal' {
2 | const equal: (a: any, b: any) => boolean;
3 | export = equal;
4 | }
5 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-deep-equal/index.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'fast-deep-equal' {
2 | const equal: (a: any, b: any) => boolean;
3 | export = equal;
4 | }
5 |
--------------------------------------------------------------------------------
/cloudfunctions/vote/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 |
6 | // 云函数入口函数
7 | exports.main = async (event, context) => {
8 |
9 | }
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-json-stable-stringify/example/str.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 6, b: [4,5], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tunnel-agent/README.md:
--------------------------------------------------------------------------------
1 | tunnel-agent
2 | ============
3 |
4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-json-stable-stringify/example/str.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 6, b: [4,5], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tunnel-agent/README.md:
--------------------------------------------------------------------------------
1 | tunnel-agent
2 | ============
3 |
4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-json-stable-stringify/example/str.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 6, b: [4,5], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tunnel-agent/README.md:
--------------------------------------------------------------------------------
1 | tunnel-agent
2 | ============
3 |
4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-deep-equal/index.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'fast-deep-equal' {
2 | const equal: (a: any, b: any) => boolean;
3 | export = equal;
4 | }
5 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-schema-traverse/spec/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | parserOptions:
2 | ecmaVersion: 6
3 | globals:
4 | beforeEach: false
5 | describe: false
6 | it: false
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/verror/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .gitmodules
3 | deps
4 | examples
5 | experiments
6 | jsl.node.conf
7 | Makefile
8 | Makefile.targ
9 | test
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-schema-traverse/spec/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | parserOptions:
2 | ecmaVersion: 6
3 | globals:
4 | beforeEach: false
5 | describe: false
6 | it: false
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/verror/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .gitmodules
3 | deps
4 | examples
5 | experiments
6 | jsl.node.conf
7 | Makefile
8 | Makefile.targ
9 | test
10 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/json-schema-traverse/spec/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | parserOptions:
2 | ecmaVersion: 6
3 | globals:
4 | beforeEach: false
5 | describe: false
6 | it: false
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/verror/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .gitmodules
3 | deps
4 | examples
5 | experiments
6 | jsl.node.conf
7 | Makefile
8 | Makefile.targ
9 | test
10 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-json-stable-stringify/example/str.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 6, b: [4,5], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tunnel-agent/README.md:
--------------------------------------------------------------------------------
1 | tunnel-agent
2 | ============
3 |
4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/json-schema-traverse/spec/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | parserOptions:
2 | ecmaVersion: 6
3 | globals:
4 | beforeEach: false
5 | describe: false
6 | it: false
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/verror/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .gitmodules
3 | deps
4 | examples
5 | experiments
6 | jsl.node.conf
7 | Makefile
8 | Makefile.targ
9 | test
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/aws-sign2/README.md:
--------------------------------------------------------------------------------
1 | aws-sign
2 | ========
3 |
4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-json-stable-stringify/example/nested.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/uuid/index.js:
--------------------------------------------------------------------------------
1 | var v1 = require('./v1');
2 | var v4 = require('./v4');
3 |
4 | var uuid = v4;
5 | uuid.v1 = v1;
6 | uuid.v4 = v4;
7 |
8 | module.exports = uuid;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/aws-sign2/README.md:
--------------------------------------------------------------------------------
1 | aws-sign
2 | ========
3 |
4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-json-stable-stringify/example/nested.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/uuid/index.js:
--------------------------------------------------------------------------------
1 | var v1 = require('./v1');
2 | var v4 = require('./v4');
3 |
4 | var uuid = v4;
5 | uuid.v1 = v1;
6 | uuid.v4 = v4;
7 |
8 | module.exports = uuid;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/aws-sign2/README.md:
--------------------------------------------------------------------------------
1 | aws-sign
2 | ========
3 |
4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-json-stable-stringify/example/nested.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/uuid/index.js:
--------------------------------------------------------------------------------
1 | var v1 = require('./v1');
2 | var v4 = require('./v4');
3 |
4 | var uuid = v4;
5 | uuid.v1 = v1;
6 | uuid.v4 = v4;
7 |
8 | module.exports = uuid;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/is-obj/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function (x) {
3 | var type = typeof x;
4 | return x !== null && (type === 'object' || type === 'function');
5 | };
6 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-schema-traverse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/aws-sign2/README.md:
--------------------------------------------------------------------------------
1 | aws-sign
2 | ========
3 |
4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-json-stable-stringify/example/nested.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/uuid/index.js:
--------------------------------------------------------------------------------
1 | var v1 = require('./v1');
2 | var v4 = require('./v4');
3 |
4 | var uuid = v4;
5 | uuid.v1 = v1;
6 | uuid.v4 = v4;
7 |
8 | module.exports = uuid;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/is-obj/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function (x) {
3 | var type = typeof x;
4 | return x !== null && (type === 'object' || type === 'function');
5 | };
6 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-schema-traverse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/is-obj/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function (x) {
3 | var type = typeof x;
4 | return x !== null && (type === 'object' || type === 'function');
5 | };
6 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/json-schema-traverse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/is-obj/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function (x) {
3 | var type = typeof x;
4 | return x !== null && (type === 'object' || type === 'function');
5 | };
6 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/json-schema-traverse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-json-stable-stringify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/getpass/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-json-stable-stringify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/getpass/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-json-stable-stringify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/getpass/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/dotjs/README.md:
--------------------------------------------------------------------------------
1 | These files are compiled dot templates from dot folder.
2 |
3 | Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/dotjs/README.md:
--------------------------------------------------------------------------------
1 | These files are compiled dot templates from dot folder.
2 |
3 | Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/dotjs/README.md:
--------------------------------------------------------------------------------
1 | These files are compiled dot templates from dot folder.
2 |
3 | Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-json-stable-stringify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/getpass/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/database/serverDate/index.ts:
--------------------------------------------------------------------------------
1 | export class ServerDate {
2 | readonly offset: number;
3 |
4 | constructor({offset}) {
5 | this.offset = offset
6 | }
7 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/database/serverDate/index.ts:
--------------------------------------------------------------------------------
1 | export class ServerDate {
2 | readonly offset: number;
3 |
4 | constructor({offset}) {
5 | this.offset = offset
6 | }
7 | }
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/database/serverDate/index.ts:
--------------------------------------------------------------------------------
1 | export class ServerDate {
2 | readonly offset: number;
3 |
4 | constructor({offset}) {
5 | this.offset = offset
6 | }
7 | }
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/dotjs/README.md:
--------------------------------------------------------------------------------
1 | These files are compiled dot templates from dot folder.
2 |
3 | Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder.
4 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/asynckit/index.js:
--------------------------------------------------------------------------------
1 | module.exports =
2 | {
3 | parallel : require('./parallel.js'),
4 | serial : require('./serial.js'),
5 | serialOrdered : require('./serialOrdered.js')
6 | };
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/database/serverDate/index.ts:
--------------------------------------------------------------------------------
1 | export class ServerDate {
2 | readonly offset: number;
3 |
4 | constructor({offset}) {
5 | this.offset = offset
6 | }
7 | }
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/asynckit/index.js:
--------------------------------------------------------------------------------
1 | module.exports =
2 | {
3 | parallel : require('./parallel.js'),
4 | serial : require('./serial.js'),
5 | serialOrdered : require('./serialOrdered.js')
6 | };
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/serverDate/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare class ServerDate {
2 | readonly offset: number;
3 | constructor({ offset }: {
4 | offset: any;
5 | });
6 | }
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/uuid/AUTHORS:
--------------------------------------------------------------------------------
1 | Robert Kieffer
2 | Christoph Tavan
3 | AJ ONeal
4 | Vincent Voyer
5 | Roman Shtylman
6 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/forever-agent/README.md:
--------------------------------------------------------------------------------
1 | forever-agent
2 | =============
3 |
4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/serverDate/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare class ServerDate {
2 | readonly offset: number;
3 | constructor({ offset }: {
4 | offset: any;
5 | });
6 | }
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/uuid/AUTHORS:
--------------------------------------------------------------------------------
1 | Robert Kieffer
2 | Christoph Tavan
3 | AJ ONeal
4 | Vincent Voyer
5 | Roman Shtylman
6 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/asynckit/index.js:
--------------------------------------------------------------------------------
1 | module.exports =
2 | {
3 | parallel : require('./parallel.js'),
4 | serial : require('./serial.js'),
5 | serialOrdered : require('./serialOrdered.js')
6 | };
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/serverDate/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare class ServerDate {
2 | readonly offset: number;
3 | constructor({ offset }: {
4 | offset: any;
5 | });
6 | }
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/uuid/AUTHORS:
--------------------------------------------------------------------------------
1 | Robert Kieffer
2 | Christoph Tavan
3 | AJ ONeal
4 | Vincent Voyer
5 | Roman Shtylman
6 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/asynckit/index.js:
--------------------------------------------------------------------------------
1 | module.exports =
2 | {
3 | parallel : require('./parallel.js'),
4 | serial : require('./serial.js'),
5 | serialOrdered : require('./serialOrdered.js')
6 | };
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/uuid.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\uuid\bin\uuid" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/forever-agent/README.md:
--------------------------------------------------------------------------------
1 | forever-agent
2 | =============
3 |
4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/uuid.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\uuid\bin\uuid" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/uuid.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\uuid\bin\uuid" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/forever-agent/README.md:
--------------------------------------------------------------------------------
1 | forever-agent
2 | =============
3 |
4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/forever-agent/README.md:
--------------------------------------------------------------------------------
1 | forever-agent
2 | =============
3 |
4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/serverDate/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare class ServerDate {
2 | readonly offset: number;
3 | constructor({ offset }: {
4 | offset: any;
5 | });
6 | }
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/uuid/AUTHORS:
--------------------------------------------------------------------------------
1 | Robert Kieffer
2 | Christoph Tavan
3 | AJ ONeal
4 | Vincent Voyer
5 | Roman Shtylman
6 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/compile/schema_obj.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var util = require('./util');
4 |
5 | module.exports = SchemaObject;
6 |
7 | function SchemaObject(obj) {
8 | util.copy(obj, this);
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/compile/schema_obj.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var util = require('./util');
4 |
5 | module.exports = SchemaObject;
6 |
7 | function SchemaObject(obj) {
8 | util.copy(obj, this);
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/geo/point.d.ts:
--------------------------------------------------------------------------------
1 | export declare class Point {
2 | readonly latitude: number;
3 | readonly longitude: number;
4 | constructor(longitude: number, latitude: number);
5 | }
6 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/compile/schema_obj.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var util = require('./util');
4 |
5 | module.exports = SchemaObject;
6 |
7 | function SchemaObject(obj) {
8 | util.copy(obj, this);
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/uuid.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\uuid\bin\uuid" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/geo/point.d.ts:
--------------------------------------------------------------------------------
1 | export declare class Point {
2 | readonly latitude: number;
3 | readonly longitude: number;
4 | constructor(longitude: number, latitude: number);
5 | }
6 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/geo/point.d.ts:
--------------------------------------------------------------------------------
1 | export declare class Point {
2 | readonly latitude: number;
3 | readonly longitude: number;
4 | constructor(longitude: number, latitude: number);
5 | }
6 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/compile/schema_obj.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var util = require('./util');
4 |
5 | module.exports = SchemaObject;
6 |
7 | function SchemaObject(obj) {
8 | util.copy(obj, this);
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/geo/point.d.ts:
--------------------------------------------------------------------------------
1 | export declare class Point {
2 | readonly latitude: number;
3 | readonly longitude: number;
4 | constructor(longitude: number, latitude: number);
5 | }
6 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [**]
4 | end_of_line = lf
5 | charset = utf-8
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 2
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/sshpk-conv.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-conv" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/sshpk-sign.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-sign" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [**]
4 | end_of_line = lf
5 | charset = utf-8
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 2
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/sshpk-conv.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-conv" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/sshpk-sign.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-sign" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/http-signature/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ((nil . ((indent-tabs-mode . nil)
2 | (tab-width . 8)
3 | (fill-column . 80)))
4 | (js-mode . ((js-indent-level . 2)
5 | (indent-tabs-mode . nil)
6 | )))
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-schema/draft-03/examples/geo:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "A geographical coordinate",
3 | "type" : "object",
4 | "properties" : {
5 | "latitude" : { "type" : "number" },
6 | "longitude" : { "type" : "number" }
7 | }
8 | }
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/sshpk-conv.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-conv" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/sshpk-sign.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-sign" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [**]
4 | end_of_line = lf
5 | charset = utf-8
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 2
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [**]
4 | end_of_line = lf
5 | charset = utf-8
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 2
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/sshpk-verify.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-verify" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/http-signature/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ((nil . ((indent-tabs-mode . nil)
2 | (tab-width . 8)
3 | (fill-column . 80)))
4 | (js-mode . ((js-indent-level . 2)
5 | (indent-tabs-mode . nil)
6 | )))
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/isstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | branches:
7 | only:
8 | - master
9 | notifications:
10 | email:
11 | - rod@vagg.org
12 | script: npm test
13 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-schema/draft-03/examples/geo:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "A geographical coordinate",
3 | "type" : "object",
4 | "properties" : {
5 | "latitude" : { "type" : "number" },
6 | "longitude" : { "type" : "number" }
7 | }
8 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/sshpk-verify.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-verify" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/isstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | branches:
7 | only:
8 | - master
9 | notifications:
10 | email:
11 | - rod@vagg.org
12 | script: npm test
13 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/sshpk-verify.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-verify" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/http-signature/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ((nil . ((indent-tabs-mode . nil)
2 | (tab-width . 8)
3 | (fill-column . 80)))
4 | (js-mode . ((js-indent-level . 2)
5 | (indent-tabs-mode . nil)
6 | )))
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/isstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | branches:
7 | only:
8 | - master
9 | notifications:
10 | email:
11 | - rod@vagg.org
12 | script: npm test
13 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/json-schema/draft-03/examples/geo:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "A geographical coordinate",
3 | "type" : "object",
4 | "properties" : {
5 | "latitude" : { "type" : "number" },
6 | "longitude" : { "type" : "number" }
7 | }
8 | }
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/sshpk-conv.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-conv" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/sshpk-sign.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-sign" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/http-signature/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ((nil . ((indent-tabs-mode . nil)
2 | (tab-width . 8)
3 | (fill-column . 80)))
4 | (js-mode . ((js-indent-level . 2)
5 | (indent-tabs-mode . nil)
6 | )))
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/json-schema/draft-03/examples/geo:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "A geographical coordinate",
3 | "type" : "object",
4 | "properties" : {
5 | "latitude" : { "type" : "number" },
6 | "longitude" : { "type" : "number" }
7 | }
8 | }
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/sshpk-verify.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-verify" %*
7 | )
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/isstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | branches:
7 | only:
8 | - master
9 | notifications:
10 | email:
11 | - rod@vagg.org
12 | script: npm test
13 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/test/scripts/difference.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | # Expected output is above 0.005 and below 0.07.
4 |
5 | now = require('../../lib/performance-now')
6 | console.log -(now() - now()).toFixed 3
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/psl/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "indent": [ 2, 2 ],
4 | "padding-line-between-statements": "off",
5 | "hapi/hapi-no-var": false
6 | },
7 | "extends": "hapi",
8 | "env": {
9 | "mocha": true
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/.tm_properties:
--------------------------------------------------------------------------------
1 | excludeDirectories = "{.git,node_modules}"
2 | excludeInFolderSearch = "{excludeDirectories,lib}"
3 |
4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}"
5 |
6 | [ attr.untitled ]
7 | fileType = 'source.coffee'
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/test/scripts/difference.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | # Expected output is above 0.005 and below 0.07.
4 |
5 | now = require('../../lib/performance-now')
6 | console.log -(now() - now()).toFixed 3
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/psl/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "indent": [ 2, 2 ],
4 | "padding-line-between-statements": "off",
5 | "hapi/hapi-no-var": false
6 | },
7 | "extends": "hapi",
8 | "env": {
9 | "mocha": true
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/test/scripts/difference.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | # Expected output is above 0.005 and below 0.07.
4 |
5 | now = require('../../lib/performance-now')
6 | console.log -(now() - now()).toFixed 3
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/psl/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "indent": [ 2, 2 ],
4 | "padding-line-between-statements": "off",
5 | "hapi/hapi-no-var": false
6 | },
7 | "extends": "hapi",
8 | "env": {
9 | "mocha": true
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-json-stable-stringify/example/key_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.key < b.key ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/.tm_properties:
--------------------------------------------------------------------------------
1 | excludeDirectories = "{.git,node_modules}"
2 | excludeInFolderSearch = "{excludeDirectories,lib}"
3 |
4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}"
5 |
6 | [ attr.untitled ]
7 | fileType = 'source.coffee'
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-json-stable-stringify/example/key_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.key < b.key ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-json-stable-stringify/example/key_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.key < b.key ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/.tm_properties:
--------------------------------------------------------------------------------
1 | excludeDirectories = "{.git,node_modules}"
2 | excludeInFolderSearch = "{excludeDirectories,lib}"
3 |
4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}"
5 |
6 | [ attr.untitled ]
7 | fileType = 'source.coffee'
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/.tm_properties:
--------------------------------------------------------------------------------
1 | excludeDirectories = "{.git,node_modules}"
2 | excludeInFolderSearch = "{excludeDirectories,lib}"
3 |
4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}"
5 |
6 | [ attr.untitled ]
7 | fileType = 'source.coffee'
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/test/scripts/difference.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | # Expected output is above 0.005 and below 0.07.
4 |
5 | now = require('../../lib/performance-now')
6 | console.log -(now() - now()).toFixed 3
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/psl/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "indent": [ 2, 2 ],
4 | "padding-line-between-statements": "off",
5 | "hapi/hapi-no-var": false
6 | },
7 | "extends": "hapi",
8 | "env": {
9 | "mocha": true
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/form-data/lib/populate.js:
--------------------------------------------------------------------------------
1 | // populates missing values
2 | module.exports = function(dst, src) {
3 |
4 | Object.keys(src).forEach(function(prop)
5 | {
6 | dst[prop] = dst[prop] || src[prop];
7 | });
8 |
9 | return dst;
10 | };
11 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/db/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./db"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/README.md:
--------------------------------------------------------------------------------
1 | # 索引
2 |
3 | - [Db](./db.d.ts)
4 | - [Collection](./collection.d.ts)
5 | - [Document](./document.d.ts)
6 | - [DocumentSnapshot](./documentSnapshot.d.ts)
7 | - [Query](./query.d.ts)
8 | - [Field](./field.d.ts)
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/form-data/lib/populate.js:
--------------------------------------------------------------------------------
1 | // populates missing values
2 | module.exports = function(dst, src) {
3 |
4 | Object.keys(src).forEach(function(prop)
5 | {
6 | dst[prop] = dst[prop] || src[prop];
7 | });
8 |
9 | return dst;
10 | };
11 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/db/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./db"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/README.md:
--------------------------------------------------------------------------------
1 | # 索引
2 |
3 | - [Db](./db.d.ts)
4 | - [Collection](./collection.d.ts)
5 | - [Document](./document.d.ts)
6 | - [DocumentSnapshot](./documentSnapshot.d.ts)
7 | - [Query](./query.d.ts)
8 | - [Field](./field.d.ts)
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/form-data/lib/populate.js:
--------------------------------------------------------------------------------
1 | // populates missing values
2 | module.exports = function(dst, src) {
3 |
4 | Object.keys(src).forEach(function(prop)
5 | {
6 | dst[prop] = dst[prop] || src[prop];
7 | });
8 |
9 | return dst;
10 | };
11 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/db/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./db"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/README.md:
--------------------------------------------------------------------------------
1 | # 索引
2 |
3 | - [Db](./db.d.ts)
4 | - [Collection](./collection.d.ts)
5 | - [Document](./document.d.ts)
6 | - [DocumentSnapshot](./documentSnapshot.d.ts)
7 | - [Query](./query.d.ts)
8 | - [Field](./field.d.ts)
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-json-stable-stringify/example/key_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.key < b.key ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/assert-plus/AUTHORS:
--------------------------------------------------------------------------------
1 | Dave Eddy
2 | Fred Kuo
3 | Lars-Magnus Skog
4 | Mark Cavage
5 | Patrick Mooney
6 | Rob Gulewich
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/oauth-sign/README.md:
--------------------------------------------------------------------------------
1 | oauth-sign
2 | ==========
3 |
4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
5 |
6 | ## Supported Method Signatures
7 |
8 | - HMAC-SHA1
9 | - HMAC-SHA256
10 | - RSA-SHA1
11 | - PLAINTEXT
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/assert-plus/AUTHORS:
--------------------------------------------------------------------------------
1 | Dave Eddy
2 | Fred Kuo
3 | Lars-Magnus Skog
4 | Mark Cavage
5 | Patrick Mooney
6 | Rob Gulewich
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/oauth-sign/README.md:
--------------------------------------------------------------------------------
1 | oauth-sign
2 | ==========
3 |
4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
5 |
6 | ## Supported Method Signatures
7 |
8 | - HMAC-SHA1
9 | - HMAC-SHA256
10 | - RSA-SHA1
11 | - PLAINTEXT
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/sshpk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 | after_success:
11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio'
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/db/geo/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./point"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/assert-plus/AUTHORS:
--------------------------------------------------------------------------------
1 | Dave Eddy
2 | Fred Kuo
3 | Lars-Magnus Skog
4 | Mark Cavage
5 | Patrick Mooney
6 | Rob Gulewich
7 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/oauth-sign/README.md:
--------------------------------------------------------------------------------
1 | oauth-sign
2 | ==========
3 |
4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
5 |
6 | ## Supported Method Signatures
7 |
8 | - HMAC-SHA1
9 | - HMAC-SHA256
10 | - RSA-SHA1
11 | - PLAINTEXT
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/form-data/lib/populate.js:
--------------------------------------------------------------------------------
1 | // populates missing values
2 | module.exports = function(dst, src) {
3 |
4 | Object.keys(src).forEach(function(prop)
5 | {
6 | dst[prop] = dst[prop] || src[prop];
7 | });
8 |
9 | return dst;
10 | };
11 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/db/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./db"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/README.md:
--------------------------------------------------------------------------------
1 | # 索引
2 |
3 | - [Db](./db.d.ts)
4 | - [Collection](./collection.d.ts)
5 | - [Document](./document.d.ts)
6 | - [DocumentSnapshot](./documentSnapshot.d.ts)
7 | - [Query](./query.d.ts)
8 | - [Field](./field.d.ts)
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-json-stable-stringify/example/value_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.value < b.value ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/sshpk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 | after_success:
11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio'
12 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/db/geo/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./point"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-json-stable-stringify/example/value_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.value < b.value ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-json-stable-stringify/example/value_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.value < b.value ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/sshpk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 | after_success:
11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio'
12 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/db/geo/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./point"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/assert-plus/AUTHORS:
--------------------------------------------------------------------------------
1 | Dave Eddy
2 | Fred Kuo
3 | Lars-Magnus Skog
4 | Mark Cavage
5 | Patrick Mooney
6 | Rob Gulewich
7 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/oauth-sign/README.md:
--------------------------------------------------------------------------------
1 | oauth-sign
2 | ==========
3 |
4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
5 |
6 | ## Supported Method Signatures
7 |
8 | - HMAC-SHA1
9 | - HMAC-SHA256
10 | - RSA-SHA1
11 | - PLAINTEXT
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/sshpk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 | after_success:
11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio'
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/db/geo/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | function __export(m) {
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4 | }
5 | Object.defineProperty(exports, "__esModule", { value: true });
6 | __export(require("./point"));
7 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/db/serverDate/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | class ServerDate {
4 | constructor({ offset }) {
5 | this.offset = offset;
6 | }
7 | }
8 | exports.ServerDate = ServerDate;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/db/serverDate/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | class ServerDate {
4 | constructor({ offset }) {
5 | this.offset = offset;
6 | }
7 | }
8 | exports.ServerDate = ServerDate;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/db/serverDate/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | class ServerDate {
4 | constructor({ offset }) {
5 | this.offset = offset;
6 | }
7 | }
8 | exports.ServerDate = ServerDate;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-json-stable-stringify/example/value_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.value < b.value ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/jsbn/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/jsbn/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/jsbn/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/db/serverDate/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | class ServerDate {
4 | constructor({ offset }) {
5 | this.offset = offset;
6 | }
7 | }
8 | exports.ServerDate = ServerDate;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/src/index.d.ts:
--------------------------------------------------------------------------------
1 | // This file describes the package to typescript.
2 |
3 | /**
4 | * Returns the number of milliseconds since the page was loaded (if browser)
5 | * or the node process was started.
6 | */
7 | declare function now(): number;
8 | export = now;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/src/index.d.ts:
--------------------------------------------------------------------------------
1 | // This file describes the package to typescript.
2 |
3 | /**
4 | * Returns the number of milliseconds since the page was loaded (if browser)
5 | * or the node process was started.
6 | */
7 | declare function now(): number;
8 | export = now;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/src/index.d.ts:
--------------------------------------------------------------------------------
1 | // This file describes the package to typescript.
2 |
3 | /**
4 | * Returns the number of milliseconds since the page was loaded (if browser)
5 | * or the node process was started.
6 | */
7 | declare function now(): number;
8 | export = now;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/jsbn/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/miniprogram/app.js:
--------------------------------------------------------------------------------
1 | //app.js
2 | App({
3 | onLaunch: function () {
4 |
5 | if (!wx.cloud) {
6 | console.error('请使用 2.2.3 或以上的基础库以使用云能力')
7 | } else {
8 | wx.cloud.init({
9 | traceUser: true,
10 | })
11 | }
12 |
13 | this.globalData = {}
14 | }
15 | })
16 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/src/index.d.ts:
--------------------------------------------------------------------------------
1 | // This file describes the package to typescript.
2 |
3 | /**
4 | * Returns the number of milliseconds since the page was loaded (if browser)
5 | * or the node process was started.
6 | */
7 | declare function now(): number;
8 | export = now;
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-schema/lib/har.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "har.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "log"
7 | ],
8 | "properties": {
9 | "log": {
10 | "$ref": "log.json#"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/miniprogram/pages/advice/advice.wxss:
--------------------------------------------------------------------------------
1 | /* pages/advice/advice.wxss */
2 |
3 |
4 | .pl20{
5 | padding: 20rpx;
6 | }
7 |
8 | .btn{
9 | width:550rpx;
10 | height: 80rpx;
11 | line-height: 80rpx;
12 | background: #ea9518;
13 | color: #fff;
14 | font-weight: bold;
15 | font-size: 34rpx;
16 |
17 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-schema/lib/har.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "har.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "log"
7 | ],
8 | "properties": {
9 | "log": {
10 | "$ref": "log.json#"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-schema/lib/har.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "har.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "log"
7 | ],
8 | "properties": {
9 | "log": {
10 | "$ref": "log.json#"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/scripts/prepare-tests:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | set -e
4 |
5 | mkdir -p .browser
6 |
7 | find spec -type f -name '*.spec.js' | \
8 | xargs -I {} sh -c \
9 | 'export f="{}"; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'
10 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/uuid/lib/rng.js:
--------------------------------------------------------------------------------
1 | // Unique ID creation requires a high quality random # generator. In node.js
2 | // this is pretty straight-forward - we use the crypto API.
3 |
4 | var crypto = require('crypto');
5 |
6 | module.exports = function nodeRNG() {
7 | return crypto.randomBytes(16);
8 | };
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/scripts/prepare-tests:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | set -e
4 |
5 | mkdir -p .browser
6 |
7 | find spec -type f -name '*.spec.js' | \
8 | xargs -I {} sh -c \
9 | 'export f="{}"; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/uuid/lib/rng.js:
--------------------------------------------------------------------------------
1 | // Unique ID creation requires a high quality random # generator. In node.js
2 | // this is pretty straight-forward - we use the crypto API.
3 |
4 | var crypto = require('crypto');
5 |
6 | module.exports = function nodeRNG() {
7 | return crypto.randomBytes(16);
8 | };
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/scripts/prepare-tests:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | set -e
4 |
5 | mkdir -p .browser
6 |
7 | find spec -type f -name '*.spec.js' | \
8 | xargs -I {} sh -c \
9 | 'export f="{}"; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'
10 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/uuid/lib/rng.js:
--------------------------------------------------------------------------------
1 | // Unique ID creation requires a high quality random # generator. In node.js
2 | // this is pretty straight-forward - we use the crypto API.
3 |
4 | var crypto = require('crypto');
5 |
6 | module.exports = function nodeRNG() {
7 | return crypto.randomBytes(16);
8 | };
9 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-schema/lib/har.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "har.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "log"
7 | ],
8 | "properties": {
9 | "log": {
10 | "$ref": "log.json#"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/scripts/prepare-tests:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | set -e
4 |
5 | mkdir -p .browser
6 |
7 | find spec -type f -name '*.spec.js' | \
8 | xargs -I {} sh -c \
9 | 'export f="{}"; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'
10 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/uuid/lib/rng.js:
--------------------------------------------------------------------------------
1 | // Unique ID creation requires a high quality random # generator. In node.js
2 | // this is pretty straight-forward - we use the crypto API.
3 |
4 | var crypto = require('crypto');
5 |
6 | module.exports = function nodeRNG() {
7 | return crypto.randomBytes(16);
8 | };
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 云开发 quickstart
2 |
3 | 这是云开发的快速启动指引,其中演示了如何上手使用云开发的三大基础能力:
4 |
5 | - 数据库:一个既可在小程序前端操作,也能在云函数中读写的 JSON 文档型数据库
6 | - 文件存储:在小程序前端直接上传/下载云端文件,在云开发控制台可视化管理
7 | - 云函数:在云端运行的代码,微信私有协议天然鉴权,开发者只需编写业务逻辑代码
8 |
9 | ## 参考文档
10 |
11 | - [云开发文档](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)
12 |
13 |
--------------------------------------------------------------------------------
/cloudfunctions/vote/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vote",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/collection.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentReference } from "./document";
2 | import { Query } from "./query";
3 | export declare class CollectionReference extends Query {
4 | readonly name: string;
5 | doc(docID?: string): DocumentReference;
6 | add(data: Object): Promise;
7 | }
8 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/collection.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentReference } from "./document";
2 | import { Query } from "./query";
3 | export declare class CollectionReference extends Query {
4 | readonly name: string;
5 | doc(docID?: string): DocumentReference;
6 | add(data: Object): Promise;
7 | }
8 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/collection.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentReference } from "./document";
2 | import { Query } from "./query";
3 | export declare class CollectionReference extends Query {
4 | readonly name: string;
5 | doc(docID?: string): DocumentReference;
6 | add(data: Object): Promise;
7 | }
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "zan",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/collection.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentReference } from "./document";
2 | import { Query } from "./query";
3 | export declare class CollectionReference extends Query {
4 | readonly name: string;
5 | doc(docID?: string): DocumentReference;
6 | add(data: Object): Promise;
7 | }
8 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/asn1/lib/ber/errors.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 |
6 | newInvalidAsn1Error: function (msg) {
7 | var e = new Error();
8 | e.name = 'InvalidAsn1Error';
9 | e.message = msg || '';
10 | return e;
11 | }
12 |
13 | };
14 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/asn1/lib/ber/errors.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 |
6 | newInvalidAsn1Error: function (msg) {
7 | var e = new Error();
8 | e.name = 'InvalidAsn1Error';
9 | e.message = msg || '';
10 | return e;
11 | }
12 |
13 | };
14 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "comment",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/asn1/lib/ber/errors.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 |
6 | newInvalidAsn1Error: function (msg) {
7 | var e = new Error();
8 | e.name = 'InvalidAsn1Error';
9 | e.message = msg || '';
10 | return e;
11 | }
12 |
13 | };
14 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "passItem",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/asn1/lib/ber/errors.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 |
6 | newInvalidAsn1Error: function (msg) {
7 | var e = new Error();
8 | e.name = 'InvalidAsn1Error';
9 | e.message = msg || '';
10 | return e;
11 | }
12 |
13 | };
14 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "shareHandler",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/scripts/info:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | 'use strict';
4 |
5 | var fs = require('fs');
6 | var name = process.argv[2] || '.';
7 | var property = process.argv[3] || 'version';
8 | if (name != '.') name = 'node_modules/' + name;
9 | var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8'));
10 | console.log(json[property]);
11 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/dot/const.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{? !$isData }}
7 | var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
8 | {{?}}
9 | var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
10 | {{# def.checkError:'const' }}
11 | {{? $breakOnError }} else { {{?}}
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/scripts/info:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | 'use strict';
4 |
5 | var fs = require('fs');
6 | var name = process.argv[2] || '.';
7 | var property = process.argv[3] || 'version';
8 | if (name != '.') name = 'node_modules/' + name;
9 | var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8'));
10 | console.log(json[property]);
11 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/scripts/info:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | 'use strict';
4 |
5 | var fs = require('fs');
6 | var name = process.argv[2] || '.';
7 | var property = process.argv[3] || 'version';
8 | if (name != '.') name = 'node_modules/' + name;
9 | var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8'));
10 | console.log(json[property]);
11 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/dot/const.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{? !$isData }}
7 | var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
8 | {{?}}
9 | var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
10 | {{# def.checkError:'const' }}
11 | {{? $breakOnError }} else { {{?}}
12 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/dot/const.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{? !$isData }}
7 | var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
8 | {{?}}
9 | var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
10 | {{# def.checkError:'const' }}
11 | {{? $breakOnError }} else { {{?}}
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/dot/const.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{? !$isData }}
7 | var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
8 | {{?}}
9 | var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
10 | {{# def.checkError:'const' }}
11 | {{? $breakOnError }} else { {{?}}
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/scripts/info:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | 'use strict';
4 |
5 | var fs = require('fs');
6 | var name = process.argv[2] || '.';
7 | var property = process.argv[3] || 'version';
8 | if (name != '.') name = 'node_modules/' + name;
9 | var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8'));
10 | console.log(json[property]);
11 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/document.d.ts:
--------------------------------------------------------------------------------
1 | export declare class DocumentReference {
2 | readonly id: string;
3 | readonly projection: Object;
4 | set(data: Object): Promise;
5 | update(data: Object): Promise;
6 | remove(): Promise;
7 | get(): Promise;
8 | field(projection: Object): DocumentReference;
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/document.d.ts:
--------------------------------------------------------------------------------
1 | export declare class DocumentReference {
2 | readonly id: string;
3 | readonly projection: Object;
4 | set(data: Object): Promise;
5 | update(data: Object): Promise;
6 | remove(): Promise;
7 | get(): Promise;
8 | field(projection: Object): DocumentReference;
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/document.d.ts:
--------------------------------------------------------------------------------
1 | export declare class DocumentReference {
2 | readonly id: string;
3 | readonly projection: Object;
4 | set(data: Object): Promise;
5 | update(data: Object): Promise;
6 | remove(): Promise;
7 | get(): Promise;
8 | field(projection: Object): DocumentReference;
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/document.d.ts:
--------------------------------------------------------------------------------
1 | export declare class DocumentReference {
2 | readonly id: string;
3 | readonly projection: Object;
4 | set(data: Object): Promise;
5 | update(data: Object): Promise;
6 | remove(): Promise;
7 | get(): Promise;
8 | field(projection: Object): DocumentReference;
9 | }
10 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/uuid:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../uuid/bin/uuid" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/uuid:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../uuid/bin/uuid" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/README.md:
--------------------------------------------------------------------------------
1 | # 开发目录
2 |
3 | ## 文件说明
4 |
5 | ```md
6 | - database/ // 数据库部分 ts 代码
7 | - db/ // 数据库部分 js 代码
8 | - functions/ // 云函数
9 | - storage/ // 云存储
10 | - utils/ // 工具包
11 | - index.js // 入口文件
12 | ```
13 |
14 | ## 命令说明
15 |
16 | ```shell
17 | # 数据库模块实时编译
18 | tnpm run tsc:w
19 |
20 | # 数据库模块编译
21 | tnpm run tsc
22 | ```
23 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/README.md:
--------------------------------------------------------------------------------
1 | # 开发目录
2 |
3 | ## 文件说明
4 |
5 | ```md
6 | - database/ // 数据库部分 ts 代码
7 | - db/ // 数据库部分 js 代码
8 | - functions/ // 云函数
9 | - storage/ // 云存储
10 | - utils/ // 工具包
11 | - index.js // 入口文件
12 | ```
13 |
14 | ## 命令说明
15 |
16 | ```shell
17 | # 数据库模块实时编译
18 | tnpm run tsc:w
19 |
20 | # 数据库模块编译
21 | tnpm run tsc
22 | ```
23 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/uuid:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../uuid/bin/uuid" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/README.md:
--------------------------------------------------------------------------------
1 | # 开发目录
2 |
3 | ## 文件说明
4 |
5 | ```md
6 | - database/ // 数据库部分 ts 代码
7 | - db/ // 数据库部分 js 代码
8 | - functions/ // 云函数
9 | - storage/ // 云存储
10 | - utils/ // 工具包
11 | - index.js // 入口文件
12 | ```
13 |
14 | ## 命令说明
15 |
16 | ```shell
17 | # 数据库模块实时编译
18 | tnpm run tsc:w
19 |
20 | # 数据库模块编译
21 | tnpm run tsc
22 | ```
23 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/uuid:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../uuid/bin/uuid" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/miniprogram/pages/validContent/validContent.wxss:
--------------------------------------------------------------------------------
1 | /* pages/validContent/validContent.wxss */
2 | @import '../index/index.wxss';
3 |
4 | page{
5 | font-size: 24rpx;
6 | color: #999;
7 | }
8 |
9 | .btns{
10 | width: 100%;
11 | height: 100rpx;
12 | position: absolute;
13 | bottom: 60rpx;
14 | left: 0;
15 | }
16 |
17 | .passi{
18 | width: 100rpx;
19 | height: 100rpx;
20 | margin-left:
21 | }
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/README.md:
--------------------------------------------------------------------------------
1 | # 开发目录
2 |
3 | ## 文件说明
4 |
5 | ```md
6 | - database/ // 数据库部分 ts 代码
7 | - db/ // 数据库部分 js 代码
8 | - functions/ // 云函数
9 | - storage/ // 云存储
10 | - utils/ // 工具包
11 | - index.js // 入口文件
12 | ```
13 |
14 | ## 命令说明
15 |
16 | ```shell
17 | # 数据库模块实时编译
18 | tnpm run tsc:w
19 |
20 | # 数据库模块编译
21 | tnpm run tsc
22 | ```
23 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/sshpk-conv:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-conv" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/sshpk-sign:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-sign" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/sshpk-conv:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-conv" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/sshpk-sign:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-sign" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/dot/_limitItems.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitItems' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/dot/_limitItems.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitItems' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/extend/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = tab
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 150
11 |
12 | [CHANGELOG.md]
13 | indent_style = space
14 | indent_size = 2
15 |
16 | [*.json]
17 | max_line_length = off
18 |
19 | [Makefile]
20 | max_line_length = off
21 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/sshpk-conv:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-conv" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/sshpk-sign:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-sign" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/dot/_limitItems.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitItems' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/sshpk-conv:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-conv" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/sshpk-sign:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-sign" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/.bin/sshpk-verify:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-verify" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/dot/_limitLength.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitLength' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/extend/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = tab
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 150
11 |
12 | [CHANGELOG.md]
13 | indent_style = space
14 | indent_size = 2
15 |
16 | [*.json]
17 | max_line_length = off
18 |
19 | [Makefile]
20 | max_line_length = off
21 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/.bin/sshpk-verify:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-verify" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/dot/_limitLength.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitLength' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/.bin/sshpk-verify:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-verify" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/dot/_limitLength.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitLength' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/extend/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = tab
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 150
11 |
12 | [CHANGELOG.md]
13 | indent_style = space
14 | indent_size = 2
15 |
16 | [*.json]
17 | max_line_length = off
18 |
19 | [Makefile]
20 | max_line_length = off
21 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/dot/_limitItems.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitItems' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/extend/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = tab
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 150
11 |
12 | [CHANGELOG.md]
13 | indent_style = space
14 | indent_size = 2
15 |
16 | [*.json]
17 | max_line_length = off
18 |
19 | [Makefile]
20 | max_line_length = off
21 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/test/scripts/initial-value.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 100 and below 350.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | now = require '../../lib/performance-now'
10 | console.log now().toFixed 3
11 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/test/scripts/initial-value.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 100 and below 350.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | now = require '../../lib/performance-now'
10 | console.log now().toFixed 3
11 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/test/scripts/initial-value.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 100 and below 350.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | now = require '../../lib/performance-now'
10 | console.log now().toFixed 3
11 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/.bin/sshpk-verify:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-verify" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/dot/_limitLength.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitLength' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/test/scripts/initial-value.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 100 and below 350.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | now = require '../../lib/performance-now'
10 | console.log now().toFixed 3
11 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-schema/lib/query.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "query.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/dot/_limitProperties.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitProperties' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-schema/lib/header.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "header.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-schema/lib/pageTimings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "pageTimings.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "properties": {
6 | "onContentLoad": {
7 | "type": "number",
8 | "min": -1
9 | },
10 | "onLoad": {
11 | "type": "number",
12 | "min": -1
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-schema/lib/query.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "query.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/dot/_limitProperties.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitProperties' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-schema/lib/header.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "header.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-schema/lib/pageTimings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "pageTimings.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "properties": {
6 | "onContentLoad": {
7 | "type": "number",
8 | "min": -1
9 | },
10 | "onLoad": {
11 | "type": "number",
12 | "min": -1
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/dot/_limitProperties.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitProperties' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-schema/lib/header.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "header.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-schema/lib/pageTimings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "pageTimings.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "properties": {
6 | "onContentLoad": {
7 | "type": "number",
8 | "min": -1
9 | },
10 | "onLoad": {
11 | "type": "number",
12 | "min": -1
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-schema/lib/query.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "query.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-schema/lib/query.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "query.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/asn1/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | // If you have no idea what ASN.1 or BER is, see this:
4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc
5 |
6 | var Ber = require('./ber/index');
7 |
8 |
9 |
10 | // --- Exported API
11 |
12 | module.exports = {
13 |
14 | Ber: Ber,
15 |
16 | BerReader: Ber.Reader,
17 |
18 | BerWriter: Ber.Writer
19 |
20 | };
21 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-schema/lib/browser.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "browser.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-schema/lib/creator.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "creator.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-schema/README.md:
--------------------------------------------------------------------------------
1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator).
2 |
3 | Code is licensed under the AFL or BSD license as part of the Persevere
4 | project which is administered under the Dojo foundation,
5 | and all contributions require a Dojo CLA.
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/qs/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "consistent-return": 2,
6 | "max-lines": 0,
7 | "max-nested-callbacks": [2, 3],
8 | "max-statements": 0,
9 | "no-buffer-constructor": 0,
10 | "no-extend-native": 0,
11 | "no-magic-numbers": 0,
12 | "object-curly-newline": 0,
13 | "sort-keys": 0
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/dot/pattern.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{
7 | var $regexp = $isData
8 | ? '(new RegExp(' + $schemaValue + '))'
9 | : it.usePattern($schema);
10 | }}
11 |
12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) {
13 | {{# def.error:'pattern' }}
14 | } {{? $breakOnError }} else { {{?}}
15 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/asn1/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | // If you have no idea what ASN.1 or BER is, see this:
4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc
5 |
6 | var Ber = require('./ber/index');
7 |
8 |
9 |
10 | // --- Exported API
11 |
12 | module.exports = {
13 |
14 | Ber: Ber,
15 |
16 | BerReader: Ber.Reader,
17 |
18 | BerWriter: Ber.Writer
19 |
20 | };
21 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-schema/lib/browser.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "browser.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-schema/lib/creator.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "creator.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-schema/README.md:
--------------------------------------------------------------------------------
1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator).
2 |
3 | Code is licensed under the AFL or BSD license as part of the Persevere
4 | project which is administered under the Dojo foundation,
5 | and all contributions require a Dojo CLA.
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/qs/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "consistent-return": 2,
6 | "max-lines": 0,
7 | "max-nested-callbacks": [2, 3],
8 | "max-statements": 0,
9 | "no-buffer-constructor": 0,
10 | "no-extend-native": 0,
11 | "no-magic-numbers": 0,
12 | "object-curly-newline": 0,
13 | "sort-keys": 0
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/asn1/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | // If you have no idea what ASN.1 or BER is, see this:
4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc
5 |
6 | var Ber = require('./ber/index');
7 |
8 |
9 |
10 | // --- Exported API
11 |
12 | module.exports = {
13 |
14 | Ber: Ber,
15 |
16 | BerReader: Ber.Reader,
17 |
18 | BerWriter: Ber.Writer
19 |
20 | };
21 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-schema/lib/browser.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "browser.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-schema/lib/creator.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "creator.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/json-schema/README.md:
--------------------------------------------------------------------------------
1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator).
2 |
3 | Code is licensed under the AFL or BSD license as part of the Persevere
4 | project which is administered under the Dojo foundation,
5 | and all contributions require a Dojo CLA.
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/qs/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "consistent-return": 2,
6 | "max-lines": 0,
7 | "max-nested-callbacks": [2, 3],
8 | "max-statements": 0,
9 | "no-buffer-constructor": 0,
10 | "no-extend-native": 0,
11 | "no-magic-numbers": 0,
12 | "object-curly-newline": 0,
13 | "sort-keys": 0
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/dot/_limitProperties.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitProperties' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-schema/lib/header.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "header.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-schema/lib/pageTimings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "pageTimings.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "properties": {
6 | "onContentLoad": {
7 | "type": "number",
8 | "min": -1
9 | },
10 | "onLoad": {
11 | "type": "number",
12 | "min": -1
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/dot/pattern.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{
7 | var $regexp = $isData
8 | ? '(new RegExp(' + $schemaValue + '))'
9 | : it.usePattern($schema);
10 | }}
11 |
12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) {
13 | {{# def.error:'pattern' }}
14 | } {{? $breakOnError }} else { {{?}}
15 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/dot/pattern.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{
7 | var $regexp = $isData
8 | ? '(new RegExp(' + $schemaValue + '))'
9 | : it.usePattern($schema);
10 | }}
11 |
12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) {
13 | {{# def.error:'pattern' }}
14 | } {{? $breakOnError }} else { {{?}}
15 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/dot/pattern.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{
7 | var $regexp = $isData
8 | ? '(new RegExp(' + $schemaValue + '))'
9 | : it.usePattern($schema);
10 | }}
11 |
12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) {
13 | {{# def.error:'pattern' }}
14 | } {{? $breakOnError }} else { {{?}}
15 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/asn1/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | // If you have no idea what ASN.1 or BER is, see this:
4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc
5 |
6 | var Ber = require('./ber/index');
7 |
8 |
9 |
10 | // --- Exported API
11 |
12 | module.exports = {
13 |
14 | Ber: Ber,
15 |
16 | BerReader: Ber.Reader,
17 |
18 | BerWriter: Ber.Writer
19 |
20 | };
21 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-schema/lib/browser.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "browser.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-schema/lib/creator.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "creator.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/json-schema/README.md:
--------------------------------------------------------------------------------
1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator).
2 |
3 | Code is licensed under the AFL or BSD license as part of the Persevere
4 | project which is administered under the Dojo foundation,
5 | and all contributions require a Dojo CLA.
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/qs/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "consistent-return": 2,
6 | "max-lines": 0,
7 | "max-nested-callbacks": [2, 3],
8 | "max-statements": 0,
9 | "no-buffer-constructor": 0,
10 | "no-extend-native": 0,
11 | "no-magic-numbers": 0,
12 | "object-curly-newline": 0,
13 | "sort-keys": 0
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ecc-jsbn/README.md:
--------------------------------------------------------------------------------
1 | ecc-jsbn
2 | ========
3 |
4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/).
5 |
6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too.
7 |
8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression).
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ecc-jsbn/README.md:
--------------------------------------------------------------------------------
1 | ecc-jsbn
2 | ========
3 |
4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/).
5 |
6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too.
7 |
8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression).
9 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/fast-json-stable-stringify/test/cmp.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var stringify = require('../');
5 |
6 | test('custom comparison function', function (t) {
7 | t.plan(1);
8 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
9 | var s = stringify(obj, function (a, b) {
10 | return a.key < b.key ? 1 : -1;
11 | });
12 | t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}');
13 | });
14 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/fast-json-stable-stringify/test/cmp.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var stringify = require('../');
5 |
6 | test('custom comparison function', function (t) {
7 | t.plan(1);
8 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
9 | var s = stringify(obj, function (a, b) {
10 | return a.key < b.key ? 1 : -1;
11 | });
12 | t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}');
13 | });
14 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ecc-jsbn/README.md:
--------------------------------------------------------------------------------
1 | ecc-jsbn
2 | ========
3 |
4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/).
5 |
6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too.
7 |
8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression).
9 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/fast-json-stable-stringify/test/cmp.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var stringify = require('../');
5 |
6 | test('custom comparison function', function (t) {
7 | t.plan(1);
8 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
9 | var s = stringify(obj, function (a, b) {
10 | return a.key < b.key ? 1 : -1;
11 | });
12 | t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}');
13 | });
14 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ecc-jsbn/README.md:
--------------------------------------------------------------------------------
1 | ecc-jsbn
2 | ========
3 |
4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/).
5 |
6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too.
7 |
8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression).
9 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/test/scripts/delayed-call.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | now = require "../../lib/performance-now"
11 | delay 250, -> console.log now().toFixed 3
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/fast-json-stable-stringify/test/cmp.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var stringify = require('../');
5 |
6 | test('custom comparison function', function (t) {
7 | t.plan(1);
8 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
9 | var s = stringify(obj, function (a, b) {
10 | return a.key < b.key ? 1 : -1;
11 | });
12 | t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}');
13 | });
14 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/test/scripts/delayed-call.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | now = require "../../lib/performance-now"
11 | delay 250, -> console.log now().toFixed 3
12 |
--------------------------------------------------------------------------------
/miniprogram/pages/comment/comment.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {{username || '虎友'}}
7 |
8 |
9 |
10 | {{item.text}}
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/cloudfunctions/login/index.js:
--------------------------------------------------------------------------------
1 | // 云函数模板
2 | // 部署:在 cloud-functions/login 文件夹右击选择 “上传并部署”
3 |
4 | /**
5 | * 这个示例将经自动鉴权过的小程序用户 openid 返回给小程序端
6 | *
7 | * event 参数包含
8 | * - 小程序端调用传入的 data
9 | * - 经过微信鉴权直接可信的用户唯一标识 openid
10 | *
11 | */
12 | exports.main = (event, context) => {
13 | console.log(event)
14 | console.log(context)
15 |
16 | // 可执行其他自定义逻辑
17 | // console.log 的内容可以在云开发云函数调用日志查看
18 |
19 | return {
20 | openid: event.userInfo.openId,
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/test/scripts/delayed-call.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | now = require "../../lib/performance-now"
11 | delay 250, -> console.log now().toFixed 3
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/test/scripts/delayed-call.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | now = require "../../lib/performance-now"
11 | delay 250, -> console.log now().toFixed 3
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/types/database/util.d.ts:
--------------------------------------------------------------------------------
1 | interface DocumentModel {
2 | _id: string;
3 | }
4 | export declare class Util {
5 | private static encodeServerDate;
6 | static encodeDocumentDataForReq: (document: any, merge?: boolean, concatKey?: boolean) => {};
7 | static formatResDocumentData: (documents: DocumentModel[]) => {}[];
8 | static whichType: (obj: any) => String;
9 | static generateDocId: () => string;
10 | }
11 | export {};
12 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/performance-now/test/scripts/delayed-require.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | delay 250, ->
11 | now = require "../../lib/performance-now"
12 | console.log now().toFixed 3
13 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/types/database/util.d.ts:
--------------------------------------------------------------------------------
1 | interface DocumentModel {
2 | _id: string;
3 | }
4 | export declare class Util {
5 | private static encodeServerDate;
6 | static encodeDocumentDataForReq: (document: any, merge?: boolean, concatKey?: boolean) => {};
7 | static formatResDocumentData: (documents: DocumentModel[]) => {}[];
8 | static whichType: (obj: any) => String;
9 | static generateDocId: () => string;
10 | }
11 | export {};
12 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/performance-now/test/scripts/delayed-require.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | delay 250, ->
11 | now = require "../../lib/performance-now"
12 | console.log now().toFixed 3
13 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/performance-now/test/scripts/delayed-require.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | delay 250, ->
11 | now = require "../../lib/performance-now"
12 | console.log now().toFixed 3
13 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/types/database/util.d.ts:
--------------------------------------------------------------------------------
1 | interface DocumentModel {
2 | _id: string;
3 | }
4 | export declare class Util {
5 | private static encodeServerDate;
6 | static encodeDocumentDataForReq: (document: any, merge?: boolean, concatKey?: boolean) => {};
7 | static formatResDocumentData: (documents: DocumentModel[]) => {}[];
8 | static whichType: (obj: any) => String;
9 | static generateDocId: () => string;
10 | }
11 | export {};
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/types/database/util.d.ts:
--------------------------------------------------------------------------------
1 | interface DocumentModel {
2 | _id: string;
3 | }
4 | export declare class Util {
5 | private static encodeServerDate;
6 | static encodeDocumentDataForReq: (document: any, merge?: boolean, concatKey?: boolean) => {};
7 | static formatResDocumentData: (documents: DocumentModel[]) => {}[];
8 | static whichType: (obj: any) => String;
9 | static generateDocId: () => string;
10 | }
11 | export {};
12 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/performance-now/test/scripts/delayed-require.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | delay 250, ->
11 | now = require "../../lib/performance-now"
12 | console.log now().toFixed 3
13 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-validator/lib/error.js:
--------------------------------------------------------------------------------
1 | function HARError (errors) {
2 | var message = 'validation failed'
3 |
4 | this.name = 'HARError'
5 | this.message = message
6 | this.errors = errors
7 |
8 | if (typeof Error.captureStackTrace === 'function') {
9 | Error.captureStackTrace(this, this.constructor)
10 | } else {
11 | this.stack = (new Error(message)).stack
12 | }
13 | }
14 |
15 | HARError.prototype = Error.prototype
16 |
17 | module.exports = HARError
18 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-validator/lib/error.js:
--------------------------------------------------------------------------------
1 | function HARError (errors) {
2 | var message = 'validation failed'
3 |
4 | this.name = 'HARError'
5 | this.message = message
6 | this.errors = errors
7 |
8 | if (typeof Error.captureStackTrace === 'function') {
9 | Error.captureStackTrace(this, this.constructor)
10 | } else {
11 | this.stack = (new Error(message)).stack
12 | }
13 | }
14 |
15 | HARError.prototype = Error.prototype
16 |
17 | module.exports = HARError
18 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-validator/lib/error.js:
--------------------------------------------------------------------------------
1 | function HARError (errors) {
2 | var message = 'validation failed'
3 |
4 | this.name = 'HARError'
5 | this.message = message
6 | this.errors = errors
7 |
8 | if (typeof Error.captureStackTrace === 'function') {
9 | Error.captureStackTrace(this, this.constructor)
10 | } else {
11 | this.stack = (new Error(message)).stack
12 | }
13 | }
14 |
15 | HARError.prototype = Error.prototype
16 |
17 | module.exports = HARError
18 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-validator/lib/error.js:
--------------------------------------------------------------------------------
1 | function HARError (errors) {
2 | var message = 'validation failed'
3 |
4 | this.name = 'HARError'
5 | this.message = message
6 | this.errors = errors
7 |
8 | if (typeof Error.captureStackTrace === 'function') {
9 | Error.captureStackTrace(this, this.constructor)
10 | } else {
11 | this.stack = (new Error(message)).stack
12 | }
13 | }
14 |
15 | HARError.prototype = Error.prototype
16 |
17 | module.exports = HARError
18 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | module.exports = {
7 | 'default': 'RFC3986',
8 | formatters: {
9 | RFC1738: function (value) {
10 | return replace.call(value, percentTwenties, '+');
11 | },
12 | RFC3986: function (value) {
13 | return value;
14 | }
15 | },
16 | RFC1738: 'RFC1738',
17 | RFC3986: 'RFC3986'
18 | };
19 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/src/db/geo/point.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | const validate_1 = require("../validate");
4 | class Point {
5 | constructor(longitude, latitude) {
6 | validate_1.Validate.isGeopoint("latitude", latitude);
7 | validate_1.Validate.isGeopoint("longitude", longitude);
8 | this.latitude = latitude;
9 | this.longitude = longitude;
10 | }
11 | }
12 | exports.Point = Point;
13 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | module.exports = {
7 | 'default': 'RFC3986',
8 | formatters: {
9 | RFC1738: function (value) {
10 | return replace.call(value, percentTwenties, '+');
11 | },
12 | RFC3986: function (value) {
13 | return value;
14 | }
15 | },
16 | RFC1738: 'RFC1738',
17 | RFC3986: 'RFC3986'
18 | };
19 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/src/db/geo/point.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | const validate_1 = require("../validate");
4 | class Point {
5 | constructor(longitude, latitude) {
6 | validate_1.Validate.isGeopoint("latitude", latitude);
7 | validate_1.Validate.isGeopoint("longitude", longitude);
8 | this.latitude = latitude;
9 | this.longitude = longitude;
10 | }
11 | }
12 | exports.Point = Point;
13 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | module.exports = {
7 | 'default': 'RFC3986',
8 | formatters: {
9 | RFC1738: function (value) {
10 | return replace.call(value, percentTwenties, '+');
11 | },
12 | RFC3986: function (value) {
13 | return value;
14 | }
15 | },
16 | RFC1738: 'RFC1738',
17 | RFC3986: 'RFC3986'
18 | };
19 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/src/db/geo/point.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | const validate_1 = require("../validate");
4 | class Point {
5 | constructor(longitude, latitude) {
6 | validate_1.Validate.isGeopoint("latitude", latitude);
7 | validate_1.Validate.isGeopoint("longitude", longitude);
8 | this.latitude = latitude;
9 | this.longitude = longitude;
10 | }
11 | }
12 | exports.Point = Point;
13 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/extend/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": [2, 20],
8 | "eqeqeq": [2, "allow-null"],
9 | "func-name-matching": [1],
10 | "max-depth": [1, 4],
11 | "max-statements": [2, 26],
12 | "no-extra-parens": [1],
13 | "no-magic-numbers": [0],
14 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
15 | "sort-keys": [0],
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/extend/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": [2, 20],
8 | "eqeqeq": [2, "allow-null"],
9 | "func-name-matching": [1],
10 | "max-depth": [1, 4],
11 | "max-statements": [2, 26],
12 | "no-extra-parens": [1],
13 | "no-magic-numbers": [0],
14 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
15 | "sort-keys": [0],
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/extend/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": [2, 20],
8 | "eqeqeq": [2, "allow-null"],
9 | "func-name-matching": [1],
10 | "max-depth": [1, 4],
11 | "max-statements": [2, 26],
12 | "no-extra-parens": [1],
13 | "no-magic-numbers": [0],
14 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
15 | "sort-keys": [0],
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | module.exports = {
7 | 'default': 'RFC3986',
8 | formatters: {
9 | RFC1738: function (value) {
10 | return replace.call(value, percentTwenties, '+');
11 | },
12 | RFC3986: function (value) {
13 | return value;
14 | }
15 | },
16 | RFC1738: 'RFC1738',
17 | RFC3986: 'RFC3986'
18 | };
19 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/src/db/geo/point.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | const validate_1 = require("../validate");
4 | class Point {
5 | constructor(longitude, latitude) {
6 | validate_1.Validate.isGeopoint("latitude", latitude);
7 | validate_1.Validate.isGeopoint("longitude", longitude);
8 | this.latitude = latitude;
9 | this.longitude = longitude;
10 | }
11 | }
12 | exports.Point = Point;
13 |
--------------------------------------------------------------------------------
/miniprogram/pages/upload/upload.wxss:
--------------------------------------------------------------------------------
1 | /* pages/upload/upload.wxss */
2 | .w100{
3 | width: 100%;
4 | }
5 |
6 | .imgTx{
7 | width: 60rpx;
8 | height: 60rpx;
9 | border-radius: 0.5;
10 | overflow: hidden
11 | }
12 |
13 | .username{
14 | height: 60rpx;
15 | }
16 | .item{
17 | font-size: 32rpx;
18 | line-height: 60rpx;
19 | text-align: left
20 | }
21 |
22 | .head{
23 |
24 | height: 60rpx;
25 | }
26 | .content{
27 |
28 | }
29 |
30 | .f1{
31 | flex: 1;
32 | }
33 |
34 | .f2{
35 | flex: 2;
36 | }
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/extend/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": [2, 20],
8 | "eqeqeq": [2, "allow-null"],
9 | "func-name-matching": [1],
10 | "max-depth": [1, 4],
11 | "max-statements": [2, 26],
12 | "no-extra-parens": [1],
13 | "no-magic-numbers": [0],
14 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
15 | "sort-keys": [0],
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/assert-plus/CHANGES.md:
--------------------------------------------------------------------------------
1 | # assert-plus Changelog
2 |
3 | ## 1.0.0
4 |
5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
6 | - Add assert.finite check. Previous assert.number callers should use this if
7 | they expect Infinity inputs to throw.
8 |
9 | ## 0.2.0
10 |
11 | - Fix `assert.object(null)` so it throws
12 | - Fix optional/arrayOf exports for non-type-of asserts
13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid
14 | - Add basic unit test coverage
15 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/assert-plus/CHANGES.md:
--------------------------------------------------------------------------------
1 | # assert-plus Changelog
2 |
3 | ## 1.0.0
4 |
5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
6 | - Add assert.finite check. Previous assert.number callers should use this if
7 | they expect Infinity inputs to throw.
8 |
9 | ## 0.2.0
10 |
11 | - Fix `assert.object(null)` so it throws
12 | - Fix optional/arrayOf exports for non-type-of asserts
13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid
14 | - Add basic unit test coverage
15 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/assert-plus/CHANGES.md:
--------------------------------------------------------------------------------
1 | # assert-plus Changelog
2 |
3 | ## 1.0.0
4 |
5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
6 | - Add assert.finite check. Previous assert.number callers should use this if
7 | they expect Infinity inputs to throw.
8 |
9 | ## 0.2.0
10 |
11 | - Fix `assert.object(null)` so it throws
12 | - Fix optional/arrayOf exports for non-type-of asserts
13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid
14 | - Add basic unit test coverage
15 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/assert-plus/CHANGES.md:
--------------------------------------------------------------------------------
1 | # assert-plus Changelog
2 |
3 | ## 1.0.0
4 |
5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
6 | - Add assert.finite check. Previous assert.number callers should use this if
7 | they expect Infinity inputs to throw.
8 |
9 | ## 0.2.0
10 |
11 | - Fix `assert.object(null)` so it throws
12 | - Fix optional/arrayOf exports for non-type-of asserts
13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid
14 | - Add basic unit test coverage
15 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/har-schema/lib/cache.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cache.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "properties": {
5 | "beforeRequest": {
6 | "oneOf": [
7 | { "type": "null" },
8 | { "$ref": "beforeRequest.json#" }
9 | ]
10 | },
11 | "afterRequest": {
12 | "oneOf": [
13 | { "type": "null" },
14 | { "$ref": "afterRequest.json#" }
15 | ]
16 | },
17 | "comment": {
18 | "type": "string"
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/tcb-admin-node/docs/introduction.md:
--------------------------------------------------------------------------------
1 | ## 介绍
2 | TCB 提供开发应用所需服务和基础设施。tcb admin Node.js SDK 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 Node.js 服务访问 TCB 的的服务。
3 |
4 | 需要 Node.js v8.9 及以上版本。
5 |
6 | ## 安装
7 | tcb admin Node.js SDK 可以通过 [tcb-admin-node](https://github.com/TencentCloudBase/tcb-admin-node) 来访问:
8 | ```bash
9 | npm install --save tcb-admin-node@latest
10 | ```
11 |
12 | 要在你的模块式使用模块可以
13 | ```js
14 | const app = require("tcb-admin-node");
15 | ```
16 | 或
17 | ```js
18 | import * as app from "tcb-admin-node";
19 | ```
20 |
--------------------------------------------------------------------------------
/miniprogram/pages/comment/comment.wxss:
--------------------------------------------------------------------------------
1 | /* pages/comment/comment.wxss */
2 |
3 | page{
4 | height: 100%;
5 | overflow-y: scroll;
6 | width: 100%;
7 | font-size: 30rpx;
8 | color: #999;
9 | }
10 |
11 | .item{
12 |
13 | height: 100rpx;
14 | }
15 | .info{
16 | flex: 3;
17 | }
18 |
19 | .username{
20 | color: #000;
21 | }
22 | .userImg{
23 | width: 60rpx;
24 | height: 60rpx;
25 | border-radius: 50%;
26 |
27 | }
28 |
29 | .userInfo{
30 | height: 60rpx;
31 |
32 | }
33 |
34 | .txt{
35 | height: auto;
36 | flex: 7;
37 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/har-schema/lib/cache.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cache.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "properties": {
5 | "beforeRequest": {
6 | "oneOf": [
7 | { "type": "null" },
8 | { "$ref": "beforeRequest.json#" }
9 | ]
10 | },
11 | "afterRequest": {
12 | "oneOf": [
13 | { "type": "null" },
14 | { "$ref": "afterRequest.json#" }
15 | ]
16 | },
17 | "comment": {
18 | "type": "string"
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/tcb-admin-node/docs/introduction.md:
--------------------------------------------------------------------------------
1 | ## 介绍
2 | TCB 提供开发应用所需服务和基础设施。tcb admin Node.js SDK 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 Node.js 服务访问 TCB 的的服务。
3 |
4 | 需要 Node.js v8.9 及以上版本。
5 |
6 | ## 安装
7 | tcb admin Node.js SDK 可以通过 [tcb-admin-node](https://github.com/TencentCloudBase/tcb-admin-node) 来访问:
8 | ```bash
9 | npm install --save tcb-admin-node@latest
10 | ```
11 |
12 | 要在你的模块式使用模块可以
13 | ```js
14 | const app = require("tcb-admin-node");
15 | ```
16 | 或
17 | ```js
18 | import * as app from "tcb-admin-node";
19 | ```
20 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/har-schema/lib/cache.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cache.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "properties": {
5 | "beforeRequest": {
6 | "oneOf": [
7 | { "type": "null" },
8 | { "$ref": "beforeRequest.json#" }
9 | ]
10 | },
11 | "afterRequest": {
12 | "oneOf": [
13 | { "type": "null" },
14 | { "$ref": "afterRequest.json#" }
15 | ]
16 | },
17 | "comment": {
18 | "type": "string"
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/tcb-admin-node/docs/introduction.md:
--------------------------------------------------------------------------------
1 | ## 介绍
2 | TCB 提供开发应用所需服务和基础设施。tcb admin Node.js SDK 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 Node.js 服务访问 TCB 的的服务。
3 |
4 | 需要 Node.js v8.9 及以上版本。
5 |
6 | ## 安装
7 | tcb admin Node.js SDK 可以通过 [tcb-admin-node](https://github.com/TencentCloudBase/tcb-admin-node) 来访问:
8 | ```bash
9 | npm install --save tcb-admin-node@latest
10 | ```
11 |
12 | 要在你的模块式使用模块可以
13 | ```js
14 | const app = require("tcb-admin-node");
15 | ```
16 | 或
17 | ```js
18 | import * as app from "tcb-admin-node";
19 | ```
20 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/har-schema/lib/cache.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cache.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "properties": {
5 | "beforeRequest": {
6 | "oneOf": [
7 | { "type": "null" },
8 | { "$ref": "beforeRequest.json#" }
9 | ]
10 | },
11 | "afterRequest": {
12 | "oneOf": [
13 | { "type": "null" },
14 | { "$ref": "afterRequest.json#" }
15 | ]
16 | },
17 | "comment": {
18 | "type": "string"
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/tcb-admin-node/docs/introduction.md:
--------------------------------------------------------------------------------
1 | ## 介绍
2 | TCB 提供开发应用所需服务和基础设施。tcb admin Node.js SDK 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 Node.js 服务访问 TCB 的的服务。
3 |
4 | 需要 Node.js v8.9 及以上版本。
5 |
6 | ## 安装
7 | tcb admin Node.js SDK 可以通过 [tcb-admin-node](https://github.com/TencentCloudBase/tcb-admin-node) 来访问:
8 | ```bash
9 | npm install --save tcb-admin-node@latest
10 | ```
11 |
12 | 要在你的模块式使用模块可以
13 | ```js
14 | const app = require("tcb-admin-node");
15 | ```
16 | 或
17 | ```js
18 | import * as app from "tcb-admin-node";
19 | ```
20 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/.tonic_example.js:
--------------------------------------------------------------------------------
1 | var Ajv = require('ajv');
2 | var ajv = new Ajv({allErrors: true});
3 |
4 | var schema = {
5 | "properties": {
6 | "foo": { "type": "string" },
7 | "bar": { "type": "number", "maximum": 3 }
8 | }
9 | };
10 |
11 | var validate = ajv.compile(schema);
12 |
13 | test({"foo": "abc", "bar": 2});
14 | test({"foo": 2, "bar": 4});
15 |
16 | function test(data) {
17 | var valid = validate(data);
18 | if (valid) console.log('Valid!');
19 | else console.log('Invalid: ' + ajv.errorsText(validate.errors));
20 | }
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/ajv/lib/cache.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 |
4 | var Cache = module.exports = function Cache() {
5 | this._cache = {};
6 | };
7 |
8 |
9 | Cache.prototype.put = function Cache_put(key, value) {
10 | this._cache[key] = value;
11 | };
12 |
13 |
14 | Cache.prototype.get = function Cache_get(key) {
15 | return this._cache[key];
16 | };
17 |
18 |
19 | Cache.prototype.del = function Cache_del(key) {
20 | delete this._cache[key];
21 | };
22 |
23 |
24 | Cache.prototype.clear = function Cache_clear() {
25 | this._cache = {};
26 | };
27 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/.tonic_example.js:
--------------------------------------------------------------------------------
1 | var Ajv = require('ajv');
2 | var ajv = new Ajv({allErrors: true});
3 |
4 | var schema = {
5 | "properties": {
6 | "foo": { "type": "string" },
7 | "bar": { "type": "number", "maximum": 3 }
8 | }
9 | };
10 |
11 | var validate = ajv.compile(schema);
12 |
13 | test({"foo": "abc", "bar": 2});
14 | test({"foo": 2, "bar": 4});
15 |
16 | function test(data) {
17 | var valid = validate(data);
18 | if (valid) console.log('Valid!');
19 | else console.log('Invalid: ' + ajv.errorsText(validate.errors));
20 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/ajv/lib/cache.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 |
4 | var Cache = module.exports = function Cache() {
5 | this._cache = {};
6 | };
7 |
8 |
9 | Cache.prototype.put = function Cache_put(key, value) {
10 | this._cache[key] = value;
11 | };
12 |
13 |
14 | Cache.prototype.get = function Cache_get(key) {
15 | return this._cache[key];
16 | };
17 |
18 |
19 | Cache.prototype.del = function Cache_del(key) {
20 | delete this._cache[key];
21 | };
22 |
23 |
24 | Cache.prototype.clear = function Cache_clear() {
25 | this._cache = {};
26 | };
27 |
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/.tonic_example.js:
--------------------------------------------------------------------------------
1 | var Ajv = require('ajv');
2 | var ajv = new Ajv({allErrors: true});
3 |
4 | var schema = {
5 | "properties": {
6 | "foo": { "type": "string" },
7 | "bar": { "type": "number", "maximum": 3 }
8 | }
9 | };
10 |
11 | var validate = ajv.compile(schema);
12 |
13 | test({"foo": "abc", "bar": 2});
14 | test({"foo": 2, "bar": 4});
15 |
16 | function test(data) {
17 | var valid = validate(data);
18 | if (valid) console.log('Valid!');
19 | else console.log('Invalid: ' + ajv.errorsText(validate.errors));
20 | }
--------------------------------------------------------------------------------
/cloudfunctions/passItem/node_modules/ajv/lib/cache.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 |
4 | var Cache = module.exports = function Cache() {
5 | this._cache = {};
6 | };
7 |
8 |
9 | Cache.prototype.put = function Cache_put(key, value) {
10 | this._cache[key] = value;
11 | };
12 |
13 |
14 | Cache.prototype.get = function Cache_get(key) {
15 | return this._cache[key];
16 | };
17 |
18 |
19 | Cache.prototype.del = function Cache_del(key) {
20 | delete this._cache[key];
21 | };
22 |
23 |
24 | Cache.prototype.clear = function Cache_clear() {
25 | this._cache = {};
26 | };
27 |
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/.tonic_example.js:
--------------------------------------------------------------------------------
1 | var Ajv = require('ajv');
2 | var ajv = new Ajv({allErrors: true});
3 |
4 | var schema = {
5 | "properties": {
6 | "foo": { "type": "string" },
7 | "bar": { "type": "number", "maximum": 3 }
8 | }
9 | };
10 |
11 | var validate = ajv.compile(schema);
12 |
13 | test({"foo": "abc", "bar": 2});
14 | test({"foo": 2, "bar": 4});
15 |
16 | function test(data) {
17 | var valid = validate(data);
18 | if (valid) console.log('Valid!');
19 | else console.log('Invalid: ' + ajv.errorsText(validate.errors));
20 | }
--------------------------------------------------------------------------------
/cloudfunctions/shareHandler/node_modules/ajv/lib/cache.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 |
4 | var Cache = module.exports = function Cache() {
5 | this._cache = {};
6 | };
7 |
8 |
9 | Cache.prototype.put = function Cache_put(key, value) {
10 | this._cache[key] = value;
11 | };
12 |
13 |
14 | Cache.prototype.get = function Cache_get(key) {
15 | return this._cache[key];
16 | };
17 |
18 |
19 | Cache.prototype.del = function Cache_del(key) {
20 | delete this._cache[key];
21 | };
22 |
23 |
24 | Cache.prototype.clear = function Cache_clear() {
25 | this._cache = {};
26 | };
27 |
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-schema/draft-00/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-schema/draft-01/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/json-schema/draft-02/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-02/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/cloudfunctions/zan/node_modules/qs/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 140
11 |
12 | [test/*]
13 | max_line_length = off
14 |
15 | [*.md]
16 | max_line_length = off
17 |
18 | [*.json]
19 | max_line_length = off
20 |
21 | [Makefile]
22 | max_line_length = off
23 |
24 | [CHANGELOG.md]
25 | indent_style = space
26 | indent_size = 2
27 |
28 | [LICENSE]
29 | indent_size = 2
30 | max_line_length = off
31 |
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-schema/draft-00/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-schema/draft-01/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/json-schema/draft-02/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-02/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/cloudfunctions/comment/node_modules/qs/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 140
11 |
12 | [test/*]
13 | max_line_length = off
14 |
15 | [*.md]
16 | max_line_length = off
17 |
18 | [*.json]
19 | max_line_length = off
20 |
21 | [Makefile]
22 | max_line_length = off
23 |
24 | [CHANGELOG.md]
25 | indent_style = space
26 | indent_size = 2
27 |
28 | [LICENSE]
29 | indent_size = 2
30 | max_line_length = off
31 |
--------------------------------------------------------------------------------