@plyaz/types 1.19.3 → 1.19.4
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.
|
@@ -5,9 +5,29 @@
|
|
|
5
5
|
* including table schemas, query interfaces, and data transformation types.
|
|
6
6
|
* These types ensure type safety across the entire database layer.
|
|
7
7
|
*/
|
|
8
|
-
import type { FEATURES } from '@plyaz/config';
|
|
9
8
|
import type { FeatureFlagCondition, FeatureFlagConfig, FeatureFlagValue } from '../../features';
|
|
10
9
|
import type { ApiClientWithEvents } from '../../api';
|
|
10
|
+
/**
|
|
11
|
+
* Feature flags for authentication providers and other features
|
|
12
|
+
*/
|
|
13
|
+
export declare const FEATURES: {
|
|
14
|
+
/**
|
|
15
|
+
* Enable Google OAuth authentication
|
|
16
|
+
*/
|
|
17
|
+
readonly AUTH_GOOGLE: true;
|
|
18
|
+
/**
|
|
19
|
+
* Enable Discord OAuth authentication (dev only)
|
|
20
|
+
*/
|
|
21
|
+
readonly AUTH_DISCORD: false;
|
|
22
|
+
/**
|
|
23
|
+
* Enable Facebook OAuth authentication
|
|
24
|
+
*/
|
|
25
|
+
readonly AUTH_FACEBOOK: false;
|
|
26
|
+
/**
|
|
27
|
+
* Enable GitHub OAuth authentication
|
|
28
|
+
*/
|
|
29
|
+
readonly AUTH_GITHUB: true;
|
|
30
|
+
};
|
|
11
31
|
/**
|
|
12
32
|
* Raw database row interface for feature flags table
|
|
13
33
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plyaz/types",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.4",
|
|
4
4
|
"author": "Redeemer Pace",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",
|
|
@@ -222,7 +222,6 @@
|
|
|
222
222
|
"keywords": [],
|
|
223
223
|
"packageManager": "pnpm@10.11.0",
|
|
224
224
|
"dependencies": {
|
|
225
|
-
"@plyaz/config": "^1.7.17",
|
|
226
225
|
"pino": "^10.0.0",
|
|
227
226
|
"type-fest": "^4.41.0",
|
|
228
227
|
"zustand": "^5.0.0",
|