couchdb-web-node-plugin 1.0.616 → 1.0.618
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 +3 -3
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.618",
|
|
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
|
@@ -52,10 +52,10 @@ export interface Constraint {
|
|
|
52
52
|
description?: string;
|
|
53
53
|
evaluation: string;
|
|
54
54
|
}
|
|
55
|
-
export
|
|
55
|
+
export declare const PrimitiveTypes: readonly ["boolean", "DateTime", "integer", "number", "string"];
|
|
56
|
+
export type PrimitiveType = typeof PrimitiveTypes[number];
|
|
56
57
|
export type Type = string;
|
|
57
58
|
export type TypeSpecification = Array<Type> | Type;
|
|
58
|
-
export declare const PrimitiveTypes: readonly ["boolean", "DateTime", "integer", "number", "string"];
|
|
59
59
|
export type ConstraintKey = 'arrayConstraintExecution' | 'arrayConstraintExpression' | 'conflictingConstraintExecution' | 'conflictingConstraintExpression' | 'constraintExecution' | 'constraintExpression';
|
|
60
60
|
export interface SelectionMapping {
|
|
61
61
|
label: string;
|
|
@@ -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> {
|