repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/helpers/useTranslate.js
src/helpers/useTranslate.js
/* eslint-disable no-bitwise */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ const globalTranslate = { use: () => ({ i18n: { language: 'us' }, t: v => v }) }; const useTranslate = _transl...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorPalette.jsx
src/components/ColorPalette.jsx
/* eslint-disable react/jsx-props-no-spreading */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@m...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorInput.jsx
src/components/ColorInput.jsx
/* eslint-disable react/jsx-props-no-spreading */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import FormControl from '@mui/...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorPicker.jsx
src/components/ColorPicker.jsx
/* eslint-disable jsx-a11y/interactive-supports-focus */ /* eslint-disable jsx-a11y/click-events-have-key-events */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React, { useEffect, ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorButton.jsx
src/components/ColorButton.jsx
/** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import Button from '@mui/material/Button'; import Tooltip from '@mui/material/To...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorBox/index.jsx
src/components/ColorBox/index.jsx
/** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@mui/styles'; import Box from '@mui/material/Box'; i...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorBox/HueSlider.jsx
src/components/ColorBox/HueSlider.jsx
/** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import Slider from '@mui/material/Slider'; import { makeStyles } from '@mui/styles'; const useStyles = makeStyles(()...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorBox/HSVGradient.jsx
src/components/ColorBox/HSVGradient.jsx
/** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@mui/styles'; import * as CommonTypes from '../../he...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/src/components/ColorBox/AlphaSlider.jsx
src/components/ColorBox/AlphaSlider.jsx
/** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import Slider from '@mui/material/Slider'; import { makeStyles } from '@mui/styles'; import * as CommonTypes from '.....
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/setup.js
test/setup.js
import '@testing-library/jest-dom';
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/ColorPicker.test.js
test/ColorPicker.test.js
/* eslint-disable react/jsx-filename-extension */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { render, fireEvent } from '@testing-library/react'; import ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/ColorButton.test.js
test/ColorButton.test.js
/* eslint-disable react/jsx-filename-extension */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { render, fireEvent } from '@testing-library/react'; import ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/colorTool.test.js
test/colorTool.test.js
/** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import * as ColorTool from '../src/helpers/colorTool'; // <snip : css_colors : https://gist.github.com/bobspace/2712980 const CSS_COLOR_NAMES ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/useTranslate.test.js
test/useTranslate.test.js
/** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import useTranslate from '../src/helpers/useTranslate'; test('useTranslate init', () => { expect(useTranslate).toBeDefined(); }); test('use...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/ColorPalette.test.js
test/ColorPalette.test.js
/* eslint-disable react/jsx-filename-extension */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { render, fireEvent } from '@testing-library/react'; import ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/ColorBox.test.js
test/ColorBox.test.js
/* eslint-disable react/jsx-filename-extension */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { fireEvent, render } from '@testing-library/react'; import ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/test/ColorInput.test.js
test/ColorInput.test.js
/* eslint-disable react/jsx-filename-extension */ /** * Copyright (c) Mik BRY * mik@mikbry.com * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { render, fireEvent } from '@testing-library/react'; import ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/examples/colorpicker/src/App.test.js
examples/colorpicker/src/App.test.js
import { render, screen } from '@testing-library/react'; import App from './App'; test('renders learn react link', () => { render(<App />); const linkElement = screen.getByText(/learn react/i); expect(linkElement).toBeInTheDocument(); });
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/examples/colorpicker/src/reportWebVitals.js
examples/colorpicker/src/reportWebVitals.js
const reportWebVitals = onPerfEntry => { if (onPerfEntry && onPerfEntry instanceof Function) { import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry); getFID(onPerfEntry); getFCP(onPerfEntry); getLCP(onPerfEntry); getTTFB(onPerfEntry); })...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/examples/colorpicker/src/index.js
examples/colorpicker/src/index.js
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') ); // If you want to start measuring performance in yo...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/examples/colorpicker/src/App.js
examples/colorpicker/src/App.js
import React, { useState } from "react"; import { createTheme, ThemeProvider } from '@mui/material/styles'; import CssBaseline from "@mui/material/CssBaseline"; import Container from "@mui/material/Container"; import Typography from "@mui/material/Typography"; import Box from "@mui/material/Box"; import { ColorPicker, ...
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
mikbry/material-ui-color
https://github.com/mikbry/material-ui-color/blob/5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e/examples/colorpicker/src/setupTests.js
examples/colorpicker/src/setupTests.js
// jest-dom adds custom jest matchers for asserting on DOM nodes. // allows you to do things like: // expect(element).toHaveTextContent(/react/i) // learn more: https://github.com/testing-library/jest-dom import '@testing-library/jest-dom';
javascript
MIT
5c26db124fa68b3bd79ecf6fd1c78d1445c46e0e
2026-01-05T03:36:46.181888Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/postcss.config.js
postcss.config.js
module.exports = { plugins: [ require('postcss-import'), require('autoprefixer'), require('cssnano'), require('postcss-nested'), require('postcss-nesting') ] };
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/vite.config.js
vite.config.js
import path from "path"; import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"; import * as pkg from "./package.json"; import dts from 'vite-plugin-dts'; const NODE_ENV = process.argv.mode || "development"; const VERSION = pkg.version; export default { build: { copyPublicDir: false, lib: { ...
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/src/plugin.js
src/plugin.js
import Table from './table'; import * as $ from './utils/dom'; import { IconTable, IconTableWithHeadings, IconTableWithoutHeadings, IconStretch, IconCollapse } from '@codexteam/icons'; /** * @typedef {object} TableData - configuration that the user can set for the table * @property {number} rows - number of rows in ...
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/src/index.js
src/index.js
import Plugin from './plugin'; import './styles/index.pcss'; export default Plugin;
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/src/table.js
src/table.js
import Toolbox from './toolbox'; import * as $ from './utils/dom'; import throttled from './utils/throttled'; import { IconDirectionLeftDown, IconDirectionRightDown, IconDirectionUpRight, IconDirectionDownRight, IconCross, IconPlus } from '@codexteam/icons'; const CSS = { wrapper: 'tc-wrap', wrapperRe...
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/src/toolbox.js
src/toolbox.js
import Popover from "./utils/popover"; import * as $ from "./utils/dom"; import { IconMenuSmall } from "@codexteam/icons"; /** * @typedef {object} PopoverItem * @property {string} label - button text * @property {string} icon - button icon * @property {boolean} confirmationRequired - if true, a confirmation state ...
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/src/utils/throttled.js
src/utils/throttled.js
/** * Limits the frequency of calling a function * * @param {number} delay - delay between calls in milliseconds * @param {function} fn - function to be throttled */ export default function throttled(delay, fn) { let lastCall = 0; return function (...args) { const now = new Date().getTime(); if (now...
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/src/utils/dom.js
src/utils/dom.js
/** * Helper for making Elements with attributes * * @param {string} tagName - new Element tag name * @param {string|string[]} classNames - list or name of CSS classname(s) * @param {object} attributes - any attributes * @returns {Element} */ export function make( tagName, classNames, ...
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
editor-js/table
https://github.com/editor-js/table/blob/0eff0828e2345f8e79976c5bdebe27ef837b59e5/src/utils/popover.js
src/utils/popover.js
import * as $ from './dom'; /** * @typedef {object} PopoverItem * @property {string} label - button text * @property {string} icon - button icon * @property {boolean} confirmationRequired - if true, a confirmation state will be applied on the first click * @property {function} hideIf - if provided, item will be h...
javascript
MIT
0eff0828e2345f8e79976c5bdebe27ef837b59e5
2026-01-05T03:36:49.230880Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/relay.config.js
relay.config.js
/** * 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. */ module.exports = { src: './shells/dev/relay-app', schema: './shells/dev/relay-app/schema.graphql', language: 'flow', exclu...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/babel.config.js
babel.config.js
/** * 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. * * @format */ const chromeManifest = require('./shells/browser/chrome/manifest.json'); const firefoxManifest = require('./shells/b...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/flow.js
flow.js
/** * 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. */ declare module 'events' { declare class EventEmitter<Events: Object> { addListener<Event: $Keys<Events>>( event: Event...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/flow-typed/jest.js
flow-typed/jest.js
/** * 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. */ type JestMockFn<TArguments: $ReadOnlyArray<mixed>, TReturn> = { (...args: TArguments): TReturn, /** * An object for introsp...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
true
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/flow-typed/chrome.js
flow-typed/chrome.js
/** * 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. * * @flow */ declare var chrome: { devtools: { network: { onNavigated: { addListener: (cb: (url: string) => voi...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/flow-typed/npm/react-test-renderer_v16.x.x.js
flow-typed/npm/react-test-renderer_v16.x.x.js
// flow-typed signature: b6bb53397d83d2d821e258cc73818d1b // flow-typed version: 9c71eca8ef/react-test-renderer_v16.x.x/flow_>=v0.47.x // Type definitions for react-test-renderer 16.x.x // Ported from: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-test-renderer type ReactComponentInstance...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/storage.js
src/storage.js
/** * 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. * * @flow */ export function localStorageGetItem(key: string): any { try { return localStorage.getItem(key); } catch (error...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/types.js
src/types.js
/** * 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. * * @flow * @format */ export type WallEvent = {| event: string, payload: any, |}; export type Wall = {| // `listen` returns...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/hook.js
src/hook.js
/** * 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. * * @flow */ import type { RelayEnvironment as $IMPORTED_TYPE$_RelayEnvironment, EnvironmentWrapper, EnvironmentID, } from 's...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/Logger.js
src/Logger.js
/** * 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. * * @flow strict-local */ import type { TabID } from './devtools/views/DevTools'; export type LogEvent = | {| +event_name:...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/constants.js
src/constants.js
/** * 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. * * @flow */ // Flip this flag to true to enable verbose console debug logging. export const __DEBUG__ = true;
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/bridge.js
src/bridge.js
/** * 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. * * @flow */ import EventEmitter from 'events'; import type { EnvironmentInfo, EventData, StoreData, Wall, WallEvent, } ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/registerDevToolsEventLogger.js
src/registerDevToolsEventLogger.js
/** * 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. * * @flow strict-local */ import type { LogEvent } from './Logger'; import { registerEventLogger } from './Logger'; let loggingIF...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/utils.js
src/utils.js
/** * 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. * * @flow * @format */ // Pulled from react-compat // https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af028...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/index.js
src/devtools/index.js
/** * 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. * * @flow */ import type { FrontendBridge } from 'src/bridge'; type Shell = {| connect: (callback: Function) => void, onReload...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/cache.js
src/devtools/cache.js
/** * 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. * * @flow */ import React, { createContext } from 'react'; // Cache implementation was forked from the React repo: // https://gith...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/store.js
src/devtools/store.js
/** * 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. * * @flow * @format */ import EventEmitter from 'events'; import type { FrontendBridge } from 'src/bridge'; import { __DEBUG__ } f...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Toggle.js
src/devtools/views/Toggle.js
/** * 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. * * @flow */ import React, { useCallback } from 'react'; import Tooltip from '@reach/tooltip'; import styles from './Toggle.css'; ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/ModalDialog.js
src/devtools/views/ModalDialog.js
/** * 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. * * @flow */ import React, { createContext, useCallback, useContext, useMemo, useReducer, useRef, } from 'react'; impor...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Icon.js
src/devtools/views/Icon.js
/** * 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. * * @flow */ import React from 'react'; import styles from './Icon.css'; export type IconType = | 'arrow' | 'components' | '...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Button.js
src/devtools/views/Button.js
/** * 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. * * @flow */ import React from 'react'; import Tooltip from '@reach/tooltip'; import styles from './Button.css'; import tooltipSty...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/portaledContent.js
src/devtools/views/portaledContent.js
/** * 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. * * @flow */ import React from 'react'; import { createPortal } from 'react-dom'; import ErrorBoundary from './ErrorBoundary'; exp...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/hooks.js
src/devtools/views/hooks.js
/** * 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. * * @flow */ import throttle from 'lodash.throttle'; import { useCallback, useEffect, useLayoutEffect, useState } from 'react'; imp...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/context.js
src/devtools/views/context.js
/** * 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. * * @flow */ import { createContext } from 'react'; import type { FrontendBridge } from 'src/bridge'; import type Store from '../s...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/ErrorBoundary.js
src/devtools/views/ErrorBoundary.js
/** * 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. * * @flow */ import React, { Component } from 'react'; import styles from './ErrorBoundary.css'; type Props = {| children: React...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/DevTools.js
src/devtools/views/DevTools.js
/** * 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. * * @flow */ // Reach styles need to come before any component styles. // This makes overridding the styles simpler. import '@reach...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/TabBar.js
src/devtools/views/TabBar.js
/** * 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. * * @flow */ import classNames from 'classnames'; import React, { Fragment, useCallback } from 'react'; import Tooltip from '@reach...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/RelayLogo.js
src/devtools/views/RelayLogo.js
/** * 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. * * @flow */ import React from 'react'; import styles from './RelayLogo.css'; export default function RelayLogo(): React$MixedEle...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/ButtonIcon.js
src/devtools/views/ButtonIcon.js
/** * 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. * * @flow */ import React from 'react'; import styles from './ButtonIcon.css'; export type IconType = | 'add' | 'cancel' | '...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/utils.js
src/devtools/views/utils.js
/** * 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. * * @flow */ export function alphaSortEntries( entryA: [string, mixed], entryB: [string, mixed] ): number { const a = entryA[...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Components/InspectedElementTree.js
src/devtools/views/Components/InspectedElementTree.js
/** * 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. * * @flow */ import { copy } from 'clipboard-js'; import React, { useCallback } from 'react'; import Button from '../Button'; impor...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Components/ExpandCollapseToggle.js
src/devtools/views/Components/ExpandCollapseToggle.js
/** * 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. * * @flow */ import React from 'react'; import Button from '../Button'; import ButtonIcon from '../ButtonIcon'; import styles from...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Components/KeyValue.js
src/devtools/views/Components/KeyValue.js
/** * 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. * * @flow */ import type { Element as $IMPORTED_TYPE$_Element } from 'react'; import React, { useState } from 'react'; import type ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/RecordDetails.js
src/devtools/views/StoreInspector/RecordDetails.js
/** * 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. * * @flow */ import React from 'react'; import InspectedElementTreeStoreInspector from './InspectedElementTreeStoreInspector'; impo...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/RecordingImportExportButtons.js
src/devtools/views/StoreInspector/RecordingImportExportButtons.js
/** * 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. * * @flow */ import * as React from 'react'; import { Fragment, useCallback, useRef, useState } from 'react'; import Button from '....
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/OptimisticUpdates.js
src/devtools/views/StoreInspector/OptimisticUpdates.js
/** * 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. * * @flow */ import React, { useState } from 'react'; import RecordList from './RecordList'; import RecordDetails from './RecordDet...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/Snapshot.js
src/devtools/views/StoreInspector/Snapshot.js
/** * 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. * * @flow */ import React, { useState } from 'react'; import RecordList from './RecordList'; import RecordDetails from './RecordDet...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/RecordList.js
src/devtools/views/StoreInspector/RecordList.js
/** * 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. * * @flow */ import React, { useCallback, useState } from 'react'; import styles from './RecordList.css'; import type { StoreReco...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/StoreTabBar.js
src/devtools/views/StoreInspector/StoreTabBar.js
/** * 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. * * @flow */ import classNames from 'classnames'; import React, { Fragment, useCallback } from 'react'; import Tooltip from '@reach...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/InspectedElementTreeStoreInspector.js
src/devtools/views/StoreInspector/InspectedElementTreeStoreInspector.js
/** * 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. * * @flow */ import { copy } from 'clipboard-js'; import React, { useCallback, useMemo } from 'react'; import Button from '../Butto...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/StoreInspector.js
src/devtools/views/StoreInspector/StoreInspector.js
/** * 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. * * @flow */ import React, { useCallback, useContext, useEffect, useState } from 'react'; import { BridgeContext, StoreContext } fr...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/KeyValue.js
src/devtools/views/StoreInspector/KeyValue.js
/** * 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. * * @flow */ import * as React from 'react'; import { useCallback, useEffect, useMemo, useState } from 'react'; import type { Elemen...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/utils.js
src/devtools/views/StoreInspector/utils.js
/** * 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. * * @flow */ import type Store from '../../store'; import type { LogEvent } from '../../../types'; export function deepCopyFunctio...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/EventLogger/EventLogger.js
src/devtools/views/StoreInspector/EventLogger/EventLogger.js
/** * 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. * * @flow */ import React, { useState } from 'react'; import AllEventsList from './AllEventsList'; import NetworkEventDisplay from ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/EventLogger/AllEventsList.js
src/devtools/views/StoreInspector/EventLogger/AllEventsList.js
/** * 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. * * @flow * @format */ import React, { useCallback, useMemo, useState } from 'react'; import type { LogEvent } from '../../../../t...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/EventLogger/StoreEventDisplay.js
src/devtools/views/StoreInspector/EventLogger/StoreEventDisplay.js
/** * 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. * * @flow */ import React, { useState } from 'react'; import RecordList from '../RecordList'; import TabBar from '../StoreTabBar'; ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/StoreInspector/EventLogger/NetworkEventDisplay.js
src/devtools/views/StoreInspector/EventLogger/NetworkEventDisplay.js
/** * 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. * * @flow * @format */ import React from 'react'; import InspectedElementTree from '../../Components/InspectedElementTree'; import...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Network/Network.js
src/devtools/views/Network/Network.js
/** * 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. * * @flow * @format */ import React, { useCallback, useContext, useEffect, useState } from 'react'; import { StoreContext } from '...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Settings/GeneralSettings.js
src/devtools/views/Settings/GeneralSettings.js
/** * 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. * * @flow */ import React, { useCallback, useContext } from 'react'; import { SettingsContext } from './SettingsContext'; import s...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Settings/SettingsModal.js
src/devtools/views/Settings/SettingsModal.js
/** * 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. * * @flow */ import React, { useCallback, useContext, useEffect, useRef } from 'react'; import { SettingsModalContext } from './Set...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Settings/SettingsModalContext.js
src/devtools/views/Settings/SettingsModalContext.js
/** * 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. * * @flow */ import React, { createContext, useMemo, useState } from 'react'; export type DisplayDensity = 'comfortable' | 'compac...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Settings/SettingsModalContextToggle.js
src/devtools/views/Settings/SettingsModalContextToggle.js
/** * 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. * * @flow */ import React, { useCallback, useContext } from 'react'; import { SettingsModalContext } from './SettingsModalContext';...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/devtools/views/Settings/SettingsContext.js
src/devtools/views/Settings/SettingsContext.js
/** * 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. * * @flow */ import React, { createContext, useLayoutEffect, useMemo } from 'react'; import { useLocalStorage } from '../hooks'; i...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/__tests__/storeSerializer.js
src/__tests__/storeSerializer.js
/** * 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. */ // test() is part of Jest's serializer API export function test(maybeStore) { // It's important to lazy-require the Store rather...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/__tests__/store-test.js
src/__tests__/store-test.js
/** * 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. * * @flow */ import type { WallEvent } from '../types'; describe('Store', () => { let Store; let Bridge; beforeEach(() => { ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/__tests__/setupEnv.js
src/__tests__/setupEnv.js
/** * 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. * * @flow */ import storage from 'local-storage-fallback'; // In case async/await syntax is used in a test. import 'regenerator-ru...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/__tests__/setupTests.js
src/__tests__/setupTests.js
/** * 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. * * @flow */ import type { BackendBridge, FrontendBridge } from 'src/bridge'; const env = jasmine.getEnv(); env.beforeEach(() => {...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/__tests__/bridge-test.js
src/__tests__/bridge-test.js
/** * 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. * * @flow */ import type { WallEvent } from '../types'; describe('Bridge', () => { let Bridge; beforeEach(() => { Bridge =...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/__tests__/utils.js
src/__tests__/utils.js
/** * 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. * * @flow */ import typeof ReactTestRenderer from 'react-test-renderer'; export function act(callback: Function): void { const T...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/__tests__/__mocks__/cssMock.js
src/__tests__/__mocks__/cssMock.js
/** * 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. * * @flow */ module.exports = {};
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/backend/types.js
src/backend/types.js
/** * 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. * * @flow */ export type EnvironmentID = number; export type RelayRecordSource = { getRecordIDs: () => string, get: (id: strin...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/backend/index.js
src/backend/index.js
/** * 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. * * @flow */ import type { DevToolsHook, RelayEnvironment, EnvironmentWrapper, } from './types'; import type Agent from './ag...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/backend/agent.js
src/backend/agent.js
/** * 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. * * @flow */ import EventEmitter from 'events'; import type { BackendBridge } from 'src/bridge'; import type { EnvironmentID, Envi...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/backend/EnvironmentWrapper.js
src/backend/EnvironmentWrapper.js
/** * 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. * * @flow */ import type { DevToolsHook, RelayEnvironment, EnvironmentWrapper, } from './types'; const UNUSED_EXPENSIVE_FIEL...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/backend/utils.js
src/backend/utils.js
/** * 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. * * @flow */ export function copyWithSet( obj: Object | Array<any>, path: Array<number | string>, value: any, index: number...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/src/backend/util/RelayTypes.js
src/backend/util/RelayTypes.js
/** * 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. * * @flow */ export type Disposable = { dispose(): void, }; // Supports legacy SubscribeFunction definitions. Do not use in new ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/shells/utils.js
shells/utils.js
/** * 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. */ const { execSync } = require('child_process'); const { readFileSync, existsSync } = require('fs'); const { resolve } = require('pa...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/shells/dev/webpack.config.js
shells/dev/webpack.config.js
/** * 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. */ const Webpack = require('webpack'); const { getGitHubIssuesURL, getGitHubURL, getInternalDevToolsFeedbackGroup, getVersion...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false
relayjs/relay-devtools
https://github.com/relayjs/relay-devtools/blob/c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1/shells/dev/relay-app/index.js
shells/dev/relay-app/index.js
/** * 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. * * @flow */ // This test harness mounts each test app as a separate root to test multi-root applications. import { createElement ...
javascript
MIT
c4e3a966e6b58d9c2ae9f1abeed619c4d0119eb1
2026-01-05T03:36:33.474383Z
false