repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/restore-backup/restore-backup-routes.ts | app/navigators/restore-backup/restore-backup-routes.ts | import { NavigatorScreenParams, RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { RestoreBackupProcessingNavigatorParamList } from './restore-backup-processing-routes';
export type RestoreBackupNavigatorParamList = {
Import: undefined;
... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/onboarding/onboarding-routes.ts | app/navigators/onboarding/onboarding-routes.ts | import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type OnboardingNavigatorParamList = {
PinCodeInitialization: undefined;
Security: undefined;
Setup: undefined;
UserAgreement: undefined;
};
export type OnboardingRouteProp<
... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/onboarding/onboarding-navigator.tsx | app/navigators/onboarding/onboarding-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import PinCodeInitializationScreen from '../../screens/onboarding/pin-code-initialization-screen';
import { SecurityScreen } from '../../screens/onboarding/security-screen';
import { SetupScreen } from '../../screen... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/share-credential/share-credential-navigator.tsx | app/navigators/share-credential/share-credential-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import ProofProcessScreen from '../../screens/credential/proof-process-screen';
import ProofRequestScreen from '../../screens/credential/proof-request-screen';
import SelectCredentialScreen from '../../screens/crede... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/share-credential/share-credential-routes.ts | app/navigators/share-credential/share-credential-routes.ts | import {
InvitationResultProofRequest,
PresentationDefinitionRequestedCredential,
PresentationDefinitionV2CredentialQuery,
PresentationSubmitCredentialRequest,
PresentationSubmitV2CredentialRequest,
} from '@procivis/react-native-one-core';
import { RouteProp } from '@react-navigation/native';
import { Native... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/root/root-routes.ts | app/navigators/root/root-routes.ts | import { CredentialListItem } from '@procivis/react-native-one-core';
import { NavigatorScreenParams, RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { ImageSourcePropType } from 'react-native';
import { CredentialDetailNavigatorParamList ... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/root/initialRoute.ts | app/navigators/root/initialRoute.ts | import { reportException } from '@procivis/one-react-native-components';
import { useEffect, useMemo } from 'react';
import RNBootSplash from 'react-native-bootsplash';
import { usePinCodeInitialized } from '../../hooks/pin-code/pin-code';
import { RootNavigatorParamList } from './root-routes';
/**
* To be called fr... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/root/root-navigator.tsx | app/navigators/root/root-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React, { FunctionComponent } from 'react';
import { useRuntimeDeepLinkHandling } from '../../hooks/navigation/deep-link';
import { useAutomaticPinCodeCoverLogic } from '../../hooks/pin-code/pin-code-check';
import CredentialUpdateProce... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/settings/settings-navigator.tsx | app/navigators/settings/settings-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import { RSEAddBiometricsScreen } from '../../screens/rse/rse-add-biometrics-screen';
import { RSEChangePinScreen } from '../../screens/rse/rse-change-pin-screen';
import AppInformationNerdScreen from '../../screens... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/settings/settings-routes.ts | app/navigators/settings/settings-routes.ts | import { NavigatorScreenParams, RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { ExternalLibrary, Licence } from '../../models/licences/licences';
import { CreateBackupNavigatorParamList } from '../create-backup/create-backup-routes';
imp... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/issue-credential/issue-credential-routes.ts | app/navigators/issue-credential/issue-credential-routes.ts | import { InvitationResultCredentialIssuance } from '@procivis/react-native-one-core';
import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type IssueCredentialNavigatorParamList = {
CredentialConfirmationCode: {
invalidCode?: str... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/issue-credential/issue-credential-navigator.tsx | app/navigators/issue-credential/issue-credential-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import CredentialAcceptResultScreen from '../../screens/credential/credential-accept-result-screen';
import CredentialConfirmationCodeScreen from '../../screens/credential/credential-confirmation-code-screen';
impor... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/history/history-navigator.tsx | app/navigators/history/history-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import DashboardScreen from '../../screens/history/dashboard-screen';
import { HistoryDetailScreen } from '../../screens/history/detail-screen';
import { HistoryNavigatorParamList } from './history-routes';
const S... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/history/history-routes.ts | app/navigators/history/history-routes.ts | import { HistoryListItem } from '@procivis/react-native-one-core';
import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type HistoryNavigatorParamList = {
Detail: {
entry: HistoryListItem;
};
HistoryDashboard: undefined;
};
... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/invitation/invitation-routes.ts | app/navigators/invitation/invitation-routes.ts | import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type InvitationNavigatorParamList = {
Processing: { invitationUrl: string };
};
export type InvitationRouteProp<
RouteName extends keyof InvitationNavigatorParamList,
> = RouteP... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/invitation/invitation-navigator.tsx | app/navigators/invitation/invitation-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import InvitationProcessScreen from '../../screens/credential/invitation-process-screen';
import { formSheetWrapper } from '../navigation-utilities';
import { InvitationNavigatorParamList } from './invitation-routes... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/dashboard/dashboard-routes.ts | app/navigators/dashboard/dashboard-routes.ts | import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type DashboardNavigatorParamList = {
NFCShare: undefined;
QRCodeScanner: undefined;
QRCodeShare: undefined;
Wallet: undefined;
};
export type DashboardRouteProp<
RouteName... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/dashboard/dashboard-navigator.tsx | app/navigators/dashboard/dashboard-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import NFCShareScreen from '../../screens/dashboard/nfc-share-screen';
import QrCodeScannerScreen from '../../screens/dashboard/qr-code-scanner-screen';
import QRCodeShareScreen from '../../screens/dashboard/qr-code... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/delete-credential/delete-credential-navigator.tsx | app/navigators/delete-credential/delete-credential-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import CredentialDeleteProcessScreen from '../../screens/credential/credential-delete-process-screen';
import CredentialDeletePromptScreen from '../../screens/credential/credential-delete-prompt-screen';
import { fo... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/delete-credential/delete-credential-routes.ts | app/navigators/delete-credential/delete-credential-routes.ts | import { CredentialListItem } from '@procivis/react-native-one-core';
import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type DeleteCredentialNavigatorParamList = {
Processing: {
credentialId: CredentialListItem['id'];
};
P... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/nerd-mode/nerd-mode-routes.ts | app/navigators/nerd-mode/nerd-mode-routes.ts | import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type NerdModeNavigatorParamList = {
CredentialNerdMode: {
credentialId: string;
};
ErrorNerdMode: {
error: unknown;
};
OfferNerdMode: {
credentialId: string;
... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/nerd-mode/nerd-mode-navigator.tsx | app/navigators/nerd-mode/nerd-mode-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import CredentialDetailNerdScreen from '../../screens/nerd-mode/credential-nerd-screen';
import ErrorNerdScreen from '../../screens/nerd-mode/error-nerd-screen';
import CredentialOfferNerdView from '../../screens/ne... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/credential-detail/credential-detail-navigator.tsx | app/navigators/credential-detail/credential-detail-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import CredentialDetailScreen from '../../screens/credential/credential-detail-screen';
import { CredentialHistoryScreen } from '../../screens/credential/credential-history-screen';
import DeleteCredentialNavigator ... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/credential-detail/credential-detail-routes.ts | app/navigators/credential-detail/credential-detail-routes.ts | import { NavigatorScreenParams, RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { DeleteCredentialNavigatorParamList } from '../delete-credential/delete-credential-routes';
export type CredentialDetailNavigatorParamList = {
Delete: Navi... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/create-backup/create-backup-routes.ts | app/navigators/create-backup/create-backup-routes.ts | import { NavigatorScreenParams, RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import { CreateBackupProcessingNavigatorParamList } from './create-backup-processing-routes';
export type CreateBackupNavigatorParamList = {
CheckPassword: {
p... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/create-backup/create-backup-processing-routes.ts | app/navigators/create-backup/create-backup-processing-routes.ts | import { RouteProp } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
export type CreateBackupProcessingNavigatorParamList = {
Creating: {
password: string;
};
Preview: {
password: string;
};
};
export type CreateBackupProcessingRouteProp<
... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/create-backup/create-backup-navigator.tsx | app/navigators/create-backup/create-backup-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import CheckPasswordScreen from '../../screens/create-backup/check-password-screen';
import DashboardScreen from '../../screens/create-backup/dashboard-screen';
import SetPasswordScreen from '../../screens/create-ba... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/app/navigators/create-backup/create-backup-processing-navigator.tsx | app/navigators/create-backup/create-backup-processing-navigator.tsx | import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import CreatingScreen from '../../screens/create-backup/creating-screen';
import PreviewScreen from '../../screens/create-backup/preview-screen';
import { formSheetWrapper } from '../navigation-utilities';
import { ... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-rnfs.ts | test/mock-rnfs.ts | jest.mock('react-native-fs', () => {
return {
CachesDirectoryPath: jest.fn(),
DocumentDirectoryPath: 'documents',
ExternalDirectoryPath: jest.fn(),
ExternalStorageDirectoryPath: jest.fn(),
LibraryDirectoryPath: jest.fn(),
MainBundlePath: jest.fn(),
PicturesDirectoryPath: jest.fn(),
Tem... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-react-native-bluetooth-state-manager.ts | test/mock-react-native-bluetooth-state-manager.ts | jest.mock('react-native-bluetooth-state-manager', () => ({
onStateChange: () => {},
}));
export {};
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-sentry.ts | test/mock-sentry.ts | jest.mock('@sentry/react-native', () => {
return {};
});
export {};
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-react-native-modules.ts | test/mock-react-native-modules.ts | /* eslint-disable @typescript-eslint/no-unsafe-return */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
jest.mock('react-native', () => {
const rn = jest.requireActual('react-native');
rn.NativeModules.I18nManager.localeIdentifier = 'en... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-procivis-react-native-one-core.ts | test/mock-procivis-react-native-one-core.ts | jest.mock('@procivis/react-native-one-core', () => ({
CacheType: {},
}));
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-localize.ts | test/mock-localize.ts | jest.mock('react-native-localize', () => {
return {
findBestLanguageTag: jest.fn(),
};
});
export {};
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-react-native-image.ts | test/mock-react-native-image.ts | /* eslint-disable @typescript-eslint/no-unsafe-return */
// eslint-disable-next-line no-restricted-imports
import * as ReactNative from 'react-native';
import mockFile from './mock-file';
jest.doMock('react-native', () => {
// Extend ReactNative
return Object.setPrototypeOf(
{
Image: {
...React... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-react-native-ultimate-config.ts | test/mock-react-native-ultimate-config.ts | jest.mock('react-native-ultimate-config', () => ({
APP_ID: 'ch.procivis.one.wallet.dev',
APP_NAME: 'Procivis One Wallet',
CONFIG_NAME: 'procivis',
ENVIRONMENT: 'test',
}));
export {};
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-react-native-community-netinfo.ts | test/mock-react-native-community-netinfo.ts | jest.mock('@react-native-community/netinfo', () => ({
addEventListener: () => {},
}));
export {};
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/setup.ts | test/setup.ts | // we always make sure 'react-native' gets included first
import 'react-native';
// libraries to mock
import './mock-react-native-modules';
import './mock-react-native-image';
import './mock-async-storage';
import './mock-i18n';
import './mock-react-native-ultimate-config';
import './mock-rnfs';
import './mock-sentry';... | typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-file.ts | test/mock-file.ts | export default {
height: 100,
scale: 2.0,
uri: 'https://placekitten.com/200/200',
width: 100,
};
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-async-storage.ts | test/mock-async-storage.ts | // @ts-ignore
import mockAsyncStorage from '@react-native-async-storage/async-storage/jest/async-storage-mock';
jest.mock('@react-native-async-storage/async-storage', () => mockAsyncStorage);
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-camera.ts | test/mock-camera.ts | // eslint-disable-next-line no-restricted-imports
import * as ReactNative from 'react-native';
jest.doMock('react-native-vision-camera', () => {
return {
Camera: ReactNative.View,
useCameraDevice: () => null,
useCameraPermission: () => null,
useCodeScanner: () => null,
};
});
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-svg.ts | test/mock-svg.ts | export default 'SvgMock';
export const ReactComponent = 'SvgMock';
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
procivis/one-wallet | https://github.com/procivis/one-wallet/blob/d5989f086a8a3f9d21d64de1bd2caf9f9d797346/test/mock-i18n.ts | test/mock-i18n.ts | jest.mock('i18n-js', () => {
return {
t: (key: string) => `${key}.test`,
};
});
export {};
| typescript | Apache-2.0 | d5989f086a8a3f9d21d64de1bd2caf9f9d797346 | 2026-01-05T04:59:56.803537Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/public_api.ts | public_api.ts | export * from './src/app/shared/ngx-filter-pipe/index'; | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/main.ts | src/main.ts | // import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { appConfig } from './app/app.config';
// import { AppModule } from './app/app.module';
import { AppComponent } from './app/app.component';
import { bootstrapApplication } from '@angular/platform-browser';
import './../node_modules/m... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/app.config.ts | src/app/app.config.ts | import { ApplicationConfig } from '@angular/core';
import { provideRouter } from '@angular/router';
import { routes } from './app.routes';
export const appConfig: ApplicationConfig = {
providers: [provideRouter(routes)]
};
| typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/app.component.spec.ts | src/app/app.component.spec.ts | // import { TestBed, async } from '@angular/core/testing';
// import { AppComponent } from './app.component';
// describe('AppComponent', () => {
// beforeEach(async(() => {
// TestBed.configureTestingModule({
// declarations: [
// AppComponent
// ],
// }).compileComponents();
// }));
//... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/app.component.ts | src/app/app.component.ts | import { Component } from '@angular/core';
import { FilterPipe } from './shared/ngx-filter-pipe/ngx-filter.pipe';
import { User } from './user';
import { RouterOutlet } from '@angular/router';
import { JsonPipe, NgFor } from '@angular/common';
import { AppModule } from './app.module';
@Component({
standalone: true,... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/app.module.ts | src/app/app.module.ts | import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { FilterPipeModule } from './shared/ngx-filter-pipe';
import { MDL } from './shared/mdl';
import { AppComponent } from './app.component';
@NgModule({
declaration... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/app.routes.ts | src/app/app.routes.ts | import { Routes } from '@angular/router';
export const routes: Routes = [];
| typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/user.ts | src/app/user.ts | export class User {
firstName: string;
lastName: string;
constructor(first: string, last: string) {
this.firstName = first;
this.lastName = last;
// you have to bind function in case you want to filter by getName function
this.getName = this.getName.bind(this);
}
getName() {
return `${t... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/shared/mdl.ts | src/app/shared/mdl.ts | /**
* Created by vadimdez on 15/07/16.
*/
import { Directive, AfterViewChecked } from '@angular/core';
declare var componentHandler: any;
@Directive({
selector: '[mdl]'
})
export class MDL implements AfterViewChecked {
ngAfterViewChecked() {
componentHandler.upgradeAllRegistered();
}
}
| typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/shared/ngx-filter-pipe/ngx-filter.pipe.spec.ts | src/app/shared/ngx-filter-pipe/ngx-filter.pipe.spec.ts | /* tslint:disable:no-unused-variable */
import { FilterPipe } from './ngx-filter.pipe';
describe('Pipe: FilterPipe', () => {
let pipe: FilterPipe;
beforeEach(() => {
pipe = new FilterPipe();
});
it('create an instance', () => {
expect(pipe).toBeTruthy();
});
it('filters array of strings', () =>... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/shared/ngx-filter-pipe/ngx-filter.module.ts | src/app/shared/ngx-filter-pipe/ngx-filter.module.ts | /**
* Created by vadimdez on 28/11/2016.
*/
import { NgModule } from '@angular/core';
import { FilterPipe } from './ngx-filter.pipe';
@NgModule({
declarations: [FilterPipe],
providers: [FilterPipe],
exports: [FilterPipe]
})
export class FilterPipeModule {}
| typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/shared/ngx-filter-pipe/index.ts | src/app/shared/ngx-filter-pipe/index.ts | export * from './ngx-filter.module';
export * from './ngx-filter.pipe';
| typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/app/shared/ngx-filter-pipe/ngx-filter.pipe.ts | src/app/shared/ngx-filter-pipe/ngx-filter.pipe.ts | /**
* Created by vadimdez on 28/06/16.
*/
import { Pipe, Injectable, PipeTransform } from '@angular/core';
@Pipe({
name: 'filterBy',
pure: false
})
@Injectable()
export class FilterPipe implements PipeTransform {
static isFoundOnWalking(value: any, key: any) {
let walker = value;
let found = false;
... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/environments/environment.ts | src/environments/environment.ts | // The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angul... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/src/environments/environment.prod.ts | src/environments/environment.prod.ts | export const environment = {
production: true
};
| typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/e2e/src/app.po.ts | e2e/src/app.po.ts | import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get(browser.baseUrl) as Promise<any>;
}
getTitleText() {
return element(by.css('app-root .content span')).getText() as Promise<string>;
}
}
| typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
VadimDez/ngx-filter-pipe | https://github.com/VadimDez/ngx-filter-pipe/blob/395ba75ab645e0a619b89220ff46b0aa1c3be4f9/e2e/src/app.e2e-spec.ts | e2e/src/app.e2e-spec.ts | import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('ngx-fil... | typescript | MIT | 395ba75ab645e0a619b89220ff46b0aa1c3be4f9 | 2026-01-05T04:59:57.453786Z | false |
meodai/RYBitten | https://github.com/meodai/RYBitten/blob/5eb82d115e011d5766ebd9364623c5a6053791a5/src/p5-extension.ts | src/p5-extension.ts | /* eslint-disable @typescript-eslint/no-explicit-any */
export * from "./main";
import { ryb2rgb, rybHsl2rgb } from "./main";
import { RYB_ITTEN, type ColorCube } from "./cubes";
export const RYB = "ryb";
export const RYBHSL = "rybhsl";
export const ryb = (cube?: ColorCube) => ({ mode: RYB, cube });
export const rybh... | typescript | MIT | 5eb82d115e011d5766ebd9364623c5a6053791a5 | 2026-01-05T04:59:52.568950Z | false |
meodai/RYBitten | https://github.com/meodai/RYBitten/blob/5eb82d115e011d5766ebd9364623c5a6053791a5/src/main.ts | src/main.ts | import { RYB_ITTEN } from "./cubes";
import type { ColorCoords } from "./cubes";
type CubeCoords = [
number,
number,
number,
number,
number,
number,
number,
number,
];
interface Blerp {
(
a00: number,
a01: number,
a10: number,
a11: number,
tx: number,
ty: number,
): number;
... | typescript | MIT | 5eb82d115e011d5766ebd9364623c5a6053791a5 | 2026-01-05T04:59:52.568950Z | false |
meodai/RYBitten | https://github.com/meodai/RYBitten/blob/5eb82d115e011d5766ebd9364623c5a6053791a5/src/vite-env.d.ts | src/vite-env.d.ts | /// <reference types="vite/client" />
| typescript | MIT | 5eb82d115e011d5766ebd9364623c5a6053791a5 | 2026-01-05T04:59:52.568950Z | false |
meodai/RYBitten | https://github.com/meodai/RYBitten/blob/5eb82d115e011d5766ebd9364623c5a6053791a5/src/cubes.ts | src/cubes.ts | /**
* Represents a color in RGB/HSX... space as an array of three numbers.
* @typedef {[number, number, number]} ColorCoords
*/
export type ColorCoords = [number, number, number];
/**
* Represents a color cube with exactly 8 RGB colors for RYB to RGB mapping.
* The colors are ordered as: white, red, yellow, orang... | typescript | MIT | 5eb82d115e011d5766ebd9364623c5a6053791a5 | 2026-01-05T04:59:52.568950Z | false |
meodai/RYBitten | https://github.com/meodai/RYBitten/blob/5eb82d115e011d5766ebd9364623c5a6053791a5/src/demo.ts | src/demo.ts | import "./demo.css";
import { rybHsl2rgb, ryb2rgb } from "./main";
import { ColorCoords, ColorCube, cubes } from "./cubes";
let currentCube: ColorCube = cubes.get("itten-normalized")!.cube;
const logCube = (cube: ColorCube) => {
console.log("Customized RYB_CUBE");
console.log(cube.map((row) => row.map((it) => it ... | typescript | MIT | 5eb82d115e011d5766ebd9364623c5a6053791a5 | 2026-01-05T04:59:52.568950Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/App.tsx | starters/expo-zustand-styled-components/App.tsx | import { StatusBar } from 'expo-status-bar';
import Home from './src/screens/Home';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import About from './src/screens/About';
const Stack = createNativeStackNavigator();
export d... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/components/Button/Button.styles.ts | starters/expo-zustand-styled-components/src/components/Button/Button.styles.ts | import styled from 'styled-components/native';
export const TouchableOpacityStyled = styled.TouchableOpacity`
width: 70px;
height: 70px;
border: 1px solid rgba(0, 0, 0, 0.2);
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
`;
export const TextStyled = styled.Text`
font... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/components/Button/Button.tsx | starters/expo-zustand-styled-components/src/components/Button/Button.tsx | import React from 'react';
import { TouchableOpacityStyled, TextStyled } from './Button.styles';
interface ButtonProps {
title: string;
onPress: () => void;
}
const Button = ({ title, onPress }: ButtonProps) => {
return (
<TouchableOpacityStyled onPress={onPress}>
<TextStyled>{title}</TextStyled>
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/components/Button/index.ts | starters/expo-zustand-styled-components/src/components/Button/index.ts | export { default } from './Button';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/components/Button/Button.test.tsx | starters/expo-zustand-styled-components/src/components/Button/Button.test.tsx | import { render, screen } from '@testing-library/react-native';
import Button from '.';
test('The Button component is rendered', () => {
render(<Button title="+" onPress={() => null} />);
expect(screen.getByText('+')).toBeTruthy();
});
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/screens/Home/useCounter.ts | starters/expo-zustand-styled-components/src/screens/Home/useCounter.ts | import { create } from 'zustand';
interface ICounter {
count: number;
increment: () => void;
decrement: () => void;
reset: () => void;
}
export const useCounter = create<ICounter>((set) => ({
count: 0,
increment: () => set((state) => ({ count: state.count + 1 })),
decrement: () => set((state) => ({ coun... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/screens/Home/Home.styles.ts | starters/expo-zustand-styled-components/src/screens/Home/Home.styles.ts | import styled from 'styled-components/native';
export const SafeAreaViewStyled = styled.SafeAreaView`
height: 95%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
`;
export const RowStyled = styled.View`
display: flex;
justify-content: space-between;
flex-di... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/screens/Home/index.ts | starters/expo-zustand-styled-components/src/screens/Home/index.ts | export { default } from './Home';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/screens/Home/Home.tsx | starters/expo-zustand-styled-components/src/screens/Home/Home.tsx | import React from 'react';
import { TouchableOpacity } from 'react-native';
import Button from '../../components/Button';
import {
SafeAreaViewStyled,
RowStyled,
TitleStyled,
CountStyled,
ImageStyled,
} from './Home.styles';
import { useCounter } from './useCounter';
const Home = ({ navigation }: { navigati... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/screens/About/About.tsx | starters/expo-zustand-styled-components/src/screens/About/About.tsx | import { View, Text, Image } from 'react-native';
import React from 'react';
import { SafeAreaViewStyled, TitleStyled } from './About.styles';
const About = () => {
return (
<SafeAreaViewStyled>
<Image source={require('../../../assets/starter-logo.png')} />
<TitleStyled>Expo Starter kit</TitleStyled>... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/screens/About/About.styles.ts | starters/expo-zustand-styled-components/src/screens/About/About.styles.ts | import styled from 'styled-components/native';
export const SafeAreaViewStyled = styled.SafeAreaView`
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
align-items: center;
`;
export const TitleStyled = styled.Text`
font-size: 30px;
margin-top: 30px;
... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/expo-zustand-styled-components/src/screens/About/index.ts | starters/expo-zustand-styled-components/src/screens/About/index.ts | export { default } from './About';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/jest.setup.ts | starters/remix-gql-tailwind/jest.setup.ts | // Used for __tests__/testing-library.js
// 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';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/remix.env.d.ts | starters/remix-gql-tailwind/remix.env.d.ts | /// <reference types="@remix-run/dev" />
/// <reference types="@remix-run/node/globals" />
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/root.tsx | starters/remix-gql-tailwind/app/root.tsx | import type { MetaFunction } from "@remix-run/node";
import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from "@remix-run/react";
import styles from "./styles/app.css"
export function links() {
return [{ rel: "stylesheet", href: styles }]
}
export const meta: MetaFunction = () => {
return { tit... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/entry.server.tsx | starters/remix-gql-tailwind/app/entry.server.tsx | import { renderToString } from "react-dom/server";
import type { EntryContext } from "@remix-run/node";
import { RemixServer } from "@remix-run/react";
export default function handleRequest(
request: Request,
responseStatusCode: number,
responseHeaders: Headers,
remixContext: EntryContext
) {
const markup = ... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/entry.client.tsx | starters/remix-gql-tailwind/app/entry.client.tsx | import { hydrateRoot } from 'react-dom/client';
import { RemixBrowser } from '@remix-run/react';
hydrateRoot(document, <RemixBrowser />);
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/routes/index.tsx | starters/remix-gql-tailwind/app/routes/index.tsx | import { json, LoaderFunction } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import { Counter } from '~/components/Counter';
import { Greeting } from '~/components/Greeting';
import gqlClient from '~/lib/graphql-client';
import { GREETING_QUERY } from '~/lib/queries/greeting';
type LoaderD... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Counter/Counter.test.tsx | starters/remix-gql-tailwind/app/components/Counter/Counter.test.tsx | import { render, screen, fireEvent } from '@testing-library/react';
import { Counter } from './Counter';
describe('Counter', () => {
it('should increase by 1 when clicking button', () => {
render(<Counter />);
const button = screen.getByText('+');
const count = screen.getByRole('heading');
expect(co... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Counter/Counter.stories.tsx | starters/remix-gql-tailwind/app/components/Counter/Counter.stories.tsx | import React from 'react';
import { ComponentMeta } from '@storybook/react';
import { Counter } from './Counter';
export default {
title: 'Example/Counter',
component: Counter,
} as ComponentMeta<typeof Counter>;
const Template = () => <Counter />;
export const Default = Template.bind({});
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Counter/Counter.classNames.ts | starters/remix-gql-tailwind/app/components/Counter/Counter.classNames.ts | export const button = "w-40 h-40 rounded-full border-none shadow-lg text-7xl cursor-pointer my-0 mx-8 focus:outline-0"
export const container = "flex flex-row justify-center mt-20";
export const textContainer = "flex mb-8 ml-40 items-center";
export const h3Text = 'mr-4 mt-12';
export const h1Text = 'mt-8 text-7xl'; | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Counter/Button.tsx | starters/remix-gql-tailwind/app/components/Counter/Button.tsx | import * as styles from './Counter.classNames';
interface ButtonProps {
action: () => void;
title: string;
}
export const Button = ({ action, title }: ButtonProps) => {
return (
<button className={styles.button} onClick={action}>
{title}
</button>
);
};
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Counter/Counter.tsx | starters/remix-gql-tailwind/app/components/Counter/Counter.tsx | import { useState } from 'react';
import { Button } from './Button';
import * as styles from './Counter.classNames'
export const Counter = () => {
const [count, setCount] = useState(0);
const incrementCount = () => {
setCount(count + 1);
};
const decrementCount = () => {
if (count !== 0) setCount(co... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Counter/index.ts | starters/remix-gql-tailwind/app/components/Counter/index.ts | export { Counter } from './Counter';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Greeting/Greeting.test.tsx | starters/remix-gql-tailwind/app/components/Greeting/Greeting.test.tsx | import { render, screen } from '@testing-library/react';
import { Greeting } from './Greeting';
describe('Greeting', () => {
it('should show a hello world greeting', async () => {
const data = "Hello World"
render(<Greeting message={data} />);
expect(await screen.findByText(data)).toBeVisible();
exp... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Greeting/Greeting.stories.tsx | starters/remix-gql-tailwind/app/components/Greeting/Greeting.stories.tsx | import type { ComponentMeta, Story } from '@storybook/react';
import { Greeting } from './Greeting';
export default {
title: 'Example/Greeting',
component: Greeting,
} as ComponentMeta<typeof Greeting>;
const Template: Story = (args) => {
return (
<Greeting message={args.hello} />
);
};
export const De... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Greeting/Greeting.classNames.ts | starters/remix-gql-tailwind/app/components/Greeting/Greeting.classNames.ts | export const h1Text = "flex flex-row justify-center mt-20 text-3xl"; | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Greeting/Greeting.tsx | starters/remix-gql-tailwind/app/components/Greeting/Greeting.tsx | import * as styles from './Greeting.classNames';
interface GreetingProps {
message: string;
}
export function Greeting({ message }: GreetingProps) {
return (
<h1
className={styles.h1Text}
>
{message}
</h1>
);
}
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/components/Greeting/index.ts | starters/remix-gql-tailwind/app/components/Greeting/index.ts | export { Greeting } from './Greeting';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/lib/graphql-client.ts | starters/remix-gql-tailwind/app/lib/graphql-client.ts | import { GraphQLClient } from 'graphql-request';
let gqlClient: GraphQLClient;
const endpoint = process.env.GITHUB_GRAPHQL_ENDPOINT ?? 'https://api.starter.dev/graphql';
gqlClient = new GraphQLClient(endpoint);
export default gqlClient; | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/app/lib/queries/greeting.ts | starters/remix-gql-tailwind/app/lib/queries/greeting.ts | import { gql } from 'graphql-request'
export const GREETING_QUERY = gql`
query Greeting($greeting: String!)
{
hello(greeting: $greeting)
}
`; | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/__mockRemix__/Link.tsx | starters/remix-gql-tailwind/__mockRemix__/Link.tsx | import React from 'react';
interface MockLinkProps extends React.ComponentPropsWithoutRef<'a'> {
to: string;
}
export const Link = ({ to, children, ...props }: MockLinkProps) => {
return (
<a href={to} {...props}>
{children}
</a>
);
};
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/remix-gql-tailwind/__mockRemix__/index.ts | starters/remix-gql-tailwind/__mockRemix__/index.ts | export * from './Link';
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/solidstart-tanstackquery-tailwind-modules/vite.config.ts | starters/solidstart-tanstackquery-tailwind-modules/vite.config.ts | /// <reference types="vitest" />
/// <reference types="vite/client" />
import solid from "solid-start/vite";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [solid()],
server: {
hmr: {
overlay: false
}
},
test: {
globals: true,
environment: 'jsdom',
transf... | typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
thisdot/starter.dev | https://github.com/thisdot/starter.dev/blob/593639aa39999fcb7e8f4cab65c6f768fd4a3a09/starters/solidstart-tanstackquery-tailwind-modules/src/entry-server.tsx | starters/solidstart-tanstackquery-tailwind-modules/src/entry-server.tsx | import {
StartServer,
createHandler,
renderAsync,
} from 'solid-start/entry-server';
export default createHandler(
renderAsync((event) => <StartServer event={event} />)
);
| typescript | MIT | 593639aa39999fcb7e8f4cab65c6f768fd4a3a09 | 2026-01-05T04:59:58.752174Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.