couchdb-web-node-plugin 1.0.543 → 1.0.544

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,8 +6,6 @@ export declare class DatabaseHelper {
6
6
  /**
7
7
  * Authenticates given document update against given mapping of allowed
8
8
  * roles for writing into corresponding model instances.
9
- * @param this - Indicates an unbound method.
10
- *
11
9
  * @param newDocument - Updated document.
12
10
  * @param oldDocument - If an existing document should be updated its given
13
11
  * here.
@@ -33,8 +31,6 @@ export declare class DatabaseHelper {
33
31
  /**
34
32
  * Represents a design document validation function for given model
35
33
  * specification.
36
- * @param this - Indicates an unbound method.
37
- *
38
34
  * @param newDocument - Updated document.
39
35
  * @param oldDocument - If an existing document should be updated its given
40
36
  * here.
package/helper.d.ts CHANGED
@@ -7,7 +7,6 @@ export declare class Helper {
7
7
  /**
8
8
  * Converts internal declarative database connector configuration object
9
9
  * into a database compatible one.
10
- * @param this - Indicates an unbound method.
11
10
  * @param configuration - Mutable by plugins extended configuration object.
12
11
  *
13
12
  * @returns Database compatible configuration object.
@@ -15,7 +14,6 @@ export declare class Helper {
15
14
  static getConnectorOptions(this: void, configuration: Configuration): DatabaseConnectorConfiguration;
16
15
  /**
17
16
  * Determines a representation for given plain object.
18
- * @param this - Indicates an unbound method.
19
17
  * @param object - Object to represent.
20
18
  * @param maximumRepresentationTryLength - Maximum representation string to
21
19
  * process.
@@ -28,7 +26,6 @@ export declare class Helper {
28
26
  /**
29
27
  * Updates/creates a design document in database with a validation function
30
28
  * set to given code.
31
- * @param this -yy Indicates an unbound method.
32
29
  * @param databaseConnection - Database connection to use for document
33
30
  * updates.
34
31
  * @param documentName - Design document name.
@@ -45,7 +42,6 @@ export declare class Helper {
45
42
  static ensureValidationDocumentPresence(this: void, databaseConnection: Connection, documentName: string, documentData: Mapping, description: string, log?: boolean, idName?: SpecialPropertyNames['id'], designDocumentNamePrefix?: string): Promise<void>;
46
43
  /**
47
44
  * Initializes a database connection instance.
48
- * @param this - Indicates an unbound method.
49
45
  * @param services - An object with stored service instances.
50
46
  * @param configuration - Mutable by plugins extended configuration object.
51
47
  *
@@ -54,7 +50,6 @@ export declare class Helper {
54
50
  static initializeConnection(this: void, services: Services, configuration: Configuration): Promise<Services>;
55
51
  /**
56
52
  * Starts server process.
57
- * @param this - Indicates an unbound method.
58
53
  * @param services - An object with stored service instances.
59
54
  * @param configuration - Mutable by plugins extended configuration object.
60
55
  *
@@ -65,7 +60,6 @@ export declare class Helper {
65
60
  /**
66
61
  * Stops open database connection if exist, stops server process, restarts
67
62
  * server process and re-initializes server connection.
68
- * @param this - Indicates an unbound method.
69
63
  * @param state - Application state.
70
64
  *
71
65
  * @returns Given object of services wrapped in a promise resolving after
@@ -74,7 +68,6 @@ export declare class Helper {
74
68
  static restartServer(this: void, state: State): Promise<void>;
75
69
  /**
76
70
  * Stops open database connection if exists and stops server process.
77
- * @param this - Indicates an unbound method.
78
71
  * @param services - An object with stored service instances.
79
72
  * @param services.couchdb - Couchdb service instance.
80
73
  * @param configuration - Mutable by plugins extended configuration object.
@@ -88,7 +81,6 @@ export declare class Helper {
88
81
  /**
89
82
  * Determines a mapping of all models to roles who are allowed to edit
90
83
  * corresponding model instances.
91
- * @param this - Indicates an unbound method.
92
84
  * @param modelConfiguration - Model specification object.
93
85
  *
94
86
  * @returns The mapping object.
@@ -96,7 +88,6 @@ export declare class Helper {
96
88
  static determineAllowedModelRolesMapping(this: void, modelConfiguration: ModelConfiguration): AllowedModelRolesMapping;
97
89
  /**
98
90
  * Determines all property names which are indexable in a generic manner.
99
- * @param this - Indicates an unbound method.
100
91
  * @param modelConfiguration - Model specification object.
101
92
  * @param model - Model to determine property names from.
102
93
  *
@@ -105,7 +96,6 @@ export declare class Helper {
105
96
  static determineGenericIndexablePropertyNames(this: void, modelConfiguration: ModelConfiguration, model: Model): Array<string>;
106
97
  /**
107
98
  * Extend given model with all specified one.
108
- * @param this - Indicates an unbound method.
109
99
  * @param modelName - Name of model to extend.
110
100
  * @param models - Pool of models to extend from.
111
101
  * @param extendPropertyName - Property name which indicates model
@@ -116,7 +106,6 @@ export declare class Helper {
116
106
  static extendModel(this: void, modelName: string, models: Models, extendPropertyName?: string): Model;
117
107
  /**
118
108
  * Extend default specification with specific one.
119
- * @param this - Indicates an unbound method.
120
109
  * @param modelConfiguration - Model specification object.
121
110
  *
122
111
  * @returns Models with extended specific specifications.
@@ -124,7 +113,6 @@ export declare class Helper {
124
113
  static extendModels(this: void, modelConfiguration: ModelConfiguration): Models;
125
114
  /**
126
115
  * Convert given roles to its normalized representation.
127
- * @param this - Indicates an unbound method.
128
116
  * @param roles - Unstructured roles description.
129
117
  *
130
118
  * @returns Normalized roles representation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "couchdb-web-node-plugin",
3
- "version": "1.0.543",
3
+ "version": "1.0.544",
4
4
  "description": "A couchdb server, model instance conflict handler, rest api, authentication, session management, schema validator and model relation guarantee for webNode.",
5
5
  "keywords": [
6
6
  "api",