couchdb-web-node-plugin 1.0.595 → 1.0.596

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. 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.595",
3
+ "version": "1.0.596",
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
@@ -222,7 +222,7 @@ export type AdvancedFetchOptions = RequestInit & {
222
222
  export type ConnectorConfiguration = DatabaseConnectorConfiguration & {
223
223
  fetch?: AdvancedFetchOptions | null;
224
224
  };
225
- export interface CoreConfiguration {
225
+ export interface CoreConfiguration<Type = unknown, AdditionalSpecifications extends Mapping<unknown> = Mapping<unknown>> {
226
226
  attachAutoRestarter: boolean;
227
227
  backend: {
228
228
  configuration: PlainObject;
@@ -245,7 +245,7 @@ export interface CoreConfiguration {
245
245
  local: boolean;
246
246
  maximumRepresentationLength: number;
247
247
  maximumRepresentationTryLength: number;
248
- model: ModelConfiguration;
248
+ model: ModelConfiguration<Type, AdditionalSpecifications>;
249
249
  path: string;
250
250
  security: SecuritySettings;
251
251
  skipIDDetermining: boolean;