type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
option => option.command === command
RadheTians/digital-bank-ui
src/app/main/customer/tasks/task.detail.component.ts
TypeScript
ClassDeclaration
@Component({ templateUrl: './task.detail.component.html', styleUrls: ['./task.detail.component.scss'], }) export class TaskDetailComponent { task$: Observable<TaskDefinition>; constructor(private store: Store<fromCustomers.State>) { this.task$ = this.store.select(fromCustomers.getSelectedTask); } for...
RadheTians/digital-bank-ui
src/app/main/customer/tasks/task.detail.component.ts
TypeScript
MethodDeclaration
formatType(type: TaskDefinitionType): string { return defaultTypeOptions.find(option => option.type === type).label; }
RadheTians/digital-bank-ui
src/app/main/customer/tasks/task.detail.component.ts
TypeScript
MethodDeclaration
formatCommands(commands: TaskDefinitionCommand[]): string { const options = commands.map(command => defaultCommandOptions.find(option => option.command === command).label); return options.join(', '); }
RadheTians/digital-bank-ui
src/app/main/customer/tasks/task.detail.component.ts
TypeScript
ClassDeclaration
@Directive({ selector: '[ngsGridItem]' }) export class GridItemDirective implements OnChanges { @Input() x = 0; @Input() y = 0; @HostBinding('style.transform') hostTransform: string; get translate(): string { return `translate(${this.x}px,${this.y}px)`; } get transform(): string { return thi...
lowrencium/ngSvgrid
src/lib/directives/grid-item.directive.ts
TypeScript
MethodDeclaration
ngOnChanges() { this.hostTransform = this.transform; }
lowrencium/ngSvgrid
src/lib/directives/grid-item.directive.ts
TypeScript
ArrowFunction
({ match }) => { const qs = parseQs(location.search.substr(1)); const params: AppDetailsUrlQueryParams = qs; return ( <AppDetailsView id={decodeURIComponent(match.params.id)} params={params} />
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
ArrowFunction
({ match }) => <AppDetailsSettingsView id
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
ArrowFunction
props => { const qs = parseQs(location.search.substr(1)); const params: AppInstallUrlQueryParams = qs; return <AppInstallView params={params} {...props} />; }
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
ArrowFunction
({ match, token, onTokenClose }) => { const qs = parseQs(location.search.substr(1)); const params: CustomAppUrlQueryParams = qs; return ( <CustomAppDetailsView id={decodeURIComponent(match.params.id)} params={params} token={token} onTokenClose={onTokenClose} />
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
ArrowFunction
() => { const qs = parseQs(location.search.substr(1)); const params: AppListUrlQueryParams = qs; return <AppsListView params={params} />; }
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
ArrowFunction
() => { const intl = useIntl(); const [token, setToken] = React.useState<string>(null); return ( <> <WindowTitle title={intl.formatMessage(sectionNames.apps)} /> <Switch> <Route exact path={appsListPath} component={AppsList} /> <Route exact path={customAppAddP...
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
InterfaceDeclaration
interface CustomAppDetailsProps extends RouteComponentProps<{ id: string }> { token: string; onTokenClose: () => void; }
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
MethodDeclaration
decodeURIComponent(match
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
MethodDeclaration
appPath(":id")
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
MethodDeclaration
appSettingsPath(":id")
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
MethodDeclaration
customAppPath(":id")
2impulse/saleor-dashboard
src/apps/index.tsx
TypeScript
ClassDeclaration
/** * Auth middleware is meant to restrict un-authenticated access to a given route * or a group of routes. * * You must register this middleware inside `start/kernel.ts` file under the list * of named middleware. */ export default class AuthMiddleware { /** * The URL to redirect to when request is Unauthoriz...
KararTY/Twitchr
app/Middleware/Auth.ts
TypeScript
MethodDeclaration
/** * Authenticates the current HTTP request against a custom set of defined * guards. * * The authentication loop stops as soon as the user is authenticated using any * of the mentioned guards and that guard will be used by the rest of the code * during the current request. */ protected async auth...
KararTY/Twitchr
app/Middleware/Auth.ts
TypeScript
MethodDeclaration
/** * Handle request */ public async handle (ctx: HttpContextContract, next: () => Promise<void>, customGuards: string[]): Promise<void> { /** * Uses the user defined guards or the default guard mentioned in * the config file */ const guards = customGuards.length > 0 ? customGuards : [ctx.a...
KararTY/Twitchr
app/Middleware/Auth.ts
TypeScript
FunctionDeclaration
async function withTimeout(promise: Promise<Api>, timeoutMs: number = DEFAULT_TIMEOUT): Promise<Api> { if (timeoutMs === 0) { return promise; } return Promise.race<Api>([ promise, new Promise<Api>((_, reject) => { setTimeout(() => { reject(new Error(`Timed out in ${timeoutMs} ms.`)); ...
dn3010/api.js
packages/api/src/Api.ts
TypeScript
ArrowFunction
(resolve, reject) => { const rejectError = err => { // Disconnect provider if API initialization fails api.disconnect(); reject(new Error('Connection fail')); }; api.isReady.then(res => { // Remove error listener if API initialization success. ...
dn3010/api.js
packages/api/src/Api.ts
TypeScript
ArrowFunction
err => { // Disconnect provider if API initialization fails api.disconnect(); reject(new Error('Connection fail')); }
dn3010/api.js
packages/api/src/Api.ts
TypeScript
ArrowFunction
res => { // Remove error listener if API initialization success. (api as any)._eventemitter.removeListener('error', rejectError); resolve((res as unknown) as Api); }
dn3010/api.js
packages/api/src/Api.ts
TypeScript
ArrowFunction
(_, reject) => { setTimeout(() => { reject(new Error(`Timed out in ${timeoutMs} ms.`)); }, timeoutMs); }
dn3010/api.js
packages/api/src/Api.ts
TypeScript
ArrowFunction
() => { reject(new Error(`Timed out in ${timeoutMs} ms.`)); }
dn3010/api.js
packages/api/src/Api.ts
TypeScript
ClassDeclaration
export class Api extends ApiPromise { static async create(options: ApiOptions = {}): Promise<Api> { const api = new Api(options); return withTimeout( new Promise((resolve, reject) => { const rejectError = err => { // Disconnect provider if API initialization fails api.discon...
dn3010/api.js
packages/api/src/Api.ts
TypeScript
MethodDeclaration
static async create(options: ApiOptions = {}): Promise<Api> { const api = new Api(options); return withTimeout( new Promise((resolve, reject) => { const rejectError = err => { // Disconnect provider if API initialization fails api.disconnect(); reject(new Error('Con...
dn3010/api.js
packages/api/src/Api.ts
TypeScript
FunctionDeclaration
export default function contains( str: string, elem: string, options: ContainsOptions = defaultContainsOptions, ) { merge(options, defaultContainsOptions); return options.ignoreCase ? str.toLowerCase().indexOf(elem.toLowerCase()) >= 0 : str.indexOf(elem) >= 0; }
MJDeligan/validator-deno
src/lib/contains.ts
TypeScript
InterfaceDeclaration
interface ContainsOptions { ignoreCase: boolean; }
MJDeligan/validator-deno
src/lib/contains.ts
TypeScript
ArrowFunction
() => { const darkTheme = boolean("darkMode", false); const lumos = boolean("Lumos Theme", false); const href = text("href", "http://google.com"); const tag = select("HTML Tag", linkTag, ""); const disabled = boolean("Disabled", false); const inline = boolean("Link Inline", false); const target = text("T...
InteractiveTimmy/momentum-ui
web-components/src/components/link/Link.stories.ts
TypeScript
ArrowFunction
() => { return openapiToGraphql .createGraphQlSchema(oas) .then(({ schema, report }) => { createdSchema = schema }) }
prevuelta/openapi-to-graphql
packages/openapi-to-graphql/test/instagram.test.ts
TypeScript
ArrowFunction
({ schema, report }) => { createdSchema = schema }
prevuelta/openapi-to-graphql
packages/openapi-to-graphql/test/instagram.test.ts
TypeScript
ArrowFunction
() => { let oasGetCount = 0 for (let path in oas.paths) { for (let method in oas.paths[path]) { if (method === 'get') oasGetCount++ } } const gqlTypes = Object.keys( createdSchema._typeMap.Query.getFields().viewerAnyAuth.type.getFields() ).length expect(gqlTypes).toEqual(oasGetCount) }
prevuelta/openapi-to-graphql
packages/openapi-to-graphql/test/instagram.test.ts
TypeScript
InterfaceDeclaration
export interface IStcTabData { select: () => void; unselect: () => void; name: string; }
Uiseguys/stencil-bs-ui-lib
src/components/stc-tabs/interfaces.ts
TypeScript
InterfaceDeclaration
export interface IStcTabHeaderData extends IStcTabData { id: string; }
Uiseguys/stencil-bs-ui-lib
src/components/stc-tabs/interfaces.ts
TypeScript
InterfaceDeclaration
export interface IStcTabContentData extends IStcTabData { }
Uiseguys/stencil-bs-ui-lib
src/components/stc-tabs/interfaces.ts
TypeScript
InterfaceDeclaration
export interface StcTabs { tabsHeader: IStcTabHeaderData[]; tabsContent: IStcTabContentData[]; tabGroup: any; }
Uiseguys/stencil-bs-ui-lib
src/components/stc-tabs/interfaces.ts
TypeScript
InterfaceDeclaration
export interface ITabGroup { header: IStcTabHeaderData; content: IStcTabContentData; }
Uiseguys/stencil-bs-ui-lib
src/components/stc-tabs/interfaces.ts
TypeScript
ClassDeclaration
export class CopyProductCommand extends $Command< CopyProductCommandInput, CopyProductCommandOutput, ServiceCatalogClientResolvedConfig > { // Start section: command_properties // End section: command_properties constructor(readonly input: CopyProductCommandInput) { // Start section: command_construct...
rvaronos/aws-sdk-js-v3
clients/client-service-catalog/commands/CopyProductCommand.ts
TypeScript
TypeAliasDeclaration
export type CopyProductCommandInput = CopyProductInput;
rvaronos/aws-sdk-js-v3
clients/client-service-catalog/commands/CopyProductCommand.ts
TypeScript
TypeAliasDeclaration
export type CopyProductCommandOutput = CopyProductOutput & __MetadataBearer;
rvaronos/aws-sdk-js-v3
clients/client-service-catalog/commands/CopyProductCommand.ts
TypeScript
MethodDeclaration
resolveMiddleware( clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler<CopyProductCommandInput, CopyProductCommandOutput> { this.middlewareStack.use(getSerdePlugin(configuration, this.seriali...
rvaronos/aws-sdk-js-v3
clients/client-service-catalog/commands/CopyProductCommand.ts
TypeScript
MethodDeclaration
private serialize(input: CopyProductCommandInput, context: __SerdeContext): Promise<__HttpRequest> { return serializeAws_json1_1CopyProductCommand(input, context); }
rvaronos/aws-sdk-js-v3
clients/client-service-catalog/commands/CopyProductCommand.ts
TypeScript
MethodDeclaration
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CopyProductCommandOutput> { return deserializeAws_json1_1CopyProductCommand(output, context); }
rvaronos/aws-sdk-js-v3
clients/client-service-catalog/commands/CopyProductCommand.ts
TypeScript
ClassDeclaration
/** * Google Play Developer API * * Accesses Android application developers&#39; Google Play accounts. * * @example * const {google} = require('googleapis'); * const androidpublisher = google.androidpublisher('v3'); * * @namespace androidpublisher * @type {Function} * @version v3 * @...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
ClassDeclaration
export class Resource$Edits$Bundles { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** * androidpublisher.edits.bundles.list * @alias androidpublisher.edits.bundles.list * @memberOf! () * * @param {object} params Parame...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
ClassDeclaration
export class Resource$Edits$Deobfuscationfiles { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** * androidpublisher.edits.deobfuscationfiles.upload * @desc Uploads the deobfuscation file of the specified APK. If a * deobfuscatio...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
ClassDeclaration
export class Resource$Orders { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** * androidpublisher.orders.refund * @desc Refund a user's subscription or in-app purchase order. * @alias androidpublisher.orders.refund * @membe...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
ClassDeclaration
export class Resource$Purchases { context: APIRequestContext; products: Resource$Purchases$Products; subscriptions: Resource$Purchases$Subscriptions; voidedpurchases: Resource$Purchases$Voidedpurchases; constructor(context: APIRequestContext) { this.context = context; this.products = ne...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
ClassDeclaration
export class Resource$Purchases$Products { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** * androidpublisher.purchases.products.get * @desc Checks the purchase and consumption status of an inapp item. * @alias androidpublisher....
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
ClassDeclaration
export class Resource$Purchases$Voidedpurchases { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** * androidpublisher.purchases.voidedpurchases.list * @desc Lists the purchases that were canceled, refunded or charged-back. * @ali...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Options extends GlobalOptions { version: 'v3'; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
interface StandardParameters { /** * Data format for the response. */ alt?: string; /** * Selector specifying which fields to include in a partial response. */ fields?: string; /** * API key. Your API key identifies your project and provides you with API * access, quot...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Apk { /** * Information about the binary payload of this APK. */ binary?: Schema$ApkBinary; /** * The version code of the APK, as specified in the APK&#39;s manifest file. */ versionCode?: number; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * Represents the binary payload of an APK. */ export interface Schema$ApkBinary { /** * A sha1 hash of the APK payload, encoded as a hex string and matching the * output of the sha1sum command. */ sha1?: string; /** * A sha256 hash of the APK payload, encoded as a hex string an...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ApksAddExternallyHostedRequest { /** * The definition of the externally-hosted APK and where it is located. */ externallyHostedApk?: Schema$ExternallyHostedApk; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ApksAddExternallyHostedResponse { /** * The definition of the externally-hosted APK and where it is located. */ externallyHostedApk?: Schema$ExternallyHostedApk; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ApksListResponse { apks?: Schema$Apk[]; /** * Identifies what kind of resource this is. Value: the fixed string * &quot;androidpublisher#apksListResponse&quot;. */ kind?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$AppDetails { /** * The user-visible support email for this app. */ contactEmail?: string; /** * The user-visible support telephone number for this app. */ contactPhone?: string; /** * The user-visible website for this app. */ contactWebsite?...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * Represents an edit of an app. An edit allows clients to make multiple * changes before committing them in one operation. */ export interface Schema$AppEdit { /** * The time at which the edit will expire and will be no longer valid for * use in any subsequent API calls (encoded as seconds si...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Bundle { /** * A sha1 hash of the upload payload, encoded as a hex string and matching * the output of the sha1sum command. */ sha1?: string; /** * A sha256 hash of the upload payload, encoded as a hex string and matching * the output of the sha256sum comman...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$BundlesListResponse { bundles?: Schema$Bundle[]; /** * Identifies what kind of resource this is. Value: the fixed string * &quot;androidpublisher#bundlesListResponse&quot;. */ kind?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Comment { /** * A comment from a developer. */ developerComment?: Schema$DeveloperComment; /** * A comment from a user. */ userComment?: Schema$UserComment; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * Represents a deobfuscation file. */ export interface Schema$DeobfuscationFile { /** * The type of the deobfuscation file. */ symbolType?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$DeobfuscationFilesUploadResponse { deobfuscationFile?: Schema$DeobfuscationFile; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$DeveloperComment { /** * The last time at which this comment was updated. */ lastModified?: Schema$Timestamp; /** * The content of the comment, i.e. reply body. */ text?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$DeviceMetadata { /** * Device CPU make e.g. &quot;Qualcomm&quot; */ cpuMake?: string; /** * Device CPU model e.g. &quot;MSM8974&quot; */ cpuModel?: string; /** * Device class (e.g. tablet) */ deviceClass?: string; /** * OpenGL versi...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ExpansionFile { /** * If set this field indicates that this APK has an Expansion File uploaded * to it: this APK does not reference another APK&#39;s Expansion File. The * field&#39;s value is the size of the uploaded Expansion File in bytes. */ fileSize?: string; ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ExpansionFilesUploadResponse { expansionFile?: Schema$ExpansionFile; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * Defines an APK available for this application that is hosted externally and * not uploaded to Google Play. This function is only available to enterprises * who are using Google Play for Work, and whos application is restricted to * the enterprise private channel */ export interface Schema$Externall...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * A permission used by this APK. */ export interface Schema$ExternallyHostedApkUsesPermission { /** * Optionally, the maximum SDK version for which the permission is required. */ maxSdkVersion?: number; /** * The name of the permission requested. */ name?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Image { /** * A unique id representing this image. */ id?: string; /** * A sha1 hash of the image that was uploaded. */ sha1?: string; /** * A URL that will serve a preview of the image. */ url?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ImagesDeleteAllResponse { deleted?: Schema$Image[]; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ImagesListResponse { images?: Schema$Image[]; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ImagesUploadResponse { image?: Schema$Image; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$InAppProduct { /** * The default language of the localized data, as defined by BCP 47. e.g. * &quot;en-US&quot;, &quot;en-GB&quot;. */ defaultLanguage?: string; /** * Default price cannot be zero. In-app products can never be free. Default * price is always ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$InAppProductListing { description?: string; title?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$InappproductsListResponse { inappproduct?: Schema$InAppProduct[]; /** * Identifies what kind of resource this is. Value: the fixed string * &quot;androidpublisher#inappproductsListResponse&quot;. */ kind?: string; pageInfo?: Schema$PageInfo; tokenPagination?: ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Listing { /** * Full description of the app; this may be up to 4000 characters in length. */ fullDescription?: string; /** * Language localization code (for example, &quot;de-AT&quot; for Austrian * German). */ language?: string; /** * Short des...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ListingsListResponse { /** * Identifies what kind of resource this is. Value: the fixed string * &quot;androidpublisher#listingsListResponse&quot;. */ kind?: string; listings?: Schema$Listing[]; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$LocalizedText { /** * The language code, in BCP 47 format (eg &quot;en-US&quot;). */ language?: string; /** * The text in the given `language`. */ text?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$MonthDay { /** * Day of a month, value in [1, 31] range. Valid range depends on the * specified month. */ day?: number; /** * Month of a year. e.g. 1 = JAN, 2 = FEB etc. */ month?: number; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$PageInfo { resultPerPage?: number; startIndex?: number; totalResults?: number; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Price { /** * 3 letter Currency code, as defined by ISO 4217. */ currency?: string; /** * The price in millionths of the currency base unit represented as a * string. */ priceMicros?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * A ProductPurchase resource indicates the status of a user&#39;s inapp * product purchase. */ export interface Schema$ProductPurchase { /** * The consumption state of the inapp product. Possible values are: - Yet * to be consumed - Consumed */ consumptionState?: number; /** ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Prorate { /** * Default price cannot be zero and must be less than the full subscription * price. Default price is always in the developer&#39;s Checkout merchant * currency. Targeted countries have their prices set automatically based on * the default_price. */ ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Review { /** * The name of the user who wrote the review. */ authorName?: string; /** * A repeated field containing comments for the review. */ comments?: Schema$Comment[]; /** * Unique identifier for this review. */ reviewId?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ReviewReplyResult { /** * The time at which the reply took effect. */ lastEdited?: Schema$Timestamp; /** * The reply text that was applied. */ replyText?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ReviewsListResponse { pageInfo?: Schema$PageInfo; reviews?: Schema$Review[]; tokenPagination?: Schema$TokenPagination; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ReviewsReplyRequest { /** * The text to set as the reply. Replies of more than approximately 350 * characters will be rejected. HTML tags will be stripped. */ replyText?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$ReviewsReplyResponse { result?: Schema$ReviewReplyResult; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Season { /** * Inclusive end date of the recurrence period. */ end?: Schema$MonthDay; /** * Optionally present list of prorations for the season. Each proration is a * one-off discounted entry into a subscription. Each proration contains the * first date on ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * Information provided by the user when they complete the subscription * cancellation flow (cancellation reason survey). */ export interface Schema$SubscriptionCancelSurveyResult { /** * The cancellation reason the user chose in the survey. Possible values * are: - Other - I don&#39;t use ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * A SubscriptionDeferralInfo contains the data needed to defer a subscription * purchase to a future expiry time. */ export interface Schema$SubscriptionDeferralInfo { /** * The desired next expiry time to assign to the subscription, in * milliseconds since the Epoch. The given time must be l...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * Contains the price change information for a subscription that can be used * to control the user journey for the price change in the app. This can be in * the form of seeking confirmation from the user or tailoring the experience * for a successful conversion. */ export interface Schema$Subscription...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
/** * A SubscriptionPurchase resource indicates the status of a user&#39;s * subscription purchase. */ export interface Schema$SubscriptionPurchase { /** * Whether the subscription will automatically be renewed when it reaches * its current expiry time. */ autoRenewing?: boolean; /**...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$SubscriptionPurchasesDeferRequest { /** * The information about the new desired expiry time for the subscription. */ deferralInfo?: Schema$SubscriptionDeferralInfo; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$SubscriptionPurchasesDeferResponse { /** * The new expiry time for the subscription in milliseconds since the Epoch. */ newExpiryTimeMillis?: string; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
InterfaceDeclaration
export interface Schema$Testers { googleGroups?: string[]; googlePlusCommunities?: string[]; }
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript