text stringlengths 14 100k | source stringclasses 1
value | repo stringclasses 810
values | language stringclasses 13
values |
|---|---|---|---|
<|fim_suffix|> $models from "./models.js";
/**
* Marshaler is the interface implemented by types that
* can marshal themselves into valid JSON.
* @typedef {$models.Marshaler} Marshaler
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn aw<|fim_middle|>tomatig. PEIDIWCH Â MODIWL
// This file is automatical... | fim | wailsapp/wails | javascript |
<|fim_suffix|>
/**
* Marshaler is the interface implemented by types that
* can marshal themselves into valid JSON.
* @typedef {any} Marshaler
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically ge<|fim_middle|>nerated. DO NOT EDIT
// eslint-disab... | fim | wailsapp/wails | javascript |
<|fim_suffix|> * @typedef {any} TextMarshaler
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ig<|fim_middle|>nore: Unused imports
import { Create as $Crea... | fim | wailsapp/wails | javascript |
<|fim_suffix|>e.Any);
const $$createType2 = $Create.Map($Create.Any, $$createType1);
const $$createType3 = $Create.Array($Create.Any);
const $$createType4 = $Create.Array($Create.Any);
const $$createType5 = $Create.Struct({
"Field": $$createType4,
});
const $$createType6 = $Create.Nullable($$createType5);
configur... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import type { Events } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslint/ban-... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise ... | fim | wailsapp/wails | javascript |
<|fim_suffix|><T>} GenericPtrAlias
*/
/**
* Another struct alias.
* @typedef {$models.OtherAliasStruct} OtherAliasStruct
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
... | fim | wailsapp/wails | javascript |
<|fim_suffix|> }
if ("IPA" in $$parsedSource) {
$$parsedSource["IPA"] = $$createField4_0($$parsedSource["IPA"]);
}
if ("SPA" in $$parsedSource) {
$$parsedSource["SPA"] = $$createField5_0($$parsedSource["SPA"]);
}
return new AliasGroup(/** @type {Partial<... | fim | wailsapp/wails | javascript |
<|fim_suffix|>erated. DO NOT EDIT
export {
SubStruct
} from "./models.js";
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automati<|fim_middle|>cally gen<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* SubStruct is a type in a ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as Service7 from "./service7.js";
import * as Service9 from "./service9.js";
export {
Service7,
Service9
};
<|fim_prefix|>// @ts-check
// Cynhyrchwy<|fim_middle|>d y ffeil hon yn <|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
<|fim_suffix|>/ @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise, Create a... | fim | wailsapp/wails | javascript |
<|fim_suffix|>reate as $Create } from "/wails/runtime.js";
/**
* @returns {$CancellablePromise<void>}
*/
export function TestMethod2() {
return $Call.ByID(1556848345);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>sed imports
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as $models from "./models.js";
/**
* Greet does XYZ
* @param {$models.Person... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greet<|fim_suffix|>s $models from "./models.js";
/**
* @typedef {$models.Embedded3} Embedded3
*/
<|fim_middle|>service.js";
export {
GreetSe... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
export class Embedded1 {
/**... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $Cancellabl... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
Person<|fim_suffix|>.js";
<|fim_middle|>
} from "./models<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|> This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* Person represents a person
*/
export class Person {
/**
* Creates a new Person instance.
... | fim | wailsapp/wails | javascript |
<|fim_suffix|>eType1($result[1]);
return $result;
}));
}
// Private type creation functions
const $$createType0 = $models.StructA.createFrom;
const $$createType1 = $models.StructC.createFrom;
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil<|fim_suffix|> StructC,
StructE
} from "./models.js";
<|fim_middle|> hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
StructA,
<|... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
export class StructA {
/**
* Creates ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â <|fim_suffix|> function MakeCycles() {
return $Call.ByID(440020721).then(/** @type {($result: any) => any} */(($result) => {
$result[0] = $$createType0($result[0]);
$result[1] = $$createType9($result[1]);
return $... | fim | wailsapp/wails | javascript |
<|fim_suffix|>c<T>} GenericCyclic
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
impor<|fim_middle|>t * as $models from "./models.js";
/**
*... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* @typedef {Cyclic | null} Alias
*/
/**... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as Service from "./service.js";
export {
Service
};
console.log("Hello everywhere!");
console.log("Hello everywhere again!");
console.log("Hello Classes!");
console.log("Hello JS!"... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* An exported but internal service.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as... | fim | wailsapp/wails | javascript |
<|fim_suffix|>* Creates a new unexportedModel instance from a string or object.
* @param {any} [$$source = {}]
* @returns {unexportedModel}
*/
static createFrom($$source = {}) {
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
return new unexportedM... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export {
Dummy
} fr<|fim_suffix|>"./models.js";
<|fim_middle|>om <|endoftext|> | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
export class Dummy {
/**
* Creates a ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>imp<|fim_suffix|>om "../service.js";
CustomMethod("JS");
<|fim_middle|>ort { CustomMethod } fr<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>d("JS Classes");
<|fim_prefix|>import { <|fim_middle|>CustomMethod } from "../service.js";
CustomMetho<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>
}
/**
* @param {string} arg
* @returns {Promise<void>}
*/
export async function CustomMethod(arg) {
await InternalMethod("Hello " + arg + "!");
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-d... | fim | wailsapp/wails | javascript |
<|fim_suffix|>rywhere");
<|fim_prefix|>import { CustomMethod } from "./service.js";
Cu<|fim_middle|>stomMethod("eve<|endoftext|> | fim | wailsapp/wails | javascript |
import { CustomMethod } from "./service.js";
CustomMethod("everywhere again");
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>import { CustomMethod } from "./service.js";
CustomMet<|fim_suffix|>
<|fim_middle|>hod("Classes");<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>;
<|fim_prefix|>import { CustomMethod } from "./service.js";
CustomMethod<|fim_middle|>("JS")<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>import { Custom<|fim_suffix|>asses");
<|fim_middle|>Method } from "./service.js";
CustomMethod("JS Cl<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* An une<|fim_suffix|>);
}
<|fim_middle|>xported service.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>/<|fim_suffix|>41);
}
/**
* Comment 3a.
* Comment 3b.
* @returns {$CancellablePromise<void>}
*/
export function Method3() {
return $Call.ByID(875113522);
}
/**
* Comment 4.
* @returns {$CancellablePromise<void>}
*/
export function Method4() {
return $Call.ByID(791225427);
}
/**
* Commen... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y<|fim_suffix|>ervice from "./greetservice.js";
export {
GreetService
};
<|fim_middle|> ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetS<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>me).then(/** @type {($result: any) => any} */(($result) => {
return $$createType1($result);
}));
}
// Private type creation functions
const $$createType0 = $models.Person.createFrom;
const $$createType1 = $Create.Nullable($$createType0);
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon y... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
<|fim_suffix|>Person,
Title
} from "./models.js";
<|fim_middle|>// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
Age,
<|endofte... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* Age is an integer with so... | fim | wailsapp/wails | javascript |
<|fim_suffix|>*
* Greet does XYZ
* @param {string} name
* @param {services$0.Title} title
* @returns {$CancellablePromise<string>}
*/
export function Greet(name, title) {
return $Call.ByID(1411160069, name, title);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtom<|fim_middle|>atig. PEIDIWCH Â M... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH <|fim_suffix|>eetservice.js";
export {
GreetService
};
<|fim_middle|>Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./gr<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awt<|fim_suffix|> from "./models.js";
<|fim_middle|>omatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export {
Title
}<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>e for the underlying type of the enum.
*/
$zero: "",
/**
* Mister is a title
*/
Mister: "Mr",
Miss: "Miss",
Ms: "Ms",
Mrs: "Mrs",
Dr: "Dr",
};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This <|fim_middle|>file is aut... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* EnumMapService tests various enum map key scenarios
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call... | fim | wailsapp/wails | javascript |
<|fim_suffix|>EDIT
import * as EnumMapService from "./enummapservice.js";
export {
EnumMapService
};
export {
Color,
Person,
Priority,
Status
} from "./models.js";
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â<|fim_middle|> MODIWL
// This file is automatically gene... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ring}
*/
export const Status = {
/**
* The Go zero value for the underlying type of the enum.
*/
$zero: "",
StatusPending: "pending",
StatusRunning: "running",
StatusCompleted: "completed",
StatusFailed: "failed",
};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffe<|fim_... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check<|fim_suffix|> SomeClass
} from "./models.js";
<|fim_middle|>
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export {
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT ED<|fim_suffix|>bindingshere$0.HowDifferent.createFrom($Create.Any);
<|fim_middle|>IT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>imports
import * as $models from "./models.js";
/**
* Greet does XYZ
* @param {string} name
* @returns {$CancellablePromise<string>}
*/
export function Greet(name) {
return $Call.ByID(1411160069, name);
}
/**
* NewPerson creates a new person
* @param {string} name
* @returns {$CancellableProm... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ce from "./greetservice.js";
export {
GreetService
};
export {
Person
} from "./models.js";
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig.<|fim_middle|> PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetServi<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
// eslint-disable-next-line @typ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
export {
<|fim_suffix|>ls.js";
<|fim_middle|> Address
} from "./mode<|endoftext|> | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
export class Address {
/**
* Creates ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* OtherService i<|fim_suffix|>.Nullable($$createType0);
<|fim_middle|>s a struct
* that does things
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comm... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $Cancellabl... | fim | wailsapp/wails | javascript |
<|fim_suffix|>reetservice.js";
export {
GreetService
};
export {
Person
} from "./models.js";
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically gene<|fim_middle|>rated. DO NOT EDIT
import * as GreetService from "./g<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
// eslint-disable-next-line @typ... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
export {
Address
} from "./models.js";
<|endoftext|> | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
export class Address {
/**
* Creates ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>se<$models.Address | null>}
*/
export function Yay() {
return $Call.ByID(2447353446).then(/** @type {($result: any) => any} */(($result) => {
return $$createType1($result);
}));
}
// Private type creation functions
const $$createType0 = $models.Address.createFrom;
const $$createType1 = $... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generat<|fim_suffix|>t(name) {
return $Call.ByID(1411160069, name);
}
<|fim_middle|>ed. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>reetService
};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as<|fim_middle|> GreetService from "./greetservice.js";
export {
G<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>
/**
* Greet someone
* @param {string} name
* @returns {$CancellablePromise<string>}
*/
export function Greet(name) {
return $Call.ByID(1411160069, name);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts<|fim_suffix|>d y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|>-check
// Cynhyrchwy<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>411160069, name);
}
/**
* Greet someone
* @param {string} name
* @returns {$CancellablePromise<string>}
*/
export function GreetWithContext(name) {
return $Call.ByID(1310150960, name);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automati... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>his file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "/wails/runtime.js";
/**
... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is auto<|fim_suffix|>rated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|>matically gene<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as Service from "./service.js";
export {
Service
};
export {
Maps
} from "./models.js";
import * as $models from "./models.js";
/**
* @typedef {$models.Embedde... | fim | wailsapp/wails | javascript |
<|fim_suffix|>Source["IntPtr"]);
}
if ("UintPtr" in $$parsedSource) {
$$parsedSource["UintPtr"] = $$createField9_0($$parsedSource["UintPtr"]);
}
if ("FloatPtr" in $$parsedSource) {
$$parsedSource["FloatPtr"] = $$createField10_0($$parsedSour... | fim | wailsapp/wails | javascript |
<|fim_suffix|>reate.Any, $Create.Any, $Create.Any, $Create.Any, $Create.Any);
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { C... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as Service from "./service.js";
export {
Service
};
export {
Data,
ImplicitNonMarshaler,
NonMarshaler
} from "./models.js";
import * as $models from "./m... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslint... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-esl<|fim_suffix|>@returns {$CancellablePromise<$models.Data>}
*/
export function Method() {
return $Call.ByID(4021345184).then(/** @typ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. P<|fim_suffix|>ile is automatically generated. DO NOT EDIT
import * as SomeMethods from "./somemethods.js";
export {
SomeMethods
};
export {
HowDifferent,
Impersonator,
Person,
PrivatePerson
} from "./models.js";
<|fim_middle|>EID... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ets their fields from hidden sources.
* @typedef {personImpl} PrivatePerson
*/
// Private type creation functions
const $$createType0 = /** @type {(...args: any[]) => any} */(($$createParamHow) => $Create.Map($Create.Any, $$createParamHow));
const $$createType1 = /** @type {(...args: any[]) => any} */(... | fim | wailsapp/wails | javascript |
<|fim_prefix|>//<|fim_suffix|>omatically generated. DO NOT EDIT
import * as $models from "./models.js";
/**
* StringPtr is a nullable string.
* @typedef {$models.StringPtr} StringPtr
*/
<|fim_middle|> @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is aut<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|> @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* StringPtr is a nullable string.
* @typedef {string | null} StringPtr
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/... | fim | wailsapp/wails | javascript |
<|fim_suffix|>/ This file is automatically generated. DO NOT EDIT
import * as OtherMethods from "./othermethods.js";
export {
OtherMethods
};
export {
OtherPerson
} from "./models.js";
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awt<|fim_middle|>omatig. PEIDIWCH Â MODIWL
/<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* OtherPerson is like a per... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* OtherMethods has another method, but through a private embedded type.
* @module
*/
// eslint-disable-next-line @type<|fim_suffix|>.js";
/**
* LikeThisOtherOne does noth... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* SomeMethods exports some methods.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, Cancell... | fim | wailsapp/wails | javascript |
<|fim_suffix|>om "/wails/runtime.js";
/**
* LikeThisOtherOne does nothing as well, but is different.
* @returns {$CancellablePromise<void>}
*/
export function LikeThisOtherOne() {
return $Call.ByID(3566862802);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEI<|fim_suffix|>.PrivatePerson]>}
*/
export function LikeThisOne() {
return $Call.ByID(2590614085).then(/** @type {($result: any) => any} */(($result) => {
$result[0] = $$createType0($result[0]);
$result[1] = $$createType1($result... | fim | wailsapp/wails | javascript |
<|fim_suffix|>line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "/wails/runtime.js";
/**
* Greet someone
* @param {string} $0
* @returns {$CancellablePromise<void>}
*/
export function Greet($0) {
retu... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// <|fim_suffix|> EmbedService,
GreetService
};
<|fim_middle|>@ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as EmbedOther from "./embedother.js";
import * as EmbedService from "./embedservice.js";
import * as Greet... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "/wails/ru... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cyn<|fim_suffix|>reetService from "./greetservice.js";
import * as OtherService from "./otherservice.js";
export {
GreetService,
OtherService
};
<|fim_middle|>hyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as G<|e... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $C<|fim_suffix|> } from "/wails/runtime.js... | fim | wailsapp/wails | javascript |
<|fim_suffix|> {
return $Call.ByID(1411160069, name);
}
<|fim_prefix|>// @ts-check
// Cynhyr<|fim_middle|>chwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call ... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
import * as OtherService from "./otherservice.js";
export {
GreetService,
OtherService
};
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//<|fim_suffix|> "/wails/runtime.js";
/**
* @returns {$CancellablePromise<void>}
*/
export function Hello() {
r... | fim | wailsapp/wails | javascript |
<|fim_suffix|>then(/** @type {($result: any) => any} */(($result) => {
return $$createType1($result);
}));
}
// Private type creation functions
const $$createType0 = $models.Person.createFrom;
const $$createType1 = $Create.Nullable($$createType0);
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn aw... | fim | wailsapp/wails | javascript |
<|fim_suffix|>
} from "./models.js";
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDI<|fim_middle|>T
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
Person<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|> */
this["Address"] = null;
}
Object.assign(this, $$source);
}
/**
* Creates a new Person instance from a string or object.
* @param {any} [$$source = {}]
* @returns {Person}
*/
static createFrom($$source = {}) {
const $$createF... | fim | wailsapp/wails | javascript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.