isValidNotice() — astro Function Reference
Architecture documentation for the isValidNotice() function in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD d8cb9ebb_db08_8c98_2e7e_d6b067751fe1["isValidNotice()"] aa586462_b436_2ea0_2f45_107a3d7bae01["AstroTelemetry"] d8cb9ebb_db08_8c98_2e7e_d6b067751fe1 -->|defined in| aa586462_b436_2ea0_2f45_107a3d7bae01 9a6fb927_ad64_9179_e53e_1585ab599a88["notify()"] 9a6fb927_ad64_9179_e53e_1585ab599a88 -->|calls| d8cb9ebb_db08_8c98_2e7e_d6b067751fe1 style d8cb9ebb_db08_8c98_2e7e_d6b067751fe1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/telemetry/src/index.ts lines 102–108
isValidNotice() {
if (!this.notifyDate) return false;
const current = Number(this.notifyDate);
const valid = new Date(VALID_TELEMETRY_NOTICE_DATE).valueOf();
return current > valid;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does isValidNotice() do?
isValidNotice() is a function in the astro codebase, defined in packages/telemetry/src/index.ts.
Where is isValidNotice() defined?
isValidNotice() is defined in packages/telemetry/src/index.ts at line 102.
What calls isValidNotice()?
isValidNotice() is called by 1 function(s): notify.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free