Pārlūkot izejas kodu

Docs: accounts-base / globals_client.js, globals_server.js

Frederic G. MARAND 9 gadi atpakaļ
vecāks
revīzija
fc5c4e052c
1 mainītis faili ar 11 papildinājumiem un 1 dzēšanām
  1. 11 1
      docs/accounts-base/README.md

+ 11 - 1
docs/accounts-base/README.md

@@ -44,7 +44,7 @@
 
 * `defaultSuccessHandler()` : suspends autologin, invokes other handles for the same hash, passing them a closure capable of enabling autologin.
 
-## Dependencies / Exports (`package.js`)
+## Dependencies / Exports (`package.js` _et al._)
 ### Exports
 
 | Symbol           | Client | Server | Test |
@@ -73,3 +73,13 @@
 | blaze                 | O      |         | weak: define {{currentUser}}
 | autopublish           |        | O       | weak: publish extra users fields
 | oauth-encryption      |        | O       | weak
+| NPM crypto            |        | O       | in accounts_server.js |
+
+## Objects (`globals_(client|server).js`)
+
+* `Accounts`
+   * on client: `new AccountsClient()` (extends `AccountsCommon`)
+   * on server: `new AccountsServer(Meteor.server)` (extends `AccountsCommon`)
+* `Meteor`
+   * new field `users` for the `users` collection. Name is expected to become configurable in future versions.
+