mirror of
https://github.com/vale981/grapher
synced 2025-03-06 10:01:40 -05:00
22 lines
497 B
JavaScript
Executable file
22 lines
497 B
JavaScript
Executable file
import {Match} from 'meteor/check';
|
|
|
|
export const ExposeDefaults = {
|
|
publication: true,
|
|
method: true,
|
|
unblock: true,
|
|
};
|
|
|
|
export const ExposeSchema = {
|
|
firewall: Match.Maybe(
|
|
Match.OneOf(Function, [Function])
|
|
),
|
|
publication: Match.Maybe(Boolean),
|
|
unblock: Match.Maybe(Boolean),
|
|
method: Match.Maybe(Boolean),
|
|
embody: Match.Maybe(
|
|
Match.OneOf(Object, Function)
|
|
),
|
|
validateParams: Match.Maybe(
|
|
Match.OneOf(Object, Function)
|
|
)
|
|
};
|