@types/simpl-schema 1.12.2 → 1.12.3
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.
- simpl-schema/README.md +1 -1
- simpl-schema/index.d.ts +2 -2
- simpl-schema/package.json +2 -2
simpl-schema/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for simpl-schema (https://github.com/alde
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simpl-schema.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Tue,
|
11
|
+
* Last updated: Tue, 13 Sep 2022 01:37:42 GMT
|
12
12
|
* Dependencies: [@types/meteor](https://npmjs.com/package/@types/meteor)
|
13
13
|
* Global values: none
|
14
14
|
|
simpl-schema/index.d.ts
CHANGED
@@ -187,8 +187,7 @@ export class SimpleSchema {
|
|
187
187
|
omit(...fields: string[]): SimpleSchema;
|
188
188
|
static oneOf(...types: Array<(RegExp | SchemaDefinition | BooleanConstructor | StringConstructor | NumberConstructor | DateConstructor | ArrayConstructor | IntegerSchema)>): SimpleSchema;
|
189
189
|
clean(doc: any, options?: CleanOption): any;
|
190
|
-
schema(key
|
191
|
-
schema(): SchemaDefinition[];
|
190
|
+
schema(key?: string): SchemaDefinition;
|
192
191
|
getDefinition(key: string, propList?: any, functionContext?: any): any;
|
193
192
|
get(key: string, prop: string): any;
|
194
193
|
keyIsInBlackBox(key: string): boolean;
|
@@ -238,6 +237,7 @@ export class SimpleSchema {
|
|
238
237
|
KEY_NOT_IN_SCHEMA: string;
|
239
238
|
};
|
240
239
|
static setDefaultMessages(messages: {messages: SimpleSchemaMessagesDict}): void;
|
240
|
+
getObjectSchema(key: string): typeof SimpleSchema | undefined;
|
241
241
|
}
|
242
242
|
|
243
243
|
interface ValidationOption {
|
simpl-schema/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/simpl-schema",
|
3
|
-
"version": "1.12.
|
3
|
+
"version": "1.12.3",
|
4
4
|
"description": "TypeScript definitions for simpl-schema",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simpl-schema",
|
6
6
|
"license": "MIT",
|
@@ -47,6 +47,6 @@
|
|
47
47
|
"dependencies": {
|
48
48
|
"@types/meteor": "*"
|
49
49
|
},
|
50
|
-
"typesPublisherContentHash": "
|
50
|
+
"typesPublisherContentHash": "37e600a22b8b91cd4ee4fd48a811b3b6d806ae8e708a476b8eac85e1e9eeb86c",
|
51
51
|
"typeScriptVersion": "4.1"
|
52
52
|
}
|