OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Get onboarding draft for active organization
Goal
Retrieve saved onboarding progress
Context
Called on mount to restore in-progress onboarding
Source Definition
export const GetOnboardingDraftBaseSpec = defineQuery({
meta: {
key: 'base.onboarding.getDraft',
version: '1.0.0',
stability: StabilityEnum.Beta,
owners: [OwnersEnum.PlatformSigil],
tags: ['onboarding', 'draft'],
description: 'Get onboarding draft for active organization',
goal: 'Retrieve saved onboarding progress',
context: 'Called on mount to restore in-progress onboarding',
},
io: {
input: null,
output: GetOnboardingDraftOutput,
},
policy: {
auth: 'user',
escalate: null,
},
transport: {
gql: { field: 'getOnboardingDraft' },
rest: { method: 'GET' },
},
});