linearStandupmain.tsx9 matches
5758export async function exec(interval: Interval) {
59const apiKey = Deno.env.get("LINEAR_API_KEY");
60if (!apiKey) {
61console.error("LINEAR_API_KEY not found in environment variables");
62Deno.exit(1);
63}
65const { startDate, endDate } = getYesterdayDateRange();
6667const response = await fetch("https://api.linear.app/graphql", {
68method: "POST",
69headers: {
70"Content-Type": "application/json",
71Authorization: apiKey,
72},
73body: JSON.stringify({
8081if (data.errors) {
82console.error("Error fetching data from Linear API:", data.errors);
83Deno.exit(1);
84}
94}
9596const historyResponse = await fetch("https://api.linear.app/graphql", {
97method: "POST",
98headers: {
99"Content-Type": "application/json",
100Authorization: apiKey,
101},
102body: JSON.stringify({
190}
191192const slackResponse = await fetch("https://slack.com/api/chat.postMessage", {
193method: "POST",
194headers: {
564const defaultMaskSrc = "${DEFAULT_MASK_SRC || ""}";
565try {
566// <<< Use JSON.parse with proper escaping for data injection >>>
567raceData = JSON.parse(\`${JSON.stringify(activeRaceData)}\`);
568if (!Array.isArray(raceData)) throw new Error("Injected data is not an array");
1076<meta name="viewport" content="width=device-width, initial-scale=1.0">
1077<title>Character Creator - Select Race (Holographic Cards)</title>
1078<link rel="preconnect" href="https://fonts.googleapis.com">
1079<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1080<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap" rel="stylesheet">
1081<style>${css}</style>
1082</head>
a4994b25fde_rapid-file-20.js1 match
1// 'Rapid file 20'
a4994b25fde_rapid-file-19.js1 match
1// 'Rapid file 19'
a4994b25fde_rapid-file-18.js1 match
1// 'Rapid file 18'
a4994b25fde_rapid-file-17.js1 match
1// 'Rapid file 17'
a4994b25fde_rapid-file-16.js1 match
1// 'Rapid file 16'
a4994b25fde_rapid-file-12.js1 match
1// 'Rapid file 12'
a4994b25fde_rapid-file-11.js1 match
1// 'Rapid file 11'
a4994b25fde_rapid-file-15.js1 match
1// 'Rapid file 15'