Thanks to visit codestin.com
Credit goes to docs.couchbase.com

couchbase
    Preparing search index...

    Class EventingFunction

    Describes an eventing function.

    Index

    Constructors

    Properties

    The buckets to bind to the function.

    code: string

    The code for this eventing function.

    The constants to bind to the function.

    enforceSchema?: boolean

    Whether to enable stricter validation of settings and configuration.

    functionInstanceId?: string

    The unique id for the deployment of the handler.

    handlerUuid?: number

    The unique ID for this eventing function.

    metadataKeyspace: EventingFunctionKeyspace

    The keyspace to store the functions metadata.

    name: string

    The name of the eventing function.

    The settings for this function.

    sourceKeyspace: EventingFunctionKeyspace

    The keyspace that the function should operate on.

    The URLs to bind to the function.

    version?: string

    The authoring version of this eventing function.