Skip to content

KitchenManifest

Namespace Nfty.Core.Model in assembly Nfty.Ticket.

public record KitchenManifest : ISchemaVersioned

A Kitchen: the top-level workspace, and the sixth domain word. It is the folder loose Recipes and Ingredients are saved into, given a name — the creation-flows spec settled that the "loose items folder" and the "workspace" are one concept rather than two.

Remarks

This manifest deliberately does NOT list what the Kitchen contains. Membership is whatever sits in the folder beside the .ktn, discovered on open — see Formats.Kitchen. A recorded list would go stale the moment a file was renamed or moved outside the app, and the Kitchen would then be describing a workspace that no longer exists.

Constructors

KitchenManifest(string, string, string, int)

public KitchenManifest(string Id, string Name, string Description = "", int SchemaVersion = 2);

Parameters

  • Id (string) - Stable identifier, derived from the name the way every other id here is.
  • Name (string) - What the titlebar's workspace chip shows.
  • Description (string) - Optional free text; empty when the author did not write one.
  • SchemaVersion (int) - The manifest format version; see Schema.

Remarks

This manifest deliberately does NOT list what the Kitchen contains. Membership is whatever sits in the folder beside the .ktn, discovered on open — see Formats.Kitchen. A recorded list would go stale the moment a file was renamed or moved outside the app, and the Kitchen would then be describing a workspace that no longer exists.

Properties

Description

public string Description { get; init; }

Optional free text; empty when the author did not write one.

Id

public string Id { get; init; }

Stable identifier, derived from the name the way every other id here is.

Name

public string Name { get; init; }

What the titlebar's workspace chip shows.

SchemaVersion

public int SchemaVersion { get; init; }

The manifest format version; see Schema.