ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/missionmatch / frontend/src/tools/recruitmatch/assignmentApi.ts

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/missionmatch / frontend/src/tools/recruitmatch/assignmentApi.ts
DateNot specified in source
RepositoryJanady13/missionmatch
Revision720d47fae476b0d38477ae4401697d372b1ea2bc
Branchfeature/opportunity-to-outcome
Path or archive memberfrontend/src/tools/recruitmatch/assignmentApi.ts
Original SHA-256aef901ebad571cacb9879b2ec7d0a2ec772cc0ec2d6e9cff184b521fad8f1c75
Git blob SHA16a1d6b7e423aec62a434388dc20924a1d5dfae1
Reading-copy SHA-256aef901ebad571cacb9879b2ec7d0a2ec772cc0ec2d6e9cff184b521fad8f1c75

Original source ↗

Every recorded occurrence

These 2 records contain identical original source bytes. Their paths and revisions remain part of the archive.

Original recordBranch or archiveRevision / identifierOriginal location
Janady13/missionmatch / frontend/src/tools/recruitmatch/assignmentApi.tsfeature/opportunity-to-outcome720d47fae476b0d38477ae4401697d372b1ea2bcOpen original
Janady13/missionmatch / frontend/src/tools/recruitmatch/assignmentApi.tsfeature/aioe-upgrade2178e7298d0e5d9af83afa12402fd587f0ba6ed8Open original

Recovered source transcript

import { request } from '../../lib/api' import type { RAssignment, RInterview, ROffer, RPlacement, RPlacementList } from '../../lib/types' const NS = '/recruiting' const body = (v: unknown) => ({ body: JSON.stringify(v) }) export const assignmentApi = { get: (appId: string) => request<RAssignment>(`${NS}/applications/${encodeURIComponent(appId)}/assignment`), scheduleInterview: (appId: string, v: Record<string, unknown>) => request<RInterview>(`${NS}/applications/${encodeURIComponent(appId)}/interviews`, { method: 'POST', ...body(v) }), updateInterview: (id: string, v: Record<string, unknown>) => request<RInterview>(`${NS}/interviews/${encodeURIComponent(id)}`, { method: 'PATCH', ...body(v) }), extendOffer: (appId: string, v: Record<string, unknown>) => request<ROffer>(`${NS}/applications/${encodeURIComponent(appId)}/offers`, { method: 'POST', ...body(v) }), respondToOffer: (id: string, v: { expected_status: string; status: string; decline_reason?: string }) => request<ROffer>(`${NS}/offers/${encodeURIComponent(id)}/status`, { method: 'POST', ...body(v) }), // Creating a placement moves the application to placed in the same transaction, so a full requisition // is refused here rather than discovered in a report later. createPlacement: (appId: string, v: Record<string, unknown>) => request<RPlacement>(`${NS}/applications/${encodeURIComponent(appId)}/placement`, { method: 'POST', ...body(v) }), endPlacement: (id: string, v: Record<string, unknown>) => request<RPlacement>(`${NS}/placements/${encodeURIComponent(id)}/end`, { method: 'POST', ...body(v) }), placements: (status?: string) => request<RPlacementList>(`${NS}/placements${status ? `?status=${encodeURIComponent(status)}` : ''}`), }

Search equations, builds, manuscript text, and recovered sources.