text stringlengths 14 100k | source stringclasses 1
value | repo stringclasses 810
values | language stringclasses 13
values |
|---|---|---|---|
<|fim_suffix|>thods from "./somemethods.js";
export {
SomeMethods
};
export {
HowDifferent,
Impersonator,
Person,
PrivatePerson
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil <|fim_middle|>hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import *... | 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_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
StringPtr
} from "./model<|fim_suffix|>";
<|fim_middle|>s.js<|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";
/**
* StringPtr is a nullable string.
*/
export type Stri... | fim | wailsapp/wails | typescript |
<|fim_suffix|>n
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEI<|fim_middle|>DIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as OtherMethods from "./othermethods.js";
export {
OtherMethods
};
export {
OtherPerso<|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";
/**
* OtherPerson is like a person, but diff... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ncellablePromise as $CancellablePromise, Create as $Create } from "/wails/runtime.js";
/**
* LikeThisOtherOne does nothing as well, but is different.
*/
export function LikeThisOtherOne(): $CancellablePromise<void> {
return $Call.ByName("github.com/wailsapp/wails/v3/internal/generator/testcases/no_... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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, CancellablePromise a... | fim | wailsapp/wails | typescript |
<|fim_suffix|>id> {
return $Call.ByName("main.EmbedOther.LikeThisOtherOne");
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODI<|fim_middle|>WL
// This file is automatically generated. DO NOT EDIT
/**
* EmbedOther is even trickier.
* @module
*/
// eslint-disable-next-line @typescript-esli... | fim | wailsapp/wails | typescript |
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* EmbedService is tricky.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise, C... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ellablePromise<void> {
return $Call.ByName("main.GreetService.Greet", $0);
}
<|fim_prefix|>// Cynhyrchwy<|fim_middle|>d y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript... | fim | wailsapp/wails | typescript |
// 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 GreetService from "./greetservice.js";
export {
EmbedOther,
EmbedService,
GreetServic... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ntime.js";
export function Greet(name: string): $CancellablePromise<string> {
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
// eslint-disable-next-line @typescript-... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn<|fim_suffix|>IWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
import * as OtherService from "./otherservice.js";
export {
GreetService,
OtherService
};
<|fim_middle|> awtomatig. PEID<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>Call, CancellablePromise as $CancellablePromise, Create as $Create } from "/wails/runtime.js";
export function Hello(): $CancellablePromise<void> {
return $Call.ByName("main.OtherService.Hello");
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically ... | fim | wailsapp/wails | typescript |
<|fim_suffix|>("main.GreetService.Greet", name);
}
<|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 { Call as $Call, CancellablePromise as $Can... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MOD<|fim_suffix|> This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
import * as OtherService from "./otherservice.js";
export {
GreetService,
OtherService
};
<|fim_middle|>IWL
//<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>me("main.OtherService.Hello");
}
<|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 { Call as $Call, CancellablePromise as $Cancell... | 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-d<|fim_suffix|>YZ
*/
export function Greet(name: string): $CancellablePromise<string> {
return $Call.ByName("main.GreetService.Greet"... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd <|fim_suffix|>GreetService from "./greetservice.js";
export {
GreetService
};
export {
Person
} from "./models.js";
<|fim_middle|>y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as <|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>rvices/models.js";
export class Person {
"Name": string;
"Address": services$0.Address | null;
/** Creates a new Person instance. */
constructor($$source: Partial<Person> = {}) {
if (!("Name" in $$source)) {
this["Name"] = "";
}
if (!("Address" in $$so... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIW<|fim_suffix|>EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
export {
Address
} from "./models.js";
<|fim_middle|>CH Â MODIWL
// This file is automatically generated. DO NOT <|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 $<|fim_suffix|>ct.assign(this, $$source);
}
/**
* Creates a new Addr... | fim | wailsapp/wails | typescript |
<|fim_suffix|>and that
*/
export function Yay(): $CancellablePromise<$models.Address | null> {
return $Call.ByName("github.com/wailsapp/wails/v3/internal/generator/testcases/struct_literal_multiple_other/services.OtherService.Yay").then(($result: any) => {
return $$createType1($result);
});
}
// Priva... | 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 |
// 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
} from "./models.js";
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|> this["Details"] = {"Age": 0, "Address": {"Street": ""}};
}
Object.assign(this, $$source);
}
/**
* Creates a new Person instance from a string or object.
*/
static createFrom($$source: any = {}): Person {
const $$createField1_0 = $$createType1;
let ... | fim | wailsapp/wails | typescript |
<|fim_suffix|>lePromise<void> {
return $Call.ByName("main.GreetService.MapIntInt", $in);
}
export function MapIntIntPointer($in: { [_ in `${number}`]?: number | null }): $CancellablePromise<void> {
return $Call.ByName("main.GreetService.MapIntIntPointer", $in);
}
export function MapIntSliceInt($in: { [_ in `$... | fim | wailsapp/wails | typescript |
<|fim_suffix|>import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {
Person
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO<|fim_middle|> NOT EDIT
<|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 ff<|fim_suffix|> TypeMappingService
};
export {
AllTypes,
GenericType
} from "./models.js";
<|fim_middle|>eil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as TypeMappingService from "./typemappingservice.js";
export {
<|end... | 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";
// eslint-disable-next-line @typescript-eslint/ban-ts-comme... | fim | wailsapp/wails | typescript |
<|fim_suffix|>on 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 type mappings.
* @module
*/
// eslint-disable-next-line @type... | fim | wailsapp/wails | typescript |
<|fim_suffix|>someone
*/
export function Greet(name: string): $CancellablePromise<string> {
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 | wailsapp/wails | typescript |
<|fim_suffix|>port {
GreetService
};
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEID<|fim_middle|>IWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
ex<|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<|fim_suffix|>ion Greet(name: string): $CancellablePromise<string> {
return $Call.ByName("main.GreetService.Greet", name);
}
<|fim_midd... | fim | wailsapp/wails | typescript |
<|fim_suffix|>s";
export {
GreetService
};
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetServ<|fim_middle|>ice from "./greetservice.j<|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 @ty<|fim_suffix|>time.js";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ce
};
export {
Person
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig.<|fim_middle|> PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetServi<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>es a new Person instance from a string or object.
*/
static createFrom($$source: any = {}): Person {
const $$createField1_0 = $$createType1;
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
if ("Address" in $$parsedSource) {
... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is <|fim_suffix|>{
OtherService
};
export {
Address
} from "./models.js";
<|fim_middle|>automatically generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export <|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 |
// 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_suffix|>wtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
Time
} from "./models.js";
<|fim_prefix|>// Cynhyrc<|fim_middle|>hwyd y ffeil hon yn a<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>[Time.UnmarshalJSON] and
* [Time.UnmarshalText] are not concurrency-safe.
*
* Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods.
* The [Time.Sub] method subtracts two instants, producing a [Duration].
* The [Time.Add] method adds a Time and a Duration, pro... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated<|fim_suffix|> TextMarshaler
} from "./models.js";
<|fim_middle|>. DO NOT EDIT
export type {
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>ically generated. DO NOT EDIT
export type {
Marshaler
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This fil<|fim_middle|>e is automat<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>arshal themselves into valid JSON.
*/
export type Marshaler = any;
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automa<|fim_middle|>tically generated. DO NOT EDIT
/**
* Marshaler is the interface implemented by types that
* can m<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* TextMarshaler is the interface implemented by an object tha<|fim_suffix|>ncoded text and returns the result.
*/
export type TextMarshaler = any;
<|fim_middle|>t can
* marshal itself in... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ime.js";
Object.freeze($Create.Events);
<|fim_prefix|>//@ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
/<|fim_middle|>/ This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ts_only:map": { [_ in string]?: number[] | null } | null;
"events_only:nodata": void;
"events_only:other": more$0.StringPtr[] | null;
"events_only:string": string;
"interface": json$0.Marshaler;
"overlap": {"Field": boolean[] | null} | null;
... | 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 } fr... | fim | wailsapp/wails | typescript |
<|fim_suffix|>} from "./models.js";
<|fim_prefix|>// 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 type {
Alias,
AliasGroup,
AliasStruct,
AliasedPerson,... | 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 * as subpkg$0 from "./subpkg/models.js";
/**
* A nice type Alias.
*/
export type <|fim_suff... | fim | wailsapp/wails | typescript |
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
SubStruct
} from "./models.js";
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>ype in a subpackage that is only referenced through an alias.
*/
export interface SubStruct {
"SomeField": string[] | null;
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MO<|fim_middle|>DIWL
// This file is automatically generated. DO NOT EDIT
/**
* SubStruct is a t<|endoftext... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as <|fim_suffix|>.js";
import * as Service9 from "./service9.js";
export {
Service7,
Service9
};
<|fim_middle|>Service7 from "./service7<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>01727);
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// <|fim_middle|>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 $CancellablePromi... | fim | wailsapp/wails | typescript |
<|fim_suffix|>untime.js";
export function TestMethod2(): $CancellablePromise<void> {
return $Call.ByID(1556848345);
}
<|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 | wailsapp/wails | typescript |
<|fim_suffix|>-ts-comment
// @ts-ignore: Unused imports
import * as $models from "./models.js";
/**
* Greet does XYZ
*/
export function Greet(person: $models.Person, emb: $models.Embedded1): $CancellablePromise<string> {
return $Call.ByID(1411160069, person, emb);
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn aw... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
<|fim_suffix|> GreetService
};
export {
Title
} from "./models.js";
export type {
Embedded1,
Embedded3,
Person
} from "./models.js";
<|fim_middle|>// This file is automatically generated. DO NOT EDIT
import * as GreetService f... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export interface Embedded1 {
/**
* Friends should be shadowed in Person by a field of lesser depth
*/
"Friends": number;
/**
* Vanish should be omitted<|fim_suffix|>... | fim | wailsapp/wails | typescript |
<|fim_suffix|>turn $Call.ByID(1411160069, str, people, $2, assoc, $4, other);
}
<|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... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO <|fim_suffix|>eetservice.js";
export {
GreetService
};
export type {
Person
} from "./models.js";
<|fim_middle|>NOT EDIT
import * as GreetService from "./gr<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>generated. DO NOT EDIT
/**
* Person represents a person
*/
export interface Person {
"Name": string;
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is autom<|fim_middle|>atically <|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is aut<|fim_suffix|> } 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... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd <|fim_suffix|>s";
export {
GreetService
};
export type {
StructA,
StructC,
StructE
} from "./models.js";
<|fim_middle|>y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.j<|endoftex... | fim | wailsapp/wails | typescript |
<|fim_suffix|>
"A": StructA | null;
}
export interface structD {
"E": StructE;
}
<|fim_prefix|>// Cynhyrc<|fim_middle|>hwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export interface StructA {
"B": structB | null;
}
export interface StructC {
"D"... | fim | wailsapp/wails | typescript |
<|fim_suffix|>440020721);
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtoma<|fim_middle|>tig. 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 ... | fim | wailsapp/wails | typescript |
<|fim_suffix|>GreetService from "./greetservice.js";
export {
GreetService
};
export type {
Alias,
Cyclic,
GenericCyclic
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT <|fim_middle|>EDIT
import * as <|endof... | fim | wailsapp/wails | typescript |
<|fim_suffix|>= ({ [_ in string]?: Alias } | null)[] | null;
export type GenericCyclic<T> = {"X": GenericCyclic<T> | null, "Y": T[] | null}[] | null;
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export type Alias = Cyclic | null;
ex<|fi... | 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
};
console.log("Hello everywhere!");
console.log("Hello ever<|fim_suffix|>erfaces!");
<|fim_middle|>ywhere again!");
console.log("... | fim | wailsapp/wails | typescript |
<|fim_suffix|>ine @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as $models from "./models.js";
export function Method($0: $models.InternalModel): $CancellablePromise<void> {
return $Call.ByID(538079117, $0);
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// Th... | fim | wailsapp/wails | typescript |
<|fim_suffix|>d": string;
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MO<|fim_middle|>DIWL
// This file is automatically generated. DO NOT EDIT
/**
* An exported but internal model.
*/
export interface InternalModel {
"Field": string;
}
/**
* An unexported model.
*/
export interface un... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y<|fim_suffix|> Dummy
} from "./models.js";
<|fim_middle|> ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEI<|fim_suffix|>IWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export interface Dummy {
}
<|fim_middle|>D<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â <|fim_suffix|>// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as otherpackage$0 from "./otherpackage/models.js";
function InternalMethod($0: string): $CancellablePromise<void> {
return $Call.ByID(... | fim | wailsapp/wails | typescript |
<|fim_prefix|>import { CustomMetho<|fim_suffix|>mMethod("everywhere");
<|fim_middle|>d } from "./service.js";
Custo<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>s";
CustomMethod("everywhere again");
<|fim_prefix|>import { Cust<|fim_middle|>omMethod } from "./service.j<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>imp<|fim_suffix|>es");
<|fim_middle|>ort { CustomMethod } from "./service.js";
CustomMethod("Interfac<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>import { C<|fim_suffix|>stomMethod } from "./service.js";
CustomMethod("TS");
<|fim_middle|>u<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>rom "./service.js";
CustomMethod("TS Interfaces");
<|fim_prefix|>import { CustomMethod }<|fim_middle|> f<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NO<|fim_suffix|>l, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as $models f... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cy<|fim_suffix|>port function Method5(): $CancellablePromise<void> {
return $Call.ByID(774447808);
}
<|fim_middle|>nhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @ty... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y <|fim_suffix|>Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|>ffeil hon yn awtomatig. PEIDIWCH <|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>son | null> {
return $Call.ByID(1661412647, name);
}
<|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: ... | fim | wailsapp/wails | typescript |
<|fim_suffix|>from "./models.js";
export type {
Person
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
e<|fim_middle|>xport {
Age... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* Age is an integer with some predefined values
*/
export type Age = number;
/**
* Predefined constants for type Age.
* @namespace
*/
export const Age = {
NewBorn: 0,
Teenager... | fim | wailsapp/wails | typescript |
<|fim_suffix|> Greet(name: string, title: services$0.Title): $CancellablePromise<string> {
return $Call.ByID(1411160069, name, title);
}
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// esli... | 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";
export {
<|fim_suffix|>etService
};
<|fim_middle|> Gre<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|>
Title
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically<|fim_middle|> generated. DO NOT EDIT
export {<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_suffix|> Dr = "Dr",
};
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export enum Title {
/**
* T<|fim_middle|>he Go zero value for the underlying type of the enum.
*/
$zero = "",
/**
* Mister is a title
... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// 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 as $Call, Ca... | fim | wailsapp/wails | typescript |
<|fim_prefix|>//<|fim_suffix|> from "./models.js";
export type {
Person
} from "./models.js";
<|fim_middle|> Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as EnumMapService from "./enummapservice.js";
export {
EnumMapService
};
export {
... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* Color represents color values
*/
export enum Color {
/**
* The Go zero value for the underlying type of the enum.
*/
$zero = 0,
Red = 1,
Green = 2,
Blue =... | fim | wailsapp/wails | typescript |
<|fim_suffix|>s.js";
<|fim_prefix|>// Cynhyr<|fim_middle|>chwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
SomeClass
} from "./model<|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|>omeClass renders as a TS class.
*/
export interface SomeClass {
"Field": string;
"Meadow": nobindingshere$0.HowDifferent<num... | fim | wailsapp/wails | typescript |
<|fim_suffix|>t function Greet(name: string): $CancellablePromise<string> {
return $Call.ByID(1411160069, name);
}
/**
* NewPerson creates a new person
*/
export function NewPerson(name: string): $CancellablePromise<$models.Person | null> {
return $Call.ByID(1661412647, name);
}
<|fim_prefix|>// Cynhyrchwyd ... | fim | wailsapp/wails | typescript |
<|fim_suffix|>his file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export type {
Person
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd<|fim_middle|> y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// T<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon<|fim_suffix|>PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as services$0 from "./services/models.js";
/**
* Person is a person
*/
export interface Pe... | fim | wailsapp/wails | typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.