WIP - add extractor, generate snippet_data
This commit is contained in:
43
node_modules/relay-runtime/lib/RelayConcreteNode.js
generated
vendored
Normal file
43
node_modules/relay-runtime/lib/RelayConcreteNode.js
generated
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* strict-local
|
||||
* @format
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Represents a common GraphQL request with `text` (or persisted `id`) can be
|
||||
* used to execute it, an `operation` containing information to normalize the
|
||||
* results, and a `fragment` derived from that operation to read the response
|
||||
* data (masking data from child fragments).
|
||||
*/
|
||||
|
||||
/**
|
||||
* Contains the `text` (or persisted `id`) required for executing a common
|
||||
* GraphQL request.
|
||||
*/
|
||||
var RelayConcreteNode = {
|
||||
CONDITION: 'Condition',
|
||||
DEFER: 'Defer',
|
||||
FRAGMENT: 'Fragment',
|
||||
FRAGMENT_SPREAD: 'FragmentSpread',
|
||||
INLINE_FRAGMENT: 'InlineFragment',
|
||||
LINKED_FIELD: 'LinkedField',
|
||||
LINKED_HANDLE: 'LinkedHandle',
|
||||
LITERAL: 'Literal',
|
||||
LOCAL_ARGUMENT: 'LocalArgument',
|
||||
MATCH_FIELD: 'MatchField',
|
||||
OPERATION: 'Operation',
|
||||
REQUEST: 'Request',
|
||||
ROOT_ARGUMENT: 'RootArgument',
|
||||
SCALAR_FIELD: 'ScalarField',
|
||||
SCALAR_HANDLE: 'ScalarHandle',
|
||||
SPLIT_OPERATION: 'SplitOperation',
|
||||
STREAM: 'Stream',
|
||||
VARIABLE: 'Variable'
|
||||
};
|
||||
module.exports = RelayConcreteNode;
|
||||
Reference in New Issue
Block a user