Skip to content
@xtandard/flags
Search
Ctrl
K
Cancel
GitHub
npm
Select theme
Dark
Light
Auto
Menu
Start here
Why & how it works
Quickstart
Getting started
Entry points
Examples
Concepts
Architecture
The flag model
Condition operators
Evaluation
Overview
OpenFeature provider
Remote evaluation (OFREP)
Storage
Overview
SQL & document databases
unstorage & Cloudflare KV
Change notifications
Custom adapter
Integrations
Framework adapters
Typed Elysia, Eden & OpenAPI
Fetch handler & custom adapters
Hooks
Access control
Authentication
Authorization
Admin UI
Overview
Embed in React
Screenshots
Operations
Deployment
CLI
Testing
API reference
auth/basic
Type Aliases
BasicAuthOptions
Functions
basicAuth
auth/delegated
auth/none
authorization/delegated
Interfaces
DelegatedAuthorizationOptions
Functions
delegatedAuthorization
authorization/none
Functions
noAuthorization
authorization/roles
Interfaces
RolesAuthorizationOptions
Type Aliases
RolePolicy
Variables
ALL_ACTIONS
DEFAULT_ROLE_POLICY
READ_ACTIONS
Functions
rolesAuthorization
bun
Functions
flagsPanel
References
CreateFetchHandlerResult
FlagsPanelOptions
core
Classes
FlagValidationError
NotFoundError
ReadonlyError
SegmentValidationError
SnapshotProtectedError
Interfaces
DraftDiff
DraftDiffEntry
EvaluateInput
FlagEvaluationResult
FlagsCore
FlagsCoreOptions
RetentionOptions
RetentionRule
SnapshotSummary
Functions
createFlagsCore
drizzle/mysql
Type Aliases
MysqlFlagsTableOptions
Functions
mysqlFlagsTable
drizzle/pg
Type Aliases
PgFlagsTableOptions
Functions
pgFlagsTable
drizzle/sqlite
Type Aliases
SqliteFlagsTableOptions
Functions
sqliteFlagsTable
elysia
Interfaces
FlagsElysiaOptions
Type Aliases
ElysiaFlagsHandler
FlagsElysiaPlugin
Functions
flagsElysia
flagsPanel
References
FlagsPanelOptions
elysia2
Type Aliases
FlagsElysiaPlugin
Functions
flagsElysia
References
ElysiaFlagsHandler
FlagsElysiaOptions
flagsPanel
FlagsPanelOptions
evaluator
Interfaces
FlagEvaluation
SplitInput
Type Aliases
SegmentMap
Functions
compareSemver
evaluateCondition
evaluateFlag
evaluateNode
matchesRule
pickVariant
resolveBucketingKey
express
Type Aliases
ExpressFlagsHandler
Functions
flagsPanel
References
FlagsPanelOptions
flags
Namespaces
keys
functions
activeVersionKey
auditLogKey
auditPrefix
draftKey
environmentMetaKey
environmentsKey
lastSegment
projectMetaKey
projectsKey
publishedDraftKey
segmentsKey
snapshotKey
snapshotsPrefix
variables
ROOT
Classes
DraftValidationError
SegmentResolutionError
Interfaces
ComparatorHandlers
ComparatorResult
CreateFetchHandlerResult
EvaluationEvent
FlagsPanelOptions
FlagStaleness
LifecycleSummary
OpenApiOptions
SegmentReferenceError
StalenessOptions
Type Aliases
AfterEvent
AfterEventType
AuthorizationProvider
AuthorizeInput
BeforeEvent
BeforeEventType
ComparatorEntry
ComparatorPredicate
ComparatorRegistry
EvaluationErrorReporter
EvaluationListener
FlagsAction
FlagsCorsOptions
FlagsHooks
FlagsHooksInput
FlagsResource
HookErrorReporter
MatcherFn
MatcherRegistry
ValidationError
ValidationResult
Variables
DEFAULT_MATCHER
defaultHookErrorReporter
flagSchema
MUTATING_ACTIONS
regexMatcher
Functions
assertValidDraft
buildOpenApiDocument
clearComparators
clearMatchers
createFetchHandler
emitEvaluation
flagStaleness
hashToUnitInterval
inlineSegments
inlineSegmentsInFlag
isMutatingAction
murmur3
pgListenNotify
referencedSegmentKeys
registerComparator
registerMatcher
requirePeer
resolveMatcher
resolveSegments
summarizeLifecycle
usesEmbeddedSegments
usesNotInSegment
validateDraft
validateFlag
validatePrerequisiteGraph
validateSegment
validateSegmentReferences
withComparators
withMatchers
References
Actor
AuditEntry
compareSemver
compileDraft
CompileOptions
Condition
ConditionGroup
ConditionNode
ConditionOperator
createFlagsCore
Draft
DraftDiff
DraftDiffEntry
DurationUnit
EnvironmentMeta
evaluateCondition
evaluateFlag
EvaluateInput
evaluateNode
EvaluationContext
EvaluationDetail
EvaluationReason
Flag
FlagDuration
FlagErrorCode
FlagEvaluation
FlagEvaluationResult
FlagOwner
FlagSchedule
FlagsCore
FlagsCoreOptions
FlagTest
FlagType
FlagValue
isConditionGroup
JsonValue
leafConditions
LifecycleExpiry
LifecyclePolicy
matchesRule
nextVersion
Override
pickVariant
Prerequisite
ProjectMeta
resolveBucketingKey
RetentionOptions
RetentionRule
Rule
Segment
SegmentMap
Serve
Snapshot
SNAPSHOT_SCHEMA_VERSION
SnapshotProtectedError
SnapshotStore
SnapshotSummary
SplitEntry
SplitInput
Variant
hono
Functions
flagsPanel
References
FlagsPanelOptions
hooks/log
Type Aliases
LogHookOptions
Functions
createLogHook
hooks/test-gate
Interfaces
TestFailure
TestGateOptions
Functions
createTestGate
runFlagTests
hooks/webhook
Interfaces
WebhookHookOptions
Functions
createWebhookHook
match/sift
Variables
siftMatcher
Functions
registerSiftMatcher
openfeature
Interfaces
OpenFeatureProviderOptions
ProviderLogger
XtandardOpenFeatureProvider
Functions
createOpenFeatureProvider
toOpenFeatureReason
react
Interfaces
FlagsDashboardProps
Variables
FlagsDashboard
getThemePref
setApiBase
setThemePref
References
default
schema
Interfaces
Actor
AuditEntry
Condition
Draft
EnvironmentMeta
EvaluationContext
EvaluationDetail
Flag
FlagDuration
FlagOwner
FlagSchedule
FlagTest
LifecyclePolicy
Override
Prerequisite
ProjectMeta
Rule
Segment
Snapshot
SplitEntry
Variant
Type Aliases
ConditionGroup
ConditionNode
ConditionOperator
DurationUnit
EvaluationReason
FlagErrorCode
FlagType
FlagValue
JsonValue
LifecycleExpiry
Serve
Variables
SNAPSHOT_SCHEMA_VERSION
Functions
isConditionGroup
leafConditions
snapshot
Classes
SnapshotStore
Interfaces
CompileOptions
Functions
compileDraft
nextVersion
storage/cloudflare-kv
storage/drizzle
Type Aliases
DrizzleFlagsStorage
Functions
createDrizzleStorage
storage/file
Type Aliases
FileFlagsStorage
FileStorageOptions
Functions
createFileStorage
storage/libsql
Type Aliases
LibsqlFlagsStorage
LibsqlStorageOptions
Functions
createLibsqlStorage
storage/memory
Type Aliases
MemoryFlagsStorage
MemoryStorageOptions
Functions
createMemoryStorage
storage/mongodb
Type Aliases
MongoFlagsStorage
MongoStorageOptions
Functions
createMongoStorage
storage/postgres
Type Aliases
PostgresFlagsStorage
PostgresStorageOptions
Functions
createPostgresStorage
storage/redis
Type Aliases
RedisFlagsStorage
RedisStorageOptions
Functions
createRedisJSONStorage
createRedisStorage
storage/sqlite
Type Aliases
SqliteFlagsStorage
SqliteStorageOptions
Functions
createSqliteStorage
storage/unstorage
testing
Interfaces
TestPanel
Type Aliases
FlagBuildType
FlagBuildValue
Functions
booleanFlag
createTestPanel
publishFlags
variantFlag
References
createMemoryStorage
Project
xtandard ecosystem
Project status
Changelog
Brand
Architecture decisions
0001 · Single package, subpath exports
0002 · Memory-first runtime evaluation
0003 · Bundled SPA UI
0004 · OFREP endpoint
0005 · UI routing
0006 · Segment resolution
0007 · Pluggable comparators
0008 · Query matchers
0009 · Condition groups
0010 · Scheduled active window
0011 · Snapshot import/export
Releases
npm
GitHub
npm
Select theme
Dark
Light
Auto
AfterEventType
type
AfterEventType
=
AfterEvent
[
"
type
"
];
Defined in:
hooks/contract.ts:165