repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
aliyun/alibabacloud-mpserverless-sdk | packages/mpserverless-node-user-service/dist/umd/index.d.ts | import { BaseService } from '@alicloud/mpserverless-core';
export interface GetInfoOptions {
authProvider?: string;
}
export declare class FunctionUserService extends BaseService {
protected appSecret: string;
getInfo(options?: GetInfoOptions): Promise<any>;
}
|
aliyun/alibabacloud-mpserverless-sdk | packages/mp-db-service/dist/esm/mongo/validator/rules.d.ts | declare function ruleOfField(_: any, value: any, raw?: any): string;
declare function ruleOfFields(_: any, value: any): string;
declare function ruleOfSort(_: any, value: any): string;
declare function ruleOfProjection(_: any, value: any): string;
declare function ruleOfNobject(_: any, value: any): string;
declare cons... |
aliyun/alibabacloud-mpserverless-sdk | packages/mpserverless-sdk-new/dist/esm/function/validator/schema.d.ts | export declare const invokeSchema: {
functionTarget: {
type: string;
allowEmpty: boolean;
};
};
|
aliyun/alibabacloud-mpserverless-sdk | packages/mp-user-service/dist/umd/index.d.ts | <filename>packages/mp-user-service/dist/umd/index.d.ts
import { BaseService, HTTPTransport, HTTPRequestEncoder } from '@alicloud/mpserverless-core';
export interface GetInfoOptions {
authProvider?: string;
}
export interface AuthorizeOptions {
authProvider?: OAuthProvider;
authType?: AuthType;
}
export decl... |
aliyun/alibabacloud-mpserverless-sdk | packages/mpserverless-core/dist/esm/index.d.ts | <filename>packages/mpserverless-core/dist/esm/index.d.ts
import 'regenerator-runtime/runtime';
export * from './error';
export * from './global';
export * from './utility';
export * from './constant';
export * from './validator';
export * from './codec';
export * from './transport';
export * from './service';
export * ... |
aliyun/alibabacloud-mpserverless-sdk | packages/core/src/utility/index.ts | export * from './logger';
export * from './validator';
import { BasementClientError } from '../error';
import { ErrorName, ErrorType, ErrorCode } from '../constant';
import { GenericObject } from '../global';
/**
* mock assert
* @param {boolean} expr expression
* @param {string} message error message
*/
export f... |
aliyun/alibabacloud-mpserverless-sdk | packages/mpserverless-miniapp-core/dist/esm/mpserverless.d.ts | import { MPServerlessCore, MPServerlessOptions as BaseOptions } from '@alicloud/mpserverless-core';
import { ProxyService } from '@alicloud/mp-proxy-service';
import { DbService } from '@alicloud/mp-db-service';
import { UserService } from '@alicloud/mp-user-service';
import { FunctionService } from '@alicloud/mp-funct... |
aliyun/alibabacloud-mpserverless-sdk | packages/mp-db-service/dist/umd/mongo/validator/index.d.ts | <reponame>aliyun/alibabacloud-mpserverless-sdk
import { GenericObject, Validator } from '@alicloud/mpserverless-core';
export declare class MongoValidator extends Validator {
constructor(options?: GenericObject<any>);
}
|
aliyun/alibabacloud-mpserverless-sdk | packages/services/src/auth.ts | <gh_stars>1-10
import {
// classes
BaseService,
} from '@alicloud/mpserverless-core';
export interface GetInfoOptions {
authProvider?: string;
}
export class AuthService extends BaseService {
/**
* return user info
* @returns Promise<any>
*/
public async getInfo(options?: GetInfoOptions): Promise<a... |
aliyun/alibabacloud-mpserverless-sdk | packages/mp-function-service/dist/umd/validator/index.d.ts | import { Validator as FunctionValidator } from '@alicloud/mpserverless-core';
export { FunctionValidator };
export * from './schema';
|
aliyun/alibabacloud-mpserverless-sdk | packages/mongo/src/model/query.ts | import 'reflect-metadata';
import { GenericObject, EncodedObject, assert, PERMISSION, BasementClientError, ErrorName, ErrorType, ErrorCode, Validator } from '@alicloud/mpserverless-core';
import { JSONEncoder, JSONDecoder } from '../codec';
import { Collection, CollectionJSONObject } from './collection';
import { BaseC... |
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/abc.ts | export const abc = 9
|
fjc0k/vscode-generate-index-file | scripts/make-vscode-package.ts | <reponame>fjc0k/vscode-generate-index-file<filename>scripts/make-vscode-package.ts<gh_stars>1-10
import fs from 'fs-extra'
import path from 'path'
import pkg from '../package.json'
import { pick } from 'vtils'
async function main() {
const pkgDir = path.join(__dirname, '../packages/vscode')
await fs.ensureDir(pkgD... |
fjc0k/vscode-generate-index-file | src/generateIndex.ts | <gh_stars>1-10
import chokidar from 'chokidar'
import globby from 'globby'
import onExit from 'exit-hook'
import { IndexGenerator } from './IndexGenerator'
import { Merge, throttle } from 'vtils'
import { pathExists, readFile, writeFile } from 'fs-extra'
export interface GenerateIndexPayload {
filePath: string
rep... |
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/1.ts | <gh_stars>1-10
export const one = 1
|
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/001.ts | export const zero01 = 0
|
fjc0k/vscode-generate-index-file | src/extension.ts | <filename>src/extension.ts
import * as vscode from 'vscode'
import { VSCodeIndexGenerator } from './VSCodeIndexGenerator'
export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(
vscode.commands.registerCommand('extension.generateIndex', async () => {
const { activeTextEdito... |
fjc0k/vscode-generate-index-file | src/cli.ts | #!/usr/bin/env node
import yargs from 'yargs'
import { generateManyIndex } from './generateIndex'
import { IndexGenerator } from './IndexGenerator'
const argv = yargs
.usage('Usage: $0 <pattern> [<pattern> ...] [options]')
.help('help', 'Show help')
.alias('help', 'h')
.option('cwd', {
type: 'string',
... |
fjc0k/vscode-generate-index-file | src/IndexGenerator.ts | <reponame>fjc0k/vscode-generate-index-file<filename>src/IndexGenerator.ts<gh_stars>1-10
import * as changeCase from 'change-case'
import globby, { GlobbyOptions } from 'globby'
import { castArray, isRegExp, noop } from 'vtils'
import {
CodeGenerator,
CodeGeneratorRe,
Marker,
ParsedPath,
Pattern,
} from './typ... |
fjc0k/vscode-generate-index-file | src/types.ts | import * as changeCase from 'change-case'
import { GlobbyOptions } from 'globby'
export interface ParsedPath {
/** The relative file path without extension, such as `./api` */
path: string
/** The file name without extension, such as `api` */
name: string
/** The file extension, such as `.js`*/
ext: string... |
fjc0k/vscode-generate-index-file | src/generateIndex.test.ts | import tmp from 'tempy'
import { basename, join } from 'path'
import { dedent } from 'vtils'
import { generateIndex, generateManyIndex } from './generateIndex'
import { readFileSync, removeSync, writeFileSync } from 'fs-extra'
let dir: string
beforeEach(() => {
dir = tmp.directory()
writeFileSync(
join(dir, '... |
fjc0k/vscode-generate-index-file | scripts/bundle.ts | <reponame>fjc0k/vscode-generate-index-file<filename>scripts/bundle.ts
import { command as exec } from 'execa'
async function main() {
await Promise.all(
['cli', 'extension', 'generateIndex'].map(async entry => {
await exec(
`microbundle -i src/${entry}.ts -o dist/${entry}.js --no-pkg-main -f cjs --... |
fjc0k/vscode-generate-index-file | src/IndexGenerator.test.ts | <filename>src/IndexGenerator.test.ts
import { IndexGenerator } from './IndexGenerator'
import { join } from 'path'
import { readFileSync } from 'fs'
const indexFilePaths = [
join(__dirname, './__fixtures__/cross/index.txt'),
join(__dirname, './__fixtures__/scss/index.scss'),
join(__dirname, './__fixtures__/sort/... |
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/11.ts | export const q11 = 1
|
fjc0k/vscode-generate-index-file | src/VSCodeIndexGenerator.ts | import * as vscode from 'vscode'
import { IndexGenerator } from './IndexGenerator'
export class VSCodeIndexGenerator {
constructor(private document: vscode.TextDocument) {}
async generateIndex() {
const edit = new vscode.WorkspaceEdit()
const generator = new IndexGenerator({
filePath: this.document.... |
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/884.ts | export const i884 = 1
|
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/2.ts | export const two = 2
|
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/bbb.ts | export const bbb = 6
|
fjc0k/vscode-generate-index-file | src/__fixtures__/all_ts_tsx/index.ts | <reponame>fjc0k/vscode-generate-index-file
// @index(['./*.{ts,tsx}', './*/index.{ts,tsx}'], f => `export * from '${f.path.replace(/\/index$/, '')}'`)
// @endindex
|
fjc0k/vscode-generate-index-file | src/__fixtures__/sort/c.ts | <gh_stars>1-10
export const c = 9
|
fjc0k/vscode-generate-index-file | scripts/make-npm-package.ts | <reponame>fjc0k/vscode-generate-index-file
import fs from 'fs-extra'
import globby from 'globby'
import path from 'path'
import pkg from '../package.json'
import { pick } from 'vtils'
async function main() {
const pkgDir = path.join(__dirname, '../packages/npm')
await fs.ensureDir(pkgDir)
await fs.emptyDir(pkgDi... |
fjc0k/vscode-generate-index-file | src/__fixtures__/types/index.ts | export type IconName =
// @index(['./icons/*.svg'], (f, _, e) => `'${f.name}'${e.isLast ? '' : ' |'}`)
// @endindex
|
rafaelcascalho/db-create | index.ts | import databases from './config.json'
|
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/pages/home/home.module.ts | import { CustomTagComponent } from './../../shared/tag-list/tag/custom-tag.component';
import { CustomTagListComponent } from './../../shared/tag-list/custom-tag-list.component';
import { SharedModule } from './../../shared/shared.module';
import { ReactiveFormsModule } from '@angular/forms';
import { FormsModule } fro... |
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/shared/tag-list/custom-tag-list.component.ts | import { Component, EventEmitter, OnInit, Output, ElementRef, ContentChild, AfterContentInit } from '@angular/core';
@Component({
selector: 'ngx-custom-tag-list',
templateUrl: './custom-tag-list.component.html',
styleUrls: ['./custom-tag-list.component.scss'],
})
export class CustomTagListComponent implements On... |
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/@core/utils/utility.service.ts | <gh_stars>0
import { Observable } from 'rxjs';
import { Injectable, OnDestroy } from '@angular/core';
@Injectable()
export class UtilityService implements OnDestroy {
getTodayTime() {
let meridiem = 'AM';
const observable = new Observable(subscriber => {
setInterval(() => {
let... |
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/pages/topics/topics.module.ts | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TopicsRoutingModule } from './topics-routing.module';
@NgModule({
declarations: [],
imports: [
CommonModule,
TopicsRoutingModule,
],
})
export class TopicsModule { }
|
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/@core/Models/task-details.model.ts | <reponame>Sonali-Sharma-tech/Job-Interview-Preparation
export class TaskDetailsModel {
constructor(
public taskName: string,
public tagNames: Array<string> = [],
public comments: string,
public rating: Number,
) {}
}
|
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/shared/tag-list/tag/custom-tag.component.ts | import { Component, Input, OnInit, Output, EventEmitter } from '@angular/core';
@Component({
selector: 'ngx-custom-tag',
templateUrl: './custom-tag.component.html',
styleUrls: ['./custom-tag.component.scss'],
})
export class CustomTagComponent implements OnInit {
@Input() text;
@Output() tagRemove: EventEmit... |
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/pages/records/records.module.ts | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RecordsRoutingModule } from './records-routing.module';
@NgModule({
declarations: [],
imports: [
CommonModule,
RecordsRoutingModule,
],
})
export class RecordsModule { }
|
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/pages/home/home.component.ts | import { Subject } from 'rxjs';
import { TaskDetailsModel } from './../../@core/Models/task-details.model';
import { UtilityService } from './../../@core/utils/utility.service';
import { Component, ElementRef, OnInit, TemplateRef, ViewChild } from '@angular/core';
import { NbDialogService, NbTagComponent, NbTagInputAdd... |
Sonali-Sharma-tech/Job-Interview-Preparation | src/app/shared/shared.module.ts | import { CustomTagComponent } from './tag-list/tag/custom-tag.component';
import { NgModule } from '@angular/core';
import { NbIconModule, NbCardModule } from '@nebular/theme';
import { CustomTagListComponent } from './tag-list/custom-tag-list.component';
@NgModule({
imports: [
NbIconModule,
NbCard... |
favid-inc/app-customer | src/containers/payment/context/paymentMethod.tsx | import { PayOrder } from '@favid-inc/api/lib/app-customer';
import React from 'react';
export type PaymentMethod = PayOrder['Request']['data']['paymentMethod'];
interface Props {
children: React.ReactNode;
}
interface State extends PaymentMethod {
setCardCvv: (card_cvv: PaymentMethod['card_cvv']) => void;
setC... |
favid-inc/app-customer | src/containers/artistDetails/profileSocials.component.tsx | import { SocialArtist } from '@favid-inc/api/lib/app-customer';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Text } from '@kitten/ui';
import { textStyle } from '@src/components/common';
import React from 'react';
import { StyleProp, TextStyle, TouchableOpacity, View, ViewProps,... |
favid-inc/app-customer | src/core/auth/authContext.tsx | <filename>src/core/auth/authContext.tsx
import * as AppAuth from 'expo-app-auth';
import * as Facebook from 'expo-facebook';
import * as firebase from 'firebase';
import React from 'react';
import { Alert } from 'react-native';
import * as config from '@src/core/config';
interface AuthContext {
isSigningIn: boolean... |
favid-inc/app-customer | src/components/common/showcaseItem.component.tsx | import {
ThemedComponentProps,
ThemeType,
withStyles,
} from '@kitten/theme';
import { Text } from '@kitten/ui';
import { textStyle } from '@src/components/common';
import React from 'react';
import {
View,
ViewProps,
} from 'react-native';
interface ComponentProps {
title: string;
children: ChildrenProp... |
favid-inc/app-customer | src/containers/payment/context/customer.tsx | import { PayOrder } from '@favid-inc/api/lib/app-customer';
import React from 'react';
import { AuthContext } from '@src/core/auth';
export type Customer = PayOrder['Request']['data']['customer'];
interface Props {
children: React.ReactNode;
}
interface State extends Customer {
setBirthday: (birthday: Customer[... |
favid-inc/app-customer | src/components/common/reactionBar.component.tsx | <gh_stars>0
import {
ThemedComponentProps,
ThemeType,
withStyles,
} from '@kitten/theme';
import React from 'react';
import {
View,
ViewProps,
} from 'react-native';
type ChildElement = React.ReactElement<any>;
interface ComponentProps {
children: ChildElement | ChildElement[];
}
export type ReactionBarP... |
favid-inc/app-customer | src/core/utils/apiClient.ts | import * as config from '@src/core/config';
import axios from 'axios';
export const apiClient = axios.create({
baseURL: config.api.baseURL,
headers: {
Accept: 'application/json',
},
});
|
favid-inc/app-customer | src/components/videoPlayer/Fade.tsx | import React from 'react';
import { Animated, ViewStyle } from 'react-native';
interface Props {
visible: boolean;
style?: ViewStyle;
}
interface State {
visible: boolean;
}
export class Fade extends React.Component<Props, State> {
private visibility: Animated.Value;
constructor(props) {
super(props);... |
favid-inc/app-customer | src/containers/orders/orders/OrdersContainer.tsx | <reponame>favid-inc/app-customer
import { Order, OrderPaymentStatus } from '@favid-inc/api';
import React, { Component } from 'react';
import { Alert, Linking, RefreshControl, ScrollView } from 'react-native';
import { NavigationEventSubscription, NavigationScreenProps } from 'react-navigation';
import { listOrders } ... |
favid-inc/app-customer | src/containers/artists/ArtistsContainer.tsx | import { Artist } from '@favid-inc/api';
import React, { Component } from 'react';
import { RefreshControl, ScrollView } from 'react-native';
import { NavigationScreenProps } from 'react-navigation';
import { ArtistList } from './ArtistsList';
import { listArtistsGroupingByMainCategory } from './listArtistsGroupingByM... |
favid-inc/app-customer | src/containers/payment/context/context.tsx | import { PayOrder } from '@favid-inc/api/lib/app-customer';
import React from 'react';
import { NavigationScreenProps } from 'react-navigation';
import { NavigationContainer } from 'react-navigation';
import { AddressContextProvider } from './address';
import { CustomerContextProvider } from './customer';
import { Ord... |
favid-inc/app-customer | src/containers/artistDetails/unfollowArtist.ts | import { UnfollowArtist as Action } from '@favid-inc/api/lib/app-customer';
import { apiClient } from '@src/core/utils/apiClient';
export async function unfollowArtist(data: Action['Request']['data']): Promise<Action['Response']> {
const request: Action['Request'] = {
url: '/UnfollowArtist',
method: 'POST',... |
favid-inc/app-customer | src/containers/policies/Markdown.tsx | <reponame>favid-inc/app-customer
import { Text } from '@kitten/ui';
import React from 'react';
import { View, ViewProps } from 'react-native';
interface ComponentProps {
children: string[];
}
type Props = ViewProps & ComponentProps;
export function Markdown({ children, ...props }: Props) {
const content = React.... |
favid-inc/app-customer | src/containers/artistDetails/ArtistDetails.tsx | import { ArtistRate } from '@favid-inc/api';
import { SocialArtist as Artist } from '@favid-inc/api/lib/app-customer';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button, Text } from '@kitten/ui';
import React from 'react';
import { ActivityIndicator, Dimensions, View } from 'r... |
favid-inc/app-customer | src/containers/artistDetails/ArtistDetailsContainer.tsx | <gh_stars>0
import { ArtistRate } from '@favid-inc/api';
import { Order } from '@favid-inc/api';
import { SocialArtist as Artist } from '@favid-inc/api/lib/app-customer';
import React from 'react';
import { Alert, RefreshControl } from 'react-native';
import { NavigationEventSubscription, NavigationScreenProps } from '... |
favid-inc/app-customer | src/containers/settings/Settings.tsx | <reponame>favid-inc/app-customer<gh_stars>0
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button } from '@kitten/ui';
import React from 'react';
import { Linking, View } from 'react-native';
import { FileTextIconFill, LogOutIconFill, MenuIconMessaging } from '@src/assets/icons';... |
favid-inc/app-customer | src/App.tsx | <reponame>favid-inc/app-customer<gh_stars>0
import * as firebase from 'firebase';
import * as config from './core/config';
firebase.initializeApp(config.firebase);
import React from 'react';
import { ImageRequireSource } from 'react-native';
import { mapping } from '@eva-design/eva';
import { ApplicationProvider } fr... |
favid-inc/app-customer | src/containers/artistDetails/booking/index.ts | export { BookingContainer } from './BookingContainer';
|
favid-inc/app-customer | src/containers/orders/orders/orderCard/index.ts | <filename>src/containers/orders/orders/orderCard/index.ts
export { OrderCard } from './OrderCard';
|
favid-inc/app-customer | src/containers/payment/personal/CustomerForm.tsx | import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import React from 'react';
import { textStyle, ValidationInput } from '@src/components/common';
import { CpfNumberFormatter, PhoneNumberFormatter } from '@src/core/formatters';
import { CpfNumberValidator, EmailValidator, NameValidator, Phon... |
favid-inc/app-customer | src/containers/artistDetails/artistReview/index.ts | export * from './ArtistReview';
|
favid-inc/app-customer | src/containers/payment/personal/PersonalInfo.tsx | import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import React from 'react';
import { Platform } from 'react-native';
import { ContainerView, ScrollableAvoidKeyboard } from '@src/components/common';
import { AddressForm } from './AddressForm';
import { CustomerForm } from './CustomerForm';
... |
favid-inc/app-customer | src/containers/settings/index.ts | export { SettingsNavigator } from './navigator';
|
favid-inc/app-customer | src/containers/payment/paymentMethod/PaymentMethodContainer.tsx | import { Order } from '@favid-inc/api';
import React, { Component } from 'react';
import { NavigationScreenProps } from 'react-navigation';
import { OrderContext } from '../context';
import { PaymentMethod } from './PaymentMethod';
type Props = NavigationScreenProps;
type Context = typeof OrderContext;
export class ... |
favid-inc/app-customer | src/containers/artists/navigators.tsx | <filename>src/containers/artists/navigators.tsx<gh_stars>0
import { createStackNavigator, NavigationContainer } from 'react-navigation';
import { ArtistsContainer } from './ArtistsContainer';
export const ArtistsNavigator: NavigationContainer = createStackNavigator(
{
Artists: ArtistsContainer,
},
{
head... |
favid-inc/app-customer | src/containers/payment/personal/index.ts | export { PersonalInfoContainer } from './PersonalInfoContainer';
|
favid-inc/app-customer | src/components/common/layoutGridList/layoutGridList.component.tsx | <filename>src/components/common/layoutGridList/layoutGridList.component.tsx
import {
ThemedComponentProps,
ThemeType,
withStyles,
} from '@kitten/theme';
import {
List,
ListProps,
} from '@kitten/ui';
import React from 'react';
import {
Dimensions,
ListRenderItemInfo,
} from 'react-native';
import {
Lay... |
favid-inc/app-customer | src/containers/orders/orders/index.ts | <reponame>favid-inc/app-customer
export { OrdersContainer } from './OrdersContainer';
|
favid-inc/app-customer | src/core/themes/index.ts | import {
dark,
light,
} from '@eva-design/eva';
import { ThemeType } from '@kitten/theme';
import { default as appTheme } from './appTheme.json';
interface ThemeRegistry {
['Eva Light']: ThemeType;
['Eva Dark']: ThemeType;
['App Theme']: ThemeType;
}
export type ThemeKey = keyof ThemeRegistry;
export const... |
favid-inc/app-customer | src/containers/artists/index.ts | <gh_stars>0
export { ArtistsNavigator } from './navigators';
|
favid-inc/app-customer | src/containers/orders/index.ts | <filename>src/containers/orders/index.ts
export { OrdersNavigator } from './navigators';
|
favid-inc/app-customer | src/containers/payment/personal/PersonalInfoContainer.tsx | import { PayOrder } from '@favid-inc/api/lib/app-customer';
import React from 'react';
import { Alert, Linking } from 'react-native';
import { NavigationScreenProps } from 'react-navigation';
import { apiClient } from '@src/core/utils/apiClient';
import { PersonalInfo } from './PersonalInfo';
interface State {
subm... |
favid-inc/app-customer | src/containers/settings/navigator.tsx | <reponame>favid-inc/app-customer
import { createStackNavigator, NavigationContainer } from 'react-navigation';
import { PoliciesContainer } from '@src/containers/policies';
import { TopBarNavigationOptions } from '@src/core/navigation/options';
import { SettingsContainer } from './SettingsContainer';
export const Sett... |
favid-inc/app-customer | src/containers/orders/orders/orderCard/OrderCardBottom.tsx | <filename>src/containers/orders/orders/orderCard/OrderCardBottom.tsx<gh_stars>0
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { ActivityBar, ActivityBarProps } from '@src/components/common';
import React from 'react';
import { StyleProp, TextStyle } from 'react-native';
interface ... |
favid-inc/app-customer | src/containers/artistDetails/orders/index.ts | <gh_stars>1-10
export * from './Orders';
|
favid-inc/app-customer | src/containers/payment/context/order.tsx | import { PayOrder } from '@favid-inc/api/lib/app-customer';
import React from 'react';
export type Order = PayOrder['Request']['data']['order'];
interface Props {
children: React.ReactNode;
}
interface State extends Order {
setId: (id: Order['id']) => void;
setArtistId: (artistId: Order['artistId']) => void;
... |
favid-inc/app-customer | src/containers/orders/orders/orderCard/OrderPaymentStatus.tsx | <filename>src/containers/orders/orders/orderCard/OrderPaymentStatus.tsx
import { OrderPaymentStatus as OrderPaymentStatusType } from '@favid-inc/api';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Chips, textStyle } from '@src/components/common';
import React from 'react';
import... |
favid-inc/app-customer | src/containers/orders/navigators.tsx | import { createStackNavigator } from 'react-navigation';
import { PaymentNavigator } from '@src/containers/payment';
import { connect } from '@src/containers/payment/context';
import { OrdersContainer } from './orders';
export const OrdersNavigator = connect(
createStackNavigator(
{
Pedidos: OrdersContaine... |
favid-inc/app-customer | src/assets/images/index.ts | <reponame>favid-inc/app-customer<filename>src/assets/images/index.ts
import { ImageSource } from './type';
export { ImageSource, RemoteImage } from './type';
export const imageProfile7Bg: ImageSource = {
imageSource: require('./source/image-background-profile-7.jpg'),
};
export const splashImage: ImageSource = {
... |
favid-inc/app-customer | src/containers/payment/navigator.ts | import { createStackNavigator } from 'react-navigation';
import { connect } from './context';
import { PaymentMethodContainer } from './paymentMethod';
import { PersonalInfoContainer } from './personal';
export const PaymentNavigator = connect(
createStackNavigator(
{
'Método de pagamento': PaymentMethodC... |
favid-inc/app-customer | src/containers/artistDetails/booking/Booking.tsx | <gh_stars>0
import { Order } from '@favid-inc/api';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button, Text, Toggle } from '@kitten/ui';
import React, { Component } from 'react';
import { TextInput, View, ViewProps } from 'react-native';
import { ContainerView, textStyle, Val... |
favid-inc/app-customer | src/containers/artistDetails/profileInfo.component.tsx | import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Avatar, Text } from '@kitten/ui';
import { textStyle } from '@src/components/common';
import React from 'react';
import { ImageSourcePropType, View, ViewProps } from 'react-native';
interface ComponentProps {
photo: ImageSourceProp... |
favid-inc/app-customer | src/components/common/dynamicStatusBar.component.tsx | <reponame>favid-inc/app-customer<gh_stars>0
import {
ThemedComponentProps,
ThemeType,
withStyles,
} from '@kitten/theme';
import { ThemeKey } from '@src/core/themes';
import Constants from 'expo-constants';
import React from 'react';
import {
Platform,
StatusBar,
StatusBarStyle,
View,
ViewProps,
} from ... |
favid-inc/app-customer | src/containers/artistDetails/artistReview/ArtistReview.tsx | import { ArtistRate } from '@favid-inc/api';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button } from '@kitten/ui';
import { AuthContext } from '@src/core/auth';
import React from 'react';
import { Alert, TextInput, View } from 'react-native';
import { NavigationScreenProps } ... |
favid-inc/app-customer | src/containers/payment/personal/SubmitButton.tsx | import { PayOrder } from '@favid-inc/api/lib/app-customer';
import { Button } from '@kitten/ui';
import React from 'react';
import { textStyle } from '@src/components/common';
import { AddressContext, CustomerContext, OrderContext, PaymentMethodContext } from '../context';
export interface SubmitButtonProps {
onSub... |
favid-inc/app-customer | src/containers/payment/paymentMethod/CreditCardForm.tsx | import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button } from '@kitten/ui';
import React from 'react';
import { View, ViewProps } from 'react-native';
import { PaymentMethodContext } from '../context';
import { textStyle, ValidationInput } from '@src/components/common';
import {
... |
favid-inc/app-customer | src/containers/payment/context/index.ts | <filename>src/containers/payment/context/index.ts
export { AddressContext } from './address';
export { connect } from './context';
export { CustomerContext } from './customer';
export { OrderContext } from './order';
export { PaymentMethodContext } from './paymentMethod';
|
favid-inc/app-customer | src/containers/artistDetails/orders/Orders.tsx | <filename>src/containers/artistDetails/orders/Orders.tsx
import { Order } from '@favid-inc/api';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button, List, Text } from '@kitten/ui';
import { textStyle } from '@src/components/common';
import { Video } from 'expo-av';
import React... |
favid-inc/app-customer | src/core/formatters/index.ts | export const STATE_REGEX = /^[\da-zA-Z]?$/;
export const CEP_REGEX = /^(\d{1,5})?(\d{1,3})?$/;
export const CARD_NUMBER_REGEX = /^(\d{4})(\d{4})(\d{4})(\d{4})$/;
export const PHONE_REGEX = /^(\d{1,2})?(\d{1,5})?(\d{1,4})?$/;
export const CPF_REGEX = /^(\d{1,3})?(\d{1,3})?(\d{1,3})?(\d{1,2})?$/;
export const CARD_NUMBER... |
favid-inc/app-customer | src/containers/payment/context/address.tsx | <gh_stars>0
import { PayOrder } from '@favid-inc/api/lib/app-customer';
import React from 'react';
export type Address = PayOrder['Request']['data']['address'];
interface Props {
children: React.ReactNode;
}
interface State extends Address {
setCity: (city: Address['city']) => void;
setComplementary: (compleme... |
favid-inc/app-customer | src/containers/artists/ArtistsList.tsx | <filename>src/containers/artists/ArtistsList.tsx
import { Artist } from '@favid-inc/api';
import { StyleType, ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Input, InputProps, List, Text } from '@kitten/ui';
import { SearchIconOutline } from '@src/assets/icons';
import { ArtistCard, Artist... |
favid-inc/app-customer | src/containers/artists/review/ArtistReviewsResume.tsx | import { ArtistRate } from '@favid-inc/api';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Text } from '@kitten/ui';
import React from 'react';
import { View } from 'react-native';
import { RateBar } from '@src/components/common';
import { textStyle } from '@src/components/commo... |
favid-inc/app-customer | src/containers/payment/index.ts | export { PaymentNavigator } from './navigator';
|
favid-inc/app-customer | src/containers/payment/paymentMethod/PaymentMethod.tsx | import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button } from '@kitten/ui';
// import { CreditCardIconFill, FileTextIconFill } from '@src/assets/icons';
import { FileTextIconFill } from '@src/assets/icons';
import React from 'react';
import { View } from 'react-native';
import { S... |
favid-inc/app-customer | src/containers/artistDetails/booking/BookingContainer.tsx | <reponame>favid-inc/app-customer
import { Artist } from '@favid-inc/api';
import React, { Component } from 'react';
import { Alert } from 'react-native';
import { NavigationScreenProps } from 'react-navigation';
import { ScrollableAvoidKeyboard } from '@src/components/common';
import { AuthContext } from '@src/core/au... |
favid-inc/app-customer | src/components/artist/artistCard.component.tsx | import { Artist } from '@favid-inc/api';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Text } from '@kitten/ui';
import React from 'react';
import { TouchableOpacity, TouchableOpacityProps, View } from 'react-native';
import { Chips, ImageOverlay, textStyle } from '@src/componen... |
favid-inc/app-customer | src/containers/orders/orders/orderCard/OrderCard.tsx | import { MaterialIcons } from '@expo/vector-icons';
import { OrderPaymentStatus as OrderPaymentStatusType, OrderStatus as OrderStatusType } from '@favid-inc/api';
import { SocialOrder as Order } from '@favid-inc/api/lib/app-customer';
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import {... |
favid-inc/app-customer | src/containers/payment/paymentMethod/BoletoForm.tsx | <reponame>favid-inc/app-customer
import { ThemedComponentProps, ThemeType, withStyles } from '@kitten/theme';
import { Button } from '@kitten/ui';
import React from 'react';
import { View, ViewProps } from 'react-native';
import { textStyle } from '@src/components/common';
interface ComponentProps {
onSend: () => v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.