@hasna/instructions 0.4.33 → 0.4.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,8 +14,8 @@ export declare const INSTRUCTIONS_APP_SLUG = "instructions";
14
14
  export declare function resolveCloudDatabaseUrl(env?: NodeJS.ProcessEnv): string | undefined;
15
15
  /** Resolve the HMAC signing secret used to verify API keys. */
16
16
  export declare function resolveSigningSecret(env?: NodeJS.ProcessEnv): string | undefined;
17
- /** True when this process is configured to serve the cloud `/v1` API. */
18
- export declare function isCloudModeEnabled(env?: NodeJS.ProcessEnv): boolean;
17
+ /** True when this process is configured to serve the `/v1` API (postgresql backend). */
18
+ export declare function isPostgresBackendEnabled(env?: NodeJS.ProcessEnv): boolean;
19
19
  /** The vendored-kit query client backing every `/v1` handler (pure remote). */
20
20
  export declare function getCloudClient(): PoolQueryClient;
21
21
  export declare function getApiKeyStore(): ApiKeyStore;
@@ -1 +1 @@
1
- {"version":3,"file":"cloud.d.ts","sourceRoot":"","sources":["../../src/server/cloud.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAgB,UAAU,EAAE,KAAK,cAAc,EAAE,WAAW,EAAwB,MAAM,uBAAuB,CAAC;AACzH,OAAO,EAAmC,KAAK,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAG1G,eAAO,MAAM,qBAAqB,iBAAiB,CAAC;AAEpD,oFAAoF;AACpF,wBAAgB,uBAAuB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,GAAG,SAAS,CAOhG;AAED,+DAA+D;AAC/D,wBAAgB,oBAAoB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,GAAG,SAAS,CAO7F;AAED,yEAAyE;AACzE,wBAAgB,kBAAkB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAEhF;AA0BD,+EAA+E;AAC/E,wBAAgB,cAAc,IAAI,eA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D,wBAAgB,qBAAqB,CAAC,cAAc,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAmB7F;AAED,iEAAiE;AACjE,wBAAsB,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC,CAIlD;AAED,4BAA4B;AAC5B,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAMhD"}
@@ -2,7 +2,7 @@
2
2
  declare const _default: {
3
3
  port: number;
4
4
  hostname: string;
5
- fetch: (request: Request, Env?: unknown, executionCtx?: import("hono").ExecutionContext) => Response | Promise<Response>;
5
+ fetch: (request: Request, env?: unknown, executionCtx?: import("hono").ExecutionContext) => Response | Promise<Response>;
6
6
  };
7
7
  export default _default;
8
8
  //# sourceMappingURL=index.d.ts.map