text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```xml
<!--
~ Nextcloud - Android Client
~
-->
<vector xmlns:android="path_to_url"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#757575" android:pathData="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" />
</vector>
``` | /content/code_sandbox/app/src/main/res/drawable/ic_plus.xml | xml | 2016-06-06T21:23:36 | 2024-08-16T18:22:36 | android | nextcloud/android | 4,122 | 104 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="path_to_url">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<F... | /content/code_sandbox/MemInfo/MemInfo.vcxproj.filters | xml | 2016-11-15T08:01:35 | 2024-08-14T08:55:28 | WindowsInternals | zodiacon/WindowsInternals | 2,319 | 433 |
```xml
import React, { FunctionComponent } from "react";
const ArrowsDownIcon: FunctionComponent = () => {
// path_to_url
return (
<svg xmlns="path_to_url" viewBox="0 0 24 24">
<path
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
d="M23.25 7.311L12.53 1... | /content/code_sandbox/client/src/core/client/ui/components/icons/ArrowsDownIcon.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 234 |
```xml
export default function Layout(props) {
return (
<>
<div>{props.children}</div>
<div>{props.modal}</div>
</>
)
}
``` | /content/code_sandbox/test/e2e/app-dir/interception-route-prefetch-cache/app/baz/layout.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 36 |
```xml
import { useTransition } from '@react-spring/web'
import { useMotionConfig } from '@nivo/core'
import { BarDatum, CommonProps, MouseEventHandlers } from './types'
import { Bar } from './Bar'
interface BarsProps<RawDatum> extends MouseEventHandlers<RawDatum, SVGRectElement> {
isInteractive: boolean
bars:... | /content/code_sandbox/packages/marimekko/src/Bars.tsx | xml | 2016-04-16T03:27:56 | 2024-08-16T03:38:37 | nivo | plouc/nivo | 13,010 | 567 |
```xml
import { describe, expect, it } from 'vitest';
import box from '../../../../src/util/output/box';
import chalk from 'chalk';
import stripAnsi from 'strip-ansi';
describe('box()', () => {
it('should show single line box with default padding', () => {
const result = box('Hello world!');
expect(stripAnsi... | /content/code_sandbox/packages/cli/test/unit/util/output/box.test.ts | xml | 2016-09-09T01:12:08 | 2024-08-16T17:39:45 | vercel | vercel/vercel | 12,545 | 603 |
```xml
import * as _app from './app';
import * as _data from './data';
import * as _network from './network';
import * as _request from './request';
import * as _response from './response';
import * as _store from './store';
export type { PluginStore } from './store';
export const app = _app;
export const data = _dat... | /content/code_sandbox/packages/insomnia/src/plugins/context/index.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 107 |
```xml
import * as path from 'path';
import { fileURLToPath } from 'url';
import { afterAll, expect, it } from 'vitest';
import fse from 'fs-extra';
import esbuild from 'esbuild';
import { createUnplugin } from 'unplugin';
import preBundleDeps from '../src/service/preBundleDeps';
import { scanImports } from '../src/ser... | /content/code_sandbox/packages/ice/tests/transformImport.test.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 418 |
```xml
/*your_sha256_hash-----------------------------
*your_sha256_hash----------------------------*/
import {
action,
autorun,
computed,
observable,
reaction,
runInAction,
} from "mobx";
import {
IMonacoSetup,
loadMonaco,
waitForLoadedMonaco,
} from "../../../monaco-loader";
import { IPlaygroundProject, IP... | /content/code_sandbox/website/src/website/pages/playground/PlaygroundModel.ts | xml | 2016-06-07T16:56:31 | 2024-08-16T17:17:05 | monaco-editor | microsoft/monaco-editor | 39,508 | 2,073 |
```xml
import styles from "./view-source.module.css";
type ViewSourceProps = {
pathname: string;
};
const ViewSource = ({ pathname }: ViewSourceProps) => (
<svg
xmlns="path_to_url"
width="80"
height="80"
viewBox="0 0 250 250"
fill="#151513"
className={styles.svg}
>
<a
title="Vi... | /content/code_sandbox/examples/image-legacy-component/components/view-source.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 411 |
```xml
import type { ComponentProps } from 'react'
export const ShortcutLabelContainer = (props: ComponentProps<'div'>) => (
<div {...props} className="align-center flex justify-center gap-0.5" />
)
``` | /content/code_sandbox/applications/docs-editor/src/app/Plugins/KeyboardShortcuts/ShortcutLabelContainer.tsx | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 49 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
package="github.nisrulz.example.activitylifecycle">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
... | /content/code_sandbox/ActivityLifecycle/app/src/main/AndroidManifest.xml | xml | 2016-02-25T11:06:48 | 2024-08-07T21:41:59 | android-examples | nisrulz/android-examples | 1,747 | 172 |
```xml
<Page
x:Class="$rootnamespace$.$safeitemname$"
xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:local="using:$rootnamespace$"
xmlns:d="path_to_url"
xmlns:mc="path_to_url"
mc:Ignorable="d">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center"... | /content/code_sandbox/vsix/ItemTemplates/BlankPage/BlankPage.xaml | xml | 2016-09-14T16:28:57 | 2024-08-13T13:14:47 | cppwinrt | microsoft/cppwinrt | 1,628 | 114 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="nb-NO" datatype="plaintext" original="messages.en.xlf">
<body>
<trans-unit id="inmIkP6" resname="yes">
<source>yes</source>
<target>Ja... | /content/code_sandbox/translations/messages.nb_NO.xlf | xml | 2016-10-20T17:06:34 | 2024-08-16T18:27:30 | kimai | kimai/kimai | 3,084 | 17,031 |
```xml
<?xml version="1.0" encoding="utf-8"?><!--
~
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<LinearLayout
xmlns:android="path_to_url"
android:layout_width="match_... | /content/code_sandbox/sample/src/main/res/layout/list_item.xml | xml | 2016-01-13T01:35:25 | 2024-08-16T15:39:28 | RecyclerView-FastScroll | timusus/RecyclerView-FastScroll | 1,386 | 298 |
```xml
export class TrustedDeviceKeysRequest {
constructor(
public encryptedUserKey: string,
public encryptedPublicKey: string,
public encryptedPrivateKey: string,
) {}
}
``` | /content/code_sandbox/libs/common/src/auth/services/devices/requests/trusted-device-keys.request.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 37 |
```xml
import { Nevercode } from "../Nevercode"
import { getCISourceForEnv } from "../../get_ci_source"
const correctEnv = {
NEVERCODE: "true",
NEVERCODE_REPO_SLUG: "danger/danger-js",
NEVERCODE_PULL_REQUEST: "true",
NEVERCODE_PULL_REQUEST_NUMBER: "2",
NEVERCODE_GIT_PROVIDER_PULL_REQUEST: "123234",
}
descri... | /content/code_sandbox/source/ci_source/providers/_tests/_nevercode.test.ts | xml | 2016-08-20T12:57:06 | 2024-08-13T14:00:02 | danger-js | danger/danger-js | 5,229 | 401 |
```xml
export default defineNuxtConfig({})
``` | /content/code_sandbox/test/fixtures/basic-types/extends/bar/nuxt.config.ts | xml | 2016-10-26T11:18:47 | 2024-08-16T19:32:46 | nuxt | nuxt/nuxt | 53,705 | 8 |
```xml
import { subSeconds } from "date-fns";
import { computed, observable } from "mobx";
import { now } from "mobx-utils";
import type { ProsemirrorData } from "@shared/types";
import User from "~/models/User";
import Document from "./Document";
import Model from "./base/Model";
import Field from "./decorators/Field"... | /content/code_sandbox/app/models/Comment.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 695 |
```xml
// Type definitions for ag-grid v6.2.1
// Project: path_to_url
// Definitions by: Niall Crosby <path_to_url
// Definitions: path_to_url
import { ColDef } from "./colDef";
import { Column } from "./column";
export declare class RowNode {
static EVENT_ROW_SELECTED: string;
static EVENT_DATA_CHANGED: string... | /content/code_sandbox/services/dashboard/assets-dev/js/vendor/ag-grid/dist/lib/entities/rowNode.d.ts | xml | 2016-06-21T19:39:58 | 2024-08-12T19:23:26 | mylg | mehrdadrad/mylg | 2,691 | 986 |
```xml
<!--
***********************************************************************************************
Microsoft.NET.ApiCompat.ValidatePackage.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it... | /content/code_sandbox/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ApiCompat.ValidatePackage.targets | xml | 2016-07-22T21:26:02 | 2024-08-16T17:23:58 | sdk | dotnet/sdk | 2,627 | 1,071 |
```xml
export class SomeClass5 {}
``` | /content/code_sandbox/build-tests/api-extractor-scenarios/src/referenceTokens/internal.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 7 |
```xml
export * from './Event/EventType'
export * from './Event/EventTypeEnum'
export * from './Factory/CreateClientEventMessage'
export * from './Factory/CreateCommit'
export * from './Factory/CreateDocumentUpdate'
export * from './Factory/CreateDocumentUpdateArray'
export * from './Factory/CreateDocumentUpdateMessag... | /content/code_sandbox/packages/docs-proto/lib/index.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 249 |
```xml
import cn from 'classnames';
import React from 'react';
import { getAlignClassname } from './helpers';
import styles from './styles.module.css';
import { ICell, IRow, IAdditionalClassNames, ISelection } from './types';
export function NoData({
noData = () => 'No data',
}: {
noData?: () => React.ReactNode;
... | /content/code_sandbox/webapp/client/src/shared/view/elements/Table/components.tsx | xml | 2016-10-19T01:07:26 | 2024-08-14T03:53:55 | modeldb | VertaAI/modeldb | 1,689 | 399 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES ... | /content/code_sandbox/kernel/authority/distsql/pom.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 254 |
```xml
import { useEffect, useState } from 'react';
import { get } from 'lodash';
import { Databases } from 'shared/core';
export const useTables = (example, explains, databaseType): any[] => {
const { jsonExplain, classicExplain } = explains;
const [tables, setTables] = useState<any[]>([]);
const [loading, setL... | /content/code_sandbox/pmm-app/src/pmm-qan/panel/components/Details/Table/TableContainer.hooks.ts | xml | 2016-01-22T07:14:23 | 2024-08-13T13:01:59 | grafana-dashboards | percona/grafana-dashboards | 2,661 | 231 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="urn:ietf:params:xml:ns:allocationToken-1.0"
xmlns:allocationToken="urn:ietf:params:xml:ns:allocationToken-1.0"
xmlns="path_to_url"
elementFormDefault="qualified">
<annotation>
<documentation>
Extensible Provisioning Protocol v1.0... | /content/code_sandbox/core/src/main/java/google/registry/xml/xsd/allocationToken-1.0.xsd | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 195 |
```xml
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<root>
test: Valid
</root>
``` | /content/code_sandbox/tests/data/Reader/Xml/XEETestValidUTF-8-single-quote.xml | xml | 2016-06-19T16:58:48 | 2024-08-16T14:51:45 | PhpSpreadsheet | PHPOffice/PhpSpreadsheet | 13,180 | 30 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url" xmlns:flowable="path_to_url"
xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url"
xmlns:omgdi="path_to_url" typeLanguage="path_to_url"
expressionLanguage="path_to_url" targetNamespace="path_to_url">
... | /content/code_sandbox/modules/flowable-external-job-rest/src/test/resources/org/flowable/external/job/rest/service/api/parallelExternalWorkerJobs.bpmn20.xml | xml | 2016-10-13T07:21:43 | 2024-08-16T15:23:14 | flowable-engine | flowable/flowable-engine | 7,715 | 1,645 |
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Iterator as Iter, IterableIterator } ... | /content/code_sandbox/lib/node_modules/@stdlib/array/to-iterator-right/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 618 |
```xml
/*
*
* This source code is licensed under the MIT license which is detailed in the LICENSE.txt file.
*/
import * as ExtensionApi from "@extraterm/extraterm-extension-api";
import { EventEmitter } from "extraterm-event-emitter";
import { Direction, QBoxLayout, QWidget } from "@nodegui/nodegui";
import { BoxLay... | /content/code_sandbox/main/src/extension/api/ExtensionTabImpl.ts | xml | 2016-03-04T12:39:59 | 2024-08-16T18:44:37 | extraterm | sedwards2009/extraterm | 2,501 | 1,016 |
```xml
import { type EventSubscription, requireNativeModule } from 'expo-modules-core';
const ExpoLocalizationModule = requireNativeModule('ExpoLocalization');
export function addLocaleListener(listener: (event) => void): EventSubscription {
return ExpoLocalizationModule.addListener('onLocaleSettingsChanged', liste... | /content/code_sandbox/packages/expo-localization/src/ExpoLocalization.native.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 114 |
```xml
import {
closeTestingConnections,
createTestingConnections,
reloadTestingDatabases,
} from "../../../utils/test-utils"
import { DataSource } from "../../../../src/data-source/DataSource"
import { expect } from "chai"
import { Test } from "./entity/Test"
describe("query builder > exists", () => {
... | /content/code_sandbox/test/functional/query-builder/exists/query-builder-exists.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 271 |
```xml
import { ClassAttributes, ComponentProps, ComponentType } from 'react';
import { StyleProp, Text as NativeText, TextStyle as NativeTextStyle } from 'react-native';
import { WebViewStyle } from './View';
import { createSafeStyledView } from '../css/createSafeStyledView';
// path_to_url
type NativeTextProps = C... | /content/code_sandbox/packages/html-elements/src/primitives/Text.tsx | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 455 |
```xml
import * as React from 'react';
import styles from './App.module.scss';
import { IAppProps } from './IAppProps';
import AppContext,{IMessageBarSettings} from "./AppContext";
import { MessageBarType } from 'office-ui-fabric-react/lib/MessageBar';
import AppContent from "./AppContent";
import * as Strings from "Si... | /content/code_sandbox/samples/react-site-provisioning-manager/webpart/src/webparts/siteProvisioningManager/components/App/App.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 480 |
```xml
<!--
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
path_to_url
Unless required by applicable law or agreed to in writing,
"AS IS" BASIS, WITHOUT WARRANTIES ... | /content/code_sandbox/pulsar-transaction/coordinator/src/main/resources/findbugsExclude.xml | xml | 2016-06-28T07:00:03 | 2024-08-16T17:12:43 | pulsar | apache/pulsar | 14,047 | 697 |
```xml
/** @jsx jsx */
import { jsx } from 'slate-hyperscript'
export const input = (
<editor>
<element>
<element>
<cursor />
word
</element>
</element>
</editor>
)
export const output = {
children: [
{
children: [
{
children: [
{
... | /content/code_sandbox/packages/slate-hyperscript/test/fixtures/cursor-element-nested-start.tsx | xml | 2016-06-18T01:52:42 | 2024-08-16T18:43:42 | slate | ianstormtaylor/slate | 29,492 | 152 |
```xml
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"path_to_url" [
]>
<part label="V">
<title>Related Tools</title>
<partintro>
<para>
Several useful developer tools have been build around GObject
technology. The next sections... | /content/code_sandbox/utilities/glib/docs/reference/gobject/tut_tools.xml | xml | 2016-10-27T09:31:28 | 2024-08-16T19:00:35 | nexmon | seemoo-lab/nexmon | 2,381 | 1,143 |
```xml
import React, { FunctionComponent } from "react";
const ViewOffIcon: FunctionComponent = () => {
// path_to_url
return (
<svg xmlns="path_to_url" viewBox="-0.25 -0.25 24.5 24.5">
<g>
<line
x1="2.78"
y1="21"
x2="21.53"
y2="3"
fill="none"
... | /content/code_sandbox/client/src/core/client/ui/components/icons/ViewOffIcon.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 504 |
```xml
import {
IPropertyPaneCustomFieldProps,
IWebPartContext
} from '@microsoft/sp-webpart-base';
/**
* Complex object to define property in a web part
*/
export interface IPropertyPaneViewSelectorProps {
/**
* Selected list id
*/
listId: string;
/**
* Selected view id
*/
viewId: string;
}
... | /content/code_sandbox/samples/knockout-dependent-properties/src/webparts/depProps/controls/Common.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 393 |
```xml
/// <reference types="./css" />
/// <reference types="./macro" />
/// <reference types="./style" />
/// <reference types="./global" />
declare module 'styled-jsx' {
import type { JSX } from "react";
export type StyledJsxStyleRegistry = {
styles(options?: { nonce?: string }): JSX.Element[]
flush(): ... | /content/code_sandbox/index.d.ts | xml | 2016-12-05T13:58:02 | 2024-08-14T09:15:42 | styled-jsx | vercel/styled-jsx | 7,675 | 165 |
```xml
import {EventEmitter, Injectable} from '@angular/core';
import {BehaviorSubject} from 'rxjs';
import {JobProgressDTO, JobProgressStates, OnTimerJobProgressDTO,} from '../../../../common/entities/job/JobProgressDTO';
import {NetworkService} from '../../model/network/network.service';
import {JobScheduleDTO} from ... | /content/code_sandbox/src/frontend/app/ui/settings/scheduled-jobs.service.ts | xml | 2016-03-12T11:46:41 | 2024-08-16T19:56:44 | pigallery2 | bpatrik/pigallery2 | 1,727 | 1,423 |
```xml
import { defineConfig, mergeConfig } from 'vitest/config';
import { vitestCommonConfig } from '../../vitest.workspace';
export default mergeConfig(
vitestCommonConfig,
defineConfig({
// Add custom config here
})
);
``` | /content/code_sandbox/code/lib/blocks/vitest.config.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 53 |
```xml
export { VTextField } from './VTextField'
``` | /content/code_sandbox/packages/vuetify/src/components/VTextField/index.ts | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 11 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="path_to_url"
android:id="@+id/dialog_radio_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/dialog_wrapper"
android:layout_width="match_parent"
... | /content/code_sandbox/app/src/main/res/layout/dialog_select_event_type.xml | xml | 2016-01-26T21:02:54 | 2024-08-15T00:35:32 | Simple-Calendar | SimpleMobileTools/Simple-Calendar | 3,512 | 339 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/activity_tab_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
tools:context="q.rorbin.verticaltabl... | /content/code_sandbox/verticaltablayoutdemo/src/main/res/layout/activity_tab_fragment.xml | xml | 2016-08-04T10:38:20 | 2024-08-09T11:22:09 | VerticalTabLayout | qstumn/VerticalTabLayout | 1,225 | 191 |
```xml
import { checkPermission } from '@erxes/api-utils/src/permissions';
import { ICommonParams } from '../../../models/definitions/common';
import { IContext } from '../../../connectionResolver';
import { paginate } from '@erxes/api-utils/src/core';
interface IParams extends ICommonParams {
voucherCampaignId: str... | /content/code_sandbox/packages/plugin-loyalties-api/src/graphql/resolvers/queries/spins.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 344 |
```xml
export const input = {
title: 'Referencing',
type: 'object',
properties: {
foo: {
$ref: 'test/resources/ReferencedType.json',
},
},
required: ['foo'],
additionalProperties: false,
}
export const options = {
declareExternallyReferenced: true,
}
``` | /content/code_sandbox/test/e2e/ref.1a.ts | xml | 2016-03-22T03:56:58 | 2024-08-12T18:37:05 | json-schema-to-typescript | bcherny/json-schema-to-typescript | 2,877 | 72 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="path_to_url"
android:shape="rectangle">
<solid android:color="@android:color/white" />
<stroke
android:width="1dp"
android:color="@color/diary_photo_layout_boarder" />
<corners android:radius="3dp" />
<padding
... | /content/code_sandbox/app/src/main/res/drawable/diary_photo_bg.xml | xml | 2016-11-04T02:04:13 | 2024-08-07T01:13:41 | MyDiary | DaxiaK/MyDiary | 1,580 | 123 |
```xml
import type { LoadComponentsReturnType } from '../load-components'
import type { ServerRuntime, SizeLimit } from '../../types'
import type { NextConfigComplete } from '../../server/config-shared'
import type { ClientReferenceManifest } from '../../build/webpack/plugins/flight-manifest-plugin'
import type { NextF... | /content/code_sandbox/packages/next/src/server/app-render/types.ts | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 1,852 |
```xml
import type { AdornmentSide, AdornmentType } from './enums';
export type AdornmentConfig = {
side: AdornmentSide;
type: AdornmentType;
};
export type AdornmentStyleAdjustmentForNativeInput = {
adornmentStyleAdjustmentForNativeInput: Array<
{ paddingRight: number; paddingLeft: number } | {}
>;
};
``... | /content/code_sandbox/src/components/TextInput/Adornment/types.tsx | xml | 2016-10-19T05:56:53 | 2024-08-16T08:48:04 | react-native-paper | callstack/react-native-paper | 12,646 | 78 |
```xml
<dict>
<key>LayoutID</key>
<integer>92</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283904146</integer>
</array>
<key>Headphone</key>
<dict/>
<key>Inputs</key>
<array>
<string>Mic</string>
<string>LineIn</string>
<string>SPDIFIn</st... | /content/code_sandbox/Resources/ALC892/layout92.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 10,495 |
```xml
/*
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { LitElement } from 'lit';
export type ResponsiveComponent = LitElement & { layout: string; responsive: boolean; layoutStable: boolean };
export interfac... | /content/code_sandbox/packages/core/src/internal/utils/responsive.ts | xml | 2016-09-29T17:24:17 | 2024-08-11T17:06:15 | clarity | vmware-archive/clarity | 6,431 | 520 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="path_to_url">
<solid android:color="@color/assist_blue" />
<corners android:radius="25.0dip" />
<padding android:left="18.0dip" android:top="6.0dip" android:right="18.0dip" android:bottom="6.0dip" />
</shape>
``` | /content/code_sandbox/app/src/main/res/drawable/shape_item_topup_pressed.xml | xml | 2016-11-21T02:35:32 | 2024-07-16T14:34:43 | likequanmintv | chenchengyin/likequanmintv | 1,050 | 100 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:uwp="using:MahApps.Metro.IconPacks">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ms-appx:///MahApps.Metro.IconPacks.ForkAwesome/Themes/PackIconForkAwesome.xaml" />
... | /content/code_sandbox/src/MahApps.Metro.IconPacks.ForkAwesome/Themes/UAP/Generic.xaml | xml | 2016-07-17T00:10:12 | 2024-08-16T16:16:36 | MahApps.Metro.IconPacks | MahApps/MahApps.Metro.IconPacks | 1,748 | 116 |
```xml
import { Outline } from "../analysis/lsp/custom_protocol";
import { isWin } from "../constants";
import { IAmDisposable, Logger, Range } from "../interfaces";
import { ErrorNotification, GroupNotification, Notification, PrintNotification, SuiteNotification, TestDoneNotification, TestStartNotification } from "../... | /content/code_sandbox/src/shared/test/coordinator.ts | xml | 2016-07-30T13:49:11 | 2024-08-10T16:23:15 | Dart-Code | Dart-Code/Dart-Code | 1,472 | 3,196 |
```xml
<vector android:height="120dp" android:viewportHeight="600"
android:viewportWidth="1200" android:width="240dp" xmlns:android="path_to_url">
<path android:fillColor="#012169" android:pathData="m0,0h1200v600h-1200z"/>
<path
android:fillColor="#000"
android:pathData="m0,0 l600,300m0,-300... | /content/code_sandbox/app/src/main/res/drawable/ic_flag_tv.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 861 |
```xml
import { put, select, take, takeEvery } from 'redux-saga/effects';
import {
vaultMoveAllItemsFailure,
vaultMoveAllItemsIntent,
vaultMoveAllItemsProgress,
vaultMoveAllItemsSuccess,
} from '@proton/pass/store/actions';
import { type BulkMoveItemsChannel, bulkMoveChannel } from '@proton/pass/store/... | /content/code_sandbox/packages/pass/store/sagas/vaults/vault-move-all-items.saga.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 369 |
```xml
import { getDocument } from './dom/getDocument';
import { mergeStyles } from '@fluentui/merge-styles';
import { EventGroup } from './EventGroup';
import { getWindow } from './dom/getWindow';
let _scrollbarWidth: number;
let _bodyScrollDisabledCount = 0;
const DisabledScrollClassName = mergeStyles({
overflow:... | /content/code_sandbox/packages/utilities/src/scroll.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,447 |
```xml
if ((true as any) == (false as any)) {
}
if (("hello" as any) == ("goodbye" as any)) {
}
if ((3 as any) == (5 as any)) {
}
if ((3 as any) > (5 as any)) {
}
``` | /content/code_sandbox/tests/blocklycompiler-test/baselines/compare_literals.ts | xml | 2016-01-24T19:35:52 | 2024-08-16T16:39:39 | pxt | microsoft/pxt | 2,069 | 60 |
```xml
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get(browser.baseUrl) as Promise<any>;
}
getTitleText() {
return element(by.css('app-root h1')).getText() as Promise<string>;
}
}
``` | /content/code_sandbox/e2e/src/app.po.ts | xml | 2016-06-21T19:27:57 | 2024-08-05T15:07:44 | ng2-pdf-viewer | VadimDez/ng2-pdf-viewer | 1,291 | 62 |
```xml
import {editor, IPosition, Range} from "monaco-editor";
import {FlatElement, FlatElementPosition, FlatSchema} from "./schema.model";
import ITextModel = editor.ITextModel;
export class Editor {
static completionProvider(monaco): any {
return {
triggerCharacters: [' ', ':', '\n'],
... | /content/code_sandbox/ui/src/app/model/editor.model.ts | xml | 2016-10-11T08:28:23 | 2024-08-16T01:55:31 | cds | ovh/cds | 4,535 | 2,131 |
```xml
import type { FullField } from '../types/index.noReact';
import { getValueSourcesUtil } from './getValueSourcesUtil';
import { toFullOption } from './toFullOption';
const f: FullField = toFullOption({ name: 'f', label: 'FullField' });
const f1: FullField = toFullOption({ name: 'f1', label: 'F1', valueSources: [... | /content/code_sandbox/packages/react-querybuilder/src/utils/getValueSourcesUtil.test.ts | xml | 2016-06-17T22:03:19 | 2024-08-16T10:28:42 | react-querybuilder | react-querybuilder/react-querybuilder | 1,131 | 931 |
```xml
import './vendor';
import createMuiTheme from '@material-ui/core/styles/createMuiTheme';
import responsiveFontSizes from '@material-ui/core/styles/responsiveFontSizes';
import ThemeProvider from '@material-ui/styles/ThemeProvider';
import * as React from 'react';
import { render } from 'react-dom';
import { Mai... | /content/code_sandbox/src/Unosquare.PassCore.Web/ClientApp/App.tsx | xml | 2016-01-07T21:36:00 | 2024-08-16T09:03:42 | passcore | unosquare/passcore | 1,030 | 193 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>fscheck</class>
<widget class="QDialog" name="fscheck">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>307</height>
</rect>
</property>
<property name="windowTitle">
<string>File Syst... | /content/code_sandbox/recovery/fscheck.ui | xml | 2016-03-19T14:59:48 | 2024-08-15T01:49:02 | pinn | procount/pinn | 1,085 | 495 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES ... | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dcl/e2e-dcl-create-user.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 618 |
```xml
<ResourceDictionary xmlns="path_to_url"
xmlns:x="path_to_url"
xmlns:uwp="using:MahApps.Metro.IconPacks">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ms-appx:///MahApps.Metro.IconPacks.Codicons/Themes/PackIconCodicons.xaml" />
</Reso... | /content/code_sandbox/src/MahApps.Metro.IconPacks.Codicons/Themes/UAP/Generic.xaml | xml | 2016-07-17T00:10:12 | 2024-08-16T16:16:36 | MahApps.Metro.IconPacks | MahApps/MahApps.Metro.IconPacks | 1,748 | 113 |
```xml
import React from 'react';
// @ts-ignore
import Modal from 'react-native-modal';
import ModalBaseScene from '../utils/ModalBaseScene';
import DefaultModalContent from '../utils/DefaultModalContent';
class FancyModal extends ModalBaseScene {
renderModal(): React.ReactElement<any> {
return (
<Modal
... | /content/code_sandbox/example/src/modals/FancyModal.tsx | xml | 2016-09-23T16:45:46 | 2024-08-16T09:51:03 | react-native-modal | react-native-modal/react-native-modal | 5,444 | 170 |
```xml
import * as React from 'react';
import Box from '@material-ui/core/Box';
export interface ITabPanelProps {
children?: React.ReactNode;
index: any;
value: any;
}
export const TabPanel: React.FunctionComponent<ITabPanelProps> = (props: ITabPanelProps) => {
const { children, value, index, ...other... | /content/code_sandbox/samples/react-avatar/src/webparts/avatarGenerator/components/TabPanel.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 165 |
```xml
export const injectedStyles = '@--INJECTED-STYLES-CONTENT--@';
export default function injectStyles() {
if (globalThis.document) {
const style = document.createElement('style');
style.append(document.createTextNode(injectedStyles));
document.head.appendChild(style);
}
}
``` | /content/code_sandbox/packages/fluent-theme/src/styles/injectStyle.ts | xml | 2016-07-07T23:16:57 | 2024-08-16T00:12:37 | BotFramework-WebChat | microsoft/BotFramework-WebChat | 1,567 | 59 |
```xml
import { UseKnobOptions } from '@fluentui/docs-components';
import { ThemePrepared } from '@fluentui/react-northstar';
export type ExampleSource = {
js: string;
ts: string;
};
export type BehaviorInfo = {
name: string;
displayName: string;
category: string;
};
export type BehaviorVariantionInfo = {
... | /content/code_sandbox/packages/fluentui/docs/src/types.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 465 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="path_to_url"
xmlns:xsi="path_to_url"
xsi:schemaLocation="path_to_url path_to_url">
<modelVersion>4.0.0</modelVersion>
<artifactId>cloud-tenant-base</artifactId>
<name>Vespa Cloud tenant base</name>
<version>8-SNAPSHOT</vers... | /content/code_sandbox/cloud-tenant-base/pom.xml | xml | 2016-06-03T20:54:20 | 2024-08-16T15:32:01 | vespa | vespa-engine/vespa | 5,524 | 303 |
```xml
import { Modal } from '../../../../Modal'
export default function FooPagePostInterceptSlot({
params: { id },
}: {
params: {
id: string
}
}) {
return <Modal title={`Post ${id}`} context="Intercepted on Foo Page" />
}
``` | /content/code_sandbox/test/e2e/app-dir/interception-route-prefetch-cache/app/foo/@modal/(...)post/[id]/page.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 61 |
```xml
import * as ad from "../types/ad.js";
import { PathCmd, PathDataV, SubPath } from "../types/value.js";
/**
* Class for building SVG paths
*/
export class PathBuilder {
private path: PathDataV<ad.Num>;
constructor() {
this.path = {
tag: "PathDataV",
contents: [],
};
}
private newCoo... | /content/code_sandbox/packages/core/src/renderer/PathBuilder.ts | xml | 2016-09-22T04:47:19 | 2024-08-16T13:00:54 | penrose | penrose/penrose | 6,760 | 1,366 |
```xml
<resources>
<string name="gettipsi_card_number">Numero carta</string>
<string name="gettipsi_save">Salva</string>
<string name="gettipsi_card_cvc">CVC</string>
<string name="gettipsi_google_pay_unavaliable">Google Pay non disponibile sul tuo dispositivo.</string>
<string name="gettipsi_user_cancel_di... | /content/code_sandbox/android/src/main/res/values-it/strings.xml | xml | 2016-10-27T09:03:49 | 2024-07-16T17:40:56 | tipsi-stripe | tipsi/tipsi-stripe | 1,134 | 244 |
```xml
import * as vs from "vscode";
import * as as from "../../shared/analysis_server_types";
import { flatMap, notUndefined } from "../../shared/utils";
import { fsPath } from "../../shared/utils/fs";
import { toRange } from "../../shared/vscode/utils";
import { DasAnalyzer } from "../analysis/analyzer_das";
import {... | /content/code_sandbox/src/extension/providers/dart_implementation_provider.ts | xml | 2016-07-30T13:49:11 | 2024-08-10T16:23:15 | Dart-Code | Dart-Code/Dart-Code | 1,472 | 642 |
```xml
import { Observable, firstValueFrom, map } from "rxjs";
import { I18nService as I18nServiceAbstraction } from "../abstractions/i18n.service";
import { GlobalState, GlobalStateProvider, KeyDefinition, TRANSLATION_DISK } from "../state";
import { TranslationService } from "./translation.service";
const LOCALE_K... | /content/code_sandbox/libs/common/src/platform/services/i18n.service.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 318 |
```xml
import React, { PropsWithChildren, useCallback, useRef } from 'react'
import styled from '../../lib/styled'
import { AppComponent } from '../../lib/types'
import DoublePane from '../atoms/DoublePane'
import PageHelmet from '../atoms/PageHelmet'
import cc from 'classcat'
import { isFocusRightSideShortcut } from '... | /content/code_sandbox/src/design/components/templates/ContentLayout.tsx | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 1,030 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android... | /content/code_sandbox/Android/AndroidWebScrapingRetrofit/app/src/main/res/layout/activity_main.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 272 |
```xml
import { describe, expect, it } from 'vitest';
import { __internal, diff } from '../diff';
describe('diff()', () => {
it('creates block map', () => {
const result = __internal.getBlockMap('Hello World!!', 3);
expect(result).toEqual({
dbc2d1fed0dc37a70aea0f376958c802eddc0559: [
{
... | /content/code_sandbox/packages/insomnia/src/sync/delta/__tests__/diff.test.ts | xml | 2016-04-23T03:54:26 | 2024-08-16T16:50:44 | insomnia | Kong/insomnia | 34,054 | 723 |
```xml
export * from './LargeTitle';
export { largeTitleClassNames } from './useLargeTitleStyles.styles';
``` | /content/code_sandbox/packages/react-components/react-text/library/src/components/presets/LargeTitle/index.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 23 |
```xml
import { SearchBox } from '@fluentui/react-components';
import descriptionMd from './SearchBoxDescription.md';
import bestPracticesMd from './SearchBoxBestPractices.md';
export { Default } from './SearchBoxDefault.stories';
export { Appearance } from './SearchBoxAppearance.stories';
export { ContentBeforeAfter... | /content/code_sandbox/packages/react-components/react-search/stories/src/SearchBox/index.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 179 |
```xml
import { useState } from 'react';
import {
refreshableSettings,
createPersistedStore,
ZustandSetFunc,
} from '@@/datatables/types';
import { useTableState } from '@@/datatables/useTableState';
import { TableSettings } from './DefaultDatatableSettings';
import { systemResourcesSettings } from './SystemRes... | /content/code_sandbox/app/react/kubernetes/datatables/default-kube-datatable-store.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 237 |
```xml
import { Component, AfterViewInit, OnDestroy } from '@angular/core';
import { NbThemeService } from '@nebular/theme';
@Component({
selector: 'ngx-echarts-multiple-xaxis',
template: `
<div echarts [options]="options" class="echart"></div>
`,
})
export class EchartsMultipleXaxisComponent implements Afte... | /content/code_sandbox/src/app/pages/charts/echarts/echarts-multiple-xaxis.component.ts | xml | 2016-05-25T10:09:03 | 2024-08-16T16:34:03 | ngx-admin | akveo/ngx-admin | 25,169 | 971 |
```xml
export * from '@crawlee/browser';
export * from './internals/puppeteer-crawler';
export * from './internals/puppeteer-launcher';
export * as puppeteerRequestInterception from './internals/utils/puppeteer_request_interception';
export type { InterceptHandler } from './internals/utils/puppeteer_request_intercepti... | /content/code_sandbox/packages/puppeteer-crawler/src/index.ts | xml | 2016-08-26T18:35:03 | 2024-08-16T16:40:08 | crawlee | apify/crawlee | 14,153 | 184 |
```xml
/**
* This file is part of OpenMediaVault.
*
* @license path_to_url GPL Version 3
* @author Volker Theile <volker.theile@openmediavault.org>
*
* OpenMediaVault is free software: you can redistribute it and/or modify
* any later version.
*
* OpenMediaVault is distributed in the hope that it will be ... | /content/code_sandbox/deb/openmediavault/workbench/src/app/core/components/intuition/models/rrd-page-config.type.ts | xml | 2016-05-03T10:35:34 | 2024-08-16T08:03:04 | openmediavault | openmediavault/openmediavault | 4,954 | 416 |
```xml
import * as React from 'react';
import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';
import type { ImageProps, ImageState } from './Image.types';
/**
* Given user props, returns state and render function for an Image.
*/
export const useImage_unstable = (props: ImageProps, ref: React.Re... | /content/code_sandbox/packages/react-components/react-image/library/src/components/Image/useImage.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 189 |
```xml
export * from '../../dist/types/plugins/storage-memory/index';
``` | /content/code_sandbox/plugins/storage-memory/index.ts | xml | 2016-12-02T19:34:42 | 2024-08-16T15:47:20 | rxdb | pubkey/rxdb | 21,054 | 12 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="path_to_url"
xmlns:app="path_to_url">
<item
android:id="@+id/reset"
android:icon="@drawable/restart"
android:title="@string/reset"
app:showAsAction="always"/>
</menu>
``` | /content/code_sandbox/example/src/main/res/menu/main_menu.xml | xml | 2016-05-09T00:47:18 | 2024-08-16T12:23:05 | slidetoact | cortinico/slidetoact | 1,190 | 74 |
```xml
import * as compose from 'lodash.flowright';
import React from 'react';
import { gql } from '@apollo/client';
import { graphql } from '@apollo/client/react/hoc';
import { ConversationDetailQueryResponse } from '@erxes/ui-inbox/src/inbox/types';
import { IActivityLog } from '@erxes/ui-log/src/activityLogs/types'... | /content/code_sandbox/packages/plugin-instagram-ui/src/containers/ActivityLogsContainer.tsx | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 471 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="48dp"
android:minHe... | /content/code_sandbox/app/src/main/res/layout/fragment_grouped_overlay_image_select.xml | xml | 2016-07-02T10:44:04 | 2024-08-16T18:55:54 | StreetComplete | streetcomplete/StreetComplete | 3,781 | 338 |
```xml
/**
* @license
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at path_to_url
*/
/**
* Type describing the allowed values for a number input
* @docs-private
*/
export type NumberInput = string | number | null | undefined;
/** Coerces a data-bound ... | /content/code_sandbox/src/cdk/coercion/number-property.ts | xml | 2016-01-04T18:50:02 | 2024-08-16T11:21:13 | components | angular/components | 24,263 | 275 |
```xml
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
export declare type AppleAuthenticationButtonProps = ViewProps & {
/**
* The method to call when the user presses the button. You should call [`AppleAuthentication.signInAsync`](#appleauthenticationisavailableasync)
* in here.
... | /content/code_sandbox/packages/expo-apple-authentication/build/AppleAuthentication.types.d.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 2,226 |
```xml
import { ABP } from '@abp/ng.core';
import { Injector, Type } from '@angular/core';
import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
import { Observable } from 'rxjs';
import {
Prop,
PropCallback,
PropContributorCallback,
PropContributorCallbacks,
PropData,
PropDisplayTextResolver,
P... | /content/code_sandbox/npm/ng-packs/packages/components/extensible/src/lib/models/form-props.ts | xml | 2016-12-03T22:56:24 | 2024-08-16T16:24:05 | abp | abpframework/abp | 12,657 | 1,200 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/activity_simple_circle_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
and... | /content/code_sandbox/app/src/main/res/layout/activity_simple_circle_button.xml | xml | 2016-03-19T12:04:12 | 2024-08-12T03:29:06 | BoomMenu | Nightonke/BoomMenu | 5,806 | 236 |
```xml
import {isObject} from '../utils.ts';
import type {RequestData, RequestOpts} from '../types.ts';
const {csrfToken} = window.config;
// safe HTTP methods that don't need a csrf token
const safeMethods = new Set(['GET', 'HEAD', 'OPTIONS', 'TRACE']);
// fetch wrapper, use below method name functions and the `dat... | /content/code_sandbox/web_src/js/modules/fetch.ts | xml | 2016-11-01T02:13:26 | 2024-08-16T19:51:49 | gitea | go-gitea/gitea | 43,694 | 425 |
```xml
import Board from "./boards";
import Purchase from "./purchases";
import PipelineLabel from "./pipelineLabels";
import PipelineTemplate from "./pipelineTemplates";
import Checklists from "./checklists";
export { Board, Purchase, PipelineLabel, PipelineTemplate, Checklists };
``` | /content/code_sandbox/packages/plugin-purchases-api/src/graphql/resolvers/mutations/index.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 53 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Notwithstanding anything to the contrary herein, any previous version
of Tencent GT shall not be subject to the license hereunder.
All right, title, and interest, including all intellectual property rights,
in and to the previous version of Tencent GT (i... | /content/code_sandbox/android/GT_APP/app/src/main/res/layout/legalterm_body.xml | xml | 2016-01-13T10:29:55 | 2024-08-13T06:40:00 | GT | Tencent/GT | 4,384 | 427 |
```xml
import {Sequelize} from 'sequelize-typescript';
import {User} from '../users/User';
import {Post} from '../posts/Post';
export const sequelize = new Sequelize({
dialect: 'sqlite',
storage: ':memory:',
models: [User, Post],
});
``` | /content/code_sandbox/examples/simple/lib/database/sequelize.ts | xml | 2016-01-27T11:25:52 | 2024-08-13T16:56:45 | sequelize-typescript | sequelize/sequelize-typescript | 2,768 | 60 |
```xml
import { requireNativeModule } from 'expo-modules-core';
// TODO: Rename the package to 'ExpoTracking'
export default requireNativeModule('ExpoTrackingTransparency');
``` | /content/code_sandbox/packages/expo-tracking-transparency/src/ExpoTrackingTransparency.ts | xml | 2016-08-15T17:14:25 | 2024-08-16T19:54:44 | expo | expo/expo | 32,004 | 37 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.