index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql/team/updateTeamMemberRole.ts
import gql from 'graphql-tag'; export const UPDATE_TEAM_MEMBER_ROLE_MUTATION = gql` mutation updateTeamMemberRole($teamID: UUID!, $userID: UUID!, $roleCode: RoleCode!) { updateTeamMemberRole(input: { teamID: $teamID, userID: $userID, roleCode: $roleCode }) { member { id role { cod...
9,900
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql/user/createUser.ts
import gql from 'graphql-tag'; export const CREATE_USER_MUTATION = gql` mutation createUserAccount( $username: String! $roleCode: String! $email: String! $fullName: String! $initials: String! $password: String! ) { createUserAccount( input: { roleCode: $roleCode us...
9,901
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql/user/deleteInvitedUser.ts
import gql from 'graphql-tag'; export const DELETE_INVITED_USER_MUTATION = gql` mutation deleteInvitedUserAccount($invitedUserID: UUID!) { deleteInvitedUserAccount(input: { invitedUserID: $invitedUserID }) { invitedUser { id } } } `; export default DELETE_INVITED_USER_MUTATION;
9,902
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql/user/deleteUser.ts
import gql from 'graphql-tag'; export const DELETE_USER_MUTATION = gql` mutation deleteUserAccount($userID: UUID!, $newOwnerID: UUID) { deleteUserAccount(input: { userID: $userID, newOwnerID: $newOwnerID }) { ok userAccount { id } } } `; export default DELETE_USER_MUTATION;
9,903
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql/user/updateUserInfo.ts
import gql from 'graphql-tag'; export const UPDATE_USER_INFO_MUTATION = gql` mutation updateUserInfo($name: String!, $initials: String!, $email: String!, $bio: String!) { updateUserInfo(input: { name: $name, initials: $initials, email: $email, bio: $bio }) { user { id email fullName...
9,904
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql/user/updateUserPassword.ts
import gql from 'graphql-tag'; export const UPDATE_USER_PASSWORD_MUTATION = gql` mutation updateUserPassword($userID: UUID!, $password: String!) { updateUserPassword(input: { userID: $userID, password: $password }) { ok } } `; export default UPDATE_USER_PASSWORD_MUTATION;
9,905
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/graphql/user/updateUserRole.ts
import gql from 'graphql-tag'; export const UPDATE_USER_ROLE_MUTATION = gql` mutation updateUserRole($userID: UUID!, $roleCode: RoleCode!) { updateUserRole(input: { userID: $userID, roleCode: $roleCode }) { user { id role { code name } } } } `; expor...
9,906
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/hooks/memoize.ts
import { useRef } from 'react'; import { isEqual } from 'lodash'; const useDeepCompareMemoize = (value: any) => { const valueRef = useRef(); if (!isEqual(value, valueRef.current)) { valueRef.current = value; } return valueRef.current; }; export default useDeepCompareMemoize;
9,907
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/hooks/onEscapeKeyDown.ts
import { useEffect } from 'react'; import KeyCodes from 'shared/constants/keyCodes'; const useOnEscapeKeyDown = (isListening: boolean, onEscapeKeyDown: () => void) => { useEffect(() => { const handleKeyDown = (event: any) => { if (event.keyCode === KeyCodes.ESCAPE) { onEscapeKeyDown(); } ...
9,908
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/hooks/onOutsideClick.ts
import { useEffect, useRef } from 'react'; const useOnOutsideClick = ( $ignoredElementRefs: any, isListening: boolean, onOutsideClick: () => void, $listeningElementRef: any, ) => { const $mouseDownTargetRef = useRef(); const $ignoredElementRefsMemoized = [$ignoredElementRefs].flat(); useEffect(() => { ...
9,909
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/hooks/useStateWithLocalStorage.ts
import React, { Dispatch, SetStateAction, useEffect, useState } from 'react'; // A wrapper for "JSON.parse()"" to support "undefined" value function parseJSON<T>(value: string | null): T | undefined { try { return value === 'undefined' ? undefined : JSON.parse(value ?? ''); } catch (error) { return undefin...
9,910
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/hooks/useStickyState.ts
import React from 'react'; function useStickyState<T>(defaultValue: any, key: string): [T, React.Dispatch<React.SetStateAction<T>>] { const [value, setValue] = React.useState<T>(() => { const stickyValue = window.localStorage.getItem(key); return stickyValue !== null ? JSON.parse(stickyValue) : defaultValue;...
9,911
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/hooks/useWindowSize.ts
import { useLayoutEffect, useState } from 'react'; export default function useWindowSize() { const [size, setSize] = useState([0, 0]); useLayoutEffect(() => { function updateSize() { setSize([window.innerWidth, window.innerHeight]); } window.addEventListener('resize', updateSize); updateSize(...
9,912
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/AccountPlus.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const AccountPlus: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 640 512"> <path d="M224 256c70.7 0 128-57.3 128-128S294.7 0 224...
9,913
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/AngleDown.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; export const AngleDown: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-...
9,914
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/AngleLeft.tsx
import React from 'react'; type Props = { size: number | string; color: string; }; const AngleLeft = ({ size, color }: Props) => { return ( <svg width={size} height={size} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"> <path fill={color} d="M31.7 239l136-136c9.4-9.4 24.6-9.4...
9,915
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/ArrowDown.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const ArrowDown: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9...
9,916
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/ArrowLeft.tsx
import React from 'react'; type Props = { width: number | string; height: number | string; color: string; }; const ArrowLeft = ({ width, height, color }: Props) => { return ( <svg width={width} height={height} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"> <path fill={color} ...
9,917
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/At.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const At: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 24...
9,918
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/BarChart.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const BarChart: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c...
9,919
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Bell.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Bell: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.3...
9,920
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Bin.tsx
import React from 'react'; type Props = { size: number | string; color: string; }; const Bin = ({ size, color }: Props) => { return ( <svg fill={color} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 16 16"> <path d="M2 5v10c0 0.55 0.45 1 1 1h9c0.55 0 1-0.45 1-1v-10h-11zM5 1...
9,921
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Bolt.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Bolt: React.FC<IconProps> = ({ width = '16px', height = '16px' }) => { return ( <Icon width={width} height={height} viewBox="0 0 320 512"> <path d="M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C...
9,922
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Briefcase.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Briefcase: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M320 336c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7...
9,923
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Bubble.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Bubble: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 576 512"> <path d="M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 ...
9,924
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Calendar.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Calender: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12...
9,925
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/CaretDown.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const CaretDown: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 320 512"> <path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174...
9,926
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/CaretRight.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const CaretRight: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 192 512"> <path d="M0 384.662V127.338c0-17.818 21.543-26.741 34....
9,927
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/CheckCircle.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const CheckCircle: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M504 256c0 136.967-111.033 248-248 248S8 392...
9,928
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/CheckCircleOutline.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const CheckCircleOutline: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M256 8C119.033 8 8 119.033 8 256s111....
9,929
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/CheckSquare.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const CheckSquare: React.FC<IconProps> = ({ width = '16px', height = '16px', onClick, className }) => { return ( <Icon width={width} onClick={onClick} height={height} className={className} viewBox="0 0 448 512"> <path d="M400 480H48c-26.5...
9,930
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/CheckSquareOutline.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const CheckSquareOutline: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M400 32H48C21.49 32 0 53.49 0 80v352c...
9,931
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Checkmark.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Checkmark: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.9...
9,932
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/ChevronRight.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const ChevronRight: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M285.476 272.971L91.132 467.314c-9.373 9.37...
9,933
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Circle.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Circle: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 ...
9,934
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/CircleSolid.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const CircleSolid: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M256 8C119 8 8 119 8 256s111 248 248 248 248...
9,935
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Clock.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Clock: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M256,8C119,8,8,119,8,256S119,504,256,504,504,393,5...
9,936
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Clone.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Clone: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48...
9,937
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Cog.tsx
import React from 'react'; type Props = { size: number | string; color: string; }; const Cog = ({ size, color }: Props) => { return ( <svg width={size} height={size} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> <path fill={color} d="M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 ...
9,938
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Cogs.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Cogs: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 640 512"> <path d="M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4...
9,939
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Cross.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Cross: React.FC<IconProps> = ({ width = '16px', height = '16px', className, onClick }) => { return ( <Icon width={width} height={height} onClick={onClick} className={className} viewBox="0 0 352 512"> <path d="M242.72 256l100.07-100....
9,940
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Crown.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Crown: React.FC<IconProps> = ({ width = '16px', height = '16px', onClick, className }) => { return ( <Icon width={width} onClick={onClick} height={height} className={className} viewBox="0 0 640 512"> <path d="M528 448H112c-8.8 0-16 ...
9,941
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Dot.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Dot: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 18 18"> <circle cx="9" cy="9" r="3.5" /> </Icon> ); }; export de...
9,942
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/DotCircle.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const DotCircle: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 2...
9,943
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/DoubleChevronUp.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const DoubleChevronUp: React.FC<IconProps> = ({ width = '16px', height = '16px', onClick, className }) => { return ( <Icon width={width} onClick={onClick} height={height} className={className} viewBox="0 0 448 512"> <path d="M240.97 39.17...
9,944
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Ellipsis.tsx
import React from 'react'; type Props = { size: number | string; color: string; vertical: boolean; }; const Ellipsis = ({ size, color, vertical }: Props) => { if (vertical) { return ( <svg fill={color} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 192 512"> <path...
9,945
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Exit.tsx
import React from 'react'; type Props = { size: number | string; color: string; }; const Exit = ({ size, color }: Props) => { return ( <svg fill={color} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 16 16"> <path d="M12 10v-2h-5v-2h5v-2l3 3zM11 9v4h-5v3l-6-3v-13h11v5h-1v-4...
9,946
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Eye.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Eye: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 576 512"> <path d="M288 144a110.94 110.94 0 0 0-31.24 5 55.4 55.4 0 0 1...
9,947
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/EyeSlash.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const EyeSlash: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 640 512"> <path d="M320 400c-75.85 0-137.25-58.71-142.9-133.11L72....
9,948
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Filter.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Filter: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.97...
9,949
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Home.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Checkmark: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 576 512"> <path d="M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16...
9,950
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Icon.tsx
import React from 'react'; import styled from 'styled-components/macro'; export type IconProps = { width: number | string; height: number | string; className?: string; onClick?: () => void; }; type Props = { width: number | string; height: number | string; viewBox: string; className?: string; onClic...
9,951
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/List.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const List: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h6...
9,952
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/ListUnordered.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const ListUnordered: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48...
9,953
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Lock.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Lock: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 ...
9,954
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Paperclip.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Paperclip: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M43.246 466.142c-58.43-60.289-57.341-157.511 1...
9,955
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Pencil.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Sort: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111...
9,956
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Plus.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Plus: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0...
9,957
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Question.tsx
import React from 'react'; type Props = { size: number | string; color: string; }; const Question = ({ size, color }: Props) => { return ( <svg fill={color} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 16 16"> <path d="M7 11h2v2h-2zM11 4c0.552 0 1 0.448 1 1v3l-3 2h-2v-1l3...
9,958
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Share.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Share: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M503.691 189.836L327.687 37.851C312.281 24.546 288...
9,959
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Smile.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Smile: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 496 512"> <path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 2...
9,960
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Sort.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Sort: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 320 512"> <path d="M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4...
9,961
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Square.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Square: React.FC<IconProps> = ({ width = '16px', height = '16px', className, onClick }) => { return ( <Icon onClick={onClick} width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M400 32H48C21.5 32 0 5...
9,962
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Stack.tsx
import React from 'react'; type Props = { size: number | string; color: string; }; const Stack = ({ size, color }: Props) => { return ( <svg xmlns="http://www.w3.org/2000/svg" fill={color} width={size} height={size} viewBox="0 0 16 16"> <path d="M16 5l-8-4-8 4 8 4 8-4zM8 2.328l5.345 2.672-5.345 2.672-...
9,963
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Star.tsx
import React from 'react'; type Props = { width: number | string; height: number | string; color: string; filled: boolean; }; const Star = ({ width, height, color, filled }: Props) => { return ( <svg width={width} height={height} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"> {filled ? ...
9,964
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Tags.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Tags: React.FC<IconProps> = ({ width = '16px', height = '16px' }) => { return ( <Icon width={width} height={height} viewBox="0 0 640 512"> <path d="M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.11...
9,965
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Task.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Task: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 512 512"> <path d="M139.61 35.5a12 12 0 0 0-17 0L58.93 98.81l-22.7-22....
9,966
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Taskcafe.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; type TaskcafeProps = { innerColor?: string; outerColor?: string; } & IconProps; const Taskcafe: React.FC<TaskcafeProps> = ({ innerColor = '#262c49', outerColor = '#7367f0', width = '16px', height = '16px', className, }) => { return (...
9,967
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/ToggleOn.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const ToggleOn: React.FC<IconProps> = ({ width = '16px', height = '16px' }) => { return ( <Icon width={width} height={height} viewBox="0 0 576 512"> <path d="M384 64H192C86 64 0 150 0 256s86 192 192 192h192c106 0 192-86 192-192S490 64 38...
9,968
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Trash.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const Trash: React.FC<IconProps> = ({ width = '16px', height = '16px', className }) => { return ( <Icon width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23...
9,969
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/User.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const User: React.FC<IconProps> = ({ width = '16px', height = '16px', className, onClick }) => { return ( <Icon onClick={onClick} width={width} height={height} className={className} viewBox="0 0 448 512"> <path d="M313.6 304c-28.7 0-42.5 ...
9,970
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/UserCircle.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const UserCircle: React.FC<IconProps> = ({ width = '16px', height = '16px', className, onClick }) => { return ( <Icon onClick={onClick} width={width} height={height} className={className} viewBox="0 0 496 512"> <path d="M248 104c-53 0-96 ...
9,971
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/UserPlus.tsx
import React from 'react'; import Icon, { IconProps } from './Icon'; const UserPlus: React.FC<IconProps> = ({ width = '16px', height = '16px', onClick, className }) => { return ( <Icon width={width} onClick={onClick} height={height} className={className} viewBox="0 0 640 512"> <path d="M624 208h-64v-64c0-8...
9,972
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/Users.tsx
import React from 'react'; type Props = { size: number | string; color: string; }; const Users = ({ size, color }: Props) => { return ( <svg fill={color} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 16 16"> <path d="M12 12.041v-0.825c1.102-0.621 2-2.168 2-3.716 0-2.485 0-...
9,973
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/icons/index.ts
import Cross from './Cross'; import Cog from './Cog'; import Cogs from './Cogs'; import Circle from './Circle'; import CircleSolid from './CircleSolid'; import UserCircle from './UserCircle'; import Bubble from './Bubble'; import ArrowDown from './ArrowDown'; import CheckCircleOutline from './CheckCircleOutline'; impor...
9,974
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/undraw/AccessAccount.tsx
import React from 'react'; type Props = { width: number; height: number; }; const AccessAccount = ({ width, height }: Props) => { return ( <svg id="a9a7ffe7-bffb-40a8-a3c8-a3664a9c484c" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width={width} height={height} v...
9,975
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/undraw/Empty.tsx
import React from 'react'; type Props = { width: number; height: number; className?: string; }; const Empty: React.FC<Props> = ({ width, height, className }) => { return ( <svg className={className} width={width} height={height} viewBox="0 0 1009.54 789.93"> <defs> <linearGradient id="a" x1=...
9,976
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/undraw/NoData.tsx
import React from 'react'; type Props = { width: number; height: number; }; const AccessAccount = ({ width, height }: Props) => { return ( <svg data-name="Layer 1" width={width} height={height} viewBox="0 0 820.16 780.81"> <defs> <linearGradient id="a" x1="539.63" ...
9,977
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/boundingRect.ts
export const convertDivElementRefToBounds = ($ref: React.RefObject<HTMLDivElement>) => { if ($ref && $ref.current) { const bounds = $ref.current.getBoundingClientRect(); return { size: { width: bounds.width, height: bounds.height, }, position: { left: bounds.left, ...
9,978
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/cache.ts
import { DataProxy } from '@apollo/client'; import { DocumentNode } from 'graphql'; type UpdateCacheFn<T> = (cache: T) => T; export function updateApolloCache<T>( client: DataProxy, document: DocumentNode, update: UpdateCacheFn<T>, variables?: any, ) { let queryArgs: DataProxy.Query<any, any>; if (variabl...
9,979
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/draggables.ts
import { DraggableLocation } from 'react-beautiful-dnd'; export const moveItemWithinArray = (arr: Array<DraggableElement>, item: DraggableElement, newIndex: number) => { const arrClone = [...arr]; const oldIndex = arrClone.findIndex(i => i.id === item.id); arrClone.splice(newIndex, 0, arrClone.splice(oldIndex, 1...
9,980
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/editorTheme.ts
import theme from 'App/ThemeStyles'; const colors = { almostBlack: 'rgb(38, 44, 73)', lightBlack: 'rgb(16, 22, 58)', bgPrimary: 'rgb(16, 22, 58)', almostWhite: 'rgb(194, 198, 220)', white: '#FFF', white10: 'rgb(194, 198, 220)', black: '#000', black10: 'rgba(0, 0, 0, 0.1)', primary: 'rgb(115, 103, 240...
9,981
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/email.ts
const RFC2822_EMAIL = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/; export default function isValidEmail(target: string) { return RFC2822_EMAIL.test(target); }
9,982
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/localStorage.ts
const localStorage = { NOTIFICATIONS_FILTER: 'notifications_filter', CARD_LABEL_VARIANT_STORAGE_KEY: 'card_label_variant', }; export default localStorage;
9,983
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/noop.ts
export default function NOOP() {} // eslint-disable-line @typescript-eslint/no-empty-function
9,984
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/polling.ts
function resolve(interval: number) { if (process.env.REACT_APP_ENABLE_POLLING === 'true') return interval; return 0; } const polling = { PROJECTS: resolve(3000), PROJECT: resolve(3000), MEMBERS: resolve(3000), TEAM_PROJECTS: resolve(3000), TASK_DETAILS: resolve(3000), UNREAD_NOTIFICATIONS: resolve(30000...
9,985
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/sorting.ts
import dayjs from 'dayjs'; export enum TaskSortingType { NONE, COMPLETE, DUE_DATE, MEMBERS, LABELS, TASK_TITLE, } export enum TaskSortingDirection { ASC, DESC, } export type TaskSorting = { type: TaskSortingType; direction: TaskSortingDirection; }; export function sortString(a: string, b: string...
9,986
0
petrpan-code/JordanKnott/taskcafe/frontend/src/shared
petrpan-code/JordanKnott/taskcafe/frontend/src/shared/utils/styles.ts
import { css } from 'styled-components'; import Color from 'color'; export const color = { primary: '#0052cc', // Blue success: '#0B875B', // green danger: '#E13C3C', // red warning: '#F89C1C', // orange secondary: '#F4F5F7', // light grey textDarkest: '#172b4d', textDark: '#42526E', textMedium: '#5E6...
9,987
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/commands.go
package commands import ( "fmt" "net/http" "strings" "github.com/jordanknott/taskcafe/internal/config" "github.com/jordanknott/taskcafe/internal/utils" "github.com/spf13/cobra" "github.com/spf13/viper" ) const mainDescription = `Taskcafé is an open soure project management system written in Golang & React.` ...
9,988
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/commands_prod.go
// +build prod package commands import ( "github.com/jordanknott/taskcafe/internal/migrations" ) func init() { migration = migrations.Migrations }
9,989
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/job.go
package commands import ( "time" "github.com/spf13/cobra" "github.com/RichardKnop/machinery/v1" mTasks "github.com/RichardKnop/machinery/v1/tasks" queueLog "github.com/RichardKnop/machinery/v1/log" "github.com/jmoiron/sqlx" "github.com/jordanknott/taskcafe/internal/config" "github.com/jordanknott/taskcafe/i...
9,990
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/migrate.go
package commands import ( "fmt" "github.com/spf13/cobra" "github.com/spf13/viper" "github.com/golang-migrate/migrate/v4" "github.com/golang-migrate/migrate/v4/database/postgres" "github.com/golang-migrate/migrate/v4/source/httpfs" "github.com/jmoiron/sqlx" log "github.com/sirupsen/logrus" ) // MigrateLog is...
9,991
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/reset_password.go
package commands import ( "context" "fmt" "time" "github.com/jmoiron/sqlx" "github.com/jordanknott/taskcafe/internal/db" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" "github.com/spf13/viper" "golang.org/x/crypto/bcrypt" ) func newResetPasswordCmd() *cobra.Command { return &cobra.Command{ Use...
9,992
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/seed.go
package commands import ( "context" "fmt" "time" "github.com/brianvoe/gofakeit/v5" "github.com/manifoldco/promptui" "github.com/jordanknott/taskcafe/internal/db" "github.com/spf13/cobra" "github.com/spf13/viper" "github.com/jmoiron/sqlx" log "github.com/sirupsen/logrus" ) var ( teams int projects ...
9,993
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/token.go
package commands import ( "context" "fmt" "time" "github.com/jordanknott/taskcafe/internal/config" "github.com/jordanknott/taskcafe/internal/db" "github.com/spf13/cobra" "github.com/spf13/viper" "github.com/jmoiron/sqlx" log "github.com/sirupsen/logrus" ) func newTokenCmd() *cobra.Command { cc := &cobra.C...
9,994
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/web.go
package commands import ( "net/http" "time" "github.com/RichardKnop/machinery/v1" mTasks "github.com/RichardKnop/machinery/v1/tasks" "github.com/golang-migrate/migrate/v4" "github.com/golang-migrate/migrate/v4/database/postgres" "github.com/golang-migrate/migrate/v4/source/httpfs" "github.com/spf13/cobra" "g...
9,995
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/commands/worker.go
package commands import ( "time" "github.com/spf13/cobra" "github.com/RichardKnop/machinery/v1" queueLog "github.com/RichardKnop/machinery/v1/log" "github.com/jmoiron/sqlx" "github.com/jordanknott/taskcafe/internal/config" repo "github.com/jordanknott/taskcafe/internal/db" "github.com/jordanknott/taskcafe/in...
9,996
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/config/config.go
package config import ( "context" "errors" "fmt" "strings" "time" "github.com/go-redis/redis/v8" mConfig "github.com/RichardKnop/machinery/v1/config" "github.com/google/uuid" log "github.com/sirupsen/logrus" "github.com/spf13/viper" ) const ( ServerHostname = "server.hostname" DatabaseHost = "data...
9,997
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/db/db.go
// Code generated by sqlc. DO NOT EDIT. package db import ( "context" "database/sql" ) type DBTX interface { ExecContext(context.Context, string, ...interface{}) (sql.Result, error) PrepareContext(context.Context, string) (*sql.Stmt, error) QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error...
9,998
0
petrpan-code/JordanKnott/taskcafe/internal
petrpan-code/JordanKnott/taskcafe/internal/db/label_color.sql.go
// Code generated by sqlc. DO NOT EDIT. // source: label_color.sql package db import ( "context" "github.com/google/uuid" ) const createLabelColor = `-- name: CreateLabelColor :one INSERT INTO label_color (name, color_hex, position) VALUES ($1, $2, $3) RETURNING label_color_id, color_hex, position, name ` type...
9,999