@elysiumoss/ui-capture - v0.3.0
    Preparing search index...

    Function parseStatesFile

    • Decodes a states file's contents. Throws a plain Error carrying the Effect Schema issue paths, matching how parseViewports reports a bad spec.

      Parameters

      • contents: string
      • sourcePath: string

      Returns readonly CaptureState[]