mirror of
https://github.com/hanzoai/insights-node.git
synced 2026-10-30 20:01:53 +00:00
- Rename PostHog class to Insights (with backward-compat PostHog alias) - Package name: posthog-node → @hanzo/insights-node - Default host: app.posthog.com → insights.hanzo.ai - CLI command: posthog → insights - Update all CI workflows, tests, docs, and type definitions - Update GitHub bot token references for Hanzo org Co-authored-by: Hanzo Dev <[email protected]>
77 lines
2.0 KiB
JavaScript
77 lines
2.0 KiB
JavaScript
const mockSimpleFlagResponse = {
|
|
"count": 1,
|
|
"next": null,
|
|
"previous": null,
|
|
"results": [
|
|
{
|
|
"id": 719,
|
|
"name": "",
|
|
"key": "simpleFlag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
]
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": true,
|
|
"rollout_percentage": null
|
|
},
|
|
{
|
|
"id": 720,
|
|
"name": "",
|
|
"key": "enabled-flag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
]
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": false,
|
|
"rollout_percentage": null
|
|
},
|
|
{
|
|
"id": 721,
|
|
"name": "",
|
|
"key": "disabled-flag",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
]
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": false,
|
|
"rollout_percentage": null
|
|
},
|
|
{
|
|
"id": 722,
|
|
"name": "",
|
|
"key": "multivariate-feature",
|
|
"filters": {
|
|
"groups": [
|
|
{
|
|
"properties": [],
|
|
"rollout_percentage": null
|
|
}
|
|
]
|
|
},
|
|
"deleted": false,
|
|
"active": true,
|
|
"is_simple_flag": false,
|
|
"rollout_percentage": null
|
|
},
|
|
]
|
|
}
|
|
|
|
module.exports = { mockSimpleFlagResponse } |