Stone.js API
    Preparing search index...

    Variable DECLARATION_KEYSConst

    DECLARATION_KEYS: {
        auth: "@stone-js/auth/protect";
        authz: "@stone-js/authz/can";
        resource: "@stone-js/resources/returns";
        status: "@stone-js/http-core/response";
        validation: "@stone-js/validation/validate";
    } = ...

    The metadata keys the first-party modules record their route-level declarations under.

    Read as strings, never imported: this package derives a contract from what an application declares, and it must not depend on the modules that declare it. An application using none of them documents itself just as well, and a module added tomorrow needs a key here, not a dependency.

    Type Declaration

    • Readonlyauth: "@stone-js/auth/protect"
    • Readonlyauthz: "@stone-js/authz/can"
    • Readonlyresource: "@stone-js/resources/returns"
    • Readonlystatus: "@stone-js/http-core/response"
    • Readonlyvalidation: "@stone-js/validation/validate"