Implement ResourceStore with create(id, value), get(id), and update(id, value, expectedVersion).
Created resources start at version 1. Reads return { value, version }, and so do create and a successful update: each returns the resource as it was just stored. An update succeeds only when expectedVersion equals the current version, then stores the new value and increments the version. Missing IDs raise NotFoundError; duplicate creates raise AlreadyExistsError; stale updates raise VersionConflictError without changing the resource. Values are plain data: strings, numbers, booleans, null, arrays and plain objects. Never expose mutable internal values to callers.