repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_iframe_srcdoc_assignments.ts | common/rules/dom_security/ban_iframe_srcdoc_assignments.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_domparser_parsefromstring.ts | common/rules/dom_security/ban_domparser_parsefromstring.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_element_insertadjacenthtml.ts | common/rules/dom_security/ban_element_insertadjacenthtml.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_eval_calls.ts | common/rules/dom_security/ban_eval_calls.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_range_createcontextualfragment.ts | common/rules/dom_security/ban_range_createcontextualfragment.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_script_appendchild_calls.ts | common/rules/dom_security/ban_script_appendchild_calls.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_function_calls.ts | common/rules/dom_security/ban_function_calls.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_worker_importscripts.ts | common/rules/dom_security/ban_worker_importscripts.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_document_writeln_calls.ts | common/rules/dom_security/ban_document_writeln_calls.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_base_href_assignments.ts | common/rules/dom_security/ban_base_href_assignments.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_document_execcommand.ts | common/rules/dom_security/ban_document_execcommand.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_window_stringfunctiondef.ts | common/rules/dom_security/ban_window_stringfunctiondef.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_serviceworkercontainer_register.ts | common/rules/dom_security/ban_serviceworkercontainer_register.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_object_data_assignments.ts | common/rules/dom_security/ban_object_data_assignments.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_element_innerhtml_assignments.ts | common/rules/dom_security/ban_element_innerhtml_assignments.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/common/rules/dom_security/ban_script_content_assignments.ts | common/rules/dom_security/ban_script_content_assignments.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/tsec/tsec.ts | packages/tsec/tsec.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/tsec/utils.ts | packages/tsec/utils.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/tsec/language_service_plugin.ts | packages/tsec/language_service_plugin.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/tsec/report.ts | packages/tsec/report.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/tsec/build.ts | packages/tsec/build.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/tsec/compiler_host.ts | packages/tsec/compiler_host.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/eslint_plugin_tsec/trusted_types_checks.ts | packages/eslint_plugin_tsec/trusted_types_checks.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
google/tsec | https://github.com/google/tsec/blob/91f538cac10f7dd4395c00a7ca55a2f989927026/packages/eslint_plugin_tsec/index.ts | packages/eslint_plugin_tsec/index.ts | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | typescript | Apache-2.0 | 91f538cac10f7dd4395c00a7ca55a2f989927026 | 2026-01-05T05:01:26.084937Z | false |
slicknode/stylemapper | https://github.com/slicknode/stylemapper/blob/1e660ce227f91e0eb57bab99968851fa82d0395a/jest-setup.ts | jest-setup.ts | // In your own jest-setup.js (or any other name)
import '@testing-library/jest-dom';
export {};
declare global {
namespace jest {
interface Matchers<R> {
toHaveStyleRule(attr: string, value: string): R;
}
}
}
let consoleErrorMock: { mockRestore: () => void };
// React throws deprecation warnings wh... | typescript | MIT | 1e660ce227f91e0eb57bab99968851fa82d0395a | 2026-01-05T05:01:26.044118Z | false |
slicknode/stylemapper | https://github.com/slicknode/stylemapper/blob/1e660ce227f91e0eb57bab99968851fa82d0395a/src/styled.tsx | src/styled.tsx | import * as React from 'react';
import {
StyledComponent,
StyledComponentProps,
StyleConfig,
StrictValue,
} from './types';
export function styled<
TComponent extends keyof JSX.IntrinsicElements | React.ComponentType<any>,
TConfigs extends (string | { [key: string]: unknown })[]
>(
Component: TComponent,... | typescript | MIT | 1e660ce227f91e0eb57bab99968851fa82d0395a | 2026-01-05T05:01:26.044118Z | false |
slicknode/stylemapper | https://github.com/slicknode/stylemapper/blob/1e660ce227f91e0eb57bab99968851fa82d0395a/src/types.ts | src/types.ts | export type Assign<
T1 = Record<string, unknown>,
T2 = Record<string, unknown>
> = T1 extends any ? Omit<T1, keyof T2> & T2 : never;
export type IntrinsicElementsKeys = keyof JSX.IntrinsicElements;
export type StyleConfig =
| {
variants?: {
[Name in string]: {
[Pair in number | string]: ... | typescript | MIT | 1e660ce227f91e0eb57bab99968851fa82d0395a | 2026-01-05T05:01:26.044118Z | false |
slicknode/stylemapper | https://github.com/slicknode/stylemapper/blob/1e660ce227f91e0eb57bab99968851fa82d0395a/src/index.ts | src/index.ts | export { styled, styled as default } from './styled';
export type { StyledComponent, StyledComponentProps } from './types';
| typescript | MIT | 1e660ce227f91e0eb57bab99968851fa82d0395a | 2026-01-05T05:01:26.044118Z | false |
slicknode/stylemapper | https://github.com/slicknode/stylemapper/blob/1e660ce227f91e0eb57bab99968851fa82d0395a/src/styled.test.tsx | src/styled.test.tsx | import * as React from 'react';
import { styled } from './styled';
import { render, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
describe('styled', () => {
const TestComponent = (props: { open?: boolean; className?: string }) => {
return (
<div className={pr... | typescript | MIT | 1e660ce227f91e0eb57bab99968851fa82d0395a | 2026-01-05T05:01:26.044118Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/next-env.d.ts | next-env.d.ts | /// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
| typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/next.config.ts | next.config.ts | import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
/* config options here */
}
export default nextConfig
| typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/app/layout.tsx | src/app/layout.tsx | import './globals.css'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import { Layout } from '@/components'
const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
export default func... | typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/app/page.tsx | src/app/page.tsx | import Head from 'next/head'
import styles from '@/styles/home.module.css'
export default function Home() {
return (
<div className={styles.container}>
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
... | typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/components/index.ts | src/components/index.ts | export * from './layout'
| typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/components/layout/index.tsx | src/components/layout/index.tsx | import Link from 'next/link'
import type { ReactNode } from 'react'
export function Layout({ children }: { children: ReactNode }) {
return (
<div className="flex flex-col mx-auto h-screen">
<nav className="relative z-20 border-b border-gray-200 py-5 shadow-[0_0_15px_0_rgb(0,0,0,0.1)]">
<div classNa... | typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/api/hello.ts | src/api/hello.ts | import type { NextApiRequest, NextApiResponse } from 'next'
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req: NextApiRequest, res: NextApiResponse) => {
res.statusCode = 200
res.json({ name: `John Doe` })
}
| typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/api/hello-edge.ts | src/api/hello-edge.ts | import type { NextRequest } from 'next/server'
export const config = {
runtime: 'edge',
}
export default async function handler(req: NextRequest) {
return new Response(`Hello edge from ${req.url}`, {
status: 200,
})
}
| typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/lib/utils.ts | src/lib/utils.ts | import type { ClassValue } from 'clsx'
import { clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
| typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
chhpt/nextjs-starter | https://github.com/chhpt/nextjs-starter/blob/bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b/src/lib/index.ts | src/lib/index.ts | export * from './utils'
| typescript | MIT | bdfdaf4d007e160a20b02ac9075a6bfc55f08f2b | 2026-01-05T05:01:25.962380Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/main.aot.ts | src/main.aot.ts | import {platformBrowser} from "@angular/platform-browser";
import {AppModuleNgFactory} from "../aot/src/app/app.module.ngfactory";
import {decorateModuleRef} from "./app/environment";
platformBrowser()
.bootstrapModuleFactory(AppModuleNgFactory)
.then(decorateModuleRef)
.catch(err => console.error(err));
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/polyfills.ts | src/polyfills.ts | import "core-js/es6/symbol";
import "core-js/es6/object";
import "core-js/es6/function";
import "core-js/es6/parse-int";
import "core-js/es6/parse-float";
import "core-js/es6/number";
import "core-js/es6/math";
import "core-js/es6/string";
import "core-js/es6/date";
import "core-js/es6/array";
import "core-js/es6/regex... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/custom-typings.d.ts | src/custom-typings.d.ts | /// <reference path="../node_modules/rxjs/add/operator/finally.d.ts" />
/// <reference path="../node_modules/rxjs/add/operator/do.d.ts" />
// support NodeJS modules without type definitions
declare module '*';
// Extra variables that live on Global that will be replaced by webpack DefinePlugin
declare var ENV: string... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/vendor.ts | src/vendor.ts | import "rxjs/Observable";
import "rxjs/Subject";
import "rxjs/add/operator/map";
import "rxjs/add/operator/mergeMap";
import "rxjs/add/operator/finally";
import "rxjs/add/operator/do";
import "rxjs/add/operator/debounceTime";
import "rxjs/add/operator/delay";
import "lodash/values";
import "lodash/isEmpty";
import "lod... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/main.ts | src/main.ts | import {platformBrowserDynamic} from "@angular/platform-browser-dynamic";
import {AppModule} from "./app";
import {decorateModuleRef} from "./app/environment";
import {bootloader} from "@angularclass/hmr";
export function main(): Promise<any> {
return platformBrowserDynamic()
.bootstrapModule(AppModule)
.the... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/app.component.ts | src/app/app.component.ts | import {Component} from "@angular/core";
import {styles} from "./app.component.styles";
@Component({
selector: 'mpt-app',
templateUrl: './app.component.html',
})
export class AppComponent {
styles: any = styles;
}
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/app.module.ts | src/app/app.module.ts | import {NgModule, ApplicationRef} from "@angular/core";
import {BrowserModule} from "@angular/platform-browser";
import {RouterModule, PreloadAllModules} from "@angular/router";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {ENV_PROVIDERS} from "./environment";
import {ROUTES} from "./app.rout... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/app.routes.ts | src/app/app.routes.ts | import {Routes} from "@angular/router";
import {HomeComponent} from "./pages/home/home.component";
import {ProfileDataResolver} from "./core/services/profile-data.resolver";
import {AuthComponent} from "./pages/auth/auth.component";
import {TopComponent} from "./pages/top/top.component";
import {PrivatePageGuard} from ... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/app.component.styles.ts | src/app/app.component.styles.ts | import {StyleSheet} from "aphrodite";
import {colors} from "./styles/colors.styles";
export const styles = StyleSheet.create({
footer: {
marginTop: '24px',
paddingTop: '4px',
borderTop: `1px solid ${colors.borderColor}`,
color: colors.weakTextColor,
},
});
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/environment.ts | src/app/environment.ts | // Angular 2
// rc2 workaround
import {enableDebugTools, disableDebugTools} from "@angular/platform-browser";
import {enableProdMode, ApplicationRef} from "@angular/core";
// Environment Providers
let PROVIDERS: any[] = [
// common env directives
];
// Angular debug tools in the dev console
// https://github.com/ang... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/index.ts | src/app/index.ts | export * from './app.component';
export * from './app.module';
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/styles/mixin.styles.ts | src/app/styles/mixin.styles.ts | export function spinner(size: number): any {
return {
borderRadius: '50%',
width: `${size}px`,
height: `${size}px`,
border: '.25rem solid rgba(128, 128, 128, 0.2)',
borderTopColor: 'gray !important',
position: 'absolute',
left: '50%',
top: '50%',
marginLeft: `-${size / 2}px`,
m... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/styles/colors.styles.ts | src/app/styles/colors.styles.ts | export const colors = {
borderColor: '#e8e8e8',
weakTextColor: '#999',
};
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/styles/shared.styles.ts | src/app/styles/shared.styles.ts | import {colors} from "./colors.styles";
export const list_1 = {
padding: '8px 0',
borderTop: `1px solid ${colors.borderColor}`,
};
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/related-user-list.component.ts | src/app/pages/+related-user-list/related-user-list.component.ts | import {Component, OnInit} from "@angular/core";
import {ActivatedRoute} from "@angular/router";
import {styles} from "./related-user-list.component.styles";
import {RelatedUser} from "../../core/domains";
import {HttpErrorHandler} from "../../core/services/http-error-handler";
import {RelatedUserListService} from "./r... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/related-user-list.service.ts | src/app/pages/+related-user-list/related-user-list.service.ts | import {Observable} from "rxjs/Observable";
import {RelatedUser} from "../../core/domains";
export abstract class RelatedUserListService {
abstract list(userId: string,
params: {maxId: number|null, count: number}): Observable<RelatedUser[]>;
abstract title(): string
}
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/related-user-list.component.spec.ts | src/app/pages/+related-user-list/related-user-list.component.spec.ts | import {Observable} from "rxjs/Observable";
import {Component, DebugElement} from "@angular/core";
import {Router} from "@angular/router";
import {RelatedUserListComponent} from "./related-user-list.component";
import {
TestBed,
inject,
fakeAsync,
ComponentFixture
} from "@angular/core/testing";
import {RouterT... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/related-user-list.module.ts | src/app/pages/+related-user-list/related-user-list.module.ts | import {NgModule} from "@angular/core";
import {CommonModule} from "@angular/common";
import {UserStatsModule} from "../../components/user-stats/user-stats.module";
import {SharedModule} from "../../shared/shared.module";
import {RelatedUserListComponent} from "./related-user-list.component";
import {RouterModule} from... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/related-user-list.component.styles.ts | src/app/pages/+related-user-list/related-user-list.component.styles.ts | import {StyleSheet} from "aphrodite";
import {list_1} from "../../styles/shared.styles";
export const styles = StyleSheet.create({
list: {...list_1},
gravatar: {
float: 'left',
marginRight: '8px',
},
});
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/+follower-list/follower-list.service.spec.ts | src/app/pages/+related-user-list/+follower-list/follower-list.service.spec.ts | import {inject, TestBed} from "@angular/core/testing";
import {
ResponseOptions,
Response,
RequestMethod,
HttpModule
} from "@angular/http";
import {MockBackend} from "@angular/http/testing";
import {FollowerListService} from "./follower-list.service";
import {APP_TEST_HTTP_PROVIDERS} from "../../../../testing"... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/+follower-list/follower-list.module.ts | src/app/pages/+related-user-list/+follower-list/follower-list.module.ts | import {NgModule} from "@angular/core/src/metadata/ng_module";
import {Routes, RouterModule} from "@angular/router";
import {RelatedUserListService} from "../related-user-list.service";
import {FollowerListService} from "./follower-list.service";
import {RelatedUserListComponent} from "../related-user-list.component";
... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/+follower-list/follower-list.service.ts | src/app/pages/+related-user-list/+follower-list/follower-list.service.ts | import {Observable} from "rxjs/Observable";
import {RelatedUserListService} from "../related-user-list.service";
import {RelatedUser} from "../../../core/domains";
import {Injectable} from "@angular/core";
import {JsonHttp} from "../../../core/services/json-http";
import {objToSearchParams} from "../../../core/services... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/+following-list/following-list.service.spec.ts | src/app/pages/+related-user-list/+following-list/following-list.service.spec.ts | import {inject, TestBed} from "@angular/core/testing";
import {
ResponseOptions,
Response,
RequestMethod,
HttpModule
} from "@angular/http";
import {MockBackend} from "@angular/http/testing";
import {FollowingListService} from "./following-list.service";
import {APP_TEST_HTTP_PROVIDERS} from "../../../../testin... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/+following-list/following-list.module.ts | src/app/pages/+related-user-list/+following-list/following-list.module.ts | import {NgModule} from "@angular/core/src/metadata/ng_module";
import {Routes, RouterModule} from "@angular/router";
import {RelatedUserListService} from "../related-user-list.service";
import {FollowingListService} from "./following-list.service";
import {RelatedUserListComponent} from "../related-user-list.component"... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+related-user-list/+following-list/following-list.service.ts | src/app/pages/+related-user-list/+following-list/following-list.service.ts | import {Observable} from "rxjs/Observable";
import {RelatedUserListService} from "../related-user-list.service";
import {RelatedUser} from "../../../core/domains";
import {Injectable} from "@angular/core";
import {JsonHttp} from "../../../core/services/json-http";
import {objToSearchParams} from "../../../core/services... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/no-content/no-content.component.ts | src/app/pages/no-content/no-content.component.ts | import {Component} from "@angular/core";
@Component({
template: `
<div>
<h1>404: page missing</h1>
</div>
`
})
export class NoContentComponent {
}
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/auth/auth.component.ts | src/app/pages/auth/auth.component.ts | import {Component} from "@angular/core";
import {Router} from "@angular/router";
import {AuthService} from "../../core/services/auth.service";
import {styles} from "./auth.component.styles";
import {ToastService} from "../../core/toast/toast.service";
@Component({
selector: 'mpt-auth',
templateUrl: './auth.compone... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/auth/auth.module.ts | src/app/pages/auth/auth.module.ts | import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {RouterModule} from "@angular/router";
import {AuthComponent} from "./auth.component";
import {SharedModule} from "../../shared/shared.module";
@NgModule({
imports: [
CommonModule,
RouterModule... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/auth/auth.component.styles.ts | src/app/pages/auth/auth.component.styles.ts | import {StyleSheet} from "aphrodite";
export const styles = StyleSheet.create({
form: {
marginBottom: '12px',
},
});
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/auth/auth.component.spec.ts | src/app/pages/auth/auth.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {By} from "@angular/platform-browser/src/dom/debug/by";
import {getDOM} from "@angular/platform-browser/src/dom/dom_adapter";
import {
fakeAsync,
TestBed,
ComponentFixture,
inject
} from "@angular/core/testing";
import {Response, ResponseOptions} fro... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-show/user-show.module.ts | src/app/pages/+user-show/user-show.module.ts | import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {Routes, RouterModule} from "@angular/router";
import {SharedModule} from "../../shared";
import {UserStatsModule, MicropostListModule} from "../../components";
import {UserShowComponent} from "./user-sho... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-show/user-show.component.styles.ts | src/app/pages/+user-show/user-show.component.styles.ts | import {StyleSheet} from "aphrodite";
export const styles = StyleSheet.create({
aside: {
marginBottom: '8px',
position: 'relative',
},
followBtn: {
position: 'absolute',
top: 0,
right: 0,
marginRight: '16px',
marginTop: '8px',
}
});
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-show/user-show.component.spec.ts | src/app/pages/+user-show/user-show.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {By} from "@angular/platform-browser/src/dom/debug/by";
import {inject, TestBed, fakeAsync} from "@angular/core/testing";
import {Router} from "@angular/router";
import {RouterTestingModule} from "@angular/router/testing";
import {UserShowComponent} from "./... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-show/user-show.component.ts | src/app/pages/+user-show/user-show.component.ts | import {Component, OnInit} from "@angular/core";
import {ActivatedRoute} from "@angular/router";
import {styles} from './user-show.component.styles';
@Component({
selector: 'mpt-user-show',
templateUrl: 'user-show.component.html',
})
export class UserShowComponent implements OnInit {
styles: any = styles;
use... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-list/user-list.component.ts | src/app/pages/+user-list/user-list.component.ts | import {Component, OnInit} from "@angular/core";
import {ActivatedRoute, Router} from "@angular/router";
import {User} from "../../core/domains";
import {UserService} from "../../core/services/user.service";
import {HttpErrorHandler} from "../../core/services/http-error-handler";
import {styles} from './user-list.compo... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-list/user-list.module.ts | src/app/pages/+user-list/user-list.module.ts | import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {RouterModule, Routes} from "@angular/router";
import {SharedModule} from "../../shared";
import {UserListComponent} from "./user-list.component";
const routes: Routes = [
{path: '', component: UserLis... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-list/user-list.component.spec.ts | src/app/pages/+user-list/user-list.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {By} from "@angular/platform-browser/src/dom/debug/by";
import {getDOM} from "@angular/platform-browser/src/dom/dom_adapter";
import {
inject,
fakeAsync,
ComponentFixture,
TestBed
} from "@angular/core/testing";
import {ResponseOptions, Response} fro... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-list/user-list.component.styles.ts | src/app/pages/+user-list/user-list.component.styles.ts | import {StyleSheet} from "aphrodite";
import {list_1} from "../../styles/shared.styles";
export const styles = StyleSheet.create({
list: {...list_1},
gravatar: {
float: 'left',
marginRight: '8px',
},
});
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/top/top.component.spec.ts | src/app/pages/top/top.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {By} from "@angular/platform-browser/src/dom/debug/by";
import {TestBed, fakeAsync} from "@angular/core/testing";
import {TopComponent} from "./top.component";
import {RouterTestingModule} from "@angular/router/testing";
import {TopModule} from "./top.module... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/top/top.module.ts | src/app/pages/top/top.module.ts | import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {RouterModule} from "@angular/router";
import {TopComponent} from "./top.component";
import {SharedModule} from "../../shared/shared.module";
@NgModule({
imports: [
CommonModule,
RouterModule,
... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/top/top.component.ts | src/app/pages/top/top.component.ts | import {Component} from "@angular/core";
import {styles} from "./top.component.styles";
@Component({
selector: 'mpt-top',
templateUrl: './top.component.html',
})
export class TopComponent {
styles: any = styles;
}
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/top/top.component.styles.ts | src/app/pages/top/top.component.styles.ts | import {StyleSheet} from "aphrodite";
export const styles = StyleSheet.create({
header: {
fontSize: '60px',
letterSpacing: '-1px',
fontWeight: 'bold',
},
});
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-edit/user-edit.component.ts | src/app/pages/+user-edit/user-edit.component.ts | import {Component, OnInit} from "@angular/core";
import {FormGroup, FormControl, Validators} from "@angular/forms";
import {ActivatedRoute} from "@angular/router";
import isEmpty from "lodash/isEmpty";
import omitBy from "lodash/omitBy";
import values from "lodash/values";
import {User} from "../../core/domains";
impor... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-edit/user-edit.module.ts | src/app/pages/+user-edit/user-edit.module.ts | import {CommonModule} from "@angular/common";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {RouterModule, Routes} from "@angular/router";
import {UserEditComponent} from "./user-edit.component";
const routes: Routes = [
{path: ... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+user-edit/user-edit.component.spec.ts | src/app/pages/+user-edit/user-edit.component.spec.ts | import {Observable} from "rxjs/Observable";
import {Component, DebugElement} from "@angular/core";
import {inject, TestBed, fakeAsync} from "@angular/core/testing";
import {Router} from "@angular/router";
import {By} from "@angular/platform-browser/src/dom/debug/by";
import {getDOM} from "@angular/platform-browser/src/... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/home.component.styles.ts | src/app/pages/home/home.component.styles.ts | import {StyleSheet} from "aphrodite";
export const styles = StyleSheet.create({
userStats: {
marginBottom: '8px',
},
aside: {
marginBottom: '8px',
}
});
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/home.component.ts | src/app/pages/home/home.component.ts | import {Component} from "@angular/core";
import {styles} from "./home.component.styles";
@Component({
selector: 'mpt-home',
templateUrl: './home.component.html',
})
export class HomeComponent {
styles: any = styles;
}
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/home.component.spec.ts | src/app/pages/home/home.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {By} from "@angular/platform-browser/src/dom/debug/by";
import {TestBed, fakeAsync} from "@angular/core/testing";
import {FeedComponent} from "./feed/feed.component";
import {HomeComponent} from "./home.component";
import {RouterTestingModule} from "@angular... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/home.module.ts | src/app/pages/home/home.module.ts | import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {SharedModule} from "../../shared";
import {MicropostNewComponent, UserStatsModule} from "../../components";
import {HomeComponent} from "./home.component";
import {FeedModule} from "./feed/feed.module";
... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/feed/feed.component.ts | src/app/pages/home/feed/feed.component.ts | import {Component, EventEmitter, Output, OnInit} from "@angular/core";
import {FeedService} from "./feed.service";
import {Micropost} from "../../../core/domains";
import {MicropostService} from "../../../core/services/micropost.service";
import {HttpErrorHandler} from "../../../core/services/http-error-handler";
impor... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/feed/feed.component.spec.ts | src/app/pages/home/feed/feed.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {TestBed, inject, fakeAsync} from "@angular/core/testing";
import {ResponseOptions, Response} from "@angular/http";
import {FeedComponent} from "./feed.component";
import {RouterTestingModule} from "@angular/router/testing";
import {MockBackend} from "@angul... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/feed/feed.service.spec.ts | src/app/pages/home/feed/feed.service.spec.ts | import {inject, TestBed} from "@angular/core/testing";
import {
ResponseOptions,
Response,
RequestMethod,
HttpModule
} from "@angular/http";
import {MockBackend} from "@angular/http/testing";
import {FeedService} from "./feed.service";
import {APP_TEST_HTTP_PROVIDERS} from "../../../../testing";
describe('Feed... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/feed/feed.module.ts | src/app/pages/home/feed/feed.module.ts | import {CommonModule} from "@angular/common";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {RouterModule} from "@angular/router";
import {SharedModule} from "../../../shared";
import {FeedComponent} from "./feed.component";
import {FeedService} from "./feed.service";
@NgModule({
imports: [
... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/feed/feed.component.styles.ts | src/app/pages/home/feed/feed.component.styles.ts | import {StyleSheet} from "aphrodite";
import {list_1} from "../../../styles/shared.styles";
import {colors} from "../../../styles/colors.styles";
export const styles = StyleSheet.create({
list: {
...list_1,
lineHeight: '20px',
},
gravatar: {
float: 'left',
marginRight: '8px',
},
content: {
... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/home/feed/feed.service.ts | src/app/pages/home/feed/feed.service.ts | import {Observable} from "rxjs/Observable";
import {Injectable} from "@angular/core";
import {Micropost} from "../../../core/domains";
import {JsonHttp} from "../../../core/services";
const url = '/api/feed';
@Injectable()
export class FeedService {
constructor(private http: JsonHttp) {
}
showFeed(): Observab... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+signup/signup.component.ts | src/app/pages/+signup/signup.component.ts | import {Component, OnInit} from "@angular/core";
import {Router} from "@angular/router";
import {FormGroup, FormControl, Validators} from "@angular/forms";
import {EMAIL_PATTERN, Validators as AppValidators} from "../../core/forms";
import {UserService} from "../../core/services/user.service";
import {AuthService} from... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+signup/signup.component.spec.ts | src/app/pages/+signup/signup.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {Location} from "@angular/common";
import {By} from "@angular/platform-browser/src/dom/debug/by";
import {
inject,
fakeAsync,
TestBed,
ComponentFixture
} from "@angular/core/testing";
import {Response, ResponseOptions} from "@angular/http";
import {M... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+signup/signup.module.ts | src/app/pages/+signup/signup.module.ts | import {CommonModule} from "@angular/common";
import {ReactiveFormsModule, FormsModule} from "@angular/forms";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {Routes, RouterModule} from "@angular/router";
import {SignupComponent} from "./signup.component";
const routes: Routes = [
{path: '', c... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+help/help.component.spec.ts | src/app/pages/+help/help.component.spec.ts | import {Component, DebugElement} from "@angular/core";
import {HelpComponent} from "./help.component";
import {TestBed, fakeAsync} from "@angular/core/testing";
import {HelpModule} from "./help.module";
import {By} from "@angular/platform-browser";
describe('HelpComponent', () => {
@Component({
template: `<mpt-... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+help/help.module.ts | src/app/pages/+help/help.module.ts | import {HelpComponent} from "./help.component";
import {NgModule} from "@angular/core/src/metadata/ng_module";
import {Routes, RouterModule} from "@angular/router";
const routes: Routes = [
{path: '', component: HelpComponent},
];
@NgModule({
imports: [
RouterModule.forChild(routes)
],
declarations: [
... | typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
springboot-angular2-tutorial/angular2-app | https://github.com/springboot-angular2-tutorial/angular2-app/blob/5c15d7f693b16d8a07dcc2e34af18242bb14219e/src/app/pages/+help/help.component.ts | src/app/pages/+help/help.component.ts | import {Component, OnInit} from "@angular/core";
@Component({
selector: 'mpt-help',
templateUrl: './help.component.html',
})
export class HelpComponent implements OnInit {
ngOnInit(): void {
}
}
| typescript | MIT | 5c15d7f693b16d8a07dcc2e34af18242bb14219e | 2026-01-05T05:01:19.427940Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.