Rocky_Mountain_Vending/.pnpm-store/v10/files/8c/3daf478e9b8d464a54a89a69c22b8f1d673ef7391025415d8a9b3dc4380fc31e01ee01fa6a1f58b57648ad04f8660953efc238ddc7f2c8016a0896781156f4
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

38 lines
No EOL
1.4 KiB
Text

// This module provides intellisense for all components that has the `"use client"` directive.
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _constant = require("../constant");
const _utils = require("../utils");
const errorEntry = {
getSemanticDiagnostics (source, isClientEntry) {
const isErrorFile = /[\\/]error\.tsx?$/.test(source.fileName);
const isGlobalErrorFile = /[\\/]global-error\.tsx?$/.test(source.fileName);
if (!isErrorFile && !isGlobalErrorFile) return [];
const ts = (0, _utils.getTs)();
if (!isClientEntry) {
// Error components must be Client Components
return [
{
file: source,
category: ts.DiagnosticCategory.Error,
code: _constant.NEXT_TS_ERRORS.INVALID_ERROR_COMPONENT,
messageText: `Error Components must be Client Components, please add the "use client" directive: https://nextjs.org/docs/app/api-reference/file-conventions/error`,
start: 0,
length: source.text.length
}
];
}
return [];
}
};
const _default = errorEntry;
//# sourceMappingURL=error.js.map