This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'vue-feather-icons' { | |
import Vue from 'vue' | |
type FeatherIconProps = { | |
size: string | |
} | |
type FeatherIconComponent = import('vue/types/vue').ExtendedVue< | |
Vue, | |
{}, | |
{}, | |
{}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue, { VNode } from 'vue' | |
declare global { | |
namespace JSX { | |
interface Element extends VNode {} | |
interface ElementClass extends Vue {} | |
// interface IntrinsicElements { | |
// [element: string]: any | |
// } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue, { CreateElement, VNode } from 'vue' | |
import * as tsx from 'vue-tsx-support' | |
export const AppRequireAuth = tsx.component({ | |
name: 'AppRequireAuth', | |
watch: { | |
async isInitializedAuth() { | |
const user = this.$auth.currentUser | |
if (user) { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
現在調整中ですが、来年度の目処に NestJS 日本語ドキュメントの翻訳を開始する予定です。 | |
12/24 に募集を開始できるように準備を進めていましたが、もうしばらくかかりそうなので、春に開始することとしました。 | |
今後ですが、本格的な募集が開始されたあとは、日本ユーザーグループ Discord の #translation チャンネルで進行する予定ですので、ご興味のあるかたは、こちらに入っておいていただけますと幸いです。 | |
https://discord.gg/nB9MadZ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { promises as fs } from 'fs' | |
import { execSync } from 'child_process' | |
const camelToKebab = require('camel-to-kebab') | |
function getFileNames(scope: string, opt: string): string[] { | |
return execSync(`git ls-files ${scope} | grep ${opt}`) | |
.toString() | |
.split('\n') | |
.filter(v => v) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="oyasumi-result"> | |
<div class="oyasumi-result_main"> | |
<img src="@/assets/waku_up.gif" alt> | |
<div style="display: flex;align-items: stretch"> | |
<img src="@/assets/waku_left.gif" alt> | |
<div class="oyasumi-result__message"> | |
<p v-if="step"> | |
{{questions.name}} {{titleList[questions.title-1]}} | |
</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express, { Request, Response } from 'express' | |
import session from 'express-session' | |
import passport from 'passport' | |
import cookieParser from 'cookie-parser' | |
import { inspect } from 'util' | |
import { Strategy } from 'passport-twitter' | |
const app = express() | |
app.use(cookieParser()) | |
app.use( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-fixed-header"]=e(require("vue")):t["vue-fixed-header"]=e(t["Vue"])})("undefined"!==typeof self?self:this,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<img alt="Vue logo" src="./assets/logo.png"> | |
<AppUser :user="user" /> | |
</div> | |
</template> | |
<script> | |
import AppUser from './components/AppUser.vue' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<p>{{count}}</p> | |
<button type="button" @click="increment">+</button> | |
</div> | |
</template> | |
<script lang="ts"> | |
import Vue from 'vue' |