[I] ~/projects/monolaw/apps/web discovery ❯ bun run dev 15:30:43
$ vite --port 3000
Generated route tree in 131ms
3:31:12 PM [vite] (client) Re-optimizing dependencies because vite config has changed
VITE v7.0.4 ready in 1072 ms
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- https://wezfurlong.org/wezterm/config/files.html | |
| -- https://alexplescan.com/posts/2024/08/10/wezterm/ | |
| -- https://github.com/wez/wezterm/issues/6112 | |
| -- https://github.com/wez/wezterm/issues/5754 | |
| local wezterm = require "wezterm" | |
| local config = wezterm.config_builder() | |
| local action = wezterm.action | |
| local mux = wezterm.mux | |
| config.audible_bell = "Disabled" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Plugin(s) to add typedPgRegistry to the build input. | |
| * TypedPgRegistryPlugin adds the typedPgRegistry to the build input, and should always be used. | |
| * ExportPgRegistryTypesPlugin exports types for the PgRegistry, and should only be used in development. | |
| * The exported .d.ts file should be added to the tsconfig.json `include` array. | |
| * The plugin only exports if the `exportPgRegistryTypesPath` option is set in the schema options. | |
| */ | |
| import type { PgCodec, PgEnumCodec, PgResource } from '@dataplan/pg' | |
| import { mkdir, readFile, writeFile } from 'node:fs/promises' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { transformToRelayResponse } from './transformer.js'; | |
| import type { HonoEnv } from './types.js'; | |
| // oxlint-disable-next-line unicorn/require-module-specifiers | |
| import type {} from '@grafserv/persisted'; | |
| import type { StreamingApi } from 'hono/utils/stream'; | |
| import { mapJwtClaimsToPgSettings } from '@repo/auth'; | |
| import { getPreset } from '@repo/graphile-preset'; | |
| import { schema } from '@repo/graphile-schema'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { PgClient, PgCodec, WithPgClient } from '@dataplan/pg'; | |
| import type { PgTableResource } from '@graphile-contrib/pg-many-to-many'; | |
| import { | |
| ExecutableStep, | |
| type AccessStep, | |
| type ExecutionExtra, | |
| type GrafastResultsList, | |
| type GrafastValuesList, | |
| access, | |
| type SetterStep, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client' | |
| import {graphql} from 'react-relay' | |
| import graphqlQuery, { | |
| AllSecuritiesPageQuery | |
| } from '~/__generated__/AllSecuritiesPageQuery.graphql' | |
| import {createRelayHydrator} from '~/lib/relay/create-relay-hydrator' | |
| export const {useHydratedPreloadedQuery, Hydrator} = | |
| createRelayHydrator<AllSecuritiesPageQuery>(graphqlQuery) |
Add the following tags to your head
<meta name="pluscriber-verification" content="YOUR PUBLICATION ID">
<script async src="https://pluscriber.com/assets/pluscriber.js"></script>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const replaceCompanyName = () => { | |
| const rows = Array.from(document.querySelector('table > tbody').childNodes); | |
| rows.forEach(row => { | |
| const firstChild = row.firstChild; | |
| // text is two divs down | |
| const contentDiv = firstChild.firstChild.firstChild; | |
| const name = contentDiv.innerText; | |
| const anchor = document.createElement('a'); | |
| anchor.setAttribute('style', 'text-decoration: underline'); | |
| const href = `https://legaltech.com/companies/${name.replace(/\s/g, '-').toLowerCase()}`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // adapted twin version of below | |
| import { Fragment } from 'react' | |
| import { Popover, Transition } from '@headlessui/react' | |
| import { MenuIcon, XIcon } from '@heroicons/react/outline' | |
| import 'twin.macro' | |
| const navigation = [ | |
| { name: 'Product', href: '#' }, | |
| { name: 'Features', href: '#' }, | |
| { name: 'Marketplace', href: '#' }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // temporary fix for https://github.com/neo4j/graphql/issues/292 | |
| import { wrapSchema, RenameInputObjectFields } from '@graphql-tools/wrap' | |
| import { Neo4jGraphQL } from '@neo4j/graphql' | |
| import { typeDefs } from './typeDefs' | |
| // renames all InputObjectFields matching 'skip' | |
| // see https://www.graphql-tools.com/docs/schema-wrapping#renaming | |
| const renamingFn = (typeName: string, fieldName: string): string => { |
NewerOlder