repo stringlengths 7 64 | file_url stringlengths 81 338 | file_path stringlengths 5 257 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:25:31 2026-01-05 01:50:38 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/app.tsx | frontend/src/app.tsx | import { QueryClient } from '@tanstack/react-query'
import { RouterProvider } from '@tanstack/react-router'
import { getDefaultStore } from 'jotai'
import { AuthProvider, useAuth } from '@/hooks/use-auth'
import { router } from './router'
const store = getDefaultStore()
function InnerApp({ queryClient }: { queryCli... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/vite-env.d.ts | frontend/src/vite-env.d.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/client.ts | frontend/src/services/client.ts | import { getDefaultStore } from 'jotai'
import ky, { HTTPError, Options } from 'ky'
import { toast } from 'sonner'
import { ACCESS_TOKEN_KEY, REFRESH_TOKEN_KEY } from '@/utils/store'
import { configAPIBaseAtom } from '@/utils/store/config'
import { showErrorToast } from '@/utils/toast'
import {
ERROR_BACKEND,
ERR... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/error_code.ts | frontend/src/services/error_code.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/types.ts | frontend/src/services/types.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/query/auth.ts | frontend/src/services/query/auth.ts | import { queryOptions } from '@tanstack/react-query'
import { apiGetAuthMode } from '../api/auth'
export const queryAuthMode = queryOptions({
queryKey: ['authmode'],
queryFn: apiGetAuthMode,
select: (res) => res.data,
})
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/query/job.ts | frontend/src/services/query/job.ts | import { queryOptions } from '@tanstack/react-query'
import { apiJobGetDetail, apiJupyterTokenGet, apiWebIDETokenGet } from '@/services/api/vcjob'
import { REFETCH_INTERVAL } from '@/lib/constants'
export const queryJupyterToken = (name: string) =>
queryOptions({
queryKey: ['ingress', 'jupyter', name],
que... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/query/data.ts | frontend/src/services/query/data.ts | import { queryOptions } from '@tanstack/react-query'
import { apiAdminGetDatasetByID, apiGetDatasetByID } from '../api/dataset'
export const queryDataByID = (id: number) =>
queryOptions({
queryKey: ['data', 'datasetByID', id],
queryFn: () => apiGetDatasetByID(id),
select: (res) => res.data,
})
export... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/query/resource.ts | frontend/src/services/query/resource.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/query/image.ts | frontend/src/services/query/image.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/query/account.ts | frontend/src/services/query/account.ts | import { queryOptions } from '@tanstack/react-query'
import { apiAccountGet } from '../api/account'
export const queryAccountByID = (id: number) =>
queryOptions({
queryKey: ['admin', 'accounts', id],
queryFn: () => apiAccountGet(id),
select: (res) => res.data,
enabled: !!id,
})
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/query/node.ts | frontend/src/services/query/node.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/jobtemplate.ts | frontend/src/services/api/jobtemplate.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/approvalorder.ts | frontend/src/services/api/approvalorder.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/modeldownload.ts | frontend/src/services/api/modeldownload.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/nodelabel.ts | frontend/src/services/api/nodelabel.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/system-config.ts | frontend/src/services/api/system-config.ts | // src/services/api/system-config.ts
import { apiV1Delete, apiV1Get, apiV1Put } from '@/services/client'
import { IResponse } from '../types'
export interface ILLMConfig {
baseUrl: string
apiKey: string
modelName: string
}
export interface IUpdateLLMConfigReq extends ILLMConfig {
validate: boolean
}
export ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/queue.ts | frontend/src/services/api/queue.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/file.ts | frontend/src/services/api/file.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/vcjob.ts | frontend/src/services/api/vcjob.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/tool.ts | frontend/src/services/api/tool.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/auth.ts | frontend/src/services/api/auth.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/user.ts | frontend/src/services/api/user.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/context.ts | frontend/src/services/api/context.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/gpu-analysis.ts | frontend/src/services/api/gpu-analysis.ts | // 请将此文件保存或替换为 src/services/api/gpu-analysis.ts
import { apiV1Get, apiV1Post, apiV1Put } from '@/services/client'
import { IResponse } from '../types'
// 新增结束
/**
* 对应于 Go 中 `model.GpuAnalysis` 与 `model.Job` 连接后的数据结构。
* 此接口定义了列表接口返回的单条分析记录的结构。
*/
// src/services/api/gpu-analysis.ts
import { JobPhase } from './vcjo... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/resource.ts | frontend/src/services/api/resource.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/account.ts | frontend/src/services/api/account.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/cluster.ts | frontend/src/services/api/cluster.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/dataset.ts | frontend/src/services/api/dataset.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/imagepack.ts | frontend/src/services/api/imagepack.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/ai-task.ts | frontend/src/services/api/ai-task.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/admin/user.ts | frontend/src/services/api/admin/user.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/admin/imagepack.ts | frontend/src/services/api/admin/imagepack.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/services/api/recommend/dl-task.ts | frontend/src/services/api/recommend/dl-task.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/mocks/browser.ts | frontend/src/mocks/browser.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/mocks/handlers.ts | frontend/src/mocks/handlers.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-nivo-theme.ts | frontend/src/hooks/use-nivo-theme.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-admin.tsx | frontend/src/hooks/use-admin.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-approval-order-lock.ts | frontend/src/hooks/use-approval-order-lock.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-copy-to-clipboard.ts | frontend/src/hooks/use-copy-to-clipboard.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-fixed-layout.ts | frontend/src/hooks/use-fixed-layout.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-namespaced-state.ts | frontend/src/hooks/use-namespaced-state.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-auth.tsx | frontend/src/hooks/use-auth.tsx | import { useQueryClient } from '@tanstack/react-query'
import { useAtom, useSetAtom } from 'jotai'
import React, { createContext, useContext, useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
import { toast } from 'sonner'
import Loading from '@/components/placeholder/loading-spinner'
... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-disable-motion.ts | frontend/src/hooks/use-disable-motion.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-mobile.ts | frontend/src/hooks/use-mobile.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-template-loader.ts | frontend/src/hooks/use-template-loader.ts | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/hooks/use-pagination-with-storage.tsx | frontend/src/hooks/use-pagination-with-storage.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/__root.tsx | frontend/src/routes/__root.tsx | import { QueryClient, queryOptions } from '@tanstack/react-query'
import { Outlet, createRootRouteWithContext } from '@tanstack/react-router'
import { TanStackRouterDevtools } from '@tanstack/react-router-devtools'
import { Store } from 'jotai/vanilla/store'
import NotFound from '@/components/placeholder/not-found'
i... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/index.tsx | frontend/src/routes/index.tsx | import { Navigate, createFileRoute, redirect } from '@tanstack/react-router'
export const Route = createFileRoute('/')({
beforeLoad: () => {
throw redirect({ to: '/portal' })
},
component: Index,
})
function Index() {
return <Navigate to="/portal" replace />
}
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/auth/index.tsx | frontend/src/routes/auth/index.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/auth/-components/login-form.tsx | frontend/src/routes/auth/-components/login-form.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/auth/-components/signup-form.tsx | frontend/src/routes/auth/-components/signup-form.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/auth/-components/forgot-password-form.tsx | frontend/src/routes/auth/-components/forgot-password-form.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/index.tsx | frontend/src/routes/portal/index.tsx | import { Navigate, createFileRoute } from '@tanstack/react-router'
export const Route = createFileRoute('/portal/')({
component: RouteComponent,
})
function RouteComponent() {
return <Navigate to="/portal/overview" replace resetScroll />
}
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/route.tsx | frontend/src/routes/portal/route.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/detail/route.tsx | frontend/src/routes/portal/jobs/detail/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/jobs/detail')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.jobDetail'),
back: true, // history back when clicking this breadcrumb
... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/detail/$name.tsx | frontend/src/routes/portal/jobs/detail/$name.tsx | import { createFileRoute } from '@tanstack/react-router'
import BaseCore from '@/components/job/detail'
import { detailLinkOptions, detailValidateSearch } from '@/components/layout/detail-page'
import NotFound from '@/components/placeholder/not-found'
import { queryJobDetail } from '@/services/query/job'
export cons... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/custom/index.tsx | frontend/src/routes/portal/jobs/custom/index.tsx | import { createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
import { useAtomValue } from 'jotai'
import VolcanoOverview from '@/components/job/overview/custom-jobs'
import ColocateOverview from '@/components/job/overview/emias-jobs'
import { globalJobUrl } from '@/utils/store'
export const R... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/tensorflow-ps-job.tsx | frontend/src/routes/portal/jobs/new/tensorflow-ps-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/emias-jupyter-job.tsx | frontend/src/routes/portal/jobs/new/emias-jupyter-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/pytorch-ddp-job.tsx | frontend/src/routes/portal/jobs/new/pytorch-ddp-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/webide-job.tsx | frontend/src/routes/portal/jobs/new/webide-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/jupyter-job.tsx | frontend/src/routes/portal/jobs/new/jupyter-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/route.tsx | frontend/src/routes/portal/jobs/new/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/jobs/new')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.jobNew'),
back: true, // history back when clicking this breadcrumb
}
... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/single-job.tsx | frontend/src/routes/portal/jobs/new/single-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/seacs-job.tsx | frontend/src/routes/portal/jobs/new/seacs-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/new/emias-job.tsx | frontend/src/routes/portal/jobs/new/emias-job.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/inter/index.tsx | frontend/src/routes/portal/jobs/inter/index.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/jobs/inter/-components/quota.tsx | frontend/src/routes/portal/jobs/inter/-components/quota.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/env/images/index.tsx | frontend/src/routes/portal/env/images/index.tsx | import { createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
/**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/env/registry/index.tsx | frontend/src/routes/portal/env/registry/index.tsx | import { createFileRoute } from '@tanstack/react-router'
import { KanikoListTable } from '@/components/image/registry'
import { apiUserListKaniko, apiUserRemoveKanikoList } from '@/services/api/imagepack'
export const Route = createFileRoute('/portal/env/registry/')({
component: RouteComponent,
})
function RouteC... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/env/registry/route.tsx | frontend/src/routes/portal/env/registry/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/env/registry')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.imageList'),
back: true, // history back when clicking this breadcrumb... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/env/registry/$name.tsx | frontend/src/routes/portal/env/registry/$name.tsx | import { createFileRoute } from '@tanstack/react-router'
import RegistryDetail from '@/components/image/registry/registry-detail'
import { detailLinkOptions, detailValidateSearch } from '@/components/layout/detail-page'
import NotFound from '@/components/placeholder/not-found'
import { queryBuildDetail } from '@/serv... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/account/member.tsx | frontend/src/routes/portal/account/member.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/account/route.tsx | frontend/src/routes/portal/account/route.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/files/$.tsx | frontend/src/routes/portal/files/$.tsx | import { createFileRoute } from '@tanstack/react-router'
import FileSystem from '@/components/file/file-system-table'
import { apiGetFiles } from '@/services/api/file'
export const Route = createFileRoute('/portal/files/$')({
component: RouteComponent,
})
function RouteComponent() {
const path = Route.useParams... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/more/user.tsx | frontend/src/routes/portal/more/user.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/more/version.tsx | frontend/src/routes/portal/more/version.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/more/index.tsx | frontend/src/routes/portal/more/index.tsx | import { Navigate, createFileRoute } from '@tanstack/react-router'
export const Route = createFileRoute('/portal/more/')({
component: RouteComponent,
})
function RouteComponent() {
return <Navigate to="/portal/overview" replace resetScroll />
}
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/more/route.tsx | frontend/src/routes/portal/more/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/more')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.userSettings'),
}
},
})
function RouteComponent() {
return <Outlet />
}
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/more/orders/index.tsx | frontend/src/routes/portal/more/orders/index.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/more/orders/route.tsx | frontend/src/routes/portal/more/orders/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/more/orders')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.approvalOrder'),
}
},
})
function RouteComponent() {
return <Outlet ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/more/orders/$id.tsx | frontend/src/routes/portal/more/orders/$id.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/monitor/idle.tsx | frontend/src/routes/portal/monitor/idle.tsx | import { createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
import ResourseOverview from '@/components/monitors/idle-monitor'
export const Route = createFileRoute('/portal/monitor/idle')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.freeResources'),
... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/monitor/network.tsx | frontend/src/routes/portal/monitor/network.tsx | import { createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
import NetworkOverview from '@/components/monitors/network-monitor'
export const Route = createFileRoute('/portal/monitor/network')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.networkMonit... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/monitor/gpu.tsx | frontend/src/routes/portal/monitor/gpu.tsx | import { createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
import NvidiaOverview from '@/components/monitors/nvidia-monitor'
export const Route = createFileRoute('/portal/monitor/gpu')({
component: RouteComponent,
loader: () => ({ crumb: t('navigation.gpuMonitoring') }),
})
function Rou... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/users/index.tsx | frontend/src/routes/portal/users/index.tsx | import { Navigate, createFileRoute } from '@tanstack/react-router'
export const Route = createFileRoute('/portal/users/')({
component: RouteComponent,
})
function RouteComponent() {
return <Navigate to="/portal/overview" replace resetScroll />
}
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/users/route.tsx | frontend/src/routes/portal/users/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/users')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.userManagement'),
}
},
})
function RouteComponent() {
return <Outlet />
}
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/users/$name.tsx | frontend/src/routes/portal/users/$name.tsx | import { createFileRoute } from '@tanstack/react-router'
import { detailLinkOptions, detailValidateSearch } from '@/components/layout/detail-page'
import UserDetail from '@/components/user'
export const Route = createFileRoute('/portal/users/$name')({
validateSearch: detailValidateSearch,
component: RouteComponen... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/templates/index.tsx | frontend/src/routes/portal/templates/index.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/templates/route.tsx | frontend/src/routes/portal/templates/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/templates')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.jobTemplates'),
}
},
})
function RouteComponent() {
return <Outlet />
... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/datasets/index.tsx | frontend/src/routes/portal/data/datasets/index.tsx | import { createFileRoute } from '@tanstack/react-router'
import { DataView } from '@/components/file/data-view'
import { apiGetDataset } from '@/services/api/dataset'
export const Route = createFileRoute('/portal/data/datasets/')({
component: RouteComponent,
})
function RouteComponent() {
return <DataView apiGe... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/datasets/route.tsx | frontend/src/routes/portal/data/datasets/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/data/datasets')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.datasets'),
}
},
})
function RouteComponent() {
return <Outlet />
... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/datasets/$id.tsx | frontend/src/routes/portal/data/datasets/$id.tsx | import { createFileRoute } from '@tanstack/react-router'
/**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/datasets/downloads/index.tsx | frontend/src/routes/portal/data/datasets/downloads/index.tsx | /**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/datasets/downloads/$id.tsx | frontend/src/routes/portal/data/datasets/downloads/$id.tsx | import { createFileRoute } from '@tanstack/react-router'
import { useState } from 'react'
import { DetailPageSearch, detailValidateSearch } from '@/components/layout/detail-page'
import { ModelDownloadDetail } from '@/components/model/model-download-detail'
export const Route = createFileRoute('/portal/data/datasets/... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/blocks/index.tsx | frontend/src/routes/portal/data/blocks/index.tsx | import { createFileRoute } from '@tanstack/react-router'
import { DataView } from '@/components/file/data-view'
import { apiGetDataset } from '@/services/api/dataset'
export const Route = createFileRoute('/portal/data/blocks/')({
component: RouteComponent,
})
function RouteComponent() {
return <DataView apiGetD... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/blocks/route.tsx | frontend/src/routes/portal/data/blocks/route.tsx | import { Outlet, createFileRoute } from '@tanstack/react-router'
import { t } from 'i18next'
export const Route = createFileRoute('/portal/data/blocks')({
component: RouteComponent,
loader: () => {
return {
crumb: t('navigation.blocks'),
}
},
})
function RouteComponent() {
return <Outlet />
}
| typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/blocks/$id.tsx | frontend/src/routes/portal/data/blocks/$id.tsx | import { createFileRoute } from '@tanstack/react-router'
/**
* Copyright 2025 RAIDS Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
raids-lab/crater | https://github.com/raids-lab/crater/blob/15d5fd1a4c8474310b1cbe7e46c6b85af054e437/frontend/src/routes/portal/data/models/index.tsx | frontend/src/routes/portal/data/models/index.tsx | import { createFileRoute } from '@tanstack/react-router'
import { DataView } from '@/components/file/data-view'
import { apiGetDataset } from '@/services/api/dataset'
export const Route = createFileRoute('/portal/data/models/')({
component: RouteComponent,
})
function RouteComponent() {
return <DataView apiGetD... | typescript | Apache-2.0 | 15d5fd1a4c8474310b1cbe7e46c6b85af054e437 | 2026-01-05T05:00:16.720559Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.