🔮 MarkaJiap Highlight.js Test

Test: Check if highlight.js CSS is working with different languages.
If you see colors, it works! If all gray, CSS is not loading.

YAML

pipelines:
  realtimesync:
    name: "workspace-real-time-sync"
    trigger: pubsub
    topic: "workspace-changes"
    function: "processWorkspaceChange"
    timeout: 300
    memory: "2GB"
    retrypolicy:
      maxattempts: 3
      backoff: exponential

TypeScript

// frontend/src/services/firebaseApi.ts
import { getFunctions, httpsCallable } from 'firebase/functions';

const functions = getFunctions(app, 'asia-southeast1');

export const chatApi = {
  sendMessage: async (query: string) => {
    const processQuery = httpsCallable(functions, 'processQuery');
    const result = await processQuery({ query });
    return result.data;
  },
};

Bash

# Create Redis instance
gcloud redis instances create aikms-cache \
  --size=1 \
  --region=asia-southeast1 \
  --redis-version=redis70

# Get connection info
gcloud redis instances describe aikms-cache --region=asia-southeast1

JavaScript

const greeting = "Hello World";
const numbers = [1, 2, 3, 4, 5];

function processData(items) {
  return items.map(item => item * 2);
}

// Export
export default { greeting, processData };

Debug Info