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>
16 lines
445 B
Text
16 lines
445 B
Text
import { tokenIntercept } from "./getSSOTokenFromFile";
|
|
import { fileIntercept } from "./readFile";
|
|
export const externalDataInterceptor = {
|
|
getFileRecord() {
|
|
return fileIntercept;
|
|
},
|
|
interceptFile(path, contents) {
|
|
fileIntercept[path] = Promise.resolve(contents);
|
|
},
|
|
getTokenRecord() {
|
|
return tokenIntercept;
|
|
},
|
|
interceptToken(id, contents) {
|
|
tokenIntercept[id] = contents;
|
|
},
|
|
};
|