.github/actions/statistics-chart-action/node_modules/@google-cloud/firestore/build/src/index.js
/**
     * Gets a [DocumentReference]{@link DocumentReference} instance that
     * refers to the document at the specified path.
     *
     * @param {string} documentPath A slash-separated path to a document.
     * @returns {DocumentReference} The
     * [DocumentReference]{@link DocumentReference} instance.
     *
     * @example
     * let documentRef = firestore.doc('collection/document');
     * console.log(`Path of document is ${documentRef.path}`);
     */
Gets a [DocumentReference] DocumentReference instance that
refers to the document at the specified path.

@param {string} documentPath A slash-separated path to a document.


Gets a [ DocumentReference ] DocumentReference instance that refers to the document at the specified path . @param { string } documentPath A slash - separated path to a document .
doc(documentPath) {
        path_1.validateResourcePath('documentPath', documentPath);
        const path = path_1.ResourcePath.EMPTY.append(documentPath);
        if (!path.isDocument) {
            throw new Error(`Value for argument "documentPath" must point to a document, but was "${documentPath}". Your path does not contain an even number of components.`);
        }
        return new reference_2.DocumentReference(this, path);
    }
doc ( documentPath ) { path_1 . validateResourcePath ( 'documentPath' , documentPath ) ; const path = path_1 . ResourcePath . EMPTY . append ( documentPath ) ; if ( ! path . isDocument ) { throw new Error ( ` ${ documentPath } ` ) ; } return new reference_2 . DocumentReference ( this , path ) ; }
Gets a [DocumentReference]{@link DocumentReference} instance that
 refers to the document at the specified path.
Gets a [ DocumentReference ] { @link DocumentReference } instance that refers to the document at the specified path .