type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
() => { return ( <Button rightIcon={<ExternalLinkIcon />}
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
ArrowFunction
() => { if (!sortedPublications.length) { return ( <Stack mx="auto" textAlign="center"> <Image src="/images/common/no-items.svg" alt="No publications found!" size={64} /> <Text>No publications found!</Text> </Stack>
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
ArrowFunction
(publication: IPublication, index: number) => { return ( <Box key={index} bg={cardBgColor[colorMode]} color={cardColor[colorMode]} p={8} rounded="md" shadow="md" > <a href={publication.url} target="_blank" r...
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
InterfaceDeclaration
interface Props { publications: IPublication[]; hideViewAllLinksNode?: boolean; }
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
MethodDeclaration
dayjs(date)
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
MethodDeclaration
dateNode(publication
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
MethodDeclaration
ctaNode()
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
MethodDeclaration
headingNode()
ratheeps/ratheep.dev
components/layouts/publications/index.tsx
TypeScript
FunctionDeclaration
function on
webosce/ime-manager
resources/bg/imemanager_bg.ts
TypeScript
ArrowFunction
(_, args, { api }) => api.storesCount()
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
(_, args, { api }) => api.creatorsCount()
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
(_, args, { api }) => api.artworksCount()
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
(_, args, { api }) => api.auctionsCount()
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
(_, args, { api }) => api.getStores()
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
(_, { storeId }, { api }) => api.getStore(storeId)
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
(_, { storeId }, { api }) => api.getCreators(storeId)
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
async (_, { storeId, creatorId }, { api }) => api.getCreator(storeId, creatorId)
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
async (_, { filter }, { api }) => api.getArtworks(filter)
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
ArrowFunction
async (_, { artId }, { api }) => api.getArtwork(artId)
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
MethodDeclaration
definition(t) { t.field('storesCount', { type: 'Int', resolve: (_, args, { api }) => api.storesCount(), }); t.field('creatorsCount', { type: 'Int', resolve: (_, args, { api }) => api.creatorsCount(), }); t.field('artworksCount', { type: 'Int', resolve: (_, args, ...
007zzzzzz/metaplex
js/packages/graphql/src/schema/query.ts
TypeScript
FunctionDeclaration
export function Profile () { const { level } = useContext(ChallengesContext); return ( <div className={styles.profileContainer}> <img src="https://github.com/FlavioInacio-jf.png" alt="Flávio Inácio"></img> <div> <strong>Flávio Inácio</strong> <p> <img src="icons/level.svg"...
FlavioInacio-jf/moveat
src/components/Profile.tsx
TypeScript
ArrowFunction
(rmrkString: string): RmrkEvent => { if (RmrkActionRegex.MINT.test(rmrkString)) { return RmrkEvent.MINT } if (RmrkActionRegex.MINTNFT.test(rmrkString)) { return RmrkEvent.MINTNFT } if (RmrkActionRegex.SEND.test(rmrkString)) { return RmrkEvent.SEND } if (RmrkActionRegex...
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
ClassDeclaration
class NFTUtils { public static decode(value: string) { return decodeURIComponent(value); } public static decodeRmrk(rmrkString: string): string { return NFTUtils.decode( isHex(rmrkString) ? hexToString(rmrkString) : rmrkString ); } public static convert(rmrkString: string): RMRK { try...
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
ClassDeclaration
class RmrkActionRegex { static MINTNFT = /^[rR][mM][rR][kK]::MINTNFT::/; static MINT = /^[rR][mM][rR][kK]::MINT::/; static SEND = /^[rR][mM][rR][kK]::SEND::/; static BUY = /^[rR][mM][rR][kK]::BUY::/; static CONSUME = /^[rR][mM][rR][kK]::CONSUME::/; static CHANGEISSUER = /^[rR][mM][rR][kK]::CHANGEISSUER::/;...
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static decode(value: string) { return decodeURIComponent(value); }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static decodeRmrk(rmrkString: string): string { return NFTUtils.decode( isHex(rmrkString) ? hexToString(rmrkString) : rmrkString ); }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static convert(rmrkString: string): RMRK { try { return { event: NFTUtils.getAction(rmrkString), view: NFTUtils.unwrap(rmrkString) } } catch(e) { throw e } }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static toString(rmrkType: NFT | Collection, version: string = 'RMRK1.0.0'): string { if (NFTUtils.isCollection(rmrkType)) { return NFTUtils.encodeCollection(rmrkType, version) } if (NFTUtils.isNFT(rmrkType)) { return NFTUtils.encodeNFT(rmrkType, version) } return '' }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static encodeCollection(collection: Collection, version: string) { return `RMRK::MINT::${version}::${encodeURIComponent( JSON.stringify(collection) )}`; }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
protected static encodeNFT(nft: NFT, version: string) { return `RMRK::MINTNFT::${version}::${encodeURIComponent( JSON.stringify(nft) )}` }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static collectionFromNFT(symbol: string, nft: NFT, version: string = 'RMRK1.0.0'): Collection { return { id: generateId(nft.currentOwner, symbol), _id: '', symbol: slugify(symbol, '_').toUpperCase(), issuer: nft.currentOwner, version, name: nft.name, max: 1, m...
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static isCollection(object: Collection | NFT): object is Collection { return 'issuer' in object && 'symbol' in object; }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static isNFT(object: Collection | NFT): object is NFT { return 'currentOwner' in object && 'instance' in object; }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static decodeAndConvert(rmrkString: string) { return NFTUtils.convert(NFTUtils.decodeRmrk(rmrkString)) }
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
MethodDeclaration
public static unwrap(rmrkString: string): any { const rr: RegExp = /{.*}/ const match = rmrkString.match(rr) if (match) { return JSON.parse(match[0]) } const split = rmrkString.split(SQUARE) if (split.length >= 4) { return ({ id: split[3], metadata: split[4] ...
Luigi2110/nft-gallery
dashboard/src/components/rmrk/service/NftUtils.ts
TypeScript
FunctionDeclaration
/** Spin up the "auto" node API and provide it the parsed CLI args. */ export async function run(command: string, args: ApiOptions) { const auto = new Auto(args); try { if (command === 'init') { await auto.init(); return; } await auto.loadConfig(); if (args.verbose || command === 'inf...
sugarmanz/auto
packages/cli/src/run.ts
TypeScript
FunctionDeclaration
/** Run "auto" for a given command. */ export default async function main(command: string, args: ApiOptions) { await run(command, args); }
sugarmanz/auto
packages/cli/src/run.ts
TypeScript
FunctionDeclaration
export function seedUserStore() { users.set('admin@email.com', { password: '123456', permissions: ['users.list', 'users.create', 'metrics.list'], roles: ['administrator'] }); users.set('guest@email.com', { password: '654321', permissions: ['users.list', 'metrics.list'], roles: ['editor']...
robertomorel/reactjs-next-auth-jwt
packages/api/src/database.ts
TypeScript
FunctionDeclaration
export function createRefreshToken(email: string) { const currentUserTokens = tokens.get(email) ?? []; const refreshToken = uuid(); tokens.set(email, [...currentUserTokens, refreshToken]); return refreshToken; }
robertomorel/reactjs-next-auth-jwt
packages/api/src/database.ts
TypeScript
FunctionDeclaration
export function checkRefreshTokenIsValid(email: string, refreshToken: string) { const storedRefreshTokens = tokens.get(email) ?? []; return storedRefreshTokens.some(token => token === refreshToken); }
robertomorel/reactjs-next-auth-jwt
packages/api/src/database.ts
TypeScript
FunctionDeclaration
export function invalidateRefreshToken(email: string, refreshToken: string) { const storedRefreshTokens = tokens.get(email) ?? []; tokens.set( email, storedRefreshTokens.filter(token => token !== refreshToken) ); }
robertomorel/reactjs-next-auth-jwt
packages/api/src/database.ts
TypeScript
ArrowFunction
token => token === refreshToken
robertomorel/reactjs-next-auth-jwt
packages/api/src/database.ts
TypeScript
ArrowFunction
token => token !== refreshToken
robertomorel/reactjs-next-auth-jwt
packages/api/src/database.ts
TypeScript
ClassDeclaration
export abstract class Geometry { public readonly transform: Transform; public readonly tileRange: Range3d; public readonly displayParams: DisplayParams; public constructor(transform: Transform, tileRange: Range3d, displayParams: DisplayParams) { this.transform = transform; this.tileRange = tileRange; ...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
ClassDeclaration
export class PrimitivePathGeometry extends Geometry { public readonly path: Path; public readonly isDisjoint: boolean; public constructor(path: Path, tf: Transform, range: Range3d, params: DisplayParams, isDisjoint: boolean) { super(tf, range, params); this.path = path; this.isDisjoint = isDisjoint;...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
ClassDeclaration
export class PrimitivePointStringGeometry extends Geometry { public readonly pts: Point3d[]; public constructor(pts: Point3d[], tf: Transform, range: Range3d, params: DisplayParams) { super(tf, range, params); this.pts = pts; } protected _getPolyfaces(_facetOptions: StrokeOptions): PolyfacePrimitiveL...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
ClassDeclaration
export class PrimitiveLineStringGeometry extends Geometry { public readonly pts: Point3d[]; public constructor(pts: Point3d[], tf: Transform, range: Range3d, params: DisplayParams) { super(tf, range, params); this.pts = pts; } protected _getPolyfaces(_facetOptions: StrokeOptions): PolyfacePrimitiveLi...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
ClassDeclaration
export class PrimitiveLoopGeometry extends Geometry { public readonly loop: Loop; public readonly isDisjoint: boolean; public constructor(loop: Loop, tf: Transform, range: Range3d, params: DisplayParams, isDisjoint: boolean) { super(tf, range, params); this.loop = loop; this.isDisjoint = isDisjoint;...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
ClassDeclaration
export class PrimitivePolyfaceGeometry extends Geometry { public readonly polyface: IndexedPolyface; public constructor(polyface: IndexedPolyface, tf: Transform, range: Range3d, params: DisplayParams) { super(tf, range, params); this.polyface = polyface; } protected _getPolyfaces(_facetOptions: Strok...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
TypeAliasDeclaration
export type PrimitiveGeometryType = Loop | Path | IndexedPolyface;
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public static createFromPointString(pts: Point3d[], tf: Transform, tileRange: Range3d, params: DisplayParams): Geometry { return new PrimitivePointStringGeometry(pts, tf, tileRange, params); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public static createFromLineString(pts: Point3d[], tf: Transform, tileRange: Range3d, params: DisplayParams): Geometry { return new PrimitiveLineStringGeometry(pts, tf, tileRange, params); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public static createFromLoop(loop: Loop, tf: Transform, tileRange: Range3d, params: DisplayParams, disjoint: boolean): Geometry { return new PrimitiveLoopGeometry(loop, tf, tileRange, params, disjoint); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public static createFromPath(path: Path, tf: Transform, tileRange: Range3d, params: DisplayParams, disjoint: boolean): Geometry { return new PrimitivePathGeometry(path, tf, tileRange, params, disjoint); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public static createFromPolyface(ipf: IndexedPolyface, tf: Transform, tileRange: Range3d, params: DisplayParams): Geometry { return new PrimitivePolyfaceGeometry(ipf, tf, tileRange, params); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected abstract _getPolyfaces(facetOptions: StrokeOptions): PolyfacePrimitiveList | undefined;
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected abstract _getStrokes(facetOptions: StrokeOptions): StrokesPrimitiveList | undefined;
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public getPolyfaces(tolerance: number): PolyfacePrimitiveList | undefined { const facetOptions = StrokeOptions.createForFacets(); facetOptions.chordTol = tolerance; if (this.displayParams.isTextured) facetOptions.needParams = true; // if (!this.displayParams.ignoreLighting) // ###TODO And not 2D...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public getStrokes(tolerance: number): StrokesPrimitiveList | undefined { const strokeOptions = StrokeOptions.createForCurves(); strokeOptions.chordTol = tolerance; return this._getStrokes(strokeOptions); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public doDecimate() { return false; }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public doVertexCluster() { return true; }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public part() { return undefined; }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getPolyfaces(_facetOptions: StrokeOptions): PolyfacePrimitiveList | undefined { return undefined; }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getStrokes(facetOptions: StrokeOptions): StrokesPrimitiveList | undefined { return PrimitivePathGeometry.getStrokesForLoopOrPath(this.path, facetOptions, this.displayParams, this.isDisjoint, this.transform); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
public static getStrokesForLoopOrPath(loopOrPath: Loop | Path, facetOptions: StrokeOptions, params: DisplayParams, isDisjoint: boolean, transform: Transform): StrokesPrimitiveList | undefined { const strksList = new StrokesPrimitiveList(); if (!loopOrPath.isAnyRegionType || params.wantRegionOutline) { c...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
private static collectCurveStrokes(strksPts: StrokesPrimitivePointLists, loopOrPath: CurveChain, facetOptions: StrokeOptions, trans: Transform) { const strokes = loopOrPath.getPackedStrokes(facetOptions); if (undefined !== strokes) { const pts = strokes.getPoint3dArray(); trans.multiplyPoint3dArray...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getPolyfaces(_facetOptions: StrokeOptions): PolyfacePrimitiveList | undefined { return undefined; }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getStrokes(_facetOptions: StrokeOptions): StrokesPrimitiveList | undefined { const strksList = new StrokesPrimitiveList(); const strksPts = new StrokesPrimitivePointLists(new StrokesPrimitivePointList(this.pts)); const strksPrim: StrokesPrimitive = StrokesPrimitive.create(this.displayParams, tr...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getStrokes(_facetOptions: StrokeOptions): StrokesPrimitiveList | undefined { const strksList = new StrokesPrimitiveList(); const strksPts = new StrokesPrimitivePointLists(new StrokesPrimitivePointList(this.pts)); const strksPrim: StrokesPrimitive = StrokesPrimitive.create(this.displayParams, fa...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getPolyfaces(facetOptions: StrokeOptions): PolyfacePrimitiveList | undefined { if (!this.loop.isAnyRegionType) { return undefined; } // The following is good for single loop things according to Earlin. const contour = SweepContour.createForLinearSweep(this.loop); if (contour !== u...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getStrokes(facetOptions: StrokeOptions): StrokesPrimitiveList | undefined { return PrimitivePathGeometry.getStrokesForLoopOrPath(this.loop, facetOptions, this.displayParams, this.isDisjoint, this.transform); }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getPolyfaces(_facetOptions: StrokeOptions): PolyfacePrimitiveList | undefined { if (!this.hasTexture) { // clear parameters if (this.polyface.data.param) { this.polyface.data.param.clear(); } if (this.polyface.data.paramIndex) { this.polyface.data.paramIndex = []; ...
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
MethodDeclaration
protected _getStrokes(_facetOptions: StrokeOptions): StrokesPrimitiveList | undefined { return undefined; }
naveedkhan8067/imodeljs
core/frontend/src/render/primitives/geometry/GeometryPrimitives.ts
TypeScript
InterfaceDeclaration
export interface GroupByExecutable extends TestGrouping { label?: string; description?: string; }
matepek/vscode-catch2-test-adapter
src/TestGroupingInterface.ts
TypeScript
InterfaceDeclaration
export interface GroupBySource extends TestGrouping { label?: string; description?: string; groupUngroupedTo?: string; }
matepek/vscode-catch2-test-adapter
src/TestGroupingInterface.ts
TypeScript
InterfaceDeclaration
export interface GroupByTags extends TestGrouping { tags?: string[][]; label?: string; // ${tags} will by substituted description?: string; groupUngroupedTo?: string; }
matepek/vscode-catch2-test-adapter
src/TestGroupingInterface.ts
TypeScript
InterfaceDeclaration
export interface GroupByTagRegex extends TestGrouping { regexes?: string[]; label?: string; // ${match}, ${match_lowercased}, ${match_upperfirst} will by substituted description?: string; groupUngroupedTo?: string; }
matepek/vscode-catch2-test-adapter
src/TestGroupingInterface.ts
TypeScript
InterfaceDeclaration
/// export interface TestGrouping { groupByExecutable?: GroupByExecutable; groupBySource?: GroupBySource; groupByTags?: GroupByTags; groupByTagRegex?: GroupByTagRegex; groupByRegex?: GroupByRegex; tagFormat?: string; // use "[${tag}]" }
matepek/vscode-catch2-test-adapter
src/TestGroupingInterface.ts
TypeScript
TypeAliasDeclaration
export type GroupByRegex = GroupByTagRegex;
matepek/vscode-catch2-test-adapter
src/TestGroupingInterface.ts
TypeScript
InterfaceDeclaration
export interface SimulantFactory<S extends SimulantsLookup> { readonly isSimulantFactory: true; create<K extends string & keyof S>( ammo: typeof Ammo, dynamicsWorld: Ammo.btDiscreteDynamicsWorld, userDataRegistry: UserDataRegistry, request: MessageSimulantRegister<S, K> ): S[K]; }
mcharytoniuk/personalidol
packages/dynamics/src/SimulantFactory.interface.ts
TypeScript
ArrowFunction
Releve => { this.Releve = Releve; }
fabiencheylac/windsuptest
src/pages/releve/releve.ts
TypeScript
ClassDeclaration
/** * Generated class for the Releve page. * * See http://ionicframework.com/docs/components/#navigation for more info * on Ionic pages and navigation. */ @Component({ selector: 'page-Releve', templateUrl: 'Releve.html', providers: [ApiServiceReleve] }) export class RelevePage { Releve: Releve[]; const...
fabiencheylac/windsuptest
src/pages/releve/releve.ts
TypeScript
MethodDeclaration
getValue(inst: Input) { return inst.props.value; }
ArkadiyVoronov/retail-ui
packages/retail-ui/components/Input/Input.adapter.ts
TypeScript
MethodDeclaration
setValue(inst: Input, value: string) { // tslint:disable-next-line:no-string-literal inst['handleChange']({ target: { value } } as ChangeEvent<HTMLInputElement>); }
ArkadiyVoronov/retail-ui
packages/retail-ui/components/Input/Input.adapter.ts
TypeScript
ArrowFunction
(documents: IDocument[]): SetAllDocuments => ({ type: SET_ALL_DOCUMENTS, documents, })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
ArrowFunction
(value: boolean): SetDocumentLoading => ({ type: SET_DOCUMENT_LOADING, value, })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
ArrowFunction
(): NextDocument => ({ type: NEXT_DOCUMENT })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
ArrowFunction
(): PreviousDocument => ({ type: PREVIOUS_DOCUMENT, })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
ArrowFunction
( document: IDocument ): UpdateCurrentDocument => ({ type: UPDATE_CURRENT_DOCUMENT, document })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
ArrowFunction
(rect: DOMRect): SetRendererRect => ({ type: SET_RENDERER_RECT, rect, })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
ArrowFunction
(config: IConfig): SetMainConfig => ({ type: SET_MAIN_CONFIG, config, })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
ArrowFunction
(index: number) => ({ type: SET_CURRENT_DOCUMENT, index, })
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface SetAllDocuments { type: typeof SET_ALL_DOCUMENTS; documents: IDocument[]; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface SetDocumentLoading { type: typeof SET_DOCUMENT_LOADING; value: boolean; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface NextDocument { type: typeof NEXT_DOCUMENT; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface PreviousDocument { type: typeof PREVIOUS_DOCUMENT; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface UpdateCurrentDocument { type: typeof UPDATE_CURRENT_DOCUMENT; document: IDocument; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface SetRendererRect { type: typeof SET_RENDERER_RECT; rect: DOMRect; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface SetMainConfig { type: typeof SET_MAIN_CONFIG; config: IConfig; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript
InterfaceDeclaration
export interface SetCurrentDocument { type: typeof SET_CURRENT_DOCUMENT; index: number; }
buyerassist-io/react-doc-viewer
src/state/actions.ts
TypeScript