strfry-policies/mod.ts

18 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

2023-03-30 19:18:18 +00:00
export { type AntiDuplication, default as antiDuplicationPolicy } from './src/policies/anti-duplication-policy.ts';
export { default as filterPolicy, type Filter } from './src/policies/filter-policy.ts';
export { default as hellthreadPolicy, type Hellthread } from './src/policies/hellthread-policy.ts';
2023-03-26 21:40:35 +00:00
export { default as keywordPolicy } from './src/policies/keyword-policy.ts';
2023-03-24 19:42:12 +00:00
export { default as noopPolicy } from './src/policies/noop-policy.ts';
2023-03-30 22:57:58 +00:00
export { default as openaiPolicy, type OpenAI, type OpenAIHandler } from './src/policies/openai-policy.ts';
2023-04-12 01:20:06 +00:00
export { default as powPolicy, type POW } from './src/policies/pow-policy.ts';
2023-03-26 20:37:24 +00:00
export { default as pubkeyBanPolicy } from './src/policies/pubkey-ban-policy.ts';
2023-03-30 19:18:18 +00:00
export { default as rateLimitPolicy, type RateLimit } from './src/policies/rate-limit-policy.ts';
2023-03-24 19:42:12 +00:00
export { default as readOnlyPolicy } from './src/policies/read-only-policy.ts';
export { default as regexPolicy } from './src/policies/regex-policy.ts';
2023-03-26 21:40:35 +00:00
export { default as whitelistPolicy } from './src/policies/whitelist-policy.ts';
export { readStdin, writeStdout } from './src/io.ts';
2023-03-30 19:18:18 +00:00
export { default as pipeline, type PolicyTuple } from './src/pipeline.ts';
2023-03-25 01:27:07 +00:00
2023-03-30 19:18:18 +00:00
export type { Event, InputMessage, IterablePubkeys, OutputMessage, Policy } from './src/types.ts';