couchdb-web-node-plugin 1.0.615 → 1.0.617
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.
- package/package.json +1 -1
- package/type.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "couchdb-web-node-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.617",
|
|
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",
|
package/type.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export interface PropertySpecification<Type = unknown, AdditionalSpecifications
|
|
|
105
105
|
value?: Type;
|
|
106
106
|
additionalSpecifications?: AdditionalSpecifications;
|
|
107
107
|
}
|
|
108
|
-
export interface FileSpecification<Type extends Attachment = Attachment, AdditionalSpecifications extends object = object> extends PropertySpecification<Type, AdditionalSpecifications> {
|
|
108
|
+
export interface FileSpecification<Type extends Attachment = Attachment, AdditionalSpecifications extends object = object> extends PropertySpecification<null | Type, AdditionalSpecifications> {
|
|
109
109
|
fileName?: PropertySpecification<string, AdditionalSpecifications>;
|
|
110
110
|
}
|
|
111
111
|
export interface BaseModel<AttachmentType extends Attachment = Attachment, AdditionalSpecifications extends object = object, AdditionalPropertiesType = unknown> {
|
|
@@ -241,6 +241,7 @@ export interface CoreConfiguration<Type extends object = Mapping<unknown>, Attac
|
|
|
241
241
|
};
|
|
242
242
|
changesStream: ChangesStreamOptions;
|
|
243
243
|
connector: ConnectorConfiguration;
|
|
244
|
+
security: SecuritySettings;
|
|
244
245
|
createGenericFlatIndex: boolean;
|
|
245
246
|
databaseName: string;
|
|
246
247
|
debug: boolean;
|
|
@@ -253,7 +254,6 @@ export interface CoreConfiguration<Type extends object = Mapping<unknown>, Attac
|
|
|
253
254
|
maximumRepresentationTryLength: number;
|
|
254
255
|
model: ModelConfiguration<Type, AttachmentType, AdditionalSpecifications, AdditionalPropertiesType>;
|
|
255
256
|
path: string;
|
|
256
|
-
security: SecuritySettings;
|
|
257
257
|
skipIDDetermining: boolean;
|
|
258
258
|
url: string;
|
|
259
259
|
user: {
|