-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(kit/feature): add feature flag package
- Loading branch information
1 parent
69bdae7
commit 8a1c3df
Showing
19 changed files
with
1,395 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This file defines defines feature flags. | ||
# | ||
# It is used for code generation in the ./kit/feature package. | ||
# If you change this file, run `make flags` to regenerate. | ||
# | ||
# Format details: | ||
# | ||
# - name: Human-readable name | ||
# description: Human-readable description | ||
# key: Programmatic name | ||
# default: Used when unable to reach server and to infer flag type | ||
# contact: Contact for information or issues regarding the flag | ||
# lifetime: Expected lifetime of the flag; temporary or permanent, default temporary | ||
# expose: Boolean indicating whether the flag should be exposed to callers; default false | ||
|
||
- name: Backend Example | ||
description: A permanent backend example boolean flag | ||
key: backendExample | ||
default: false | ||
contact: Gavin Cabbage | ||
lifetime: permanent | ||
|
||
- name: Frontend Example | ||
description: A temporary frontend example integer flag | ||
key: frontendExample | ||
default: 42 | ||
contact: Gavin Cabbage | ||
expose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.