MCPcopy Create free account
hub / github.com/effect-app/libs / make

Method make

packages/effect-app/src/Model/Repository/internal/internal.ts:718–718  ·  view source on GitHub ↗
(
    args: [Evt] extends [never] ? {
        makeInitial?: Effect.Effect<readonly T[], E, RInitial> | undefined
        config?: Omit<StoreConfig<Encoded>, "partitionValue"> & {
          partitionValue?: (e?: Encoded) => string
        }
      }
      : {
        publishEvents: (evt: NonEmptyReadonlyArray<Evt>) => Effect.Effect<void, never, R2>
        makeInitial?: Effect.Effect<readonly T[], E, RInitial> | undefined
        config?: Omit<StoreConfig<Encoded>, "partitionValue"> & {
          partitionValue?: (e?: Encoded) => string
        }
      }
  )

Source from the content-addressed store, hash-verified

716
717 return ValidationResult.make({
718 total: NonNegativeInt(allIds.length),
719 sampled: NonNegativeInt(sample.length),
720 valid: NonNegativeInt(sample.length - errors.length),
721 errors

Callers 6

makeRepoFunction · 0.65
extendRepoFunction · 0.65
makeFunction · 0.65
pickIdFromAstFunction · 0.65
queryFunction · 0.65
makeRepoInternalFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected