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/twentyhq/twenty/server/src/workspace/workspace-resolver-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-resolver-builder/interfaces/pg-graphql.interface.ts | import { Record as IRecord } from 'src/workspace/workspace-query-builder/interfaces/record.interface';
export interface PGGraphQLResponse<Data = any> {
resolve: {
data: Data;
};
}
export type PGGraphQLResult<Data = any> = [PGGraphQLResponse<Data>];
export interface PGGraphQLMutation<Record = IRecord> {
aff... | 3,300 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-resolver-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-resolver-builder/interfaces/workspace-resolver-builder-factory.interface.ts | import { WorkspaceSchemaBuilderContext } from 'src/workspace/workspace-schema-builder/interfaces/workspace-schema-builder-context.interface';
import { Resolver } from './workspace-resolvers-builder.interface';
export interface WorkspaceResolverBuilderFactoryInterface {
create(context: WorkspaceSchemaBuilderContext)... | 3,301 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-resolver-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-resolver-builder/interfaces/workspace-resolvers-builder.interface.ts | import { GraphQLFieldResolver } from 'graphql';
import {
Record,
RecordFilter,
RecordOrderBy,
} from 'src/workspace/workspace-query-builder/interfaces/record.interface';
import { workspaceResolverBuilderMethodNames } from 'src/workspace/workspace-resolver-builder/factories/factories';
export type Resolver<Args... | 3,302 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/type-definitions.generator.ts | import { Injectable, Logger } from '@nestjs/common';
import { FieldMetadataEntity } from 'src/metadata/field-metadata/field-metadata.entity';
import { customTableDefaultColumns } from 'src/workspace/workspace-migration-runner/utils/custom-table-default-column.util';
import { fullNameObjectDefinition } from 'src/worksp... | 3,303 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/workspace-graphql-schema.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLSchema } from 'graphql';
import { WorkspaceResolverBuilderMethods } from 'src/workspace/workspace-resolver-builder/interfaces/workspace-resolvers-builder.interface';
import { TypeDefinitionsGenerator } from './type-definitions.generator';
import {... | 3,304 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/workspace-schema-builder.module.ts | import { Module } from '@nestjs/common';
import { JwtAuthGuard } from 'src/guards/jwt.auth.guard';
import { ObjectMetadataModule } from 'src/metadata/object-metadata/object-metadata.module';
import { TypeDefinitionsGenerator } from './type-definitions.generator';
import { WorkspaceGraphQLSchemaFactory } from './works... | 3,305 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/args.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLFieldConfigArgumentMap } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ArgsMetadata } from 'src/workspace/workspace-schema-builder/... | 3,306 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/connection-type-definition.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLFieldConfigMap, GraphQLObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/wor... | 3,307 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/connection-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLOutputType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/workspace-schema-builder/i... | 3,308 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/edge-type-definition.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLFieldConfigMap, GraphQLObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/wor... | 3,309 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/edge-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLOutputType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/workspace-schema-builder/i... | 3,310 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/extend-object-type-definition.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import {
GraphQLFieldConfigArgumentMap,
GraphQLFieldConfigMap,
GraphQLObjectType,
} from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetad... | 3,311 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/factories.ts | import { ArgsFactory } from './args.factory';
import { InputTypeFactory } from './input-type.factory';
import { InputTypeDefinitionFactory } from './input-type-definition.factory';
import { ObjectTypeDefinitionFactory } from './object-type-definition.factory';
import { OutputTypeFactory } from './output-type.factory';
... | 3,312 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/filter-type-definition.factory.ts | import { Injectable } from '@nestjs/common';
import { GraphQLInputFieldConfigMap, GraphQLInputObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/w... | 3,313 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/filter-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLInputType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/int... | 3,314 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/input-type-definition.factory.ts | import { Injectable } from '@nestjs/common';
import { GraphQLInputFieldConfigMap, GraphQLInputObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/w... | 3,315 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/input-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLInputType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/int... | 3,316 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/mutation-type.factory.ts | import { Injectable } from '@nestjs/common';
import { GraphQLObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { WorkspaceResolverBuilderMutationMethodNames } from 'src/workspace/workspace-reso... | 3,317 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/object-type-definition.factory.ts | import { Injectable } from '@nestjs/common';
import { GraphQLFieldConfigMap, GraphQLObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/workspace-s... | 3,318 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/order-by-type-definition.factory.ts | import { Injectable } from '@nestjs/common';
import { GraphQLInputFieldConfigMap, GraphQLInputObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { ObjectMetadataInterface } from 'src/workspace/w... | 3,319 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/order-by-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLInputType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/int... | 3,320 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/orphaned-types.factory.ts | import { Injectable } from '@nestjs/common';
import { GraphQLNamedType } from 'graphql';
import { TypeDefinitionsStorage } from 'src/workspace/workspace-schema-builder/storages/type-definitions.storage';
@Injectable()
export class OrphanedTypesFactory {
constructor(
private readonly typeDefinitionsStorage: Typ... | 3,321 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/output-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLOutputType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/in... | 3,322 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/query-type.factory.ts | import { Injectable } from '@nestjs/common';
import { GraphQLObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { WorkspaceResolverBuilderQueryMethodNames } from 'src/workspace/workspace-resolve... | 3,323 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/relation-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLOutputType } from 'graphql';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/field-metadata.interface';
import { RelationMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/relation-m... | 3,324 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/factories/root-type.factory.ts | import { Injectable, Logger } from '@nestjs/common';
import { GraphQLFieldConfigMap, GraphQLObjectType } from 'graphql';
import { WorkspaceBuildSchemaOptions } from 'src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface';
import { WorkspaceResolverBuilderMethodNames } from 'src/w... | 3,325 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/enum/index.ts | export * from './order-by-direction.enum-type';
| 3,326 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/enum/order-by-direction.enum-type.ts | import { GraphQLEnumType } from 'graphql';
export const OrderByDirectionType = new GraphQLEnumType({
name: 'OrderByDirection',
description: 'This enum is used to specify the order of results',
values: {
AscNullsFirst: {
value: 'AscNullsFirst',
description: 'Ascending order, nulls first',
},
... | 3,327 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/big-float-filter.input-type.ts | import { GraphQLInputObjectType, GraphQLList, GraphQLNonNull } from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
import { BigFloatScalarType } from 'src/workspace/workspace-schema-builder/graphql-types/scalars';
export const Bi... | 3,328 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/big-int-filter.input-type.ts | import {
GraphQLInputObjectType,
GraphQLList,
GraphQLNonNull,
GraphQLInt,
} from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
export const BigIntFilterType = new GraphQLInputObjectType({
name: 'BigIntFilter',
fields... | 3,329 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/boolean-filter.input-type.ts | import { GraphQLBoolean, GraphQLInputObjectType } from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
export const BooleanFilterType = new GraphQLInputObjectType({
name: 'BooleanFilter',
fields: {
eq: { type: GraphQLBoole... | 3,330 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/date-filter.input-type.ts | import { GraphQLInputObjectType, GraphQLList, GraphQLNonNull } from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
import { DateScalarType } from 'src/workspace/workspace-schema-builder/graphql-types/scalars';
export const DateFi... | 3,331 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/date-time-filter.input-type.ts | import { GraphQLInputObjectType, GraphQLList, GraphQLNonNull } from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
import { DateTimeScalarType } from 'src/workspace/workspace-schema-builder/graphql-types/scalars';
export const Da... | 3,332 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type.ts | import { GraphQLEnumType } from 'graphql';
export const FilterIsNullable = new GraphQLEnumType({
name: 'FilterIsNullable',
description: 'This enum to filter by nullability',
values: {
NULL: {
value: 'NULL',
description: 'Nulish values',
},
NOT_NULL: {
value: 'NOT_NULL',
descri... | 3,333 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/float-filter.input-type.ts | import {
GraphQLInputObjectType,
GraphQLFloat,
GraphQLList,
GraphQLNonNull,
} from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
export const FloatFilterType = new GraphQLInputObjectType({
name: 'FloatFilter',
fields... | 3,334 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/index.ts | export * from './big-float-filter.input-type';
export * from './big-int-filter.input-type';
export * from './date-filter.input-type';
export * from './date-time-filter.input-type';
export * from './float-filter.input-type';
export * from './int-filter.input-type';
export * from './string-filter.input-type';
export * fr... | 3,335 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/int-filter.input-type.ts | import {
GraphQLInputObjectType,
GraphQLList,
GraphQLNonNull,
GraphQLInt,
} from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
export const IntFilterType = new GraphQLInputObjectType({
name: 'IntFilter',
fields: {
... | 3,336 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/string-filter.input-type.ts | import {
GraphQLInputObjectType,
GraphQLList,
GraphQLNonNull,
GraphQLString,
} from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
export const StringFilterType = new GraphQLInputObjectType({
name: 'StringFilter',
fie... | 3,337 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/time-filter.input-type.ts | import { GraphQLInputObjectType, GraphQLList, GraphQLNonNull } from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
import { TimeScalarType } from 'src/workspace/workspace-schema-builder/graphql-types/scalars';
export const TimeFi... | 3,338 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/input/uuid-filter.input-type.ts | import { GraphQLInputObjectType, GraphQLList } from 'graphql';
import { FilterIsNullable } from 'src/workspace/workspace-schema-builder/graphql-types/input/filter-is-nullable.input-type';
import { UUIDScalarType } from 'src/workspace/workspace-schema-builder/graphql-types/scalars';
export const UUIDFilterType = new G... | 3,339 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/object/index.ts | export * from './page-into.object-type';
| 3,340 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/object/page-into.object-type.ts | import { ConnectionCursorScalar } from '@ptc-org/nestjs-query-graphql';
import { GraphQLBoolean, GraphQLNonNull, GraphQLObjectType } from 'graphql';
/**
* GraphQL PageInfo type.
*/
export const PageInfoType = new GraphQLObjectType({
name: 'PageInfo',
fields: {
startCursor: { type: ConnectionCursorScalar },
... | 3,341 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/big-float.scalar.ts | import { GraphQLScalarType } from 'graphql';
import { Kind } from 'graphql/language';
export const BigFloatScalarType = new GraphQLScalarType({
name: 'BigFloat',
description:
'A custom scalar type for representing big floating point numbers',
serialize(value: string): number {
return parseFloat(value);
... | 3,342 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/big-int.scalar.ts | import { GraphQLScalarType } from 'graphql';
export const BigIntScalarType = new GraphQLScalarType({
name: 'BigInt',
description:
'The `BigInt` scalar type represents non-fractional signed whole numeric values.',
serialize(value: bigint): string {
return value.toString();
},
parseValue(value: string)... | 3,343 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/cursor.scalar.ts | import { GraphQLScalarType, Kind } from 'graphql';
export const CursorScalarType = new GraphQLScalarType({
name: 'Cursor',
description: 'A custom scalar that represents a cursor for pagination',
serialize(value) {
if (typeof value !== 'string') {
throw new Error('Cursor must be a string');
}
re... | 3,344 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/date-time.scalar.ts | import { GraphQLScalarType } from 'graphql';
import { Kind } from 'graphql/language';
export const DateTimeScalarType = new GraphQLScalarType({
name: 'DateTime',
description: 'A custom scalar that represents a datetime in ISO format',
serialize(value: string): string {
const date = new Date(value);
if (... | 3,345 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/date.scalar.ts | import { GraphQLScalarType } from 'graphql';
import { Kind } from 'graphql/language';
export const DateScalarType = new GraphQLScalarType({
name: 'Date',
description: 'Date custom scalar type',
serialize(value: Date): number {
return value.getTime();
},
parseValue(value: number): Date {
return new Da... | 3,346 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/index.ts | import { BigFloatScalarType } from './big-float.scalar';
import { BigIntScalarType } from './big-int.scalar';
import { CursorScalarType } from './cursor.scalar';
import { DateScalarType } from './date.scalar';
import { DateTimeScalarType } from './date-time.scalar';
import { TimeScalarType } from './time.scalar';
impor... | 3,347 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/time.scalar.ts | import { GraphQLScalarType } from 'graphql';
import { IntValueNode, Kind } from 'graphql/language';
export const TimeScalarType = new GraphQLScalarType({
name: 'Time',
description: 'Time custom scalar type',
serialize(value: Date): number {
return value.getTime();
},
parseValue(value: number): Date {
... | 3,348 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/graphql-types/scalars/uuid.scalar.ts | import { GraphQLScalarType, Kind } from 'graphql';
import { validate as uuidValidate } from 'uuid';
const checkUUID = (value: any): string => {
if (typeof value !== 'string') {
throw new Error('UUID must be a string');
}
if (!uuidValidate(value)) {
throw new Error('Invalid UUID');
}
return value;
};... | 3,349 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/interfaces/field-metadata.interface.ts | import { FieldMetadataTargetColumnMap } from 'src/metadata/field-metadata/interfaces/field-metadata-target-column-map.interface';
import { FieldMetadataDefaultValue } from 'src/metadata/field-metadata/interfaces/field-metadata-default-value.interface';
import { FieldMetadataType } from 'src/metadata/field-metadata/fie... | 3,350 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/interfaces/object-metadata.interface.ts | import { FieldMetadataInterface } from './field-metadata.interface';
import { RelationMetadataInterface } from './relation-metadata.interface';
export interface ObjectMetadataInterface {
id: string;
nameSingular: string;
namePlural: string;
labelSingular: string;
labelPlural: string;
description?: string;
... | 3,351 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/interfaces/param-metadata.interface.ts | import { InputTypeDefinitionKind } from 'src/workspace/workspace-schema-builder/factories/input-type-definition.factory';
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entity';
import { ObjectMetadataInterface } from './object-metadata.interface';
export interface ArgMetadata<T = any> ... | 3,352 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/interfaces/relation-metadata.interface.ts | import { RelationMetadataType } from 'src/metadata/relation-metadata/relation-metadata.entity';
import { ObjectMetadataInterface } from './object-metadata.interface';
import { FieldMetadataInterface } from './field-metadata.interface';
export interface RelationMetadataInterface {
id: string;
relationType: Relati... | 3,353 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/interfaces/workspace-build-schema-optionts.interface.ts | export type DateScalarMode = 'isoDate' | 'timestamp';
export type NumberScalarMode = 'float' | 'integer';
export interface WorkspaceBuildSchemaOptions {
/**
* Date scalar mode
* @default 'isoDate'
*/
dateScalarMode?: DateScalarMode;
/**
* Number scalar mode
* @default 'float'
*/
numberScalar... | 3,354 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/interfaces/workspace-schema-builder-context.interface.ts | import { FieldMetadataInterface } from './field-metadata.interface';
export interface WorkspaceSchemaBuilderContext {
workspaceId: string;
targetTableName: string;
fieldMetadataCollection: FieldMetadataInterface[];
}
| 3,355 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/object-definitions/currency.object-definition.ts | import { ObjectMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/object-metadata.interface';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/field-metadata.interface';
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entit... | 3,356 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/object-definitions/full-name.object-definition.ts | import { ObjectMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/object-metadata.interface';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/field-metadata.interface';
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entit... | 3,357 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/object-definitions/link.object-definition.ts | import { ObjectMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/object-metadata.interface';
import { FieldMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/field-metadata.interface';
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entit... | 3,358 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/services/type-mapper.service.ts | import { Injectable } from '@nestjs/common';
import { GraphQLISODateTime, GraphQLTimestamp } from '@nestjs/graphql';
import {
GraphQLBoolean,
GraphQLEnumType,
GraphQLFloat,
GraphQLID,
GraphQLInputObjectType,
GraphQLInputType,
GraphQLInt,
GraphQLList,
GraphQLNonNull,
GraphQLScalarType,
GraphQLStri... | 3,359 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/storages/type-definitions.storage.ts | import { Injectable, Scope } from '@nestjs/common';
import { GraphQLInputObjectType, GraphQLObjectType } from 'graphql';
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entity';
import {
InputTypeDefinition,
InputTypeDefinitionKind,
} from 'src/workspace/workspace-schema-builder/fact... | 3,360 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils/clean-entity-name.util.ts | import { camelCase } from 'src/utils/camel-case';
export const cleanEntityName = (entityName: string) => {
// Remove all leading numbers
let camelCasedEntityName = entityName.replace(/^[0-9]+/, '');
// Trim the string
camelCasedEntityName = camelCasedEntityName.trim();
// Camel case the string
camelCased... | 3,361 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils/get-field-metadata-type.util.ts | import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entity';
const typeOrmTypeMapping = new Map<string, FieldMetadataType>([
['uuid', FieldMetadataType.UUID],
['timestamp', FieldMetadataType.DATE_TIME],
// Add more types here if we need to support more than id, and createdAt/updatedAt/d... | 3,362 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils/get-resolver-args.util.ts | import { WorkspaceResolverBuilderMethodNames } from 'src/workspace/workspace-resolver-builder/interfaces/workspace-resolvers-builder.interface';
import { ArgMetadata } from 'src/workspace/workspace-schema-builder/interfaces/param-metadata.interface';
import { FieldMetadataType } from 'src/metadata/field-metadata/field... | 3,363 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils/object-contains-composite-field.ts | import { ObjectMetadataInterface } from 'src/workspace/workspace-schema-builder/interfaces/object-metadata.interface';
import { isCompositeFieldMetadataType } from 'src/workspace/utils/is-composite-field-metadata-type.util';
export const objectContainsCompositeField = (
objectMetadata: ObjectMetadataInterface,
): b... | 3,364 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils/__tests__/clean-entity-name.spec.ts | import { cleanEntityName } from 'src/workspace/workspace-schema-builder/utils/clean-entity-name.util';
describe('cleanEntityName', () => {
test('should camelCase strings', () => {
expect(cleanEntityName('hello world')).toBe('helloWorld');
expect(cleanEntityName('my name is John')).toBe('myNameIsJohn');
});... | 3,365 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils/__tests__/get-field-metadata-type.spec.ts | import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entity';
import { getFieldMetadataType } from 'src/workspace/workspace-schema-builder/utils/get-field-metadata-type.util';
describe('getFieldMetadataType', () => {
it.each([
['uuid', FieldMetadataType.UUID],
['timestamp', FieldMeta... | 3,366 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-builder/utils/__tests__/get-resolver-args.spec.ts | import { WorkspaceResolverBuilderMethodNames } from 'src/workspace/workspace-resolver-builder/interfaces/workspace-resolvers-builder.interface';
import { FieldMetadataType } from 'src/metadata/field-metadata/field-metadata.entity';
import { InputTypeDefinitionKind } from 'src/workspace/workspace-schema-builder/factori... | 3,367 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-storage/workspace-schema-storage.module.ts | import { Module } from '@nestjs/common';
import { MemoryStorageType } from 'src/integrations/environment/interfaces/memory-storage.interface';
import { MemoryStorageModule } from 'src/integrations/memory-storage/memory-storage.module';
import { MemoryStorageJsonSerializer } from 'src/integrations/memory-storage/seria... | 3,368 |
0 | petrpan-code/twentyhq/twenty/server/src/workspace | petrpan-code/twentyhq/twenty/server/src/workspace/workspace-schema-storage/workspace-schema-storage.service.ts | import { Injectable } from '@nestjs/common';
import { InjectMemoryStorage } from 'src/integrations/memory-storage/decorators/inject-memory-storage.decorator';
import { MemoryStorageService } from 'src/integrations/memory-storage/memory-storage.service';
import { ObjectMetadataEntity } from 'src/metadata/object-metadat... | 3,369 |
0 | petrpan-code/twentyhq/twenty/server | petrpan-code/twentyhq/twenty/server/test/app.e2e-spec.ts | import { INestApplication } from '@nestjs/common';
import request from 'supertest';
import { createApp } from './utils/create-app';
describe('AppController (e2e)', () => {
let app: INestApplication;
beforeEach(async () => {
[app] = await createApp();
});
afterEach(async () => {
await app.close();
... | 3,370 |
0 | petrpan-code/twentyhq/twenty/server | petrpan-code/twentyhq/twenty/server/test/company.e2e-spec.ts | import { INestApplication } from '@nestjs/common';
import request from 'supertest';
import { JwtAuthGuard } from 'src/guards/jwt.auth.guard';
import { createApp } from './utils/create-app';
describe('CompanyResolver (e2e)', () => {
let app: INestApplication;
let companyId: string | undefined;
const authGuard... | 3,371 |
0 | petrpan-code/twentyhq/twenty/server | petrpan-code/twentyhq/twenty/server/test/jest-e2e.json | {
"moduleFileExtensions": ["js", "json", "ts"],
"rootDir": ".",
"testEnvironment": "node",
"testRegex": ".e2e-spec.ts$",
"setupFilesAfterEnv": ["<rootDir>/utils/setup-tests.ts"],
"moduleNameMapper": {
"^src/(.*)": "<rootDir>/../src/$1",
"^test/(.*)": "<rootDir>/$1"
},
"transform": {
"^.+\\.(... | 3,372 |
0 | petrpan-code/twentyhq/twenty/server/test | petrpan-code/twentyhq/twenty/server/test/mock-data/user.json | {
"id": "20202020-a838-4fa9-b59b-96409b9a1c30",
"firstName": "Tim",
"lastName": "Apple",
"email": "tim@apple.dev",
"locale": "en",
"passwordHash": "$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6",
"avatarUrl": null
}
| 3,373 |
0 | petrpan-code/twentyhq/twenty/server/test | petrpan-code/twentyhq/twenty/server/test/mock-data/workspace.json | {
"id": "20202020-1c25-4d02-bf25-6aeccf7ea419",
"displayName": "Apple",
"domainName": "apple.dev",
"inviteHash": "apple.dev-invite-hash",
"logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAELpJREFUeF7tnXnwr3MVx1+WS5Hthoss1R0lNSTUKGQdt6EscVVCKVPKUqmUKcu0WJI2ppJUt0kNw... | 3,374 |
0 | petrpan-code/twentyhq/twenty/server/test | petrpan-code/twentyhq/twenty/server/test/utils/create-app.ts | import { NestExpressApplication } from '@nestjs/platform-express';
import { Test, TestingModule, TestingModuleBuilder } from '@nestjs/testing';
import mockUser from 'test/mock-data/user.json';
import mockWorkspace from 'test/mock-data/workspace.json';
import { RequestHandler } from 'express';
import { AppModule } fro... | 3,375 |
0 | petrpan-code/twentyhq/twenty/server/test | petrpan-code/twentyhq/twenty/server/test/utils/reset-db.ts | import { PrismaClient, Prisma } from '@prisma/client';
import { camelCase } from 'src/utils/camel-case';
const prisma = new PrismaClient();
export default async () => {
const models = Prisma.dmmf.datamodel.models;
const modelNames = models.map((model) => model.name);
const entities = modelNames.map((modelName)... | 3,376 |
0 | petrpan-code/twentyhq/twenty/server/test | petrpan-code/twentyhq/twenty/server/test/utils/setup-tests.ts | import resetDb from './reset-db';
global.beforeEach(() => {
// resetDb();
});
| 3,377 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/.editorconfig | root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,jsx,ts,tsx,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
| 3,378 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/.eslintrc.js | /* eslint-env node */
/** @type {import('eslint').Linter.Config */
const config = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
ignorePatterns: ['**/*.css.d.ts', 'dist', 'build'],
plugins: ['@typescript-eslint', 'jest'],
extends: [
'plugin:jes... | 3,379 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/.nvmrc | 18
| 3,380 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/.prettierrc | {
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
| 3,381 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/CHANGELOG.md | # Changelog
Full release notes at https://github.com/gpbl/react-day-picker/releases
| 3,382 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/CONTRIBUTING.md | # Contributing to DayPicker
You are welcome to join the [DayPicker
contributors](https://github.com/gpbl/react-day-picker/graphs/contributors),
help us building the best date picker for React.
There are many ways to help the development of DayPicker:
- Improve our build tools and Github actions
- Opening PRs with ne... | 3,383 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/LICENSE | The MIT License (MIT)
Copyright (c) 2014-2021 Giampaolo Bellavite <io@gpbl.dev> and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation ... | 3,384 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/README.md | # React DayPicker
[DayPicker](http://react-day-picker.js.org) is a date picker component for [React](https://reactjs.org). Renders a monthly calendar to select days. DayPicker is customizable, works great with input fields and can be styled to match any design.
➡️ **[react-day-picker.js.org](http://react-day-picker.j... | 3,385 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/SECURITY.md | # Security Policy
## Supported Versions
We support security updates for the following versions:
| Version | Supported |
| ------- | ------------------ |
| 8.9 | :white_check_mark: |
| < 8.9 | :x: |
## Reporting a Vulnerability
To report a vulnerability please write a message to `io@gp... | 3,386 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/jest.config.ts | import type { Config } from '@jest/types';
const config: Config.InitialOptions = {
preset: 'ts-jest',
roots: ['./src'],
moduleNameMapper: {
'^test/(.*)': ['<rootDir>/test/$1'],
'^components(.*)': ['<rootDir>/src/components$1'],
'^contexts(.*)': ['<rootDir>/src/contexts$1'],
'^hooks(.*)': ['<rootD... | 3,387 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/package.json | {
"name": "react-day-picker",
"version": "8.9.1",
"description": "Customizable Date Picker for React",
"author": "Giampaolo Bellavite <io@gpbl.dev>",
"homepage": "http://react-day-picker.js.org",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gpbl/react-day-picker"
}... | 3,388 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/pnpm-lock.yaml | lockfileVersion: '6.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
'@jest/types':
specifier: ^29.6.3
version: 29.6.3
'@rollup/plugin-commonjs':
specifier: ^25.0.0
version: 25.0.5(rollup@3.29.3)
'@rollup/pl... | 3,389 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/pnpm-workspace.yaml | packages:
- "website"
| 3,390 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/react-day-picker.code-workspace | {
"extensions": {
"recommendations": [
"dbaeumer.vscode-eslint",
"orta.vscode-jest",
"andys8.jest-snippets",
"esbenp.prettier-vscode",
"mike-co.import-sorter",
"streetsidesoftware.code-spell-checker",
"stkb.rewrap"
]
},
"folders": [
{
"name": "react-day-... | 3,391 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/rollup.config.mjs | // @ts-check
/* eslint-env node */
import commonjs from '@rollup/plugin-commonjs';
import postcss from 'rollup-plugin-postcss';
import { nodeResolve } from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
import terser from '@rollup/plugin-terser';
import dts from 'rollup-plugin-dts';... | 3,392 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/tsconfig.build.json | {
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
},
"exclude": ["**/*.test.*"],
"include": ["./src/**/*"]
}
| 3,393 |
0 | petrpan-code/gpbl | petrpan-code/gpbl/react-day-picker/tsconfig.json | {
"compilerOptions": {
"target": "es5",
"jsx": "react-jsx",
"module": "es6",
"moduleResolution": "node",
"rootDir": "./",
"baseUrl": "./src",
"noEmit": true,
"paths": {
"test/*": ["../test/*"]
},
"declaration": true,
"sourceMap": true,
"outDir": "./dist",
"imp... | 3,394 |
0 | petrpan-code/gpbl/react-day-picker | petrpan-code/gpbl/react-day-picker/src/.eslintignore | style.css.d.ts
| 3,395 |
0 | petrpan-code/gpbl/react-day-picker | petrpan-code/gpbl/react-day-picker/src/DayPicker.tsx | import { DayPickerDefaultProps } from 'types/DayPickerDefault';
import { DayPickerMultipleProps } from 'types/DayPickerMultiple';
import { DayPickerRangeProps } from 'types/DayPickerRange';
import { DayPickerSingleProps } from 'types/DayPickerSingle';
import { Root } from './components/Root';
import { RootProvider } f... | 3,396 |
0 | petrpan-code/gpbl/react-day-picker | petrpan-code/gpbl/react-day-picker/src/index.ts | export * from './DayPicker';
import './style.css';
export * from 'components/Button';
export * from 'components/Caption';
export * from 'components/CaptionDropdowns';
export * from 'components/CaptionLabel';
export * from 'components/CaptionNavigation';
export * from 'components/Day';
export * from 'components/DayCont... | 3,397 |
0 | petrpan-code/gpbl/react-day-picker | petrpan-code/gpbl/react-day-picker/src/style.css | .rdp {
--rdp-cell-size: 40px; /* Size of the day cells. */
--rdp-caption-font-size: 18px; /* Font size for the caption labels. */
--rdp-accent-color: #0000ff; /* Accent color for the background of selected days. */
--rdp-background-color: #e7edff; /* Background color for the hovered/focused elements. */
--rdp... | 3,398 |
0 | petrpan-code/gpbl/react-day-picker | petrpan-code/gpbl/react-day-picker/src/style.css.d.ts | declare const styles: {
'rdp': string
'rdp-vhidden': string
'rdp-button_reset': string
'rdp-button': string
'rdp-day_selected': string
'rdp-months': string
'rdp-month': string
'rdp-table': string
'rdp-with_weeknumber': string
'rdp-caption': string
'rdp-multiple_months': string
'rdp-caption_dropd... | 3,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.