Home Reference Source

Variable

Static Public Summary
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

dummyUserContext: object: {"authRole": function}

Returns a dummyUserContext mocking User authRole, as it is not existing in this library for usage in the test cases, where we don't have an original User model context

public

Static Public

public AUTHORIZE_DIRECTIVE: string source

import {AUTHORIZE_DIRECTIVE} from 'create-graphql-server-authorization/src/constants.js'

public AUTH_ROLE: string source

public CODE_MODES: undefined[] source

public DOC_ROLE: string source

public ENCODING: string source

public ID_FIELD: string source

public ID_PLURAL: string source

public ID_SINGULAR: string source

public NO_ROLE: string source

public NO_USER: string source

public PAGINATED: string source

public READ_MANY: string source

public READ_ONE: string source

public RESOLVER: string source

public ROLE_FIELD_DEFAULT: string source

import {ROLE_FIELD_DEFAULT} from 'create-graphql-server-authorization/src/constants.js'

public SCALAR_TYPE_NAMES: string[] source

public SINGULAR: string source

public SRC_DIR: string source

public STRING_LIST: string source

public STRING_LITERAL: string source

public TEMPLATES_AUTH_DIR: string source

import {TEMPLATES_AUTH_DIR} from 'create-graphql-server-authorization/src/constants.js'

public TEMPLATES_COMMON_DIR: string source

import {TEMPLATES_COMMON_DIR} from 'create-graphql-server-authorization/src/constants.js'

public TEMPLATES_DEFAULT_DIR: string source

import {TEMPLATES_DEFAULT_DIR} from 'create-graphql-server-authorization/src/constants.js'

public TEMPLATES_DEFAULT_TEMPLATE: string source

import {TEMPLATES_DEFAULT_TEMPLATE} from 'create-graphql-server-authorization/src/constants.js'

public TEMPLATES_DIR: string source

public TEMPLATES_MODEL_DIR: string source

import {TEMPLATES_MODEL_DIR} from 'create-graphql-server-authorization/src/constants.js'

public TEMPLATES_RESOLVER_DIR: string source

import {TEMPLATES_RESOLVER_DIR} from 'create-graphql-server-authorization/src/constants.js'

public TEMPLATE_EXTENSION: string source

import {TEMPLATE_EXTENSION} from 'create-graphql-server-authorization/src/constants.js'

public TEST_CODE: string source

public TEST_DIR: string source

public TEST_EXPECTED_CODE: string source

import {TEST_EXPECTED_CODE} from 'create-graphql-server-authorization/src/constants.js'

public TEST_GENERATED_CODE: string source

import {TEST_GENERATED_CODE} from 'create-graphql-server-authorization/src/constants.js'

public TEST_GQL_DATA: string source

public TEST_GQL_EXTENSION: string source

import {TEST_GQL_EXTENSION} from 'create-graphql-server-authorization/src/constants.js'

public TEST_MODEL: string source

public TEST_MODEL_EXTENSION: string source

import {TEST_MODEL_EXTENSION} from 'create-graphql-server-authorization/src/constants.js'

public TEST_MODEL_EXTENSION2: string source

import {TEST_MODEL_EXTENSION2} from 'create-graphql-server-authorization/src/constants.js'

public TEST_RESOLVER: string source

public TEST_RESOLVER_EXTENSION: string source

import {TEST_RESOLVER_EXTENSION} from 'create-graphql-server-authorization/src/constants.js'

public TEST_RESOLVER_EXTENSION2: string source

import {TEST_RESOLVER_EXTENSION2} from 'create-graphql-server-authorization/src/constants.js'

public USER_LIST: string source

public USER_LITERAL: string source

public USER_MODEL: string source

public USER_ROLE: string source

public dummyUserContext: object: {"authRole": function} source

Returns a dummyUserContext mocking User authRole, as it is not existing in this library for usage in the test cases, where we don't have an original User model context

Return:

object

dummyUserContext - returns user.role || null

public modulePath: * source