type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
InterfaceDeclaration |
export interface MultiSigAddress {
outputScript: Buffer;
redeemScript?: Buffer;
witnessScript?: Buffer;
address: string;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
InterfaceDeclaration |
export interface RecoverFromWrongChainOptions {
txid: string;
recoveryAddress: string;
wallet: string;
walletPassphrase?: string;
xprv?: string;
/** @deprecated */
coin?: AbstractUtxoCoin;
recoveryCoin?: AbstractUtxoCoin;
signed?: boolean;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
InterfaceDeclaration |
export interface AddressInfo {
txCount: number;
totalBalance: number;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
InterfaceDeclaration |
export interface VerifyKeySignaturesOptions {
userKeychain?: Keychain;
keychainToVerify?: Keychain;
keySignature?: string;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
InterfaceDeclaration |
export interface VerifyUserPublicKeyOptions {
userKeychain?: Keychain;
disableNetworking: boolean;
txParams: TransactionParams;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
InterfaceDeclaration |
export interface VerifyTransactionOptions extends BaseVerifyTransactionOptions {
txPrebuild: TransactionPrebuild;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
InterfaceDeclaration |
export interface UnspentParams {
id: string;
value: number;
valueString: string;
address: string;
blockHeight: number;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
TypeAliasDeclaration |
export type UtxoNetwork = utxolib.Network; | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
sweepWithSendMany(): boolean {
return true;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Returns the factor between the base unit and its smallest subdivison
* @return {number}
*/
getBaseFactor() {
return 1e8;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* @deprecated
*/
getCoinLibrary() {
return utxolib;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Helper to get the version number for an address
*/
protected getAddressVersion(address: string): number | undefined {
// try decoding as base58 first
try {
const { version } = utxolib.address.fromBase58Check(address, this.network);
return version;
} catch (e) {
// try next form... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Helper to get the bech32 prefix for an address
*/
protected getAddressPrefix(address: string): string | undefined {
// otherwise, try decoding as bech32
try {
const { prefix } = utxolib.address.fromBech32(address);
return prefix;
} catch (e) {
// ignore errors, just fall throug... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Check if an address is valid
* @param address
* @param forceAltScriptSupport
*/
isValidAddress(address: string, forceAltScriptSupport = false): boolean {
const validVersions: number[] = [this.network.pubKeyHash, this.network.scriptHash];
if (this.altScriptHash && (forceAltScriptSupport || this... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Return boolean indicating whether input is valid public key for the coin.
*
* @param {String} pub the pub to be checked
* @returns {Boolean} is it valid?
*/
isValidPub(pub: string) {
try {
return bip32.fromBase58(pub).isNeutered();
} catch (e) {
return false;
}
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Get the latest block height
* @param reqId
*/
async getLatestBlockHeight(reqId?: RequestTracer): Promise<number> {
if (reqId) {
this.bitgo.setRequestTracer(reqId);
}
const chainhead = await this.bitgo.get(this.url('/public/block/latest')).result();
return (chainhead as any).height;
... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Run custom coin logic after a transaction prebuild has been received from BitGo
* @param prebuild
*/
async postProcessPrebuild(prebuild: TransactionPrebuild): Promise<TransactionPrebuild> {
if (_.isUndefined(prebuild.txHex)) {
throw new Error('missing required txPrebuild property txHex');
}... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Find outputs that are within expected outputs but not within actual outputs, including duplicates
* @param expectedOutputs
* @param actualOutputs
* @returns {Array}
*/
protected static findMissingOutputs(expectedOutputs: Output[], actualOutputs: Output[]): Output[] {
const keyFunc = ({ address,... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Determine an address' type based on its witness and redeem script presence
* @param addressDetails
*/
static inferAddressType(addressDetails: { chain: number }): ScriptType2Of3 | null {
return isChainCode(addressDetails.chain) ? scriptTypeForChain(addressDetails.chain) : null;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
createTransactionFromHex(hex: string) {
return utxolib.bitgo.createTransactionFromHex(hex, this.network);
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Extract and fill transaction details such as internal/change spend, external spend (explicit vs. implicit), etc.
* @param params
* @returns {*}
*/
async parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction> {
const { txParams, txPrebuild, wallet, verification = {}, reqId } ... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Decrypt the wallet's user private key and verify that the claimed public key matches
* @param {VerifyUserPublicKeyOptions} params
* @return {boolean}
* @protected
*/
protected verifyUserPublicKey(params: VerifyUserPublicKeyOptions): boolean {
const { userKeychain, txParams, disableNetworking } ... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Verify signatures produced by the user key over the backup and bitgo keys.
*
* If set, these signatures ensure that the wallet keys cannot be changed after the wallet has been created.
* @param {VerifyKeySignaturesOptions} params
* @return {{backup: boolean, bitgo: boolean}}
*/
protected verifyK... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Verify signatures against the user private key over the change wallet extended keys
* @param {ParsedTransaction} tx
* @param {Keychain} userKeychain
* @return {boolean}
* @protected
*/
protected verifyCustomChangeKeySignatures(tx: ParsedTransaction, userKeychain: Keychain): boolean {
if (!tx... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Get the maximum percentage limit for pay-as-you-go outputs
*
* @protected
*/
protected getPayGoLimit(allowPaygoOutput?: boolean): number {
// allowing paygo outputs needs to be the default behavior, so only disallow paygo outputs if the
// relevant verification option is both set and false
... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Verify that a transaction prebuild complies with the original intention
*
* @param params
* @param params.txParams params object passed to send
* @param params.txPrebuild prebuild object returned by server
* @param params.txPrebuild.txHex prebuilt transaction's txHex form
* @param params.wall... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Make sure an address is valid and throw an error if it's not.
* @param params.address The address string on the network
* @param params.addressType
* @param params.keychains Keychain objects with xpubs
* @param params.coinSpecific Coin-specific details for the address such as a witness script
* ... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Indicates whether coin supports a block target
* @returns {boolean}
*/
supportsBlockTarget() {
return true;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* @param addressType
* @returns true iff coin supports spending from unspentType
*/
supportsAddressType(addressType: ScriptType2Of3): boolean {
return utxolib.bitgo.outputScripts.isSupportedScriptType(this.network, addressType);
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* @param chain
* @return true iff coin supports spending from chain
*/
supportsAddressChain(chain: number): boolean {
return isChainCode(chain) && this.supportsAddressType(utxolib.bitgo.scriptTypeForChain(chain));
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
keyIdsForSigning(): number[] {
return [KeyIndices.USER, KeyIndices.BACKUP, KeyIndices.BITGO];
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* TODO(BG-11487): Remove addressType, segwit, and bech32 params in SDKv6
* Generate an address for a wallet based on a set of configurations
* @param params.addressType {string} Deprecated
* @param params.keychains {[object]} Array of objects with xpubs
* @param params.threshold {number} Mini... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Assemble keychain and half-sign prebuilt transaction
* @param params - {@see SignTransactionOptions}
* @returns {Promise<SignedTransaction | HalfSignedUtxoTransaction>}
*/
async signTransaction(params: SignTransactionOptions): Promise<SignedTransaction | HalfSignedUtxoTransaction> {
const txPrebui... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* @param unspent
* @returns {boolean}
*/
isBitGoTaintedUnspent(unspent: Unspent): boolean {
return isReplayProtectionUnspent(unspent, this.network);
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* @deprecated - use utxolib.bitcoin.verifySignature() instead
*/
verifySignature(
transaction: any,
inputIndex: number,
amount: number,
verificationSettings: {
signatureIndex?: number;
publicKey?: string;
} = {}
): boolean {
if (transaction.network !== this.network) {
... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Decompose a raw transaction into useful information, such as the total amounts,
* change amounts, and transaction outputs.
* @param params
*/
async explainTransaction(params: ExplainTransactionOptions): Promise<TransactionExplanation> {
const txHex = _.get(params, 'txHex');
if (!txHex || !_.is... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Create a multisig address of a given type from a list of keychains and a signing threshold
* @param addressType
* @param signatureThreshold
* @param keys
*/
createMultiSigAddress(addressType: ScriptType2Of3, signatureThreshold: number, keys: Buffer[]): MultiSigAddress {
const {
scriptPubK... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* @deprecated - use {@see backupKeyRecovery}
* Builds a funds recovery transaction without BitGo
* @param params - {@see backupKeyRecovery}
*/
async recover(params: RecoverParams): ReturnType<typeof backupKeyRecovery> {
return backupKeyRecovery(this, this.bitgo, params);
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Recover coin that was sent to wrong chain
* @param params
* @param params.txid The txid of the faulty transaction
* @param params.recoveryAddress address to send recovered funds to
* @param params.wallet the wallet that received the funds
* @param params.recoveryCoin the coin type of the wallet ... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration | /**
* Generate bip32 key pair
*
* @param seed
* @returns {Object} object with generated pub and prv
*/
generateKeyPair(seed: Buffer): { pub: string; prv: string } {
if (!seed) {
// An extended private key has both a normal 256 bit private key and a 256
// bit chain code, both of which mus... | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
async getExtraPrebuildParams(buildParams: ExtraPrebuildParamsOptions): Promise<any> {
return {};
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
preCreateBitGo(params: PrecreateBitGoOptions): void {
return;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
async presignTransaction(params: PresignTransactionOptions): Promise<any> {
return params;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
async supplementGenerateWallet(
walletParams: SupplementGenerateWalletOptions,
keychains: KeychainsTriplet
): Promise<any> {
return walletParams;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
transactionDataAllowed(): boolean {
return false;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
MethodDeclaration |
valuelessTransferAllowed(): boolean {
return false;
} | BalloonBox-Inc/BitGoJS | modules/core/src/v2/coins/abstractUtxoCoin.ts | TypeScript |
ClassDeclaration |
@Injectable()
export class SupportService {
constructor(
private readonly db: PrismaService,
) {}
async getFormData(formId: string): Promise<any> {
try {
return this.db.form.findFirst({ where: { id: formId } });
} catch (error) {
throw new CustomError(
error?.meta?.cause || error.... | shubhamxy/reisetra | packages/soda/src/support/support.service.ts | TypeScript |
MethodDeclaration |
async getFormData(formId: string): Promise<any> {
try {
return this.db.form.findFirst({ where: { id: formId } });
} catch (error) {
throw new CustomError(
error?.meta?.cause || error.message,
error.code,
"SupportService.getFormData"
);
}
} | shubhamxy/reisetra | packages/soda/src/support/support.service.ts | TypeScript |
MethodDeclaration |
async createFormData(formId: string, data: any): Promise<any> {
try {
return {};
} catch (error) {
throw new CustomError(
error?.meta?.cause || error.message,
error.code,
"SupportService.createFormData"
);
}
} | shubhamxy/reisetra | packages/soda/src/support/support.service.ts | TypeScript |
MethodDeclaration |
async createSupportTicket(userId: string, email: string, data: CreateSupportTicketDto): Promise<any> {
try {
const ticketId = data.ticketId || nanoid();
const results = await Promise.all([sendEmail(supportEmailAck(
{
id: userId,
subject: data.subject,
email,
... | shubhamxy/reisetra | packages/soda/src/support/support.service.ts | TypeScript |
FunctionDeclaration |
export async function sum() {
console.log(`Running ${sum.name}`);
const context = new DeltaTravelDBContext();
const res = await context.persons.sum(p => p.IDNumber);
console.table({ 'sum of IDNumber': res });
context.dispose();
} | bugMaker-237/slim-ef-examples | src/examples/sum.ts | TypeScript |
ArrowFunction |
p => p.IDNumber | bugMaker-237/slim-ef-examples | src/examples/sum.ts | TypeScript |
ArrowFunction |
(origin: string | undefined, callback) => {
if ((typeof origin === 'string' && allowedOrigins.indexOf(origin) !== -1) || !origin) {
callback(null, true);
} else {
callback(new Error('Not allowed by CORS'));
}
} | jonitoh/auth-react-express | server/config/cors-options.config.ts | TypeScript |
ArrowFunction |
({ links }) => (
<NavbarRoot>
<Container>
<div className={s.nav}>
<div className | SaruulD/commerce | components/common/Navbar/Navbar.tsx | TypeScript |
ArrowFunction |
(l) => (
<Link href={l.href} | SaruulD/commerce | components/common/Navbar/Navbar.tsx | TypeScript |
InterfaceDeclaration |
interface Link {
href: string
label: string
} | SaruulD/commerce | components/common/Navbar/Navbar.tsx | TypeScript |
InterfaceDeclaration |
interface NavbarProps {
links?: Link[]
} | SaruulD/commerce | components/common/Navbar/Navbar.tsx | TypeScript |
ArrowFunction |
() => {
let service: PrenotazioneService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(PrenotazioneService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
} | HarlockOfficial/IDS_Project_Cameo | idsCameoFrontEnd/src/app/_services/prenotazione.service.spec.ts | TypeScript |
ArrowFunction |
() => {
TestBed.configureTestingModule({});
service = TestBed.inject(PrenotazioneService);
} | HarlockOfficial/IDS_Project_Cameo | idsCameoFrontEnd/src/app/_services/prenotazione.service.spec.ts | TypeScript |
InterfaceDeclaration | // ====================================================
// GraphQL mutation operation: OrderRefund
// ====================================================
export interface OrderRefund_orderRefund_errors {
__typename: "OrderError";
code: OrderErrorCode;
field: string | null;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_metadata {
__typename: "MetadataItem";
key: string;
value: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_privateMetadata {
__typename: "MetadataItem";
key: string;
value: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_billingAddress_country {
__typename: "CountryDisplay";
code: string;
country: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_billingAddress {
__typename: "Address";
city: string;
cityArea: string;
companyName: string;
country: OrderRefund_orderRefund_order_billingAddress_country;
countryArea: string;
firstName: string;
id: string;
lastName: string;
phone: string | null;
po... | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_events_relatedOrder {
__typename: "Order";
id: string;
number: string | null;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_events_user {
__typename: "User";
id: string;
email: string;
firstName: string;
lastName: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_events_lines_orderLine {
__typename: "OrderLine";
id: string;
productName: string;
variantName: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_events_lines {
__typename: "OrderEventOrderLineObject";
quantity: number | null;
orderLine: OrderRefund_orderRefund_order_events_lines_orderLine | null;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_events {
__typename: "OrderEvent";
id: string;
amount: number | null;
shippingCostsIncluded: boolean | null;
date: any | null;
email: string | null;
emailType: OrderEventsEmailsEnum | null;
invoiceNumber: string | null;
relatedOrder: OrderRefund_orderRef... | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_variant {
__typename: "ProductVariant";
id: string;
quantityAvailable: number;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_gross {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_net {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice {
__typename: "TaxedMoney";
gross: OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_gross;
net: OrderRefund_orderRefund_order_fulfillments_lines_orderLine_unitPrice_net;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine_thumbnail {
__typename: "Image";
url: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_lines_orderLine {
__typename: "OrderLine";
id: string;
isShippingRequired: boolean;
variant: OrderRefund_orderRefund_order_fulfillments_lines_orderLine_variant | null;
productName: string;
productSku: string;
quantity: number;
quantityFulfille... | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_lines {
__typename: "FulfillmentLine";
id: string;
quantity: number;
orderLine: OrderRefund_orderRefund_order_fulfillments_lines_orderLine | null;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments_warehouse {
__typename: "Warehouse";
id: string;
name: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_fulfillments {
__typename: "Fulfillment";
id: string;
lines: (OrderRefund_orderRefund_order_fulfillments_lines | null)[] | null;
fulfillmentOrder: number;
status: FulfillmentStatus;
trackingNumber: string;
warehouse: OrderRefund_orderRefund_order_fulfillment... | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_lines_variant {
__typename: "ProductVariant";
id: string;
quantityAvailable: number;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_lines_unitPrice_gross {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_lines_unitPrice_net {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_lines_unitPrice {
__typename: "TaxedMoney";
gross: OrderRefund_orderRefund_order_lines_unitPrice_gross;
net: OrderRefund_orderRefund_order_lines_unitPrice_net;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_lines_thumbnail {
__typename: "Image";
url: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_lines {
__typename: "OrderLine";
id: string;
isShippingRequired: boolean;
variant: OrderRefund_orderRefund_order_lines_variant | null;
productName: string;
productSku: string;
quantity: number;
quantityFulfilled: number;
unitPrice: OrderRefund_orderRefun... | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_shippingAddress_country {
__typename: "CountryDisplay";
code: string;
country: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_shippingAddress {
__typename: "Address";
city: string;
cityArea: string;
companyName: string;
country: OrderRefund_orderRefund_order_shippingAddress_country;
countryArea: string;
firstName: string;
id: string;
lastName: string;
phone: string | null;
... | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_shippingMethod {
__typename: "ShippingMethod";
id: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_shippingPrice_gross {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_shippingPrice {
__typename: "TaxedMoney";
gross: OrderRefund_orderRefund_order_shippingPrice_gross;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_subtotal_gross {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_subtotal {
__typename: "TaxedMoney";
gross: OrderRefund_orderRefund_order_subtotal_gross;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_total_gross {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_total_tax {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_total {
__typename: "TaxedMoney";
gross: OrderRefund_orderRefund_order_total_gross;
tax: OrderRefund_orderRefund_order_total_tax;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_totalAuthorized {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_totalCaptured {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_user {
__typename: "User";
id: string;
email: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_availableShippingMethods_price {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_availableShippingMethods {
__typename: "ShippingMethod";
id: string;
name: string;
price: OrderRefund_orderRefund_order_availableShippingMethods_price | null;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
InterfaceDeclaration |
export interface OrderRefund_orderRefund_order_discount {
__typename: "Money";
amount: number;
currency: string;
} | 7879-investment/saleor-dashboard-fork | src/orders/types/OrderRefund.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.