Prepare datamodel for multi-environment (#1765)
Co-authored-by: justsomelegs <[email protected]> Co-authored-by: codex <[email protected]> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
This commit is contained in:
121 files changed
+10195
-4958
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import type { RepositoryIdentity } from "@t3tools/contracts";
|
||||
import { ServiceMap } from "effect";
|
||||
import type { Effect } from "effect";
|
||||
|
||||
export interface RepositoryIdentityResolverShape {
|
||||
readonly resolve: (cwd: string) => Effect.Effect<RepositoryIdentity | null>;
|
||||
}
|
||||
|
||||
export class RepositoryIdentityResolver extends ServiceMap.Service<
|
||||
RepositoryIdentityResolver,
|
||||
RepositoryIdentityResolverShape
|
||||
>()("t3/project/Services/RepositoryIdentityResolver") {}
|
||||
Reference in new issue
Block a user