type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
ArrowFunction |
() => {
const dashboardList = [...dashboards.values()];
return [
dashboardList.filter(dash => dash.isStarred),
dashboardList.filter(dash => dash.isRecent),
dashboardList.filter(dash => dash.isSearchResult),
];
} | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
ArrowFunction |
dash => dash.isStarred | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
ArrowFunction |
dash => dash.isRecent | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
ArrowFunction |
dash => dash.isSearchResult | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
ArrowFunction |
({ show, header, dashboards }, i) =>
show && (
<div className | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
ArrowFunction |
dash => (
<li className={css.dashlistItem} | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
InterfaceDeclaration |
interface DashboardGroup {
show: boolean;
header: string;
dashboards: Dashboard[];
} | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
TypeAliasDeclaration |
type Dashboard = DashboardSearchHit & { isSearchResult?: boolean; isRecent?: boolean }; | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
MethodDeclaration |
toggleDashboardStar(e, dash) | 3wWqj/grafana | public/app/plugins/panel/dashlist/DashList.tsx | TypeScript |
InterfaceDeclaration |
export interface ISequelizeUriConfig extends Options {
/**
* Uri connection string to database
*/
url: string;
/**
* Path to models, which should be loaded
*/
modelPaths?: string[];
/**
* Makes it possible to use sequelize for validation only
* if set to true. For this configuration it i... | doovers/sequelize-typescript | lib/interfaces/ISequelizeUriConfig.ts | TypeScript |
ArrowFunction |
() => {
describe('createClient', () => {
const originalFetch = global.fetch
let clientOptions: BeagleGrpcClientOptions
let fetchGrpcViewSpy: JestMock.SpyInstance<Promise<Response>, [name: string, client: ScreenServiceClient, fetchReq: FetchRequest]>
let getRequestSpy: JestMock.SpyInstance<FetchR... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
const originalFetch = global.fetch
let clientOptions: BeagleGrpcClientOptions
let fetchGrpcViewSpy: JestMock.SpyInstance<Promise<Response>, [name: string, client: ScreenServiceClient, fetchReq: FetchRequest]>
let getRequestSpy: JestMock.SpyInstance<FetchRequest | null, [requestInfo: Reques... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
fetchGrpcViewSpy = jest.spyOn(view, 'fetchGrpcView').mockImplementation(() => Promise.resolve(new Response()))
getRequestSpy = jest.spyOn(request, 'getRequest')
global.fetch = (jest.fn().mockImplementation(() => Promise.resolve(new Response())) as any)
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => Promise.resolve(new Response()) | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
(global.fetch as jest.Mock<any, any[]>).mockClear()
fetchGrpcViewSpy.mockClear()
getRequestSpy.mockClear()
clientOptions = {
proxyAddress: 'http://localhost:6692/',
redirectGrpcFrom: _MOCK_GRPC_URL_,
customHttpClient: (jest.fn().mockImplementation(() => ne... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => new Response() | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
expect(typeof createClient(clientOptions)).toBe('function')
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
test('it should use the "fetchGrpcView" when the url matches the grpc origin, using the client generated by the protobuf', () => {
const url = `${_MOCK_GRPC_URL_}/my-grpc/endpoint`
createClient(clientOptions)(url)
expect(fetchGrpcViewSpy).toHaveBeenCalledTimes(1)
... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
const url = `${_MOCK_GRPC_URL_}/my-grpc/endpoint`
createClient(clientOptions)(url)
expect(fetchGrpcViewSpy).toHaveBeenCalledTimes(1)
expect(getRequestSpy).toHaveReturnedWith({ url })
const screenServiceClient = new ScreenServiceClient(clientOptions.proxyAddress... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
const url = `${_MOCK_GRPC_URL_.replace('/grpc', '')}/endpoint`
createClient(clientOptions)(url)
expect(getRequestSpy).toHaveBeenCalledTimes(1)
expect(getRequestSpy).toHaveReturnedWith({ url })
expect(fetchGrpcViewSpy).not.toHaveBeenCalled()
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
const url = `${_MOCK_GRPC_URL_.replace('/grpc', '')}/endpoint`
getRequestSpy = jest.spyOn(request, 'getRequest').mockImplementation(() => null)
createClient(clientOptions)(url)
expect(getRequestSpy).toHaveBeenCalledTimes(1)
expect(getRequestSpy).toHaveReturnedWi... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
const url = `${_MOCK_GRPC_URL_.replace('/grpc', '')}/endpoint`
createClient({ ...clientOptions, redirectGrpcFrom: undefined })(url)
expect(getRequestSpy).toHaveReturnedWith({ url })
expect(fetchGrpcViewSpy).not.toHaveBeenCalled()
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
test('it should use the custom http client when one is provided and the url does not match the grpc origin', () => {
createClient(clientOptions)(_MOCK_URL_)
expect(clientOptions.customHttpClient).toHaveBeenCalledTimes(1)
expect(clientOptions.customHttpClient).toHaveBeenCa... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
createClient(clientOptions)(_MOCK_URL_)
expect(clientOptions.customHttpClient).toHaveBeenCalledTimes(1)
expect(clientOptions.customHttpClient).toHaveBeenCalledWith(_MOCK_URL_)
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
createClient({ ...clientOptions, redirectGrpcFrom: undefined })(_MOCK_URL_)
expect(clientOptions.customHttpClient).toHaveBeenCalledTimes(1)
expect(global.fetch).not.toHaveBeenCalled()
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
test('it should use fetch when the custom http client is not defined and is provided an url that does not match the grpc origin', () => {
createClient({ ...clientOptions, customHttpClient: undefined })(_MOCK_URL_)
expect(clientOptions.customHttpClient).not.toHaveBeenCalled()
... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
createClient({ ...clientOptions, customHttpClient: undefined })(_MOCK_URL_)
expect(clientOptions.customHttpClient).not.toHaveBeenCalled()
expect(global.fetch).toHaveBeenCalledTimes(1)
expect(global.fetch).toHaveBeenCalledWith(_MOCK_URL_)
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
createClient({ ...clientOptions, redirectGrpcFrom: undefined, customHttpClient: undefined })(_MOCK_URL_)
expect(clientOptions.customHttpClient).not.toHaveBeenCalled()
expect(global.fetch).toHaveBeenCalledTimes(1)
expect(global.fetch).toHaveBeenCalledWith(_MOCK_URL_)
... | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
createClient(clientOptions)(null as any)
expect(clientOptions.customHttpClient).not.toHaveBeenCalled()
expect(global.fetch).toHaveBeenCalledTimes(1)
expect(global.fetch).toHaveBeenCalledWith(null)
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
() => {
(global.fetch as jest.Mock<any, any[]>).mockRestore()
global.fetch = originalFetch
fetchGrpcViewSpy.mockRestore()
} | ZupIT/beagle-grpc | web/__tests__/lib/client.spec.ts | TypeScript |
ArrowFunction |
({ children }) => {
return <SectionTitle>{children}</SectionTitle>;
} | DanPurdy/netlify-blog | src/components/SubSectionTitle.tsx | TypeScript |
EnumDeclaration | /* eslint-disable no-unused-vars */
export const enum Endpoints {
devUrl = "https://jsonplaceholder.typicode.com/todos",
prodUrl = "https://api.mocki.io/v1/b043df5a"
} | Rpg-Automation/Rpg-Rtc | src/types/Constants.ts | TypeScript |
EnumDeclaration |
export const enum Env {
dev = "development",
prod = "production"
} | Rpg-Automation/Rpg-Rtc | src/types/Constants.ts | TypeScript |
EnumDeclaration |
export const enum Domain {
lcoal = "127.0.0.1"
} | Rpg-Automation/Rpg-Rtc | src/types/Constants.ts | TypeScript |
ClassDeclaration |
@Module({
providers: [StudentsService],
controllers: [StudentsController],
})
export class StudentsModule {} | scrucher/MicroService | platform/src/students/students.module.ts | TypeScript |
FunctionDeclaration |
declare function notLoopable<T>(value: T | Loopable<any>): value is T; | GerkinDev/iter-tools | src/impls/not-loopable/not-loopable.d.ts | TypeScript |
ClassDeclaration |
export default class SidebarHeader extends React.Component<Props> {
public render() {
const me = this.props.currentUser;
let profilePicture = null;
if (!me) {
return null;
}
if (me.last_picture_update) {
profilePicture = (
<Avatar
... | Acidburn0zzz/mattermost-webapp | components/admin_console/admin_sidebar_header/admin_sidebar_header.tsx | TypeScript |
TypeAliasDeclaration |
type Props = {
currentUser: UserProfile& {last_picture_update?: number};
} | Acidburn0zzz/mattermost-webapp | components/admin_console/admin_sidebar_header/admin_sidebar_header.tsx | TypeScript |
MethodDeclaration |
public render() {
const me = this.props.currentUser;
let profilePicture = null;
if (!me) {
return null;
}
if (me.last_picture_update) {
profilePicture = (
<Avatar
username={me.username}
url={Client... | Acidburn0zzz/mattermost-webapp | components/admin_console/admin_sidebar_header/admin_sidebar_header.tsx | TypeScript |
ClassDeclaration |
@Injectable()
export class ProfileService {
constructor(
private http: HttpClient,
private _handleErrorService: HandleErrorService
) { }
GetCurrent(): Observable<{}> {
return this.http.get(environment.appBaseUrl + environment.apiBaseUrl + '/users/profile/current')
.pip... | mrdav30/MEANcore | modules/core/client/features/utils/services/profile.service.ts | TypeScript |
MethodDeclaration |
GetCurrent(): Observable<{}> {
return this.http.get(environment.appBaseUrl + environment.apiBaseUrl + '/users/profile/current')
.pipe(
catchError(this._handleErrorService.handleError<any>('GetCurrentProfile'))
);
} | mrdav30/MEANcore | modules/core/client/features/utils/services/profile.service.ts | TypeScript |
MethodDeclaration |
Update(profile: any): Observable<{}> {
return this.http.put(environment.appBaseUrl + environment.apiBaseUrl + '/users/profile/' + profile._id, profile)
.pipe(
catchError(this._handleErrorService.handleError<any>('UpdateProfile'))
);
} | mrdav30/MEANcore | modules/core/client/features/utils/services/profile.service.ts | TypeScript |
FunctionDeclaration |
export default function Category() {
const { pathname } = useLocation()
const { datoQuerySubscription } = useLoaderData()
const { title, desc, sidebar }: Route = useNav(pathname)
const prevRoute = usePrevRoute(pathname)
const {
data: { post, morePosts },
} = useQuerySubscription(datoQuerySubscription)... | deerpark/bolt-ux | app/routes/$category/$slug.tsx | TypeScript |
ArrowFunction |
async ({ request, params }: any) => {
invariant(params.slug, 'expected params.slug')
return datoQuerySubscription({
request,
query,
variables: {
slug: params.slug,
},
})
} | deerpark/bolt-ux | app/routes/$category/$slug.tsx | TypeScript |
ArrowFunction |
({
data: {
datoQuerySubscription: {
initialData: { post },
},
},
}: any) => {
return post?.seo ? toRemixMeta(post.seo) : []
} | deerpark/bolt-ux | app/routes/$category/$slug.tsx | TypeScript |
MethodDeclaration |
post ? (
<Post {...{ post, outlet, tabId, pathname, morePosts }} | deerpark/bolt-ux | app/routes/$category/$slug.tsx | TypeScript |
FunctionDeclaration |
export declare function fromAstNodes(astRules: cssParser.Node[]): RuleSet[]; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
FunctionDeclaration |
export declare function createSelector(sel: string): SimpleSelector | SimpleSelectorSequence | Selector; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare abstract class SelectorCore {
pos: number;
specificity: number;
rarity: Rarity;
combinator: Combinator;
ruleset: RuleSet;
/**
* Dynamic selectors depend on attributes and pseudo classes.
*/
dynamic: boolean;
abstract match(node: Node): boolean;
/**
* If... | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare abstract class SimpleSelector extends SelectorCore {
accumulateChanges(node: Node, map?: ChangeAccumulator): boolean;
mayMatch(node: Node): boolean;
trackChanges(node: Node, map: ChangeAccumulator): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class InvalidSelector extends SimpleSelector {
e: Error;
constructor(e: Error);
toString(): string;
match(node: Node): boolean;
lookupSort(sorter: LookupSorter, base?: SelectorCore): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class UniversalSelector extends SimpleSelector {
toString(): string;
match(node: Node): boolean;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class IdSelector extends SimpleSelector {
id: string;
constructor(id: string);
toString(): string;
match(node: Node): boolean;
lookupSort(sorter: LookupSorter, base?: SelectorCore): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class TypeSelector extends SimpleSelector {
cssType: string;
constructor(cssType: string);
toString(): string;
match(node: Node): boolean;
lookupSort(sorter: LookupSorter, base?: SelectorCore): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class ClassSelector extends SimpleSelector {
cssClass: string;
constructor(cssClass: string);
toString(): string;
match(node: Node): boolean;
lookupSort(sorter: LookupSorter, base?: SelectorCore): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class AttributeSelector extends SimpleSelector {
attribute: string;
test?: AttributeTest;
value?: string;
constructor(attribute: string, test?: AttributeTest, value?: string);
toString(): string;
match(node: Node): boolean;
mayMatch(node: Node): boolean;
trackChanges(node... | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class PseudoClassSelector extends SimpleSelector {
cssPseudoClass: string;
constructor(cssPseudoClass: string);
toString(): string;
match(node: Node): boolean;
mayMatch(node: Node): boolean;
trackChanges(node: Node, map: ChangeAccumulator): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class SimpleSelectorSequence extends SimpleSelector {
selectors: SimpleSelector[];
private head;
constructor(selectors: SimpleSelector[]);
toString(): string;
match(node: Node): boolean;
mayMatch(node: Node): boolean;
trackChanges(node: any, map: any): void;
lookupSort(so... | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class Selector extends SelectorCore {
selectors: SimpleSelector[];
private groups;
private last;
constructor(selectors: SimpleSelector[]);
toString(): string;
match(node: Node): boolean;
lookupSort(sorter: LookupSorter, base?: SelectorCore): void;
accumulateChanges(node: ... | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
class ChildGroup {
private selectors;
dynamic: boolean;
constructor(selectors: SiblingGroup[]);
match(node: Node): Node;
mayMatch(node: Node): Node;
trackChanges(node: Node, map: ChangeAccumulator): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
class SiblingGroup {
private selectors;
dynamic: boolean;
constructor(selectors: SimpleSelector[]);
match(node: Node): Node;
mayMatch(node: Node): Node;
trackChanges(node: Node, map: ChangeAccumulator): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class RuleSet {
selectors: SelectorCore[];
declarations: Declaration[];
tag: string | number;
scopedTag: string;
constructor(selectors: SelectorCore[], declarations: Declaration[]);
toString(): string;
lookupSort(sorter: LookupSorter): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class SelectorsMap<T extends Node> implements LookupSorter {
private id;
private class;
private type;
private universal;
private position;
constructor(rulesets: RuleSet[]);
query(node: T): SelectorsMatch<T>;
sortById(id: string, sel: SelectorCore): void;
sortByClass(c... | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export declare class SelectorsMatch<T extends Node> implements ChangeAccumulator {
changeMap: ChangeMap<T>;
selectors: any;
addAttribute(node: T, attribute: string): void;
addPseudoClass(node: T, pseudoClass: string): void;
properties(node: T): Changes;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
InterfaceDeclaration | /**
* An interface describing the shape of a type on which the selectors may apply.
* Note, the ui/core/view.View implements Node.
*/
export interface Node {
parent?: Node;
id?: string;
nodeName?: string;
cssType?: string;
cssClasses?: Set<string>;
cssPseudoClasses?: Set<string>;
getChild... | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
InterfaceDeclaration |
export interface Declaration {
property: string;
value: string;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
InterfaceDeclaration |
export interface Changes {
attributes?: Set<string>;
pseudoClasses?: Set<string>;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
InterfaceDeclaration |
interface LookupSorter {
sortById(id: string, sel: SelectorCore): any;
sortByClass(cssClass: string, sel: SelectorCore): any;
sortByType(cssType: string, sel: SelectorCore): any;
sortAsUniversal(sel: SelectorCore): any;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
InterfaceDeclaration |
interface Bound {
left: Node;
right: Node;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
InterfaceDeclaration |
interface ChangeAccumulator {
addAttribute(node: Node, attribute: string): void;
addPseudoClass(node: Node, pseudoClass: string): void;
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
EnumDeclaration |
declare const enum Rarity {
Invalid = 4,
Id = 3,
Class = 2,
Type = 1,
PseudoClass = 0,
Attribute = 0,
Universal = 0,
Inline = 0
} | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
TypeAliasDeclaration |
export declare type ChangeMap<T extends Node> = Map<T, Changes>; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
TypeAliasDeclaration |
declare type Combinator = '+' | '>' | '~' | ' '; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
TypeAliasDeclaration |
declare type AttributeTest = '=' | '^=' | '$=' | '*=' | '=' | '~=' | '|='; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
abstract match(node: Node): boolean; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration | /**
* If the selector is static returns if it matches the node.
* If the selector is dynamic returns if it may match the node, and accumulates any changes that may affect its state.
*/
abstract accumulateChanges(node: Node, map: ChangeAccumulator): boolean; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
lookupSort(sorter: LookupSorter, base?: SelectorCore): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
accumulateChanges(node: Node, map?: ChangeAccumulator): boolean; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
mayMatch(node: Node): boolean; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
trackChanges(node: Node, map: ChangeAccumulator): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
match(node: Node): boolean; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
trackChanges(node: any, map: any): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
match(node: Node): Node; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
mayMatch(node: Node): Node; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
lookupSort(sorter: LookupSorter): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
query(node: T): SelectorsMatch<T>; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
sortById(id: string, sel: SelectorCore): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
sortByClass(cssClass: string, sel: SelectorCore): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
sortByType(cssType: string, sel: SelectorCore): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
sortAsUniversal(sel: SelectorCore): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
addAttribute(node: T, attribute: string): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
addPseudoClass(node: T, pseudoClass: string): void; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
MethodDeclaration |
properties(node: T): Changes; | danielideriba/PushKitHMS-NativeScript-plugin | node_modules/@nativescript/core/ui/styling/css-selector/index.d.ts | TypeScript |
ClassDeclaration |
export class ListUserProfilesCommand extends $Command<
ListUserProfilesCommandInput,
ListUserProfilesCommandOutput,
SageMakerClientResolvedConfig
> {
// Start section: command_properties
// End section: command_properties
constructor(readonly input: ListUserProfilesCommandInput) {
// Start section: co... | garrettheel/aws-sdk-js-v3 | clients/client-sagemaker/commands/ListUserProfilesCommand.ts | TypeScript |
TypeAliasDeclaration |
export type ListUserProfilesCommandInput = ListUserProfilesRequest; | garrettheel/aws-sdk-js-v3 | clients/client-sagemaker/commands/ListUserProfilesCommand.ts | TypeScript |
TypeAliasDeclaration |
export type ListUserProfilesCommandOutput = ListUserProfilesResponse &
__MetadataBearer; | garrettheel/aws-sdk-js-v3 | clients/client-sagemaker/commands/ListUserProfilesCommand.ts | TypeScript |
MethodDeclaration |
resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: SageMakerClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<ListUserProfilesCommandInput, ListUserProfilesCommandOutput> {
this.middlewareStack.use(
getSerdePlugin(configuration, ... | garrettheel/aws-sdk-js-v3 | clients/client-sagemaker/commands/ListUserProfilesCommand.ts | TypeScript |
MethodDeclaration |
private serialize(
input: ListUserProfilesCommandInput,
context: __SerdeContext
): Promise<__HttpRequest> {
return serializeAws_json1_1ListUserProfilesCommand(input, context);
} | garrettheel/aws-sdk-js-v3 | clients/client-sagemaker/commands/ListUserProfilesCommand.ts | TypeScript |
MethodDeclaration |
private deserialize(
output: __HttpResponse,
context: __SerdeContext
): Promise<ListUserProfilesCommandOutput> {
return deserializeAws_json1_1ListUserProfilesCommand(output, context);
} | garrettheel/aws-sdk-js-v3 | clients/client-sagemaker/commands/ListUserProfilesCommand.ts | TypeScript |
FunctionDeclaration |
export function SideBar({
selectedGenreId,
buttonClickCallback
}: SideBarProps) {
const [genres, setGenres] = useState<GenreResponseProps[]>([]);
useQuery(['genres'], () => {
api.get<GenreResponseProps[]>('genres').then(response => {
setGenres(response.data)
});
})
return (
<nav classN... | DaianCosta/ignite-desafio-7 | src/components/SideBar.tsx | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.