repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
rylphs/TsUML | src/bin/index.ts | <reponame>rylphs/TsUML
#! /usr/bin/env node
import chalk from "chalk";
import * as yargs from "yargs";
import { getUrl } from "../core";
(async () => {
try {
if (yargs.argv.help) {
console.log(chalk.yellowBright("tsuml --glob ./src/**/*.ts"));
}
const pattern = yargs.argv.gl... |
rylphs/TsUML | src/demo/interfaces.ts | export interface Weapon {
tryHit(fromDistance: number): boolean;
}
export interface Named {
name: string;
}
|
rylphs/TsUML | src/lib/index.ts | export { getUrl } from "../core";
|
rylphs/TsUML | src/core/index.ts | import * as fs from "fs";
import chalk from "chalk";
import { flatten, join } from "lodash";
import { findFilesByGlob, download } from "./io";
import { getAst, parseClasses, parseInterfaces, parseHeritageClauses } from "./parser";
import { emitSingleClass, emitAssociations, emitSingleInterface, emitHeritageClauses } fr... |
rylphs/TsUML | src/core/io.ts | <reponame>rylphs/TsUML
import * as glob from "glob";
import * as request from "request";
import * as fs from "fs";
export async function findFilesByGlob(pattern: string) {
return new Promise<string[]>((res, rej) => {
glob(pattern, (err, files) => {
if (err) {
rej(err);
... |
dapoi/rs-bed-covid-indo-api | src/utils/scrape-site.ts | import cheerio from "cheerio"
import axios from "axios"
import { Agent } from "https"
import { BASE_URL } from "~/const"
const agent = new Agent({ rejectUnauthorized: false })
export const scrapeSite = async (endpoint: string) => {
try {
const fetchSite = await axios.get(`${BASE_URL}${endpoint}`, { httpsAgent: ... |
dapoi/rs-bed-covid-indo-api | src/const.ts | export const BASE_URL = "https://yankes.kemkes.go.id/app/siranap/"
|
dapoi/rs-bed-covid-indo-api | src/scrape/hospital-map.ts | <reponame>dapoi/rs-bed-covid-indo-api
import axios from "axios"
import { Agent } from "https"
import { BASE_URL } from "~/const"
import type { ResponseHospitalMap } from "~/types"
const agent = new Agent({ rejectUnauthorized: false })
export const getHospitalMap = async (hospitalid: string): Promise<ResponseHospitalM... |
dapoi/rs-bed-covid-indo-api | src/scrape/get-cities.ts | <gh_stars>0
import axios from "axios"
import { Agent } from "https"
import type { DataCities } from "~/types"
import { BASE_URL } from "~/const"
const agent = new Agent({ rejectUnauthorized: false })
export const getCities = async (provinceId: string): Promise<DataCities> => {
const data = await axios.get(`${BASE_U... |
dapoi/rs-bed-covid-indo-api | vite.config.ts | <gh_stars>0
import { defineConfig } from "vite"
import { resolve } from "path"
import mix, { vercelAdapter } from "vite-plugin-mix"
export default defineConfig({
resolve: {
alias: {
"~/": `${resolve(__dirname, "src")}/`,
},
},
plugins: [
mix({
handler: "./handler.ts",
adapter: verce... |
IMakeToo/bom-radar-card | src/const.ts | export const CARD_VERSION = '1.5.0';
|
IMakeToo/bom-radar-card | src/types.ts | import { LovelaceCardConfig } from 'custom-card-helpers';
// TODO Add your configuration elements here for type-checking
export interface BomRadarCardConfig extends LovelaceCardConfig {
show_radar_coverage: boolean;
show_radar_location: boolean;
show_range: boolean;
show_marker: boolean;
show_scale: boolean;... |
IMakeToo/bom-radar-card | src/editor.ts | /* eslint-disable @typescript-eslint/no-explicit-any */
import { LitElement, html, TemplateResult, css, CSSResultGroup } from 'lit';
import { HomeAssistant, fireEvent, LovelaceCardEditor } from 'custom-card-helpers';
import { ScopedRegistryHost } from '@lit-labs/scoped-registry-mixin';
import { BomRadarCardConfig } fr... |
veksen/gatsby-starter-blog-forestry | src/components/Contact/styles.tsx | <filename>src/components/Contact/styles.tsx
import styled from "styled-components"
export const Inner = styled.span`
display: flex;
justify-content: center;
align-items: center;
position: absolute;
height: 88px;
top: 0;
left: 0;
right: 0;
transition: 0.3s top;
`
export const InnerHover = styled(Inne... |
veksen/gatsby-starter-blog-forestry | src/components/About/index.tsx | <reponame>veksen/gatsby-starter-blog-forestry
import { graphql, StaticQuery, useStaticQuery } from "gatsby"
import React from "react"
import { HTMLContent } from "../HTMLContent"
const ABOUT_QUERY = graphql`
query {
markdownRemark(fields: { slug: { eq: "/la-ferme/" } }) {
html
}
}
`
const About = ()... |
veksen/gatsby-starter-blog-forestry | src/components/ContactForm/index.tsx | <reponame>veksen/gatsby-starter-blog-forestry<filename>src/components/ContactForm/index.tsx
import { graphql, StaticQuery } from "gatsby"
import { navigate } from "gatsby-link"
import React from "react"
import * as SC from "./styles"
function encode(data: { "form-name": string; [key: string]: string }): string {
ret... |
veksen/gatsby-starter-blog-forestry | src/components/Header/index.tsx | <reponame>veksen/gatsby-starter-blog-forestry<filename>src/components/Header/index.tsx
import React, { useState } from "react"
import { useStaticQuery, graphql } from "gatsby"
import classNames from "classnames"
import Burger from "../../icons/burger.svg"
import Close from "../../icons/close.svg"
import * as SC from "... |
veksen/gatsby-starter-blog-forestry | src/components/Container/styles.tsx | import styled from "styled-components"
export const ContainerWrapper = styled.div`
width: 865px;
padding: 0 25px;
max-width: 100%;
margin: 0 auto;
`
|
veksen/gatsby-starter-blog-forestry | src/components/HTMLContent/index.tsx | import React from "react"
interface HTMLContentProps {
content?: string
className?: string
}
export const HTMLContent = ({ content, className }: HTMLContentProps): JSX.Element => (
<div className={className} dangerouslySetInnerHTML={content ? { __html: content } : undefined} />
)
|
veksen/gatsby-starter-blog-forestry | src/components/Bio/index.tsx | <gh_stars>0
import React from "react"
// Import typefaces
import "typeface-montserrat"
import "typeface-merriweather"
import profilePic from "../profile-pic.jpg"
import { rhythm } from "../../utils/typography"
const Bio = (): JSX.Element => {
return (
<div
style={{
display: "flex",
margin... |
veksen/gatsby-starter-blog-forestry | src/components/Title/styles.tsx | import styled from "styled-components"
import { Link } from "gatsby"
export const TitleWrapper = styled.h2`
color: #ff806f !important;
font-size: 32px;
display: flex;
flex-direction: column;
margin-bottom: 50px !important;
`
export const Back = styled(Link)`
margin-top: 10px;
color: #ff806f;
font-size... |
veksen/gatsby-starter-blog-forestry | src/components/Title/index.tsx | import { Link } from "gatsby"
import React from "react"
import * as SC from "./styles"
interface TitleProps {
children: React.ReactNode
backTo?: {
link: string
text: string
}
backToText?: string
style?: React.CSSProperties
}
const Title = ({ children, backTo, ...restProps }: TitleProps): JSX.Element... |
veksen/gatsby-starter-blog-forestry | src/pages/la-ferme.tsx | import React from "react"
import { Link, graphql } from "gatsby"
import get from "lodash/get"
import Helmet from "react-helmet"
import Bio from "../components/Bio"
import Layout from "../components/Layout"
import { rhythm } from "../utils/typography"
import Container from "../components/Container"
import Title from ".... |
veksen/gatsby-starter-blog-forestry | src/components/Container/index.tsx | import React from "react"
import * as SC from "./styles"
interface ContainerProps {
children: React.ReactNode
className?: string
style?: React.CSSProperties
}
const Container: React.SFC<ContainerProps> = ({ children, className, style }) => (
<SC.ContainerWrapper style={style} className={className}>
{child... |
veksen/gatsby-starter-blog-forestry | src/pages/404.tsx | <reponame>veksen/gatsby-starter-blog-forestry
import React from 'react'
import Layout from '../components/Layout'
const NotFoundPage = (props): JSX.Element => {
return (
<Layout location={props.location}>
<h1>Not Found</h1>
<p>You just hit a route that doesn't exist... the sadness.</p>
</Layo... |
veksen/gatsby-starter-blog-forestry | src/components/Layout/index.tsx | <gh_stars>0
import React from "react"
import Header from "../Header"
import { rhythm, scale } from "../../utils/typography"
const Layout = (props): JSX.Element => {
const { location, children } = props
return (
<div>
<Header location={location} />
{children}
</div>
)
}
export default Layou... |
veksen/gatsby-starter-blog-forestry | src/components/Contact/index.tsx | import { graphql, StaticQuery, useStaticQuery } from "gatsby"
import React from "react"
import { HTMLContent } from "../HTMLContent"
import FBLogo from "../../assets/facebook.svg"
import * as SC from "./styles"
const CONTACT_QUERY = graphql`
query {
markdownRemark(fields: { slug: { eq: "/contactez-nous/" } }) {
... |
veksen/gatsby-starter-blog-forestry | src/pages/photos.tsx | import React, { Fragment } from "react"
import { graphql, navigate } from "gatsby"
import get from "lodash/get"
import Helmet from "react-helmet"
import Layout from "../components/Layout"
import Container from "../components/Container"
import Title from "../components/Title"
// import PreviewCompatibleImage from "../c... |
veksen/gatsby-starter-blog-forestry | src/components/Header/styles.tsx | <reponame>veksen/gatsby-starter-blog-forestry<filename>src/components/Header/styles.tsx
import styled, { css } from "styled-components"
import { Link } from "gatsby"
import Logo from "../../icons/logo.svg"
import Container from "../Container"
export const StyledContainer = styled(Container)`
display: flex;
align-... |
veksen/gatsby-starter-blog-forestry | src/components/ContactForm/styles.tsx | <reponame>veksen/gatsby-starter-blog-forestry
import styled from "styled-components";
export const ContactBlock = styled.div`
& + & {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid #b8afa4;
}
label {
font-weight: 400;
margin-top: 10px;
}
`
|
Narazaka/rpgmakermv-character-overlay | CharacterOverlay.d.ts | <reponame>Narazaka/rpgmakermv-character-overlay
/// <reference types="rpgmakermv_typescript_dts" />
/**
* 立ち絵
*/
declare class CharacterOverlay {
readonly characterName: string;
readonly partsNames: string[];
readonly horizontalAlign: CharacterOverlayHorizontalAlign;
readonly verticalAlign: Ch... |
Narazaka/rpgmakermv-character-overlay | CharacterOverlay.ts | <filename>CharacterOverlay.ts
/// <reference types="rpgmakermv_typescript_dts" />
/*:
* @plugindesc 常時立ち絵を表示します
*
* @author Narazaka (https://narazaka.net/)
*
* @param align
* @desc 寄せ方向 = left | right
* @default right
*
* @param pack
* @desc キャラが非表示になったときその分を寄せるか = true | false
* @default true... |
xSNOWM4Nx/ts-lib-module | src/services/index.ts | export * from './abstractions';
export * from './crosscutting';
export * from './serviceKeys';
export * from './serviceProvider';
|
xSNOWM4Nx/ts-lib-module | src/services/crosscutting/navigationService.ts | <filename>src/services/crosscutting/navigationService.ts
import { IService, Service } from '../abstractions';
import { IResponse, createResponse, ResponseStateEnumeration } from './../../communication';
import { NavigationTypeEnumeration, INavigationRequest } from '../../navigation';
import { LocalizationNamespaces } f... |
xSNOWM4Nx/ts-lib-module | src/logging/log.ts | import { LogProvider } from './LogProvider';
export enum LogLevelEnumeration {
Info,
UserAction,
Debug,
Warning,
Error,
}
export interface ILog {
message: string;
context: string;
prefix: string;
loggerKey: string;
level: LogLevelEnumeration;
timeStamp: number;
}
export interface ILogger {
ke... |
xSNOWM4Nx/ts-lib-module | src/services/crosscutting/restService.ts | <filename>src/services/crosscutting/restService.ts<gh_stars>0
import { IService, Service } from '../abstractions';
import { IResponse, createResponse, ResponseStateEnumeration } from '../../communication';
import { LocalizationNamespaces } from '../../i18n';
export interface IRESTService extends IService {
get: <T>(... |
xSNOWM4Nx/ts-lib-module | src/communication/response.ts | import { ILocalizableContent } from './../i18n';
export enum ResponseStateEnumeration {
Unknown,
OK,
Error
}
export interface IResponseMessage {
display: ILocalizableContent;
context: string;
logText?: string;
}
export interface IResponse<T> {
state: ResponseStateEnumeration;
messageStack: IResponseM... |
xSNOWM4Nx/ts-lib-module | src/i18n/index.ts | export * from './l10n'; |
xSNOWM4Nx/ts-lib-module | src/services/abstractions/service.ts | import { LogProvider, ILogger } from './../../logging';
import { ILocalizableContent, LocalizationNamespaces } from './../../i18n';
import { IResponse, ResponseStateEnumeration } from './../../communication';
import { IServiceProvider } from './../serviceProvider';
export interface IServiceKeySubscriptionDictionary { ... |
xSNOWM4Nx/ts-lib-module | src/i18n/l10n.ts | export interface IDynamicValueDictionary { [key: string]: string };
export interface ILocalizableContent {
key: string;
keyNamespace?: string | null;
value: string;
dynamicValueDictionary?: IDynamicValueDictionary;
}
export type LocalizeMethod = (content: ILocalizableContent) => string;
export class Localiza... |
xSNOWM4Nx/ts-lib-module | src/services/serviceDictionary.ts | <filename>src/services/serviceDictionary.ts
import { IService } from './abstractions';
import { ServiceKeys } from './serviceKeys';
import { NavigationService } from './crosscutting/navigationService';
import { RESTService } from './crosscutting/restService';
export interface IServiceDictionary { [key: string]: IServi... |
xSNOWM4Nx/ts-lib-module | src/selection/selectable.ts | import { ILocalizableContent } from './../i18n';
export interface ISelectableBase {
display: ILocalizableContent;
description?: ILocalizableContent;
key: string;
isVisible?: boolean;
};
export interface ISelectableValue<T> extends ISelectableBase {
value: T;
};
|
xSNOWM4Nx/ts-lib-module | src/helpers/index.ts | <filename>src/helpers/index.ts
export * from './imageFunctions';
export * from './mathFunctions';
|
xSNOWM4Nx/ts-lib-module | src/index.ts | <filename>src/index.ts
export * from './communication';
export * from './helpers';
export * from './i18n';
export * from './logging';
export * from './navigation';
export * from './selection';
export * from './services';
|
xSNOWM4Nx/ts-lib-module | src/services/crosscutting/index.ts | <reponame>xSNOWM4Nx/ts-lib-module
export * from './navigationService';
export * from './restService';
|
xSNOWM4Nx/ts-lib-module | src/logging/LogProvider.ts | <gh_stars>0
import { ILogger, Logger, ILog, LogLevelEnumeration } from './log';
export class LogProvider {
// Props
public static loggers: Array<ILogger> = [];
public static archive: Array<ILog> = [];
public static archiveOverflowLimit: number = 5000;
public static defaultPrefix: string = 'WEB';
public st... |
xSNOWM4Nx/ts-lib-module | src/selection/index.ts | export * from './selectable'; |
xSNOWM4Nx/ts-lib-module | src/logging/index.ts | <reponame>xSNOWM4Nx/ts-lib-module<gh_stars>0
export * from './log';
export * from './LogProvider'; |
xSNOWM4Nx/ts-lib-module | src/services/serviceProvider.ts | <filename>src/services/serviceProvider.ts
import { IService, Service } from './abstractions';
import { IServiceDictionary, ServiceDictionary } from './serviceDictionary';
import { LogProvider, ILogger } from './../logging';
import { IResponse, ResponseStateEnumeration } from './../communication';
export interface ISer... |
xSNOWM4Nx/ts-lib-module | src/services/serviceKeys.ts | <reponame>xSNOWM4Nx/ts-lib-module
export class ServiceKeys {
public static NavigationService: string = 'NavigationService';
public static RESTService: string = 'RESTService';
}
|
xSNOWM4Nx/ts-lib-module | src/navigation/navigation.ts | <filename>src/navigation/navigation.ts
import { ISelectableBase } from './../selection';
export enum NavigationTypeEnumeration {
View,
Dialog
}
export interface INavigationElementBase extends ISelectableBase {
importPath: string;
}
export interface INavigationRequest {
key: string;
type: NavigationTypeEnum... |
xSNOWM4Nx/ts-lib-module | src/helpers/imageFunctions.ts | export const svgToImageAsync = (svgPath: string, width: number, height: number) => {
return new Promise<HTMLImageElement>(resolve => {
const image = new Image(width, height);
image.addEventListener('load', () => resolve(image));
image.src = svgPath;
});
} |
dogboydog/wanikani-cli | models/user-data.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface UserData
*/
export interface UserData {
/**
* If the user is on vacation, this will be the timestamp of when that vacation started. I... |
dogboydog/wanikani-cli | models/spaced-repetition-system.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import { BaseResource } from './base-resource';
/**
*
* @export
* @interface SpacedRepetitionSystem
*/
export interface SpacedRepetitionSystem extends BaseResource {
/**
*
... |
dogboydog/wanikani-cli | models/voice-actors.ts | <reponame>dogboydog/wanikani-cli<filename>models/voice-actors.ts
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseCollection} from './base-collection';
/**
*
* @export
* @interface VoiceActors
*/
export interface VoiceAct... |
dogboydog/wanikani-cli | models/start-assignment-request.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface StartAssignmentRequest
*/
export interface StartAssignmentRequest {
/**
*
* @type {string}
* @memberof StartAssignmentRequest
*/
... |
dogboydog/wanikani-cli | models/user.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseResource} from './base-resource';
/**
*
* @export
* @interface User
*/
export interface User extends BaseResource {
/**
*
* @type {UserData}
* @memberof... |
dogboydog/wanikani-cli | models/resets.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import { BaseCollection } from './base-collection';
/**
*
* @export
* @interface Resets
*/
export interface Resets extends BaseCollection {
/**
*
* @type {Array<Reset&... |
dogboydog/wanikani-cli | models/review-statistic.ts | <reponame>dogboydog/wanikani-cli<gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseResource} from './base-resource';
/**
*
* @export
* @interface ReviewStatistic
*/
export interface ReviewStatistic extends Bas... |
dogboydog/wanikani-cli | models/base-resource.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface BaseResource
*/
export interface BaseResource {
/**
*
* @type {number}
* @memberof BaseResource
*/
... |
dogboydog/wanikani-cli | src/cli/common-options.ts | import {ICommandOptionDefinition} from '@zowe/imperative';
export class CommonOptions{
public static TOKEN_OPTION: ICommandOptionDefinition = {
name: "token",
description: "The API token used to authenticate you to the WaniKani REST API.",
type: "string",
required: true
}
} |
dogboydog/wanikani-cli | src/cli/main.ts | #!/usr/bin/env node
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe P... |
dogboydog/wanikani-cli | models/assignments.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseCollection} from './base-collection';
/**
*
* @export
* @interface Assignments
*/
export interface Assignments extends BaseCollection {
/**
*
... |
dogboydog/wanikani-cli | models/summary-reviews.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface SummaryReviews
*/
export interface SummaryReviews {
/**
* When the paired subject_ids are available for reviews. Al... |
dogboydog/wanikani-cli | models/image-png-metadata.ts | <filename>models/image-png-metadata.ts
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface ImagePngMetadata
*/
export interface ImagePngMetadata {
/**
* Color of the asset in hexadecimal
* @type ... |
dogboydog/wanikani-cli | src/apis/review-api.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../../configuration';
// Some imports not used depending on template conditions
// @ts-ignore
... |
dogboydog/wanikani-cli | models/review-statistics.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseCollection} from './base-collection';
/**
*
* @export
* @interface ReviewStatistics
*/
export interface ReviewStatistics extends BaseCollection {
/**
*
* @ty... |
dogboydog/wanikani-cli | models/summary-data.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface SummaryData
*/
export interface SummaryData {
/**
* Details about subjects available for lessons. See table below f... |
dogboydog/wanikani-cli | src/apis/study-material-api.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../../configuration';
// Some imports not used depending on template conditions... |
dogboydog/wanikani-cli | src/cli/list/reviews/list-reviews.handler.ts | /*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
import ... |
dogboydog/wanikani-cli | models/assignment-data.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface AssignmentData
*/
export interface AssignmentData {
/**
* Timestamp when the related subject will be available in the user's review q... |
dogboydog/wanikani-cli | models/review-data.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface ReviewData
*/
export interface ReviewData {
/**
* Unique identifier of the associated assignment.
* @type {number}
* @memberof ReviewData
... |
dogboydog/wanikani-cli | models/voice-actor-data.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface VoiceActorData
*/
export interface VoiceActorData {
/**
* Details about the voice actor.
* @type {string}
... |
dogboydog/wanikani-cli | models/context-sentence.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface ContextSentence
*/
export interface ContextSentence {
/**
* English translation of the sentence
* @type {strin... |
dogboydog/wanikani-cli | models/summary-lessons.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface SummaryLessons
*/
export interface SummaryLessons {
/**
* When the paired subject_ids are available for lessons. Always beginning of ... |
dogboydog/wanikani-cli | models/stage-attributes.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface StageAttributes
*/
export interface StageAttributes {
/**
* The length of time added to the time of review registration, adjusted to ... |
dogboydog/wanikani-cli | models/create-review-request.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface CreateReviewRequest
*/
export interface CreateReviewRequest {
/**
*
* @type {CreateReview}
* @memberof CreateReviewRequest
*/
re... |
dogboydog/wanikani-cli | src/apis/subject-api.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../../configuration';
// Some imports not used depending on t... |
dogboydog/wanikani-cli | models/user-subscription.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
* Details about the user's subscription state. See table below for the object structure.
* @export
* @interface UserSubscription
*/
export interface UserSubscription {
/**
* ... |
dogboydog/wanikani-cli | models/collection-object-type.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @enum {string}
*/
export enum CollectionObjectType {
Collection = 'collection',
Report = 'report'
}
|
dogboydog/wanikani-cli | models/common-subject.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface CommonSubject
*/
export interface CommonSubject {
/**
* Collection of auxiliary meanings. See table below for the object structure.
* @type {Ar... |
dogboydog/wanikani-cli | models/user-preferences.ts | <filename>models/user-preferences.ts
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
* User settings specific to the WaniKani application. See table below for the object structure.
* @export
* @interface UserPreferences
*/
export i... |
dogboydog/wanikani-cli | models/reset-data.ts | <filename>models/reset-data.ts
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface ResetData
*/
export interface ResetData {
/**
* Timestamp when the user confirmed the reset.
* @type {Date}
... |
dogboydog/wanikani-cli | models/base-collection-pages.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface BaseCollectionPages
*/
export interface BaseCollectionPages {
/**
*
* @type {string}
* @memberof BaseCollectionPages
*/
nextUrl:... |
dogboydog/wanikani-cli | models/auxiliary-meaning.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface AuxiliaryMeaning
*/
export interface AuxiliaryMeaning {
/**
* A singular subject meaning.
* @type {string}
* @memberof AuxiliaryMeaning
... |
dogboydog/wanikani-cli | models/radical-character-image.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface RadicalCharacterImage
*/
export interface RadicalCharacterImage {
/**
* The location of the image.
* @type {string}
* @memberof RadicalCha... |
dogboydog/wanikani-cli | src/apis/assignment-api.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../../configuration';
// Some imports not used depending on template conditions... |
dogboydog/wanikani-cli | models/vocab-subject.ts | <filename>models/vocab-subject.ts
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {CommonSubject} from './common-subject';
/**
*
* @export
* @interface VocabSubject
*/
export interface VocabSubject extends CommonSubject {
... |
dogboydog/wanikani-cli | models/study-materials.ts | <reponame>dogboydog/wanikani-cli<filename>models/study-materials.ts
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseCollection} from './base-collection';
/**
*
* @export
* @interface StudyMaterials
*/
export interface St... |
dogboydog/wanikani-cli | models/review-statistic-data.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface ReviewStatisticData
*/
export interface ReviewStatisticData {
/**
* Timestamp when the review statistic was created.
* @type {Da... |
dogboydog/wanikani-cli | models/spaced-repetition-system-data.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface SpacedRepetitionSystemData
*/
export interface SpacedRepetitionSystemData {
/**
* position of the burning stage.
... |
dogboydog/wanikani-cli | src/cli/list/list.definition.ts | <filename>src/cli/list/list.definition.ts
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Cont... |
dogboydog/wanikani-cli | models/spaced-repetition-systems.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseCollection} from './base-collection';
/**
*
* @export
* @interface SpacedRepetitionSystems
*/
export interface SpacedRepetitionSystems extends BaseCollection... |
dogboydog/wanikani-cli | models/kanji-reading.ts | <reponame>dogboydog/wanikani-cli
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseReading} from './base-reading';
/**
*
* @export
* @interface KanjiReading
*/
export interface KanjiReading extends BaseReading {
/**
... |
dogboydog/wanikani-cli | models/resource-object-type.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @enum {string}
*/
export enum ResourceObjectType {
Assignment = 'assignment',
Kanji = 'kanji',
LevelProgression = 'level_progression',
Radical = 'radica... |
dogboydog/wanikani-cli | models/study-material.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import {BaseResource} from './base-resource';
/**
*
* @export
* @interface StudyMaterial
*/
export interface StudyMaterial extends BaseResource {
/**
*
* @type {StudyMate... |
dogboydog/wanikani-cli | models/image-svg-metadata.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface ImageSvgMetadata
*/
export interface ImageSvgMetadata {
/**
* The SVG asset contains built-in CSS styling
* @type {boolean}
* @memberof Im... |
dogboydog/wanikani-cli | models/create-review-response-resources-updated.ts | <gh_stars>1-10
/* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
/**
*
* @export
* @interface CreateReviewResponseResourcesUpdated
*/
export interface CreateReviewResponseResourcesUpdated {
/**
*
* @type {Assignment}
... |
dogboydog/wanikani-cli | src/apis/reset-api.ts | /* tslint:disable */
/* eslint-disable */
/**
* WaniKani
* WaniKani: The API
*
* OpenAPI spec version: 20170710.0
*
*
*/
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../../configuration';
// Some imports not used depending on template conditions
// @ts-ignore
... |
dogboydog/wanikani-cli | src/cli/wanikani-request.ts | import axios, { AxiosResponse } from 'axios';
import {ICommandArguments} from '@zowe/imperative';
import {RequestArgs} from '../apis/base';
export class WaniKaniRequest{
public static async makeRequest(request: RequestArgs, args: ICommandArguments): Promise<AxiosResponse>{
const client = axios.create({
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.