Rocky_Mountain_Vending/.pnpm-store/v10/files/36/cda9f24b3bb52fe6d0c83588b94bc0e33fb42af3121633d2fb356dd66857dbe3f94aa2af7f42a4be182ac002602e8fc24f421bef0466346a6a18859e8b3d13
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

1 line
No EOL
2.1 KiB
Text

{"version":3,"sources":["../../../../src/server/typescript/rules/error.ts"],"sourcesContent":["// This module provides intellisense for all components that has the `\"use client\"` directive.\n\nimport { NEXT_TS_ERRORS } from '../constant'\nimport { getTs } from '../utils'\nimport type tsModule from 'typescript/lib/tsserverlibrary'\n\nconst errorEntry = {\n getSemanticDiagnostics(\n source: tsModule.SourceFile,\n isClientEntry: boolean\n ): tsModule.Diagnostic[] {\n const isErrorFile = /[\\\\/]error\\.tsx?$/.test(source.fileName)\n const isGlobalErrorFile = /[\\\\/]global-error\\.tsx?$/.test(source.fileName)\n\n if (!isErrorFile && !isGlobalErrorFile) return []\n\n const ts = getTs()\n\n if (!isClientEntry) {\n // Error components must be Client Components\n return [\n {\n file: source,\n category: ts.DiagnosticCategory.Error,\n code: NEXT_TS_ERRORS.INVALID_ERROR_COMPONENT,\n messageText: `Error Components must be Client Components, please add the \"use client\" directive: https://nextjs.org/docs/app/api-reference/file-conventions/error`,\n start: 0,\n length: source.text.length,\n },\n ]\n }\n return []\n },\n}\n\nexport default errorEntry\n"],"names":["errorEntry","getSemanticDiagnostics","source","isClientEntry","isErrorFile","test","fileName","isGlobalErrorFile","ts","getTs","file","category","DiagnosticCategory","Error","code","NEXT_TS_ERRORS","INVALID_ERROR_COMPONENT","messageText","start","length","text"],"mappings":"AAAA,8FAA8F;;;;;+BAmC9F;;;eAAA;;;0BAjC+B;uBACT;AAGtB,MAAMA,aAAa;IACjBC,wBACEC,MAA2B,EAC3BC,aAAsB;QAEtB,MAAMC,cAAc,oBAAoBC,IAAI,CAACH,OAAOI,QAAQ;QAC5D,MAAMC,oBAAoB,2BAA2BF,IAAI,CAACH,OAAOI,QAAQ;QAEzE,IAAI,CAACF,eAAe,CAACG,mBAAmB,OAAO,EAAE;QAEjD,MAAMC,KAAKC,IAAAA,YAAK;QAEhB,IAAI,CAACN,eAAe;YAClB,6CAA6C;YAC7C,OAAO;gBACL;oBACEO,MAAMR;oBACNS,UAAUH,GAAGI,kBAAkB,CAACC,KAAK;oBACrCC,MAAMC,wBAAc,CAACC,uBAAuB;oBAC5CC,aAAa,CAAC,mJAAmJ,CAAC;oBAClKC,OAAO;oBACPC,QAAQjB,OAAOkB,IAAI,CAACD,MAAM;gBAC5B;aACD;QACH;QACA,OAAO,EAAE;IACX;AACF;MAEA,WAAenB","ignoreList":[0]}