Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
No EOL
1.8 KiB
Text
27 lines
No EOL
1.8 KiB
Text
/**
|
|
* @license
|
|
* Copyright 2023 Google Inc.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
import type { EventType } from '../common/EventEmitter.js';
|
|
import type { EventEmitter } from '../common/EventEmitter.js';
|
|
import type { Disposed, Moveable } from '../common/types.js';
|
|
export declare function moveable<Class extends abstract new (...args: never[]) => Moveable>(Class: Class, _: ClassDecoratorContext<Class>): Class;
|
|
export declare function throwIfDisposed<This extends Disposed>(message?: (value: This) => string): (target: (this: This, ...args: any[]) => any, _: unknown) => (this: This, ...args: any[]) => any;
|
|
export declare function inertIfDisposed<This extends Disposed>(target: (this: This, ...args: any[]) => any, _: unknown): (this: This, ...args: any[]) => any;
|
|
/**
|
|
* The decorator only invokes the target if the target has not been invoked with
|
|
* the same arguments before. The decorated method throws an error if it's
|
|
* invoked with a different number of elements: if you decorate a method, it
|
|
* should have the same number of arguments
|
|
*
|
|
* @internal
|
|
*/
|
|
export declare function invokeAtMostOnceForArguments(target: (this: unknown, ...args: any[]) => any, _: unknown): typeof target;
|
|
export declare function guarded<T extends object>(getKey?: (this: T) => object): (target: (this: T, ...args: any[]) => Promise<any>, _: ClassMethodDecoratorContext<T>) => typeof target;
|
|
/**
|
|
* Event emitter fields marked with `bubble` will have their events bubble up
|
|
* the field owner.
|
|
*/
|
|
export declare function bubble<T extends EventType[]>(events?: T): <This extends EventEmitter<any>, Value extends EventEmitter<any>>({ set, get }: ClassAccessorDecoratorTarget<This, Value>, context: ClassAccessorDecoratorContext<This, Value>) => ClassAccessorDecoratorResult<This, Value>;
|
|
//# sourceMappingURL=decorators.d.ts.map |