mirror of https://gitee.com/bigwinds/arangodb
remove toket that is not used anymore.
This commit is contained in:
parent
7ae7c67a83
commit
994d850a79
|
@ -38,6 +38,7 @@ var targetDatabaseVersion = require("org/arangodb/database-version").CURRENT_VER
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @startDocuBlock JSF_get_admin_database_version
|
||||
/// @brief returns the version of the database.
|
||||
///
|
||||
/// @RESTHEADER{GET /_admin/database/target-version, Return the required version of the database}
|
||||
///
|
||||
|
|
|
@ -151,9 +151,8 @@ var stringifyFunction = function (code, name) {
|
|||
// -----------------------------------------------------------------------------
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_aqlfunctions_unregister
|
||||
/// @brief delete an existing AQL user function
|
||||
/// @startDocuBlock aqlFunctionsUnregister
|
||||
/// @brief delete an existing AQL user function
|
||||
/// `aqlfunctions.unregister(name)`
|
||||
///
|
||||
/// Unregisters an existing AQL user function, identified by the fully qualified
|
||||
|
@ -198,9 +197,8 @@ var unregisterFunction = function (name) {
|
|||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_aqlfunctions_unregister_group
|
||||
/// @brief delete a group of AQL user functions
|
||||
/// @startDocuBlock aqlFunctionsUnregisterGroup
|
||||
/// @brief delete a group of AQL user functions
|
||||
/// `aqlfunctions.unregisterGroup(prefix)`
|
||||
///
|
||||
/// Unregisters a group of AQL user function, identified by a common function
|
||||
|
@ -244,9 +242,8 @@ var unregisterFunctionsGroup = function (group) {
|
|||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_aqlfunctions_register
|
||||
/// @brief register an AQL user function
|
||||
/// @startDocuBlock aqlFunctionsRegister
|
||||
/// @brief register an AQL user function
|
||||
/// `aqlfunctions.register(name, code, isDeterministic)`
|
||||
///
|
||||
/// Registers an AQL user function, identified by a fully qualified function
|
||||
|
@ -350,9 +347,8 @@ var registerFunction = function (name, code, isDeterministic) {
|
|||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_aqlfunctions_toArray
|
||||
/// @brief list all AQL user functions
|
||||
/// @startDocuBlock aqlFunctionsToArray
|
||||
/// @brief list all AQL user functions
|
||||
/// `aqlfunctions.toArray()`
|
||||
///
|
||||
/// Returns all previously registered AQL user functions, with their fully
|
||||
|
|
|
@ -369,7 +369,6 @@ ArangoCollection.prototype.any = function () {
|
|||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_ArangoCollection_prototype_first
|
||||
/// @brief selects the n first documents in the collection
|
||||
/// @startDocuBlock documentsCollectionFirst
|
||||
/// `collection.first(count)`
|
||||
|
@ -455,9 +454,8 @@ ArangoCollection.prototype.first = function (count) {
|
|||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_ArangoCollection_prototype_last
|
||||
///
|
||||
/// @brief selects the n last documents in the collection
|
||||
///
|
||||
/// @startDocuBlock documentsCollectionLast
|
||||
/// `collection.last(count)`
|
||||
///
|
||||
|
@ -543,8 +541,8 @@ ArangoCollection.prototype.last = function (count) {
|
|||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_ArangoCollection_prototype_firstExample
|
||||
/// @brief constructs a query-by-example for a collection
|
||||
///
|
||||
/// @startDocuBlock collectionFirstExample
|
||||
/// `collection.firstExample(example)`
|
||||
///
|
||||
|
|
|
@ -843,7 +843,7 @@ exports.Communication = function() {
|
|||
};
|
||||
};
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_agency-communication_agency
|
||||
/// @start Docu Block JSF_agency-communication_agency
|
||||
/// @brief A wrapper around the Agency initialisation
|
||||
///
|
||||
/// @FUN{_createAgency()}
|
||||
|
@ -855,6 +855,7 @@ exports.Communication = function() {
|
|||
/// @code
|
||||
/// agency = communication._createAgency();
|
||||
/// @endcode
|
||||
/// @end Docu Block
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
exports._createAgency = function() {
|
||||
'use strict';
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_BaseMiddleware_initializer
|
||||
/// JSF_foxx_BaseMiddleware_initializer
|
||||
/// @brief The Base Middleware
|
||||
///
|
||||
/// The `BaseMiddleware` manipulates the request and response
|
||||
|
@ -402,7 +402,7 @@ function BaseMiddleware() {
|
|||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_BaseMiddleware_response_trace
|
||||
/// JSF_foxx_BaseMiddleware_response_trace
|
||||
/// @brief trace
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ const swagger = require('org/arangodb/foxx/swagger');
|
|||
|
||||
var authControllerProps = {
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_controller_getUsers
|
||||
/// JSF_foxx_controller_getUsers
|
||||
/// @brief Get the users of this controller
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
getUsers() {
|
||||
|
@ -50,7 +50,7 @@ var authControllerProps = {
|
|||
},
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_controller_getAuth
|
||||
/// JSF_foxx_controller_getAuth
|
||||
/// @brief Get the auth object of this controller
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
getAuth() {
|
||||
|
@ -224,7 +224,7 @@ var authControllerProps = {
|
|||
|
||||
var sessionControllerProps = {
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_controller_getSessions
|
||||
/// JSF_foxx_controller_getSessions
|
||||
/// @brief Get the sessions object of this controller
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
getSessions() {
|
||||
|
|
|
@ -31,7 +31,7 @@ var _ = require("underscore"),
|
|||
is = require("org/arangodb/is");
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_internals_constructUrlObject
|
||||
/// JSF_foxx_internals_constructUrlObject
|
||||
/// @brief create a new url object
|
||||
///
|
||||
/// This creates a new `UrlObject`.
|
||||
|
@ -65,7 +65,7 @@ function constructUrlObject(url, constraint, method) {
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_internals_constructNickname
|
||||
/// JSF_foxx_internals_constructNickname
|
||||
/// @brief Construct a swagger-compatible nickname from a httpMethod and URL
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ function validateOrThrow(raw, schema, allowInvalid, validateOptions) {
|
|||
class RequestContext {
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_foxx_RequestContext_initializer
|
||||
/// JSF_foxx_RequestContext_initializer
|
||||
/// @brief Context of a Request Definition
|
||||
///
|
||||
/// Used for documenting and constraining the routes.
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @fn JSF_UnitTest
|
||||
/// @brief framework to perform unittests
|
||||
///
|
||||
/// This function gets one or two arguments, the first describes which tests
|
||||
|
|
Loading…
Reference in New Issue