text stringlengths 14 100k | source stringclasses 1
value | repo stringclasses 810
values | language stringclasses 13
values |
|---|---|---|---|
<|fim_suffix|> "./models.js";
<|fim_prefix|>// Cynh<|fim_middle|>yrchwyd 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
} from<|endoftext|> | fim | wailsapp/wails | typescript |
<|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 { Create as $Create } from "/wails/runtime.js";
export class Person {
"Name": string;
... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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, CancellablePromis<|fim_suffix|>n... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This <|fim_suffix|>rvice from "./greetservice.js";
export {
GreetService
};
export {
Person
} from "./models.js";
<|fim_middle|>file is automatically generated. DO NOT EDIT
import * as GreetSe<|endoftext|> | fim | wailsapp/wails | typescript |
// 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 Person {
"Name": string;
"Parent": Per... | fim | wailsapp/wails | typescript |
<|fim_suffix|>es,
GenericType
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as TypeMappingS<|fim_middle|>ervice from "./typemappingservice.js";
export {
TypeMappingService
};
export {
AllTyp<|end... | fim | wailsapp/wails | typescript |
<|fim_suffix|> $$parsedSource["MapByteBool"] = $$createField21_0($$parsedSource["MapByteBool"]);
}
if ("PtrStruct" in $$parsedSource) {
$$parsedSource["PtrStruct"] = $$createField24_0($$parsedSource["PtrStruct"]);
}
if ("Struct" in $$parsedSource) {
$$pa... | fim | wailsapp/wails | typescript |
<|fim_suffix|> return $$createType0($result);
});
}
// Private type creation functions
const $$createType0 = $models.AllTypes.createFrom;
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* TypeMappingService is a service for testing... | fim | wailsapp/wails | typescript |
<|fim_suffix|>/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "/wails/runtime.js";
/**
* Greet someone
*/
export function Greet(name: string): $CancellablePromise<string> {
return $Call.ByID(1411160069, name);
}
<|fim_prefi... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ce from "./greetservice.js";
export {
GreetService
};
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â<|fim_middle|> MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetServi<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is autom<|fim_suffix|> * 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 $C... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtoma<|fim_suffix|>CH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|>tig. PEIDIW<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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-igno<|fim_suffix|>tring> {
return $Call.ByID(1411160069, name);
}
/**
* N... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. <|fim_suffix|> Person
} from "./models.js";
<|fim_middle|>DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|> creation functions
const $$createType0 = services$0.Address.createFrom;
const $$createType1 = $Create.Nullable($$createType0);
<|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-... | fim | wailsapp/wails | typescript |
<|fim_suffix|>T EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
export {
Address
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generate<|fim_middle|>d. DO NO<|endoftext|> | fim | wailsapp/wails | typescript |
<|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 { Create as $Create } from "/wails/runtime.js";
export class Address {
"Street": string;
... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* OtherService is a struct
* that does things
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, Cancellab... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generate<|fim_suffix|>pe {
Time
} from "./models.js";
<|fim_middle|>d. DO NOT EDIT
export ty<|endoftext|> | fim | wailsapp/wails | typescript |
<|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 { Create as $Create } from "/wails/runtime.js";
/**
* A Time represents an instant in time w... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffei<|fim_suffix|>om "./models.js";
<|fim_middle|>l hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
TextMarshaler
} fr<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil<|fim_suffix|> MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
Marshaler
} from "./models.js";
<|fim_middle|> hon yn awtomatig. PEIDIWCH Â<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// Th<|fim_suffix|>/runtime.js";
/**
* Marshaler is the interface implemented by types that
* can marshal themselves into valid JSON.
*/
export type Marshaler = any;
<|fim_middle|>is file is automatically generated. DO NOT EDIT
// eslint-disa... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd<|fim_suffix|> TextMarshaler = any;
<|fim_middle|> 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.j... | fim | wailsapp/wails | typescript |
<|fim_suffix|>eType1);
const $$createType3 = $Create.Array($Create.Any);
const $$createType4 = $Create.Array($Create.Any);
const $$createType5 = $Create.Struct({
"Field": $$createType4,
});
const $$createType6 = $Create.Nullable($$createType5);
configure();
<|fim_prefix|>//@ts-check
// Cynhyrchwyd y ffeil hon yn a... | fim | wailsapp/wails | typescript |
<|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|>// 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 $Cancellab... | fim | wailsapp/wails | typescript |
<|fim_suffix|>;
export {
AliasGroup,
AliasedPerson,
EmptyStruct,
GenericPerson,
GenericPersonAlias,
IndirectPersonAlias,
Person,
StrangelyAliasedPerson,
SubPackageAlias
} from "./models.js";
export type {
Alias,
AliasStruct,
EmptyAliasStruct,
GenericMapAlias,
Ge... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn<|fim_suffix|>reateType1;
const $$createField1_0 = $$createType4;
const $$createField2_0 = $$createType5;
const $$createField3_0 = $$createType7;
const $$createField4_0 = $$createType7;
const $$createField5_0 = $$createType8;
let... | fim | wailsapp/wails | typescript |
<|fim_suffix|>nerated. DO NOT EDIT
export {
SubStruct
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatical<|fim_middle|>ly ge<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>eateField0_0 = $$createType0;
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
if ("SomeField" in $$parsedSource) {
$$parsedSource["SomeField"] = $$createField0_0($$parsedSource["SomeField"]);
}
return new SubStruct($$parsedSo... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn<|fim_suffix|>IT
import * as Service7 from "./service7.js";
import * as Service9 from "./service9.js";
export {
Service7,
Service9
};
<|fim_middle|> awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT ED<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon<|fim_suffix|>ator/testcases/complex_expressions/config.Service7.TestMethod");
}
<|fim_middle|> 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... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This f<|fim_suffix|>ator/testcases/complex_expressions/config.Service9.TestMethod2");
}
<|fim_middle|>ile is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
impor... | fim | wailsapp/wails | typescript |
<|fim_suffix|>XYZ
*/
export function Greet(person: $models.Person, emb: $models.Embedded1): $CancellablePromise<string> {
return $Call.ByName("main.GreetService.Greet", person, emb);
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwy<|fim_suffix|> EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
Embedded1,
Person,
Title
} from "./models.js";
export type {
Embedded3
} from "./models.js";
<|fim_middle|>d y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file... | fim | wailsapp/wails | typescript |
<|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 { Create as $Create } from "/wails/runtime.js";
export class Embedded1 {
/**
* Frien... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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 $Cancellab... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically gene<|fim_suffix|>vice
};
export {
Person
} from "./models.js";
<|fim_middle|>rated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetSer<|endoftext|> | fim | wailsapp/wails | typescript |
<|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-ignor<|fim_suffix|>
return new Person($$parsedSource as Partial<Person>);
}
}
<|fim_middle|>e: Unused imports
im... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ellablePromise, 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";
/**
* Make a cycle.
*/
export function MakeCycles(): $CancellablePromise<[$models.StructA, $models.StructC]>... | fim | wailsapp/wails | typescript |
// 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 {
StructA,
StructC,
StructE
} from "./models.js";
<|endoftext|> | fim | wailsapp/wails | typescript |
<|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-i<|fim_suffix|>tor($$source: Partial<structB> = {}) {
if (!("A" in $$source)) {
this["A"] = null;
... | fim | wailsapp/wails | typescript |
<|fim_suffix|>Type5 = $Create.Nullable($$createType4);
const $$createType6 = $Create.Array($Create.Any);
const $$createType7 = $Create.Struct({
"X": $$createType5,
"Y": $$createType6,
});
const $$createType8 = $Create.Array($$createType7);
var $$createType9 = (function $$initCreateType9(...args: any[]): any {
... | fim | wailsapp/wails | typescript |
<|fim_suffix|>mport * as GreetService from "./greetservice.js";
export {
GreetService
};
export type {
Alias,
Cyclic,
GenericCyclic
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn aw<|fim_middle|>tomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
i<|endof... | fim | wailsapp/wails | typescript |
<|fim_suffix|>GenericCyclic<T> = {"X": GenericCyclic<T> | null, "Y": T[]}[];
<|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 { Create as $Crea... | fim | wailsapp/wails | typescript |
// 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 TS!");
console.lo... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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 a... | fim | wailsapp/wails | typescript |
<|fim_suffix|>e as Partial<unexportedModel>);
}
}
<|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 { Create as $Create } from "/wails/runti... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn a<|fim_suffix|>rt {
Dummy
} from "./models.js";
<|fim_middle|>wtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
expo<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn <|fim_suffix|> Â 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 new Dummy ... | fim | wailsapp/wails | typescript |
<|fim_prefix|>imp<|fim_suffix|> CustomMethod } from "../service.js";
CustomMethod("TS");
<|fim_middle|>ort {<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>
<|fim_prefix|>import { CustomMet<|fim_middle|>hod } from "../service.js";
CustomMethod("TS Classes");<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>mment
// @ts-ignore: Unused imports
import * as otherpackage$0 from "./otherpackage/models.js";
function InternalMethod($0: string): $CancellablePromise<void> {
return $Call.ByName("main.Service.InternalMethod", $0);
}
export function VisibleMethod($0: otherpackage$0.Dummy): $CancellablePromise<void... | fim | wailsapp/wails | typescript |
<|fim_prefix|>import { C<|fim_suffix|>rom "./service.js";
CustomMethod("everywhere");
<|fim_middle|>ustomMethod } f<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>erywhere again");
<|fim_prefix|>import { CustomMethod } fr<|fim_middle|>om "./service.js";
CustomMethod("ev<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>
<|fim_prefix|>import { CustomMethod } from "./service.js";
CustomMethod("Classes<|fim_middle|>");<|endoftext|> | fim | wailsapp/wails | javascript |
import { CustomMethod } from "./service.js";
CustomMethod("TS");
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>rvice.js";
CustomMethod("TS Classes");
<|fim_prefix|>import { CustomM<|fim_middle|>ethod } from "./se<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|> $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";
export function Method($0: $models.unexportedModel): $CancellablePromise<vo... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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
// @t<|fim_suffix|>vice.Method2");
}
/**
* Comment 3a.
* Comment 3b.
*/
export fun... | fim | wailsapp/wails | typescript |
// 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 | typescript |
<|fim_suffix|> $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
*/
export function Greet(name: string, title: $models.Title): $CancellablePromise... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cyn<|fim_suffix|>his file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
Age,
Person,
Title
} from "./models.js";
<|fim_middle|>hyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// T<|endoftext|> | fim | wailsapp/wails | typescript |
<|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 { Create as $Create } from "/wails/runtime.js";
/**
* Age is an integer with some predefined... | fim | wailsapp/wails | typescript |
// 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 $CancellablePromise, Cre... | fim | wailsapp/wails | typescript |
<|fim_suffix|>le is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_prefix|>// Cynhyrchwyd <|fim_middle|>y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This fi<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>s file is automatically generated. DO NOT EDIT
export {
Title
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH<|fim_middle|> Â MODIWL
// Thi<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/<|fim_suffix|>om "/wails/runtime.js";
export enum Title {
/**
* The Go zero value for the underlying type of the enum.
*/
$zero... | fim | wailsapp/wails | typescript |
<|fim_suffix|>{
return $Call.ByName("main.EnumMapService.GetPersonsByStatus").then(($result: any) => {
return $$createType6($result);
});
}
/**
* GetPriorityWeights returns a map with integer enum keys
*/
export function GetPriorityWeights(): $CancellablePromise<{ [_ in $models.Priority]?: number }> ... | fim | wailsapp/wails | typescript |
<|fim_suffix|>nummapservice.js";
export {
EnumMapService
};
export {
Color,
Person,
Priority,
Status
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generat<|fim_middle|>ed. DO NOT EDIT
import * as EnumMapService from "./... | fim | wailsapp/wails | typescript |
<|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 { Create as $Create } from "/wails/runtime.js";
/**
* Color represents color values
*/
expo... | fim | wailsapp/wails | typescript |
<|fim_suffix|>le is automatically generated. DO NOT EDIT
export {
SomeClass
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This <|fim_middle|>fi<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>SomeClass>);
}
}
// Private type creation functions
const $$createType0 = nobindingshere$0.HowDifferent.createFrom($Create.Any);
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslin... | fim | wailsapp/wails | typescript |
<|fim_suffix|>
});
}
// Private type creation functions
const $$createType0 = $models.Person.createFrom;
const $$createType1 = $Create.Nullable($$createType0);
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
exp<|fim_suffix|> from "./models.js";
<|fim_middle|>ort {
GreetService
};
export {
Person
}<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|> $$parsedSource["Address"] = $$createField1_0($$parsedSource["Address"]);
}
return new Person($$parsedSource as Partial<Person>);
}
}
// Private type creation functions
const $$createType0 = services$0.Address.createFrom;
const $$createType1 = $Create.Nullable($$createType0);
<... | fim | wailsapp/wails | typescript |
<|fim_suffix|>
import * as OtherService from "./otherservice.js";
export {
OtherService
};
export {
Address
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd<|fim_middle|> y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>{
this["Country"] = "";
}
Object.assign(this, $$source);
}
/**
* Creates a new Address instance from a string or object.
*/
static createFrom($$source: any = {}): Address {
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) ... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* OtherService is a struct
* that does things
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, Cancellab... | fim | wailsapp/wails | typescript |
<|fim_suffix|>L
// 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 $CancellablePromise, Create as $Create } from "/wails/runtime.js";
... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhy<|fim_suffix|>greetservice.js";
export {
GreetService
};
export {
Person
} from "./models.js";
<|fim_middle|>rchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-<|fim_suffix|>$Create.Nullable($$createType0);
<|fim_middle|>eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wail... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
//<|fim_suffix|> Address
} from "./models.js";
<|fim_middle|> This file is automatically generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
export {
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|> let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
return new Address($$parsedSource as Partial<Address>);
}
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-n... | fim | wailsapp/wails | typescript |
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* OtherService is a struct
* that does things
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $... | fim | wailsapp/wails | typescript |
<|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<|fim_suffix|>.js";
export function Greet(name: string): $CancellablePromise<string> {
return $Call.ByName("main.GreetService.Greet", n... | fim | wailsapp/wails | typescript |
<|fim_suffix|>tomatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// <|fim_middle|>This file is au<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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 $Cancellab... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon<|fim_suffix|>// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|> yn awtomatig. PEIDIWCH Â MODIWL
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* <|fim_suffix|>Call, CancellablePromise as $CancellablePromise, Create as $Create } from "/wails/runtime.js";
/**
* Greet someone
*/
export function Greet(name: string): $CancellablePr... | fim | wailsapp/wails | typescript |
<|fim_suffix|>wtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_prefix|>// Cynhyrchwyd<|fim_middle|> y ffeil hon yn a<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>g> {
return $Call.ByName("main.GreetService.Greet", name);
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
//<|fim_middle|> eslint-disable-next-line @typescript-eslint/ban-ts-c... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y <|fim_suffix|>ODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|>ffeil hon yn awtomatig. PEIDIWCH Â M<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|> IntAlias,
IntType,
PointerAlias,
PointerTextMarshaler,
StringAlias,
StringType,
ValueAlias,
ValueTextMarshaler
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as Ser... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ype5;
const $$createField6_0 = $$createType6;
const $$createField7_0 = $$createType7;
const $$createField8_0 = $$createType8;
const $$createField9_0 = $$createType9;
const $$createField10_0 = $$createType10;
const $$createField11_0 = $$createType11;
... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-esl<|fim_suffix|>ull>> {
return $Call.ByName("main.Service.Method").then(($result: any) => {
return $$createType0($result);
});
}
// Pri... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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,
ImplicitNon<|fim_suffix|>Marshaler,
PointerMarshaler,
PointerTextMarshaler,
UnderlyingJsonMa... | fim | wailsapp/wails | typescript |
<|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 { Create as $Create } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslin... | fim | wailsapp/wails | typescript |
<|fim_suffix|>escript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as $models from "./models.js";
export function Method(): $CancellablePromise<$models.Data> {
return $Call.ByName("main.Service.Method").then(($result: any) => {
return $$createType0($result);
});
}
// Private type creat... | fim | wailsapp/wails | typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.