浏览代码

Update language.

Afshin Darian 8 年之前
父节点
当前提交
130ca4b5f6
共有 1 个文件被更改,包括 9 次插入7 次删除
  1. 9 7
      packages/apputils-extension/src/settingclientdatastore.ts

+ 9 - 7
packages/apputils-extension/src/settingclientdatastore.ts

@@ -13,35 +13,37 @@ import {
 
 
 
 
 /**
 /**
- * The default concrete implementation of a state database.
+ * A client-side datastore for setting schemas.
+ *
+ * #### Notes
+ * This class is deprecated. Its use is only as a storage mechanism of settings
+ * data while an API for server-side persistence is being implemented.
  */
  */
 export
 export
 class SettingClientDatastore extends StateDB {
 class SettingClientDatastore extends StateDB {
   /**
   /**
-   * Create a new state database.
-   *
-   * @param options - The instantiation options for a state database.
+   * Create a new setting client datastore.
    */
    */
   constructor() {
   constructor() {
     super({ namespace: 'setting-client-datastore' });
     super({ namespace: 'setting-client-datastore' });
   }
   }
 
 
   /**
   /**
-   * Retrieve a saved bundle from the database.
+   * Retrieve a saved bundle from the datastore.
    */
    */
   fetch(id: string): Promise<JSONObject | null> {
   fetch(id: string): Promise<JSONObject | null> {
     return super.fetch(id);
     return super.fetch(id);
   }
   }
 
 
   /**
   /**
-   * Remove a value from the database.
+   * Remove a value from the datastore.
    */
    */
   remove(id: string): Promise<void> {
   remove(id: string): Promise<void> {
     return super.remove(id);
     return super.remove(id);
   }
   }
 
 
   /**
   /**
-   * Save a value in the database.
+   * Save a value in the datastore.
    */
    */
   save(id: string, value: JSONObject): Promise<void> {
   save(id: string, value: JSONObject): Promise<void> {
     return super.save(id, value);
     return super.save(id, value);