123456789101112131415161718192021 |
- "use strict";
- const ParseServer = {};
- /**
- * ...
- *
- * @memberof Parse.Server
- * @property {String} global Rate limit based on the number of requests made by all users.
- * @property {String} session Rate limit based on the sessionToken.
- * @property {String} user Rate limit based on the user ID.
- * @property {String} ip Rate limit based on the request ip.
- * ...
- */
- ParseServer.RateLimitZone = Object.freeze({
- global: 'global',
- session: 'session',
- user: 'user',
- ip: 'ip'
- });
- module.exports = ParseServer;
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJQYXJzZVNlcnZlciIsIlJhdGVMaW1pdFpvbmUiLCJPYmplY3QiLCJmcmVlemUiLCJnbG9iYWwiLCJzZXNzaW9uIiwidXNlciIsImlwIiwibW9kdWxlIiwiZXhwb3J0cyJdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jbG91ZC1jb2RlL1BhcnNlLlNlcnZlci5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBQYXJzZVNlcnZlciA9IHt9O1xuLyoqXG4gKiAuLi5cbiAqXG4gKiBAbWVtYmVyb2YgUGFyc2UuU2VydmVyXG4gKiBAcHJvcGVydHkge1N0cmluZ30gZ2xvYmFsIFJhdGUgbGltaXQgYmFzZWQgb24gdGhlIG51bWJlciBvZiByZXF1ZXN0cyBtYWRlIGJ5IGFsbCB1c2Vycy5cbiAqIEBwcm9wZXJ0eSB7U3RyaW5nfSBzZXNzaW9uIFJhdGUgbGltaXQgYmFzZWQgb24gdGhlIHNlc3Npb25Ub2tlbi5cbiAqIEBwcm9wZXJ0eSB7U3RyaW5nfSB1c2VyIFJhdGUgbGltaXQgYmFzZWQgb24gdGhlIHVzZXIgSUQuXG4gKiBAcHJvcGVydHkge1N0cmluZ30gaXAgUmF0ZSBsaW1pdCBiYXNlZCBvbiB0aGUgcmVxdWVzdCBpcC5cbiAqIC4uLlxuICovXG5QYXJzZVNlcnZlci5SYXRlTGltaXRab25lID0gT2JqZWN0LmZyZ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