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
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/emojis/guildEmojiCreateLog.ts
src/listeners/guilds/emojis/guildEmojiCreateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/emojis/guildEmojiUpdateLog.ts
src/listeners/guilds/emojis/guildEmojiUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { Emojis } from '#utils/constants'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNull...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/emojis/guildEmojiDeleteLog.ts
src/listeners/guilds/emojis/guildEmojiDeleteLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/messages/messageDeleteLog.ts
src/listeners/guilds/messages/messageDeleteLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getContent } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { cutText, isNullish } from '@sapphire/utilities'; import { BaseGuildTextChan...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/messages/messageCreate.ts
src/listeners/guilds/messages/messageCreate.ts
import { initializeMember } from '#utils/functions/initialize'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { isNullish } from '@sapphire/utilities'; import { Message } from 'discord.js'; @ApplyOptions<ListenerOptions>({ even...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/messages/messageUpdateLog.ts
src/listeners/guilds/messages/messageUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getContent } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { cutText, inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/stages/stageInstanceCreateLog.ts
src/listeners/guilds/stages/stageInstanceCreateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { cutText, inlineCodeBlock, isNullish } from '@sapphire/utilities'; ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/stages/stageInstanceDeleteLog.ts
src/listeners/guilds/stages/stageInstanceDeleteLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { cutText, inlineCodeBlock, isNullish } from '@sapphire/utilities'; ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/stages/stageInstanceUpdateLog.ts
src/listeners/guilds/stages/stageInstanceUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { Emojis } from '#utils/constants'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { codeBlock, cutText, inl...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/roles/roleDeleteLog.ts
src/listeners/guilds/roles/roleDeleteLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/roles/roleCreateLog.ts
src/listeners/guilds/roles/roleCreateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/roles/roleUpdateLog.ts
src/listeners/guilds/roles/roleUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { Emojis } from '#utils/constants'; import { getPermissionDifference } from '#utils/functions/permissions'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type Listen...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/stickers/stickerCreateLog.ts
src/listeners/guilds/stickers/stickerCreateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/stickers/stickerDeleteLog.ts
src/listeners/guilds/stickers/stickerDeleteLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/stickers/stickerUpdateLog.ts
src/listeners/guilds/stickers/stickerUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { Emojis } from '#utils/constants'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNull...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/events/guildScheduledEventUpdateLog.ts
src/listeners/guilds/events/guildScheduledEventUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { Emojis } from '#utils/constants'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { codeBlock, inlineCodeBl...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/events/guildScheduledEventCreateLog.ts
src/listeners/guilds/events/guildScheduledEventCreateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/events/guildScheduledEventDeleteLog.ts
src/listeners/guilds/events/guildScheduledEventDeleteLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/interactions/interactionCreate.ts
src/listeners/guilds/interactions/interactionCreate.ts
import { initializeUser } from '#utils/functions/initialize'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import type { BaseInteraction } from 'discord.js'; @ApplyOptions<ListenerOptions>({ event: Events.InteractionCreate }) export ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/channels/channelDeleteLog.ts
src/listeners/guilds/channels/channelDeleteLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/channels/channelCreateLog.ts
src/listeners/guilds/channels/channelCreateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/channels/channelUpdateLog.ts
src/listeners/guilds/channels/channelUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { minutes, seconds } from '#utils/common/times'; import { Emojis } from '#utils/constants'; import { getAuditLogExecutor, getRegionOverride } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type Lis...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/members/guildMemberUpdateLog.ts
src/listeners/guilds/members/guildMemberUpdateLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { Emojis } from '#utils/constants'; import { getAuditLogExecutor } from '#utils/util'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNull...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/members/guildMemberAddLog.ts
src/listeners/guilds/members/guildMemberAddLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { BaseGuildTextChannel, GuildMember } from 'discord.j...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/members/guildMemberRemoveLog.ts
src/listeners/guilds/members/guildMemberRemoveLog.ts
import { GuildLogEmbed } from '#lib/extensions/GuildLogEmbed'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { inlineCodeBlock, isNullish } from '@sapphire/utilities'; import { BaseGuildTextChannel, GuildMember } from 'discord.j...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/members/guildMemberAdd.ts
src/listeners/guilds/members/guildMemberAdd.ts
import { initializeMember } from '#utils/functions/initialize'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { isNullish } from '@sapphire/utilities'; import { GuildMember } from 'discord.js'; @ApplyOptions<ListenerOptions>({ ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
RTByte/rtbyte
https://github.com/RTByte/rtbyte/blob/d195fd0f86164291ddb2b44af0a37d57fe9c8105/src/listeners/guilds/members/guildMemberUpdate.ts
src/listeners/guilds/members/guildMemberUpdate.ts
import { initializeMember } from '#utils/functions/initialize'; import { ApplyOptions } from '@sapphire/decorators'; import { Events, Listener, type ListenerOptions } from '@sapphire/framework'; import { isNullish } from '@sapphire/utilities'; import { GuildMember } from 'discord.js'; @ApplyOptions<ListenerOptions>({ ...
typescript
MIT
d195fd0f86164291ddb2b44af0a37d57fe9c8105
2026-01-05T05:00:24.049783Z
false
ZXVentures/react-native-async-image-animated
https://github.com/ZXVentures/react-native-async-image-animated/blob/5686bf1264e69a22181118c410aaecd6835b152a/src/AsyncImageAnimated.tsx
src/AsyncImageAnimated.tsx
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import * as React from 'react' import { Component } from 'react' import { Animated, StyleSheet, View, ViewStyle, } from 'react-native' import { lightenColor } from './lib/color' type AnimationStyle = 'fade' | 'shrink' | ...
typescript
MIT
5686bf1264e69a22181118c410aaecd6835b152a
2026-01-05T05:00:29.381302Z
false
ZXVentures/react-native-async-image-animated
https://github.com/ZXVentures/react-native-async-image-animated/blob/5686bf1264e69a22181118c410aaecd6835b152a/src/lib/color.tsx
src/lib/color.tsx
// https://css-tricks.com/snippets/javascript/lighten-darken-color/ /* tslint:disable no-bitwise */ export const lightenColor = (color: string, amount: number) => { if (color [0] === '#') color = color.slice(1) const colorValue = parseInt(color, 16) let red = (colorValue >> 16) + amount if (red > 255) red ...
typescript
MIT
5686bf1264e69a22181118c410aaecd6835b152a
2026-01-05T05:00:29.381302Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/api.ts
src/api.ts
/* eslint-disable valid-jsdoc, @typescript-eslint/no-unused-vars */ /** * Mailscript * 0.4.0 * DO NOT MODIFY - This file has been generated using oazapfts. * See https://www.npmjs.com/package/oazapfts */ import * as Oazapfts from 'oazapfts/lib/runtime' import * as QS from 'oazapfts/lib/runtime/query' export const ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/setupApiClient.ts
src/setupApiClient.ts
import { existsSync, readFile as readFileRaw } from 'fs' import * as os from 'os' import * as path from 'path' import { promisify } from 'util' import nodeFetch from 'node-fetch' import * as api from './api' import chalk from 'chalk' const readFile = promisify(readFileRaw) async function setupApiClient(): Promise<typ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/index.ts
src/index.ts
export { run } from '@oclif/command'
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/libs.d.ts
src/libs.d.ts
declare module 'exec-sh'
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/login.ts
src/commands/login.ts
/* eslint-disable no-await-in-loop */ import * as os from 'os' import * as path from 'path' import * as http from 'http' import chalk from 'chalk' import { writeFile as writeFileRaw } from 'fs' import { promisify } from 'util' import { Command, flags } from '@oclif/command' import { cli } from 'cli-ux' import express ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/send.ts
src/commands/send.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import setupApiClient from '../setupApiClient' import withStandardErrors from '../utils/errorHandling' export default class Send extends Command { static description = 'send an email from a mailscript address' static flags = { h...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/daemon.ts
src/commands/daemon.ts
import { Command, flags } from '@oclif/command' import WebSocket from 'ws' import { promise as exec } from 'exec-sh' import setupApiClient from '../setupApiClient' import { handle } from 'oazapfts' import withStandardErrors from '../utils/errorHandling' import traverse from 'traverse' const { MAILSCRIPT_DAEMON_BRIDG...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/workflows/active.ts
src/commands/workflows/active.ts
/* eslint-disable complexity */ import { Command, flags } from '@oclif/command' import chalk from 'chalk' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { type?: string ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/workflows/set.ts
src/commands/workflows/set.ts
/* eslint-disable complexity */ import { Command, flags } from '@oclif/command' import chalk from 'chalk' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { type?: string ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/workflows/delete.ts
src/commands/workflows/delete.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class WorkflowsDelete extends Command { static description = 'delete a workflo...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/workflows/inspect.ts
src/commands/workflows/inspect.ts
/* eslint-disable no-await-in-loop */ import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import { flat } from '../../utils/flat' import archy from ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/workflows/add.ts
src/commands/workflows/add.ts
/* eslint-disable complexity */ import { Command, flags } from '@oclif/command' import chalk from 'chalk' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { name: string i...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/workflows/list.ts
src/commands/workflows/list.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import { cli } from 'cli-ux' import sortByNameAsc from '../../utils/sortByNameAsc' export defau...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/integrations/delete.ts
src/commands/integrations/delete.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class IntegrationsDelete extends Command { static description = 'delete an int...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/integrations/add.ts
src/commands/integrations/add.ts
import { Command, flags } from '@oclif/command' import cli from 'cli-ux' const { MAILSCRIPT_LOGIN_URL: remoteLoginUrl = 'https://login.mailscript.com', } = process.env type FlagsType = { gdrive?: boolean [key: string]: any } export default class IntegrationsAdd extends Command { static description = 'add an...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/integrations/list.ts
src/commands/integrations/list.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import { cli } from 'cli-ux' import chalk from 'chalk' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class IntegrationsList ex...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/user/update.ts
src/commands/user/update.ts
import { Command, flags } from '@oclif/command' import chalk from 'chalk' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export async function addAddress( client: typeof api, command: Co...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/triggers/delete.ts
src/commands/triggers/delete.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class TriggersDelete extends Command { static description = 'delete a trigger'...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/triggers/inspect.ts
src/commands/triggers/inspect.ts
/* eslint-disable no-await-in-loop */ import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import { flat } from '../../utils/flat' import archy from ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/triggers/add.ts
src/commands/triggers/add.ts
/* eslint-disable complexity */ import { Command, flags } from '@oclif/command' import chalk from 'chalk' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { name: string ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/triggers/list.ts
src/commands/triggers/list.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import { cli } from 'cli-ux' import chalk from 'chalk' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import sortByNameAsc from '../../utils/so...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/addresses/delete.ts
src/commands/addresses/delete.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class AddressesDelete extends Command { static description = 'delete an email ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/addresses/add.ts
src/commands/addresses/add.ts
import { Command, flags } from '@oclif/command' import chalk from 'chalk' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export async function addAddress( client: typeof api, command: Co...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/addresses/list.ts
src/commands/addresses/list.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import { cli } from 'cli-ux' export default class AddressesList extends Command { static desc...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/domains/delete.ts
src/commands/domains/delete.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import { handle } from 'oazapfts' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { domain?: string [key: string]: any } export default class DomainsDel...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/domains/inspect.ts
src/commands/domains/inspect.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import { handle } from 'oazapfts' import withStandardErrors from '../../utils/errorHandling' import staticDnsRecords from '../../utils/staticDnsRecords' type FlagsType = { domain?: st...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/domains/add.ts
src/commands/domains/add.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import { handle } from 'oazapfts' import withStandardErrors from '../../utils/errorHandling' import staticDnsRecords from '../../utils/staticDnsRecords' type FlagsType = { domain?: st...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/domains/check.ts
src/commands/domains/check.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import { handle } from 'oazapfts' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { domain?: string [key: string]: any } export default class DomainsChe...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/domains/list.ts
src/commands/domains/list.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import { handle } from 'oazapfts' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { [key: string]: any } export default class DomainsList extends Command {...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/actions/combine.ts
src/commands/actions/combine.ts
import { Command, flags } from '@oclif/command' import chalk from 'chalk' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' type FlagsType = { name: string [key: string]: any } export de...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/actions/delete.ts
src/commands/actions/delete.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class ActionsDelete extends Command { static description = 'delete an action' ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/actions/inspect.ts
src/commands/actions/inspect.ts
/* eslint-disable no-await-in-loop */ import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import { flat } from '../../utils/flat' import archy from ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/actions/add.ts
src/commands/actions/add.ts
/* eslint-disable complexity */ import { Command, flags } from '@oclif/command' import chalk from 'chalk' import * as fs from 'fs' import { handle } from 'oazapfts' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import { askVerifyEmailFlow } from '../../utils/askVerifyEmailFlow' impo...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/actions/list.ts
src/commands/actions/list.ts
import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import { cli } from 'cli-ux' import chalk from 'chalk' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import sortByNameAsc from '../../utils/so...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/keys/update.ts
src/commands/keys/update.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class Keys extends Command { static description = 'update an address key' s...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/keys/delete.ts
src/commands/keys/delete.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class KeysDelete extends Command { static description = 'delete an address key...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/keys/add.ts
src/commands/keys/add.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' export default class KeysAdd extends Command { static description = 'add an address key' s...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/keys/list.ts
src/commands/keys/list.ts
import { Command, flags } from '@oclif/command' import * as api from '../../api' import { handle } from 'oazapfts' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../../utils/errorHandling' import cli from 'cli-ux' export default class KeysList extends Command { static description =...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/sync/import.ts
src/commands/sync/import.ts
/* eslint-disable no-await-in-loop */ import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import * as yaml from 'js-yaml' import * as fs from 'fs' import cli from 'cli-ux' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErrors from '../...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/commands/sync/export.ts
src/commands/sync/export.ts
/* eslint-disable no-await-in-loop */ import { Command, flags } from '@oclif/command' import { handle } from 'oazapfts' import fromEntries from 'fromentries' import * as yaml from 'js-yaml' import * as fs from 'fs' import * as api from '../../api' import setupApiClient from '../../setupApiClient' import withStandardErr...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/askVerifyEmailFlow.ts
src/utils/askVerifyEmailFlow.ts
import chalk from 'chalk' import * as api from '../api' import { Command } from '@oclif/command' import { cli } from 'cli-ux' import verifyEmailFlow from './verifyEmailFlow' // eslint-disable-next-line max-params export async function askVerifyEmailFlow( client: typeof api, alias: string, stopText: string, non...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/verifyEmailFlow.ts
src/utils/verifyEmailFlow.ts
/* eslint-disable no-await-in-loop */ import { cli } from 'cli-ux' import chalk from 'chalk' import * as api from '../api' import { handle } from 'oazapfts' import withStandardErrors from './errorHandling' import { Command } from '@oclif/command' export default async function verifyEmailFlow( client: typeof api, t...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/sortByNameAsc.ts
src/utils/sortByNameAsc.ts
interface EntityWithName { name: string } export default function sortByNameDesc(a: EntityWithName, b: EntityWithName) { return a.name.localeCompare(b.name) }
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/staticDnsRecords.ts
src/utils/staticDnsRecords.ts
export default [ { type: 'TXT', name: '_dmarc', value: '"v=DMARC1; p=quarantine; rua=mailto:1a8046a6@mxtoolbox.dmarc-report.com; ruf=mailto:1a8046a6@forensics.dmarc-report.com"', }, { type: 'TXT', name: 'dkim._domainkey', value: '"v=DKIM1;k=rsa;t=s;s=email;p=MIIBIjANBgkqhkiG9w0...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/verifySmsFlow.ts
src/utils/verifySmsFlow.ts
/* eslint-disable no-await-in-loop */ import { cli } from 'cli-ux' import chalk from 'chalk' import * as api from '../api' import { handle } from 'oazapfts' import withStandardErrors from './errorHandling' import { Command } from '@oclif/command' export default async function verifySmsFlow( client: typeof api, tar...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/resolveBaseAddress.ts
src/utils/resolveBaseAddress.ts
const acceptedDomains = [ process.env.MAILSCRIPT_EMAIL_DOMAIN || 'mailscript.com', ] function parseIntoParts(address: string) { if (!address) { return { parsed: false, error: 'No address provided' } } if (!address.includes('@')) { return { parsed: false, error: 'Email address must include @' } } ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/assertNever.ts
src/utils/assertNever.ts
export function assertNever(value: never): never { throw new Error(`Unhandled value: ${JSON.stringify(value)}`) }
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/errorHandling.ts
src/utils/errorHandling.ts
import { Command } from '@oclif/command' import * as api from '../api' export default function withStandardErrors(obj: any, command: Command) { return Object.assign( {}, { '200': (response: any) => { return response }, '201': (response: any) => { return response }, ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/askVerifySmsFlow.ts
src/utils/askVerifySmsFlow.ts
import chalk from 'chalk' import * as api from '../api' import { Command } from '@oclif/command' import { cli } from 'cli-ux' import verifySmsFlow from './verifySmsFlow' // eslint-disable-next-line max-params export async function askVerifySmsFlow( client: typeof api, number: string, stopText: string, noninter...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/src/utils/flat.ts
src/utils/flat.ts
export function flat(arr: any, depth = 10): any { return arr.reduce(function (acc: any, toFlatten: any) { return acc.concat( Array.isArray(toFlatten) && depth > 1 ? flat(toFlatten, depth - 1) : toFlatten, ) }, []) }
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/setupApiClient.test.ts
test/setupApiClient.test.ts
/* eslint-disable no-console */ import { expect } from '@oclif/test' import chalk from 'chalk' import setupApiClient from '../src/setupApiClient' describe('Setup API Client', () => { let initialVar: string | undefined let initialLog: any | undefined beforeEach(() => { initialVar = process.env.MAILSCRIPT_CON...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/setFsMock.ts
test/setFsMock.ts
import * as os from 'os' import * as path from 'path' export default function setupFsMock(mock: any) { const mailscriptFile = path.join(os.homedir(), '.mailscript') const fakeMailscriptContent = JSON.stringify( { apiKey: 'eyJhbGciOiJIUzI1NiJ9.eyJhY2Nlc3NLZXkiOiJjYWU0NWJjYi1mZDNiLTQ4Y2UtODBkNS05Zm...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/mocha-env.ts
test/mocha-env.ts
process.env.MAILSCRIPT_LOGIN_URL = 'http://test-login:3000' process.env.MAILSCRIPT_CONFIG_PATH = './test/test-mailscript-config.json' process.env.MAILSCRIPT_API_SERVER = 'http://test-server/v1' process.env.MAILSCRIPT_EMAIL_DOMAIN = 'mailscript.io'
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/workflows.test.ts
test/commands/workflows.test.ts
/* eslint-disable max-nested-callbacks */ import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('workflows', () => { describe('list', () => { test .stdout() .nock(MailscriptApiServer, (api) => api.get('/workflows').reply(200, { list: [] }), ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/integrations.test.ts
test/commands/integrations.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('Integrations', () => { describe('add', () => { test .stdout() .command(['integrations:add']) .exit(1) .it('errors on no integrations specified', (ctx) => { expect(ctx.stdout).to....
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/user.test.ts
test/commands/user.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('User', () => { describe('update', () => { let userBody: {} | undefined beforeEach(() => { userBody = undefined }) test .stdout() .nock(MailscriptApiServer, (api) => api ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/send.test.ts
test/commands/send.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('send', () => { let postBody: any beforeEach(() => { postBody = {} }) const nockSend = (api: any) => { return api .persist() .post('/send', (body: any) => { postBody = body ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/sync.test.ts
test/commands/sync.test.ts
import fs from 'fs' import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('sync', () => { const empty = fs.readFileSync('./test/data/empty.yaml').toString().trim() const simple = fs.readFileSync('./test/data/simple.yaml').toString().trim() describe('export', () =>...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/triggers.test.ts
test/commands/triggers.test.ts
/* eslint-disable max-nested-callbacks */ import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('triggers', () => { describe('list', () => { test .stdout() .nock(MailscriptApiServer, (api) => api.get('/triggers').reply(200, { list: [] }), ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/constants.ts
test/commands/constants.ts
export const MailscriptApiServer = process.env.MAILSCRIPT_API_SERVER || 'http://test-server-problem'
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/errorHandling.test.ts
test/commands/errorHandling.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('Error handling', () => { test .stdout() .nock(MailscriptApiServer, (api) => api.get('/addresses').reply(403, { error: 'No credentials sent!' }), ) .command(['addresses:list']) .exit(1) ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/daemon.test.ts
test/commands/daemon.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' // const spigot = require('stream-spigot') process.env.MAILSCRIPT_DAEMON_BRIDGE_URL = 'wss://daemon-bridge.com:80' describe('daemon', () => { // test // .stdout() // .nock(MailscriptApiServer, (api: any) => { // ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/login.test.ts
test/commands/login.test.ts
// const { expect, test } = require('@oclif/test') describe('login', () => { // test // .stdout() // .command(['login']) // .it('runs hello', (ctx) => { // expect(ctx.stdout).to.contain('hello world') // }) })
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/actions.test.ts
test/commands/actions.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('Actions', () => { describe('list', () => { test .stdout() .nock(MailscriptApiServer, (api) => api.get('/actions').reply(200, { list: [] }), ) .command(['actions:list']) .ex...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/addresses.test.ts
test/commands/addresses.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('Addresses', () => { test .stdout() .nock(MailscriptApiServer, (api) => api.get('/addresses').reply(200, { list: [] }), ) .command(['addresses:list']) .exit(0) .it('gives message if no ...
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
pagedotapp/cli
https://github.com/pagedotapp/cli/blob/e00fd8af91a916b814ed8662eb3379da3467c98c/test/commands/keys.test.ts
test/commands/keys.test.ts
import { expect, test } from '@oclif/test' import { MailscriptApiServer } from './constants' describe('keys', () => { let postBody: any beforeEach(() => { postBody = {} }) describe('list', () => { test .stdout() .nock(MailscriptApiServer, (api) => api.get('/addresses/test@example....
typescript
MIT
e00fd8af91a916b814ed8662eb3379da3467c98c
2026-01-05T05:00:30.156877Z
false
misogi/vscode-ruby-rubocop
https://github.com/misogi/vscode-ruby-rubocop/blob/c660296bb5034ea4c3d97993a44ecc5094d77e9c/src/rubocop.ts
src/rubocop.ts
import { RubocopOutput, RubocopFile, RubocopOffense } from './rubocopOutput'; import { TaskQueue, Task } from './taskQueue'; import * as cp from 'child_process'; import * as fs from 'fs'; import * as path from 'path'; import * as vscode from 'vscode'; import { getConfig, RubocopConfig } from './configuration'; import {...
typescript
MIT
c660296bb5034ea4c3d97993a44ecc5094d77e9c
2026-01-05T05:00:31.735993Z
false
misogi/vscode-ruby-rubocop
https://github.com/misogi/vscode-ruby-rubocop/blob/c660296bb5034ea4c3d97993a44ecc5094d77e9c/src/extension.ts
src/extension.ts
import * as vscode from 'vscode'; import { Rubocop, RubocopAutocorrectProvider } from './rubocop'; import { onDidChangeConfiguration } from './configuration'; // entry point of extension export function activate(context: vscode.ExtensionContext): void { 'use strict'; const diag = vscode.languages.createDiagnostic...
typescript
MIT
c660296bb5034ea4c3d97993a44ecc5094d77e9c
2026-01-05T05:00:31.735993Z
false
misogi/vscode-ruby-rubocop
https://github.com/misogi/vscode-ruby-rubocop/blob/c660296bb5034ea4c3d97993a44ecc5094d77e9c/src/taskQueue.ts
src/taskQueue.ts
import * as vscode from 'vscode'; export interface TaskToken { readonly isCanceled: boolean; finished(): void; } export type CancelCallback = () => void; /** * Task with async operation. It will be enqueued to and managed by * TaskQueue. Useful for spawning ChildProcess. */ export class Task { public readon...
typescript
MIT
c660296bb5034ea4c3d97993a44ecc5094d77e9c
2026-01-05T05:00:31.735993Z
false
misogi/vscode-ruby-rubocop
https://github.com/misogi/vscode-ruby-rubocop/blob/c660296bb5034ea4c3d97993a44ecc5094d77e9c/src/rubocopOutput.ts
src/rubocopOutput.ts
// output of rubocop JSON format interface RubocopSummary { offence_count: number; target_file_count: number; inspected_file_count: number; } interface RubocopLocation { line: number; column: number; length: number; } export interface RubocopOffense { severity: string; message: string; cop_name: str...
typescript
MIT
c660296bb5034ea4c3d97993a44ecc5094d77e9c
2026-01-05T05:00:31.735993Z
false
misogi/vscode-ruby-rubocop
https://github.com/misogi/vscode-ruby-rubocop/blob/c660296bb5034ea4c3d97993a44ecc5094d77e9c/src/configuration.ts
src/configuration.ts
import * as vs from 'vscode'; import * as fs from 'fs'; import * as cp from 'child_process'; import * as path from 'path'; import { Rubocop } from './rubocop'; export interface RubocopConfig { command: string; onSave: boolean; configFilePath: string; useBundler: boolean; suppressRubocopWarnings: boolean; } ...
typescript
MIT
c660296bb5034ea4c3d97993a44ecc5094d77e9c
2026-01-05T05:00:31.735993Z
false