@forge/lint

5.14.1-next.75.15.0-next.8
out/lint/linters/endpoint-linter/invoke-endpoint-interface.d.ts
out/lint/linters/endpoint-linter/invoke-endpoint-interface.d.ts
+35
Index: package/out/lint/linters/endpoint-linter/invoke-endpoint-interface.d.ts
===================================================================
--- package/out/lint/linters/endpoint-linter/invoke-endpoint-interface.d.ts
+++ package/out/lint/linters/endpoint-linter/invoke-endpoint-interface.d.ts
@@ -0,0 +1,35 @@
+import { TSESTree } from '@typescript-eslint/typescript-estree';
+import { LintCriteriaMatch } from '../../linter-interface';
+export declare enum InvokeEndpointTypes {
+    DIRECT_CALL = 0,
+    MEMBER_CALL = 1,
+    IMPORT_LIST = 2
+}
+export declare const INVOKE_ENDPOINT_PACKAGE_NAME = "@forge/api";
+export declare const INVOKE_ENDPOINT_FUNCTION_NAME = "invokeRemote";
+export interface InvokeEndpointCallBase extends LintCriteriaMatch {
+    endpointKey: string;
+}
+export interface InvokeEndpointDirectCall extends InvokeEndpointCallBase {
+    type: InvokeEndpointTypes.DIRECT_CALL;
+    calleeName: string;
+}
+export interface InvokeEndpointMemberCall extends InvokeEndpointCallBase {
+    type: InvokeEndpointTypes.MEMBER_CALL;
+    objectName: string;
+}
+export interface InvokeEndpointImport extends LintCriteriaMatch {
+    type: TSESTree.ImportClause['type'];
+    alias: string;
+}
+export interface InvokeEndpointImportList extends LintCriteriaMatch {
+    type: InvokeEndpointTypes.IMPORT_LIST;
+    imports: InvokeEndpointImport[];
+}
+export declare type InvokeEndpointCall = InvokeEndpointDirectCall | InvokeEndpointMemberCall;
+export declare type InvokeEndpointUsage = InvokeEndpointCall | InvokeEndpointImportList;
+export interface InvokeEndpointVerifierInput {
+    invokeEndpointCalls: InvokeEndpointCall[];
+    imports: InvokeEndpointImport[];
+}
+//# sourceMappingURL=invoke-endpoint-interface.d.ts.map
\ No newline at end of file