Compare commits
9 Commits
3d8af3940b
...
a3f9e55a7e
| Author | SHA1 | Date | |
|---|---|---|---|
| a3f9e55a7e | |||
| 1d244b338a | |||
| f94e3b8164 | |||
| 5c4b3165ba | |||
| c496651dd1 | |||
| 4d5ab09bbd | |||
| 2151fd89f0 | |||
| 1447f0aa4c | |||
| 4f733bf8c3 |
@@ -1,4 +1,5 @@
|
|||||||
using FinlyticAnalyzer.Entities;
|
using FinlyticAnalyzer.Entities;
|
||||||
|
using FinlyticCore.Entities.Settings;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace FinlyticAnalyzer.Database;
|
namespace FinlyticAnalyzer.Database;
|
||||||
@@ -7,6 +8,7 @@ public class AnalyzerDbContext : DbContext
|
|||||||
{
|
{
|
||||||
public AnalyzerDbContext(DbContextOptions<AnalyzerDbContext> options) : base(options) { }
|
public AnalyzerDbContext(DbContextOptions<AnalyzerDbContext> options) : base(options) { }
|
||||||
|
|
||||||
|
public DbSet<SettingEntity> DynamicSettings => Set<SettingEntity>();
|
||||||
public DbSet<AnalysisEntity> Analyses => Set<AnalysisEntity>();
|
public DbSet<AnalysisEntity> Analyses => Set<AnalysisEntity>();
|
||||||
public DbSet<AnalyzerSettingsEntity> Settings => Set<AnalyzerSettingsEntity>();
|
public DbSet<AnalyzerSettingsEntity> Settings => Set<AnalyzerSettingsEntity>();
|
||||||
public DbSet<TradeProposalEntity> TradeProposals => Set<TradeProposalEntity>();
|
public DbSet<TradeProposalEntity> TradeProposals => Set<TradeProposalEntity>();
|
||||||
@@ -15,6 +17,12 @@ public class AnalyzerDbContext : DbContext
|
|||||||
{
|
{
|
||||||
base.OnModelCreating(modelBuilder);
|
base.OnModelCreating(modelBuilder);
|
||||||
|
|
||||||
|
modelBuilder.Entity<SettingEntity>(entity =>
|
||||||
|
{
|
||||||
|
entity.HasKey(e => e.Id);
|
||||||
|
entity.HasIndex(e => e.Key);
|
||||||
|
});
|
||||||
|
|
||||||
modelBuilder.Entity<AnalysisEntity>(entity =>
|
modelBuilder.Entity<AnalysisEntity>(entity =>
|
||||||
{
|
{
|
||||||
entity.HasIndex(e => e.AnalysisId).IsUnique();
|
entity.HasIndex(e => e.AnalysisId).IsUnique();
|
||||||
|
|||||||
+277
@@ -0,0 +1,277 @@
|
|||||||
|
// <auto-generated />
|
||||||
|
using System;
|
||||||
|
using FinlyticAnalyzer.Database;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||||
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace FinlyticAnalyzer.Migrations
|
||||||
|
{
|
||||||
|
[DbContext(typeof(AnalyzerDbContext))]
|
||||||
|
[Migration("20260813202556_CheckPendingAnalyzer")]
|
||||||
|
partial class CheckPendingAnalyzer
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||||
|
{
|
||||||
|
#pragma warning disable 612, 618
|
||||||
|
modelBuilder
|
||||||
|
.HasAnnotation("ProductVersion", "10.0.9")
|
||||||
|
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||||
|
|
||||||
|
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||||
|
|
||||||
|
modelBuilder.Entity("FinlyticAnalyzer.Entities.AnalysisEntity", b =>
|
||||||
|
{
|
||||||
|
b.Property<Guid>("Id")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("uuid");
|
||||||
|
|
||||||
|
b.Property<string>("AiOutputJson")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("jsonb");
|
||||||
|
|
||||||
|
b.Property<string>("AnalysisId")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("character varying(100)");
|
||||||
|
|
||||||
|
b.Property<DateTime>("CreatedAt")
|
||||||
|
.HasColumnType("timestamp with time zone");
|
||||||
|
|
||||||
|
b.Property<string>("EventId")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("character varying(100)");
|
||||||
|
|
||||||
|
b.Property<double>("ImpactScore")
|
||||||
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
|
b.Property<bool>("IsTradeProposed")
|
||||||
|
.HasColumnType("boolean");
|
||||||
|
|
||||||
|
b.Property<string>("Isin")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<string>("N8nDecision")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<double>("N8nEvalScore")
|
||||||
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
|
b.Property<string>("N8nResponseJson")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("jsonb");
|
||||||
|
|
||||||
|
b.Property<string>("RawDataJson")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("jsonb");
|
||||||
|
|
||||||
|
b.Property<string>("Sector")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(50)
|
||||||
|
.HasColumnType("character varying(50)");
|
||||||
|
|
||||||
|
b.Property<string>("Symbol")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<int>("VixRegime")
|
||||||
|
.HasColumnType("integer");
|
||||||
|
|
||||||
|
b.Property<decimal>("VixValue")
|
||||||
|
.HasColumnType("numeric");
|
||||||
|
|
||||||
|
b.Property<double>("WinRate")
|
||||||
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.HasIndex("AnalysisId")
|
||||||
|
.IsUnique();
|
||||||
|
|
||||||
|
b.HasIndex("CreatedAt");
|
||||||
|
|
||||||
|
b.HasIndex("EventId");
|
||||||
|
|
||||||
|
b.HasIndex("Isin");
|
||||||
|
|
||||||
|
b.HasIndex("Sector");
|
||||||
|
|
||||||
|
b.ToTable("analyses");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("FinlyticAnalyzer.Entities.AnalyzerSettingsEntity", b =>
|
||||||
|
{
|
||||||
|
b.Property<Guid>("Id")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("uuid");
|
||||||
|
|
||||||
|
b.Property<bool>("EnableLogAnalyzerAuto")
|
||||||
|
.HasColumnType("boolean");
|
||||||
|
|
||||||
|
b.Property<bool>("EnableLogAnalyzerManual")
|
||||||
|
.HasColumnType("boolean");
|
||||||
|
|
||||||
|
b.Property<bool>("EnableLogDatabaseOps")
|
||||||
|
.HasColumnType("boolean");
|
||||||
|
|
||||||
|
b.Property<bool>("EnableLogMqttGeneral")
|
||||||
|
.HasColumnType("boolean");
|
||||||
|
|
||||||
|
b.Property<bool>("EnableLogMqttHealthPing")
|
||||||
|
.HasColumnType("boolean");
|
||||||
|
|
||||||
|
b.Property<double>("MinSignalScore")
|
||||||
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
|
b.Property<string>("ScanCronSchedule")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<DateTime>("UpdatedAt")
|
||||||
|
.HasColumnType("timestamp with time zone");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.ToTable("Settings");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("FinlyticAnalyzer.Entities.TradeProposalEntity", b =>
|
||||||
|
{
|
||||||
|
b.Property<Guid>("Id")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("uuid");
|
||||||
|
|
||||||
|
b.Property<string>("AnalysisId")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("character varying(100)");
|
||||||
|
|
||||||
|
b.Property<double>("ConfidenceScore")
|
||||||
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
|
b.Property<DateTime>("CreatedAt")
|
||||||
|
.HasColumnType("timestamp with time zone");
|
||||||
|
|
||||||
|
b.Property<decimal>("EntryPrice")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<decimal?>("EntryZoneMax")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<decimal?>("EntryZoneMin")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("EventId")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("character varying(100)");
|
||||||
|
|
||||||
|
b.Property<DateTime>("ExpiresAt")
|
||||||
|
.HasColumnType("timestamp with time zone");
|
||||||
|
|
||||||
|
b.Property<string>("FundamentalRationale")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("InstrumentType")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<string>("Isin")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<decimal?>("MaxLeverage")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("Name")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(150)
|
||||||
|
.HasColumnType("character varying(150)");
|
||||||
|
|
||||||
|
b.Property<string>("ProposedAction")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(20)
|
||||||
|
.HasColumnType("character varying(20)");
|
||||||
|
|
||||||
|
b.Property<string>("ReasonSummary")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<decimal?>("RiskRewardRatio")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("RiskTolerance")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<string>("RiskWarning")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("Sector")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(50)
|
||||||
|
.HasColumnType("character varying(50)");
|
||||||
|
|
||||||
|
b.Property<decimal>("StopLoss")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("Symbol")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<decimal>("TakeProfit")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("TakeProfitTargets")
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("TechnicalRationale")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("Timeframe")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(20)
|
||||||
|
.HasColumnType("character varying(20)");
|
||||||
|
|
||||||
|
b.Property<int>("Type")
|
||||||
|
.HasColumnType("integer");
|
||||||
|
|
||||||
|
b.Property<int>("VixRegime")
|
||||||
|
.HasColumnType("integer");
|
||||||
|
|
||||||
|
b.Property<decimal>("VixValue")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<double>("WinRate")
|
||||||
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.HasIndex("ExpiresAt");
|
||||||
|
|
||||||
|
b.HasIndex("Isin");
|
||||||
|
|
||||||
|
b.ToTable("trade_proposals");
|
||||||
|
});
|
||||||
|
#pragma warning restore 612, 618
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,351 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace FinlyticAnalyzer.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class CheckPendingAnalyzer : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropPrimaryKey(
|
||||||
|
name: "PK_TradeProposals",
|
||||||
|
table: "TradeProposals");
|
||||||
|
|
||||||
|
migrationBuilder.RenameTable(
|
||||||
|
name: "TradeProposals",
|
||||||
|
newName: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.RenameIndex(
|
||||||
|
name: "IX_TradeProposals_Isin",
|
||||||
|
table: "trade_proposals",
|
||||||
|
newName: "IX_trade_proposals_Isin");
|
||||||
|
|
||||||
|
migrationBuilder.RenameIndex(
|
||||||
|
name: "IX_TradeProposals_ExpiresAt",
|
||||||
|
table: "trade_proposals",
|
||||||
|
newName: "IX_trade_proposals_ExpiresAt");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "ProposedAction",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(20)",
|
||||||
|
maxLength: 20,
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "text");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "Name",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(150)",
|
||||||
|
maxLength: 150,
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "text");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "Isin",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(30)",
|
||||||
|
maxLength: 30,
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "text");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "AnalysisId",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(100)",
|
||||||
|
maxLength: 100,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "EntryPrice",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0m);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "EntryZoneMax",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: true);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "EntryZoneMin",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: true);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "EventId",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(100)",
|
||||||
|
maxLength: 100,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "FundamentalRationale",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "text",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "InstrumentType",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(30)",
|
||||||
|
maxLength: 30,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "MaxLeverage",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: true);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "RiskRewardRatio",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: true);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "RiskTolerance",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(30)",
|
||||||
|
maxLength: 30,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "RiskWarning",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "text",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "Sector",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(50)",
|
||||||
|
maxLength: 50,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "StopLoss",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0m);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "Symbol",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(30)",
|
||||||
|
maxLength: 30,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "TakeProfit",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0m);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "TakeProfitTargets",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "text",
|
||||||
|
nullable: true);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "TechnicalRationale",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "text",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "Timeframe",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "character varying(20)",
|
||||||
|
maxLength: 20,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<int>(
|
||||||
|
name: "VixRegime",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "integer",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<decimal>(
|
||||||
|
name: "VixValue",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "numeric(18,4)",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0m);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<double>(
|
||||||
|
name: "WinRate",
|
||||||
|
table: "trade_proposals",
|
||||||
|
type: "double precision",
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: 0.0);
|
||||||
|
|
||||||
|
migrationBuilder.AddPrimaryKey(
|
||||||
|
name: "PK_trade_proposals",
|
||||||
|
table: "trade_proposals",
|
||||||
|
column: "Id");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropPrimaryKey(
|
||||||
|
name: "PK_trade_proposals",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "AnalysisId",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "EntryPrice",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "EntryZoneMax",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "EntryZoneMin",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "EventId",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "FundamentalRationale",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "InstrumentType",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "MaxLeverage",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "RiskRewardRatio",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "RiskTolerance",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "RiskWarning",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "Sector",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "StopLoss",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "Symbol",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "TakeProfit",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "TakeProfitTargets",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "TechnicalRationale",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "Timeframe",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "VixRegime",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "VixValue",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "WinRate",
|
||||||
|
table: "trade_proposals");
|
||||||
|
|
||||||
|
migrationBuilder.RenameTable(
|
||||||
|
name: "trade_proposals",
|
||||||
|
newName: "TradeProposals");
|
||||||
|
|
||||||
|
migrationBuilder.RenameIndex(
|
||||||
|
name: "IX_trade_proposals_Isin",
|
||||||
|
table: "TradeProposals",
|
||||||
|
newName: "IX_TradeProposals_Isin");
|
||||||
|
|
||||||
|
migrationBuilder.RenameIndex(
|
||||||
|
name: "IX_trade_proposals_ExpiresAt",
|
||||||
|
table: "TradeProposals",
|
||||||
|
newName: "IX_TradeProposals_ExpiresAt");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "ProposedAction",
|
||||||
|
table: "TradeProposals",
|
||||||
|
type: "text",
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "character varying(20)",
|
||||||
|
oldMaxLength: 20);
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "Name",
|
||||||
|
table: "TradeProposals",
|
||||||
|
type: "text",
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "character varying(150)",
|
||||||
|
oldMaxLength: 150);
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "Isin",
|
||||||
|
table: "TradeProposals",
|
||||||
|
type: "text",
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "character varying(30)",
|
||||||
|
oldMaxLength: 30);
|
||||||
|
|
||||||
|
migrationBuilder.AddPrimaryKey(
|
||||||
|
name: "PK_TradeProposals",
|
||||||
|
table: "TradeProposals",
|
||||||
|
column: "Id");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -149,41 +149,124 @@ namespace FinlyticAnalyzer.Migrations
|
|||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("uuid");
|
.HasColumnType("uuid");
|
||||||
|
|
||||||
|
b.Property<string>("AnalysisId")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("character varying(100)");
|
||||||
|
|
||||||
b.Property<double>("ConfidenceScore")
|
b.Property<double>("ConfidenceScore")
|
||||||
.HasColumnType("double precision");
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
b.Property<DateTime>("CreatedAt")
|
b.Property<DateTime>("CreatedAt")
|
||||||
.HasColumnType("timestamp with time zone");
|
.HasColumnType("timestamp with time zone");
|
||||||
|
|
||||||
|
b.Property<decimal>("EntryPrice")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<decimal?>("EntryZoneMax")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<decimal?>("EntryZoneMin")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("EventId")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("character varying(100)");
|
||||||
|
|
||||||
b.Property<DateTime>("ExpiresAt")
|
b.Property<DateTime>("ExpiresAt")
|
||||||
.HasColumnType("timestamp with time zone");
|
.HasColumnType("timestamp with time zone");
|
||||||
|
|
||||||
b.Property<string>("Isin")
|
b.Property<string>("FundamentalRationale")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("text");
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("InstrumentType")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<string>("Isin")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<decimal?>("MaxLeverage")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("text");
|
.HasMaxLength(150)
|
||||||
|
.HasColumnType("character varying(150)");
|
||||||
|
|
||||||
b.Property<string>("ProposedAction")
|
b.Property<string>("ProposedAction")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("text");
|
.HasMaxLength(20)
|
||||||
|
.HasColumnType("character varying(20)");
|
||||||
|
|
||||||
b.Property<string>("ReasonSummary")
|
b.Property<string>("ReasonSummary")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("text");
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<decimal?>("RiskRewardRatio")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("RiskTolerance")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<string>("RiskWarning")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("Sector")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(50)
|
||||||
|
.HasColumnType("character varying(50)");
|
||||||
|
|
||||||
|
b.Property<decimal>("StopLoss")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("Symbol")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(30)
|
||||||
|
.HasColumnType("character varying(30)");
|
||||||
|
|
||||||
|
b.Property<decimal>("TakeProfit")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<string>("TakeProfitTargets")
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("TechnicalRationale")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("text");
|
||||||
|
|
||||||
|
b.Property<string>("Timeframe")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(20)
|
||||||
|
.HasColumnType("character varying(20)");
|
||||||
|
|
||||||
b.Property<int>("Type")
|
b.Property<int>("Type")
|
||||||
.HasColumnType("integer");
|
.HasColumnType("integer");
|
||||||
|
|
||||||
|
b.Property<int>("VixRegime")
|
||||||
|
.HasColumnType("integer");
|
||||||
|
|
||||||
|
b.Property<decimal>("VixValue")
|
||||||
|
.HasColumnType("decimal(18,4)");
|
||||||
|
|
||||||
|
b.Property<double>("WinRate")
|
||||||
|
.HasColumnType("double precision");
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("ExpiresAt");
|
b.HasIndex("ExpiresAt");
|
||||||
|
|
||||||
b.HasIndex("Isin");
|
b.HasIndex("Isin");
|
||||||
|
|
||||||
b.ToTable("TradeProposals");
|
b.ToTable("trade_proposals");
|
||||||
});
|
});
|
||||||
#pragma warning restore 612, 618
|
#pragma warning restore 612, 618
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ builder.Services.AddSingleton<IVixTrackerService, VixTrackerService>();
|
|||||||
builder.Services.AddSingleton<IThreeLayerFilterEngine, ThreeLayerFilterEngine>();
|
builder.Services.AddSingleton<IThreeLayerFilterEngine, ThreeLayerFilterEngine>();
|
||||||
builder.Services.AddSingleton<IWinRateCalculator, WinRateCalculator>();
|
builder.Services.AddSingleton<IWinRateCalculator, WinRateCalculator>();
|
||||||
builder.Services.AddScoped<ISettingsDbService, SettingsDbService>();
|
builder.Services.AddScoped<ISettingsDbService, SettingsDbService>();
|
||||||
builder.Services.AddScoped<YahooFinanceClient>();
|
builder.Services.AddSingleton<YahooFinanceClient>();
|
||||||
|
|
||||||
// Unified MQTT Client (Handles both Events and RPC)
|
// Unified MQTT Client (Handles both Events and RPC)
|
||||||
builder.Services.AddSingleton<AnalyzerMqttClient>();
|
builder.Services.AddSingleton<AnalyzerMqttClient>();
|
||||||
|
|||||||
@@ -211,8 +211,8 @@ public class ActiveTradeMonitorWorker : BackgroundService
|
|||||||
},
|
},
|
||||||
MarketContext = new MarketContextInfo
|
MarketContext = new MarketContextInfo
|
||||||
{
|
{
|
||||||
Vix = (double)vixService.CurrentVix,
|
Vix = vixService.GetCurrentVix(),
|
||||||
MarketRegime = vixService.CurrentRegime.ToString()
|
MarketRegime = vixService.GetCurrentRegime().ToString()
|
||||||
},
|
},
|
||||||
UserPreferences = new UserPreferencesInfo
|
UserPreferences = new UserPreferencesInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -14,7 +14,11 @@ public class N8nEvaluationService : IN8nEvaluationService
|
|||||||
{
|
{
|
||||||
_httpClient = httpClient;
|
_httpClient = httpClient;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_webhookUrl = configuration["N8N:WebhookUrl"] ?? configuration["N8N__WebhookUrl"] ?? "https://n8n.kleidukos.me/webhook/gemini/analysis/auto";
|
_webhookUrl = configuration["N8N:WebhookUrl"] ?? configuration["N8N__WebhookUrl"] ?? string.Empty;
|
||||||
|
if (string.IsNullOrWhiteSpace(_webhookUrl))
|
||||||
|
{
|
||||||
|
_logger.LogWarning("[{Channel}] N8N:WebhookUrl configuration is missing or empty.", "AnalyzerChannel");
|
||||||
|
}
|
||||||
|
|
||||||
// Timeout auf 45 Sekunden erhöht für komplexere LLM/Gemini Chains in n8n
|
// Timeout auf 45 Sekunden erhöht für komplexere LLM/Gemini Chains in n8n
|
||||||
_httpClient.Timeout = TimeSpan.FromSeconds(45);
|
_httpClient.Timeout = TimeSpan.FromSeconds(45);
|
||||||
@@ -25,6 +29,12 @@ public class N8nEvaluationService : IN8nEvaluationService
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task<N8nAnalysisResponseDto?> EvaluateAssetAsync(N8nAnalysisRequestDto request, CancellationToken cancellationToken = default)
|
public async Task<N8nAnalysisResponseDto?> EvaluateAssetAsync(N8nAnalysisRequestDto request, CancellationToken cancellationToken = default)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(_webhookUrl))
|
||||||
|
{
|
||||||
|
_logger.LogError("[{Channel}] Cannot execute AI evaluation for {Symbol}: N8N:WebhookUrl is not configured.", "AnalyzerChannel", request.TargetAsset.Symbol);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_logger.LogInformation("[{Channel}] Sending n8n AI Evaluation request {RequestId} for Asset {Symbol} (ISIN: {Isin}) to {Url}...",
|
_logger.LogInformation("[{Channel}] Sending n8n AI Evaluation request {RequestId} for Asset {Symbol} (ISIN: {Isin}) to {Url}...",
|
||||||
|
|||||||
@@ -180,8 +180,8 @@ public class AnalyzerMqttClient : ManagedMqttClient, IHostedService
|
|||||||
|
|
||||||
if (closedDto != null && !string.IsNullOrWhiteSpace(closedDto.TradeId))
|
if (closedDto != null && !string.IsNullOrWhiteSpace(closedDto.TradeId))
|
||||||
{
|
{
|
||||||
bool isWin = closedDto.Status.Contains("Profit", StringComparison.OrdinalIgnoreCase) ||
|
bool isWin = closedDto.Status?.Contains("Profit", StringComparison.OrdinalIgnoreCase) == true ||
|
||||||
closedDto.Status.Contains("Win", StringComparison.OrdinalIgnoreCase);
|
closedDto.Status?.Contains("Win", StringComparison.OrdinalIgnoreCase) == true;
|
||||||
|
|
||||||
var feedback = new TradeFeedbackRecord
|
var feedback = new TradeFeedbackRecord
|
||||||
{
|
{
|
||||||
@@ -252,8 +252,8 @@ public class AnalyzerMqttClient : ManagedMqttClient, IHostedService
|
|||||||
TriggerType = "Manual",
|
TriggerType = "Manual",
|
||||||
TargetAsset = new TargetAssetInfo
|
TargetAsset = new TargetAssetInfo
|
||||||
{
|
{
|
||||||
Symbol = manualReq.FundamentalsData?.Ticker ?? manualReq.Symbol.ToUpperInvariant(),
|
Symbol = manualReq.FundamentalsData?.Fundamentals?.Ticker?.Ticker ?? manualReq.FundamentalsData?.Asset?.PrimaryTicker?.Ticker ?? manualReq.Symbol.ToUpperInvariant(),
|
||||||
Name = manualReq.FundamentalsData?.CompanyName ?? manualReq.Isin.ToUpperInvariant(),
|
Name = !string.IsNullOrWhiteSpace(manualReq.FundamentalsData?.Asset?.Name) ? manualReq.FundamentalsData.Asset.Name : manualReq.Isin.ToUpperInvariant(),
|
||||||
Isin = manualReq.Isin.ToUpperInvariant(),
|
Isin = manualReq.Isin.ToUpperInvariant(),
|
||||||
Sector = manualReq.Sector
|
Sector = manualReq.Sector
|
||||||
},
|
},
|
||||||
@@ -308,18 +308,18 @@ public class AnalyzerMqttClient : ManagedMqttClient, IHostedService
|
|||||||
},
|
},
|
||||||
FundamentalContext = new FundamentalContextInfo
|
FundamentalContext = new FundamentalContextInfo
|
||||||
{
|
{
|
||||||
PeRatio = (double?)manualReq.FundamentalsData?.PeRatioTrailing,
|
PeRatio = (double?)manualReq.FundamentalsData?.Fundamentals?.TrailingPe,
|
||||||
ForwardPeRatio = (double?)manualReq.FundamentalsData?.PeRatioForward,
|
ForwardPeRatio = (double?)manualReq.FundamentalsData?.Fundamentals?.ForwardPe,
|
||||||
PegRatio = (double?)manualReq.FundamentalsData?.PegRatio,
|
PegRatio = (double?)manualReq.FundamentalsData?.Fundamentals?.PegRatio,
|
||||||
MarketCap = (double?)manualReq.FundamentalsData?.MarketCapitalization,
|
MarketCap = (double?)manualReq.FundamentalsData?.Fundamentals?.MarketCap,
|
||||||
DebtToEquity = (double?)manualReq.FundamentalsData?.DebtToEquity,
|
DebtToEquity = (double?)manualReq.FundamentalsData?.Fundamentals?.DebtToEquity,
|
||||||
GrossMargin = (double?)manualReq.FundamentalsData?.GrossMargin,
|
GrossMargin = (double?)manualReq.FundamentalsData?.Fundamentals?.GrossProfit,
|
||||||
NetProfitMargin = (double?)manualReq.FundamentalsData?.NetProfitMargin,
|
NetProfitMargin = (double?)manualReq.FundamentalsData?.Fundamentals?.NetIncome,
|
||||||
ReturnOnEquity = (double?)manualReq.FundamentalsData?.ReturnOnEquity,
|
ReturnOnEquity = (double?)manualReq.FundamentalsData?.Fundamentals?.ReturnOnEquity,
|
||||||
DividendYield = (double?)manualReq.FundamentalsData?.DividendYield,
|
DividendYield = (double?)manualReq.FundamentalsData?.Fundamentals?.ForwardDividendYield,
|
||||||
ShortPercentOfFloat = (double?)manualReq.FundamentalsData?.ShortPercentOfFloat,
|
ShortPercentOfFloat = null,
|
||||||
AnalystTargetMedian = (double?)manualReq.FundamentalsData?.PriceTargetMedian,
|
AnalystTargetMedian = null,
|
||||||
EvToEbitda = (double?)manualReq.FundamentalsData?.EvToEbitda
|
EvToEbitda = (double?)manualReq.FundamentalsData?.Fundamentals?.EvToEbitda
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -346,7 +346,7 @@ public class AnalyzerMqttClient : ManagedMqttClient, IHostedService
|
|||||||
Sector = manualReq.Sector,
|
Sector = manualReq.Sector,
|
||||||
Symbol = manualReq.Symbol.ToUpperInvariant(),
|
Symbol = manualReq.Symbol.ToUpperInvariant(),
|
||||||
Isin = manualReq.Isin.ToUpperInvariant(),
|
Isin = manualReq.Isin.ToUpperInvariant(),
|
||||||
CompanyName = manualReq.FundamentalsData?.CompanyName ?? manualReq.Symbol,
|
CompanyName = !string.IsNullOrWhiteSpace(manualReq.FundamentalsData?.Asset?.Name) ? manualReq.FundamentalsData.Asset.Name : manualReq.Symbol,
|
||||||
EntryPrice = manualReq.CurrentPrice,
|
EntryPrice = manualReq.CurrentPrice,
|
||||||
SignalType = string.Equals(n8nResponse.SuggestedDirection, "Short", StringComparison.OrdinalIgnoreCase) ? "SELL" : "BUY",
|
SignalType = string.Equals(n8nResponse.SuggestedDirection, "Short", StringComparison.OrdinalIgnoreCase) ? "SELL" : "BUY",
|
||||||
Status = shouldProceed ? "Proposed" : "Rejected",
|
Status = shouldProceed ? "Proposed" : "Rejected",
|
||||||
@@ -427,8 +427,7 @@ public class AnalyzerMqttClient : ManagedMqttClient, IHostedService
|
|||||||
Status = "ERROR",
|
Status = "ERROR",
|
||||||
Message = $"Analysis failed: {ex.Message}"
|
Message = $"Analysis failed: {ex.Message}"
|
||||||
};
|
};
|
||||||
await PublishAsync($"services/response/analyzer_TriggerManual/{correlationId}",
|
await PublishAsync($"services/response/analyzer_TriggerManual/{correlationId}", errorResponse);
|
||||||
JsonSerializer.Serialize(errorResponse, FinlyticJsonSerializerContext.Default.ManualAnalysisResponseDto));
|
|
||||||
}
|
}
|
||||||
catch (Exception pubEx)
|
catch (Exception pubEx)
|
||||||
{
|
{
|
||||||
@@ -574,33 +573,38 @@ public class AnalyzerMqttClient : ManagedMqttClient, IHostedService
|
|||||||
|
|
||||||
if (fundResp != null)
|
if (fundResp != null)
|
||||||
{
|
{
|
||||||
resolvedSymbol = !string.IsNullOrWhiteSpace(fundResp.Ticker) ? fundResp.Ticker : resolvedSymbol;
|
string? fundTicker = fundResp.Fundamentals?.Ticker?.Ticker ?? fundResp.Asset?.PrimaryTicker?.Ticker;
|
||||||
resolvedName = !string.IsNullOrWhiteSpace(fundResp.CompanyName) ? fundResp.CompanyName : resolvedName;
|
resolvedSymbol = !string.IsNullOrWhiteSpace(fundTicker) ? fundTicker : resolvedSymbol;
|
||||||
|
resolvedName = !string.IsNullOrWhiteSpace(fundResp.Asset?.Name) ? fundResp.Asset.Name : resolvedName;
|
||||||
|
|
||||||
fundInfo = new FundamentalContextInfo
|
fundInfo = new FundamentalContextInfo
|
||||||
{
|
{
|
||||||
PeRatio = (double?)fundResp.PeRatioTrailing,
|
PeRatio = (double?)fundResp.Fundamentals?.TrailingPe,
|
||||||
ForwardPeRatio = (double?)fundResp.PeRatioForward,
|
ForwardPeRatio = (double?)fundResp.Fundamentals?.ForwardPe,
|
||||||
PegRatio = (double?)fundResp.PegRatio,
|
PegRatio = (double?)fundResp.Fundamentals?.PegRatio,
|
||||||
MarketCap = (double?)fundResp.MarketCapitalization,
|
MarketCap = (double?)fundResp.Fundamentals?.MarketCap,
|
||||||
DebtToEquity = (double?)fundResp.DebtToEquity,
|
DebtToEquity = (double?)fundResp.Fundamentals?.DebtToEquity,
|
||||||
GrossMargin = (double?)fundResp.GrossMargin,
|
GrossMargin = (double?)fundResp.Fundamentals?.GrossProfit,
|
||||||
NetProfitMargin = (double?)fundResp.NetProfitMargin,
|
NetProfitMargin = (double?)fundResp.Fundamentals?.NetIncome,
|
||||||
ReturnOnEquity = (double?)fundResp.ReturnOnEquity,
|
ReturnOnEquity = (double?)fundResp.Fundamentals?.ReturnOnEquity,
|
||||||
DividendYield = (double?)fundResp.DividendYield,
|
DividendYield = (double?)fundResp.Fundamentals?.ForwardDividendYield,
|
||||||
ShortPercentOfFloat = (double?)fundResp.ShortPercentOfFloat,
|
ShortPercentOfFloat = null,
|
||||||
AnalystTargetMedian = (double?)fundResp.PriceTargetMedian,
|
AnalystTargetMedian = null,
|
||||||
EvToEbitda = (double?)fundResp.EvToEbitda
|
EvToEbitda = (double?)fundResp.Fundamentals?.EvToEbitda
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sentResp != null)
|
if (sentResp != null)
|
||||||
{
|
{
|
||||||
|
double compound = sentResp.CurrentSummary?.CompoundScore ?? 0.0;
|
||||||
|
// FinBERT compound score is in range [-1.0, +1.0]. Normalize to [0.0, 1.0] for AI prompt context
|
||||||
|
double normalizedScore = Math.Clamp((compound + 1.0) / 2.0, 0.0, 1.0);
|
||||||
|
|
||||||
sentInfo = new SentimentContextInfo
|
sentInfo = new SentimentContextInfo
|
||||||
{
|
{
|
||||||
AssetSentimentScore = sentResp.CurrentSummary?.CompoundScore ?? 0.0,
|
AssetSentimentScore = Math.Round(normalizedScore, 2),
|
||||||
SectorSentimentScore = 0.5,
|
SectorSentimentScore = Math.Round(normalizedScore, 2),
|
||||||
NewsSentimentSummary = sentResp.CurrentSummary?.SentimentLabel ?? "Neutral"
|
NewsSentimentSummary = string.IsNullOrWhiteSpace(sentResp.CurrentSummary?.SentimentLabel) ? "Neutral" : sentResp.CurrentSummary.SentimentLabel
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -684,7 +688,7 @@ public class AnalyzerMqttClient : ManagedMqttClient, IHostedService
|
|||||||
var supportLevels = new List<double>();
|
var supportLevels = new List<double>();
|
||||||
var resistanceLevels = new List<double>();
|
var resistanceLevels = new List<double>();
|
||||||
|
|
||||||
double currentPrice = (double)(livePriceResp?.CurrentPrice > 0 ? livePriceResp.CurrentPrice : (fundResp?.CurrentPrice > 0 ? fundResp.CurrentPrice : 0.0m));
|
double currentPrice = (double)(livePriceResp?.CurrentPrice > 0 ? livePriceResp.CurrentPrice : 0.0m);
|
||||||
if (currentPrice > 0)
|
if (currentPrice > 0)
|
||||||
{
|
{
|
||||||
supportLevels.Add(Math.Round(currentPrice * 0.98, 2));
|
supportLevels.Add(Math.Round(currentPrice * 0.98, 2));
|
||||||
|
|||||||
Binary file not shown.
@@ -1,2 +0,0 @@
|
|||||||
{
|
|
||||||
}
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"epochs": [ {
|
|
||||||
"calculation_time": "13430050656556383",
|
|
||||||
"config_version": 0,
|
|
||||||
"model_version": "0",
|
|
||||||
"padded_top_topics_start_index": 0,
|
|
||||||
"taxonomy_version": 0,
|
|
||||||
"top_topics_and_observing_domains": [ ]
|
|
||||||
}, {
|
|
||||||
"calculation_time": "13430784010401195",
|
|
||||||
"config_version": 0,
|
|
||||||
"model_version": "0",
|
|
||||||
"padded_top_topics_start_index": 0,
|
|
||||||
"taxonomy_version": 0,
|
|
||||||
"top_topics_and_observing_domains": [ ]
|
|
||||||
} ],
|
|
||||||
"hex_encoded_hmac_key": "B6F2F708445BA6FD9AE93FC13F58B9FFE00F622BAC8C7EDCF364F58F7F466A75",
|
|
||||||
"next_scheduled_calculation_time": "13431388810401320"
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
MANIFEST-000001
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
2026/08/11-23:31:50.206 95c Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\EdgeCoupons/coupons_data.db/MANIFEST-000001
|
|
||||||
2026/08/11-23:31:50.207 95c Recovering log #23
|
|
||||||
2026/08/11-23:31:50.208 95c Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\EdgeCoupons/coupons_data.db/000023.log
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=0 #4
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=0 #7
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=2 #8
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=0 #10
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=2 #11
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=0 #13
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=2 #14
|
|
||||||
2026/08/11-23:31:50.209 95c Delete type=0 #16
|
|
||||||
2026/08/11-23:31:50.249 95c Delete type=2 #17
|
|
||||||
2026/08/11-23:31:50.250 95c Delete type=0 #19
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
2026/08/10-22:38:51.117 7960 Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\EdgeCoupons/coupons_data.db/MANIFEST-000001
|
|
||||||
2026/08/10-22:38:51.118 7960 Recovering log #19
|
|
||||||
2026/08/10-22:38:51.118 7960 Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\EdgeCoupons/coupons_data.db/000019.log
|
|
||||||
2026/08/10-22:38:51.119 7960 Delete type=0 #4
|
|
||||||
2026/08/10-22:38:51.119 7960 Delete type=0 #7
|
|
||||||
2026/08/10-22:38:51.119 7960 Delete type=2 #8
|
|
||||||
2026/08/10-22:38:51.119 7960 Delete type=0 #10
|
|
||||||
2026/08/10-22:38:51.119 7960 Delete type=2 #11
|
|
||||||
2026/08/10-22:38:51.119 7960 Delete type=0 #13
|
|
||||||
2026/08/10-22:38:51.119 7960 Delete type=2 #14
|
|
||||||
2026/08/10-22:38:51.122 7960 Delete type=0 #16
|
|
||||||
2026/08/10-22:38:51.122 7960 Delete type=2 #17
|
|
||||||
2026/08/10-22:43:31.470 4b80 Level-0 table #24: started
|
|
||||||
2026/08/10-22:43:31.473 4b80 Level-0 table #24: 683332 bytes OK
|
|
||||||
2026/08/10-22:43:31.476 4b80 Delete type=0 #19
|
|
||||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,70 +0,0 @@
|
|||||||
{"logTime": "0801/093734", "session": "START"}
|
|
||||||
{"logTime": "0801/093734", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:352 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0801/093734", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1398 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0801/093734", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1400 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0801/093736", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:275 operator()", "message": "No valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0801/093736", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:275 operator()", "message": "Last session file not found for SessionType : SessionRestore"}
|
|
||||||
{"logTime": "0801/123008", "session": "END"}
|
|
||||||
{"logTime": "0801/202055", "session": "START"}
|
|
||||||
{"logTime": "0801/202055", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:352 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0801/202055", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1398 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0801/202055", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1400 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0801/202057", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:275 operator()", "message": "Valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0801/210300", "session": "END"}
|
|
||||||
{"logTime": "0803/201011", "session": "START"}
|
|
||||||
{"logTime": "0803/201011", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:353 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0803/201011", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1431 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0803/201011", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1433 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0803/201014", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0803/201014", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430050656644037, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0803/202718", "session": "END"}
|
|
||||||
{"logTime": "0804/205152", "session": "START"}
|
|
||||||
{"logTime": "0804/205152", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:353 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0804/205152", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1431 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0804/205152", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1433 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0804/205154", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0804/205154", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430089257699509, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0804/205154", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430050656644037, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0804/213942", "session": "END"}
|
|
||||||
{"logTime": "0805/193102", "session": "START"}
|
|
||||||
{"logTime": "0805/193102", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:353 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0805/193102", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1431 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0805/193102", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1433 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0805/193104", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0805/193104", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430261414417274, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0805/193104", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430089257699509, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0805/193104", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430050656644037, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0805/205906", "session": "END"}
|
|
||||||
{"logTime": "0809/212007", "session": "START"}
|
|
||||||
{"logTime": "0809/212007", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:353 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0809/212007", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1431 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0809/212007", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1433 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0809/212009", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0809/212009", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430350314630125, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0809/212009", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430261414417274, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0809/212009", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430089257699509, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0809/212009", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430050656644037, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0809/213559", "session": "END"}
|
|
||||||
{"logTime": "0810/203848", "session": "START"}
|
|
||||||
{"logTime": "0810/203848", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:353 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0810/203848", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1431 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0810/203848", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1433 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0810/203850", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0810/203850", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430431864565749, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0810/203850", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430350314630125, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0810/203850", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430261414417274, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0810/203850", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430089257699509, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0810/203850", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430050656644037, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0810/213623", "session": "END"}
|
|
||||||
{"logTime": "0811/213145", "session": "START"}
|
|
||||||
{"logTime": "0811/213145", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:353 EdgeLogLastSessionExitTypeOnStartup", "message": "Previous Session Exit Type: PreviousSessionExitType::kNormalBrowserShutDown"}
|
|
||||||
{"logTime": "0811/213145", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1431 DetermineURLsAndLaunch", "message": "Startup Preference: 0"}
|
|
||||||
{"logTime": "0811/213145", "level": "INFO", "location": "chrome\\browser\\ui\\startup\\startup_browser_creator_impl.cc:1433 DetermineURLsAndLaunch", "message": "Browser Open Behavior: 0"}
|
|
||||||
{"logTime": "0811/213148", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Valid session file found: SessionRestore"}
|
|
||||||
{"logTime": "0811/213148", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430784009592248, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0811/213148", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430431864565749, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0811/213148", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430350314630125, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0811/213148", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430261414417274, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0811/213148", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430089257699509, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0811/213148", "level": "INFO", "location": "components\\sessions\\core\\command_storage_manager.cc:618 operator()", "message": "Delete session file Session_13430050656644037, for SessionType SessionRestore"}
|
|
||||||
{"logTime": "0811/213341", "session": "END"}
|
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
MANIFEST-000001
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
2026/08/11-23:31:45.890 4e54 Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\Extension Rules/MANIFEST-000001
|
|
||||||
2026/08/11-23:31:45.891 4e54 Recovering log #3
|
|
||||||
2026/08/11-23:31:45.891 4e54 Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\Extension Rules/000003.log
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
2026/08/10-22:38:48.205 3874 Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\Extension Rules/MANIFEST-000001
|
|
||||||
2026/08/10-22:38:48.205 3874 Recovering log #3
|
|
||||||
2026/08/10-22:38:48.205 3874 Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\Extension Rules/000003.log
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
MANIFEST-000001
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
2026/08/11-23:31:45.897 4e54 Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\Extension Scripts/MANIFEST-000001
|
|
||||||
2026/08/11-23:31:45.897 4e54 Recovering log #3
|
|
||||||
2026/08/11-23:31:45.898 4e54 Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\Extension Scripts/000003.log
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
2026/08/10-22:38:48.210 3874 Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\Extension Scripts/MANIFEST-000001
|
|
||||||
2026/08/10-22:38:48.210 3874 Recovering log #3
|
|
||||||
2026/08/10-22:38:48.211 3874 Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\Extension Scripts/000003.log
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
MANIFEST-000001
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
2026/08/11-23:31:46.176 50f0 Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\Extension State/MANIFEST-000001
|
|
||||||
2026/08/11-23:31:46.176 50f0 Recovering log #3
|
|
||||||
2026/08/11-23:31:46.177 50f0 Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.563f49b\flutter_tools_chrome_device.9d15186e\Default\Extension State/000003.log
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
2026/08/10-22:38:48.501 4b80 Reusing MANIFEST C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\Extension State/MANIFEST-000001
|
|
||||||
2026/08/10-22:38:48.501 4b80 Recovering log #3
|
|
||||||
2026/08/10-22:38:48.502 4b80 Reusing old log C:\Users\larsh\AppData\Local\Temp\flutter_tools.ccaa1042\flutter_tools_chrome_device.9ad653a1\Default\Extension State/000003.log
|
|
||||||
Binary file not shown.
Binary file not shown.
-7
@@ -1,7 +0,0 @@
|
|||||||
<!--
|
|
||||||
Copyright (c) Microsoft Corp. All rights reserved.
|
|
||||||
Use of this source code is governed by a BSD-style license that can be
|
|
||||||
found in the LICENSE file.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<script type="module" src="./DevToolsPlugin.js"></script>
|
|
||||||
-219
@@ -1,219 +0,0 @@
|
|||||||
// Copyright 2025 The Chromium Authors. All rights reserved.
|
|
||||||
// Copyright (C) Microsoft Corp. All rights reserved.
|
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
|
||||||
// found in the LICENSE file.
|
|
||||||
import { NamedFunctionRange } from './NamedFunctionRange.js';
|
|
||||||
import * as ts from './third_party/typescript/typescript.js';
|
|
||||||
const tsc = ts.default;
|
|
||||||
function parse(fileName, source) {
|
|
||||||
tsc.createSourceFile(fileName, source, tsc.ScriptTarget.ESNext, /* setParentNodes: */ true);
|
|
||||||
const markName = `parsing: ${fileName}`;
|
|
||||||
const endMarkName = `${markName}-end`;
|
|
||||||
performance.mark(markName);
|
|
||||||
const kind = getFileType(fileName);
|
|
||||||
const tsSource = tsc.createSourceFile(fileName, source, tsc.ScriptTarget.ESNext, /* setParentNodes: */ true, kind);
|
|
||||||
const result = visitRoot(tsSource, fileName);
|
|
||||||
performance.mark(endMarkName);
|
|
||||||
performance.measure(fileName, markName, endMarkName);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
function getFileType(fileName) {
|
|
||||||
const lowered = fileName.toLowerCase();
|
|
||||||
if (lowered.endsWith('.tsx')) {
|
|
||||||
return tsc.ScriptKind.TSX;
|
|
||||||
}
|
|
||||||
if (lowered.endsWith('.ts')) {
|
|
||||||
return tsc.ScriptKind.TS;
|
|
||||||
}
|
|
||||||
if (lowered.endsWith('.jsx')) {
|
|
||||||
return tsc.ScriptKind.JSX;
|
|
||||||
}
|
|
||||||
if (lowered.endsWith('.js') || lowered.endsWith('.cjs') || lowered.endsWith('.mjs')) {
|
|
||||||
return tsc.ScriptKind.JS;
|
|
||||||
}
|
|
||||||
return tsc.ScriptKind.TS; // default to ts
|
|
||||||
}
|
|
||||||
function visitRoot(source, fileName) {
|
|
||||||
const accumulator = [];
|
|
||||||
const name = `globalCode: ${fileName}`;
|
|
||||||
accumulator.push(createDescriptor(name, source, source));
|
|
||||||
for (const child of source.getChildren()) {
|
|
||||||
visitNodeIterative(accumulator, child, source);
|
|
||||||
}
|
|
||||||
return accumulator;
|
|
||||||
}
|
|
||||||
function visitNodeIterative(dest, node, source) {
|
|
||||||
if (tsc.isFunctionDeclaration(node) || tsc.isFunctionExpression(node) || tsc.isMethodDeclaration(node) ||
|
|
||||||
tsc.isArrowFunction(node) || tsc.isConstructorDeclaration(node) || tsc.isGetAccessor(node) ||
|
|
||||||
tsc.isGetAccessorDeclaration(node) || tsc.isSetAccessor(node) || tsc.isSetAccessorDeclaration(node)) {
|
|
||||||
visitFunctionNodeImpl(dest, node, source);
|
|
||||||
}
|
|
||||||
for (const child of node.getChildren()) {
|
|
||||||
visitNodeIterative(dest, child, source);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function visitFunctionNodeImpl(dest, node, source) {
|
|
||||||
if (node.body) {
|
|
||||||
const name = getNamesForFunctionLikeDeclaration(node);
|
|
||||||
const descriptor = createDescriptor(name, node, source);
|
|
||||||
dest.push(descriptor);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function createDescriptor(name, range, source) {
|
|
||||||
const { pos, end } = range;
|
|
||||||
const { line: startLine, character: startColumn } = source.getLineAndCharacterOfPosition(pos);
|
|
||||||
const { line: endLine, character: endColumn } = source.getLineAndCharacterOfPosition(end);
|
|
||||||
return new NamedFunctionRange(name, { line: startLine, column: startColumn }, { line: endLine, column: endColumn });
|
|
||||||
}
|
|
||||||
function getNamesForFunctionLikeDeclaration(func) {
|
|
||||||
let name = 'anonymousFunction';
|
|
||||||
const nameNode = func.name;
|
|
||||||
if (nameNode) {
|
|
||||||
// named function, property name, identifier, string, computed property
|
|
||||||
/**
|
|
||||||
* function foo() {} <--
|
|
||||||
* class Sample {
|
|
||||||
* constructor() { } NOT this one
|
|
||||||
* bar() { } <--
|
|
||||||
* get baz() { } <--
|
|
||||||
* set frob() { } <--
|
|
||||||
* [Symbol.toString]() <--
|
|
||||||
* }
|
|
||||||
*/
|
|
||||||
name = getNameOfNameNode(nameNode, func, name);
|
|
||||||
}
|
|
||||||
else if (tsc.isConstructorDeclaration(func)) {
|
|
||||||
/**
|
|
||||||
* class Sample {
|
|
||||||
* constructor() { } <--
|
|
||||||
* }
|
|
||||||
*/
|
|
||||||
// (constructor for class Foo)
|
|
||||||
const classDefinition = func.parent;
|
|
||||||
if (tsc.isClassDeclaration(classDefinition)) {
|
|
||||||
let className = 'anonymousClass';
|
|
||||||
if (classDefinition.name) {
|
|
||||||
className = classDefinition.name.text;
|
|
||||||
}
|
|
||||||
name = `constructorCall:, ${className}`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
/**
|
|
||||||
* const x = function() { }
|
|
||||||
* const y = () => { }
|
|
||||||
* const z = {
|
|
||||||
* frob: function() { },
|
|
||||||
* florbo: () => { },
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* doSomething(function() { })
|
|
||||||
* doSomething(() => { })
|
|
||||||
*/
|
|
||||||
if (tsc.isFunctionExpression(func) || tsc.isArrowFunction(func)) {
|
|
||||||
let parent = func.parent;
|
|
||||||
// e.g., ( () => { } )
|
|
||||||
if (tsc.isParenthesizedExpression(parent)) {
|
|
||||||
parent = parent.parent;
|
|
||||||
}
|
|
||||||
if (tsc.isVariableDeclaration(parent) || tsc.isPropertyAssignment(parent) || tsc.isPropertyDeclaration(parent)) {
|
|
||||||
if (parent.name && tsc.isIdentifier(parent.name)) {
|
|
||||||
name = getNameOfNameNode(parent.name, func, name);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (tsc.isBinaryExpression(parent) && parent.operatorToken.kind === tsc.SyntaxKind.EqualsToken) {
|
|
||||||
if (tsc.isPropertyAccessExpression(parent.left) || tsc.isElementAccessExpression(parent.left)) {
|
|
||||||
name = recursivelyGetPropertyAccessName(parent.left);
|
|
||||||
}
|
|
||||||
else if (tsc.isIdentifier(parent.left) || tsc.isStringLiteral(parent.left) || tsc.isNumericLiteral(parent.left)) {
|
|
||||||
name = parent.left.text;
|
|
||||||
}
|
|
||||||
// else unknown
|
|
||||||
}
|
|
||||||
else if (tsc.isCallOrNewExpression(func.parent) || tsc.isDecorator(func.parent)) {
|
|
||||||
let parentExpressionName = recursivelyGetPropertyAccessName(func.parent.expression);
|
|
||||||
if (tsc.isNewExpression(func.parent)) {
|
|
||||||
// Localization is not required: this is a programming expression ("new Foo")
|
|
||||||
parentExpressionName = `new ${parentExpressionName}`;
|
|
||||||
}
|
|
||||||
name = `anonymousCallbackTo: ${parentExpressionName}`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
function recursivelyGetPropertyAccessName(expression) {
|
|
||||||
if (tsc.isPropertyAccessExpression(expression)) {
|
|
||||||
return `${recursivelyGetPropertyAccessName(expression.expression)}.${expression.name.text}`;
|
|
||||||
}
|
|
||||||
if (tsc.isElementAccessExpression(expression)) {
|
|
||||||
return `${recursivelyGetPropertyAccessName(expression.expression)}[${expression.argumentExpression}]`;
|
|
||||||
}
|
|
||||||
if (tsc.isCallExpression(expression)) {
|
|
||||||
return expression.getText();
|
|
||||||
}
|
|
||||||
if (tsc.isIdentifier(expression) || tsc.isStringLiteral(expression) || tsc.isNumericLiteral(expression)) {
|
|
||||||
return expression.text;
|
|
||||||
}
|
|
||||||
return 'computedProperty';
|
|
||||||
}
|
|
||||||
function getNameOfNameNode(nameNode, declaringNode, fallback) {
|
|
||||||
let nameText = fallback;
|
|
||||||
switch (nameNode.kind) {
|
|
||||||
case tsc.SyntaxKind.ComputedPropertyName:
|
|
||||||
if (tsc.isIdentifier(nameNode.expression)) {
|
|
||||||
nameText = `[${nameNode.expression.text}]`;
|
|
||||||
}
|
|
||||||
else if (tsc.isStringLiteral(nameNode.expression) || tsc.isNumericLiteral(nameNode.expression)) {
|
|
||||||
nameText = `[${nameNode.expression.text}]`;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
nameText = 'computedProperty';
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case tsc.SyntaxKind.StringLiteral:
|
|
||||||
case tsc.SyntaxKind.NumericLiteral:
|
|
||||||
case tsc.SyntaxKind.Identifier:
|
|
||||||
case tsc.SyntaxKind.PrivateIdentifier:
|
|
||||||
nameText = nameNode.text;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (tsc.isGetAccessor(declaringNode) || tsc.isGetAccessorDeclaration(declaringNode)) {
|
|
||||||
nameText = `get ${nameText}`;
|
|
||||||
}
|
|
||||||
else if (tsc.isSetAccessor(declaringNode) || tsc.isSetAccessor(declaringNode)) {
|
|
||||||
nameText = `set ${nameText}`;
|
|
||||||
}
|
|
||||||
if (declaringNode.parent && tsc.isClassDeclaration(declaringNode.parent)) {
|
|
||||||
let className = 'anonymousClass)';
|
|
||||||
if (declaringNode.parent.name) {
|
|
||||||
className = declaringNode.parent.name.text;
|
|
||||||
}
|
|
||||||
nameText = `${className}.${nameText}`;
|
|
||||||
}
|
|
||||||
return nameText;
|
|
||||||
}
|
|
||||||
function isSourceMapScriptFile(resouce) {
|
|
||||||
if (resouce && resouce.url && resouce.type === 'sm-script') {
|
|
||||||
const url = resouce.url.toLowerCase();
|
|
||||||
return url?.endsWith('.js') || url?.endsWith('.ts') || url?.endsWith('.jsx') || url?.endsWith('.tsx') ||
|
|
||||||
url?.endsWith('.mjs') || url?.endsWith('.cjs');
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// @ts-ignore
|
|
||||||
chrome.devtools.inspectedWindow.onResourceAdded.addListener(async (resource) => {
|
|
||||||
if (isSourceMapScriptFile(resource)) {
|
|
||||||
const scriptResource = await new Promise(r => resource.getContent((content, encoding) => r({ url: resource.url, content, encoding })));
|
|
||||||
if (scriptResource.content) {
|
|
||||||
const ranges = parse(resource.url, scriptResource.content);
|
|
||||||
try {
|
|
||||||
await (resource).setFunctionRangesForScript(ranges);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
return e;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
//# sourceMappingURL=DevToolsPlugin.js.map
|
|
||||||
-1
File diff suppressed because one or more lines are too long
-21
@@ -1,21 +0,0 @@
|
|||||||
// Copyright 2025 The Chromium Authors. All rights reserved.
|
|
||||||
// Copyright (C) Microsoft Corp. All rights reserved.
|
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
|
||||||
// found in the LICENSE file.
|
|
||||||
export class NamedFunctionRange {
|
|
||||||
name;
|
|
||||||
start;
|
|
||||||
end;
|
|
||||||
constructor(name, start, end) {
|
|
||||||
this.name = name;
|
|
||||||
this.start = start;
|
|
||||||
this.end = end;
|
|
||||||
if (start.line < 0 || start.column < 0 || end.line < 0 || end.column < 0) {
|
|
||||||
throw new Error(`Line and column positions should be positive but were not: startLine=${start.line}, startColumn=${start.column}, endLine=${end.line}, endColumn=${end.column}`);
|
|
||||||
}
|
|
||||||
if (start.line > end.line || (start.line === end.line && start.column > end.column)) {
|
|
||||||
throw new Error(`End position should be greater than start position: startLine=${start.line}, startColumn=${start.column}, endLine=${end.line}, endColumn=${end.column}`);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//# sourceMappingURL=NamedFunctionRange.js.map
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"NamedFunctionRange.js","sourceRoot":"","sources":["../../../../../forked/third_party/devtools-frontend/src/extensions/edge_unminification_extension/NamedFunctionRange.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,qDAAqD;AACrD,yEAAyE;AACzE,6BAA6B;AAO7B,MAAM,OAAO,kBAAkB;IAEhB;IACA;IACA;IAHb,YACa,IAAY,EACZ,KAAe,EACf,GAAa;QAFb,SAAI,GAAJ,IAAI,CAAQ;QACZ,UAAK,GAAL,KAAK,CAAU;QACf,QAAG,GAAH,GAAG,CAAU;QAExB,IAAI,KAAK,CAAC,IAAI,GAAG,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,IAAI,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACzE,MAAM,IAAI,KAAK,CACX,wEAAwE,KAAK,CAAC,IAAI,iBAC9E,KAAK,CAAC,MAAM,aAAa,GAAG,CAAC,IAAI,eAAe,GAAG,CAAC,MAAM,EAAE,CACnE,CAAC;QACJ,CAAC;QACD,IAAI,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YACpF,MAAM,IAAI,KAAK,CACX,iEAAiE,KAAK,CAAC,IAAI,iBACvE,KAAK,CAAC,MAAM,aAAa,GAAG,CAAC,IAAI,eAAe,GAAG,CAAC,MAAM,EAAE,CACnE,CAAC;QACJ,CAAC;IACH,CAAC;CACF","sourcesContent":["// Copyright 2025 The Chromium Authors. All rights reserved.\n// Copyright (C) Microsoft Corp. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\ninterface Position {\n line: number;\n column: number;\n}\n\nexport class NamedFunctionRange {\n constructor(\n readonly name: string,\n readonly start: Position,\n readonly end: Position,\n ) {\n if (start.line < 0 || start.column < 0 || end.line < 0 || end.column < 0) {\n throw new Error(\n `Line and column positions should be positive but were not: startLine=${start.line}, startColumn=${\n start.column}, endLine=${end.line}, endColumn=${end.column}`,\n );\n }\n if (start.line > end.line || (start.line === end.line && start.column > end.column)) {\n throw new Error(\n `End position should be greater than start position: startLine=${start.line}, startColumn=${\n start.column}, endLine=${end.line}, endColumn=${end.column}`,\n );\n }\n }\n}\n"]}
|
|
||||||
-1
File diff suppressed because one or more lines are too long
-24
@@ -1,24 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"description": "treehash per file",
|
|
||||||
"signed_content": {
|
|
||||||
"payload": "eyJpdGVtX2lkIjoiY2dqZ2pmYWNqZmxtZ3BoaGhlcG1iaGhiZ2ppZWFlY24iLCJpdGVtX3ZlcnNpb24iOiIxMzUuMC4zMTc2LjAiLCJwcm90b2NvbF92ZXJzaW9uIjoxLCJjb250ZW50X2hhc2hlcyI6W3siZm9ybWF0IjoidHJlZWhhc2giLCJkaWdlc3QiOiJzaGEyNTYiLCJibG9ja19zaXplIjo0MDk2LCJoYXNoX2Jsb2NrX3NpemUiOjQwOTYsImZpbGVzIjpbeyJwYXRoIjoiRGV2VG9vbHNQbHVnaW4uaHRtbCIsInJvb3RfaGFzaCI6Il9WbElnWFhrTzdSeFA5WWg1NFcyR1B4a2VqVWgwd1dIUnlLOWEzX1J4a2sifSx7InBhdGgiOiJEZXZUb29sc1BsdWdpbi5qcyIsInJvb3RfaGFzaCI6IlVVVUptRGtSWEo2TWlHMVlDUVVjY1h5eTc5dF82bU1LZWdzSEZBdW5FdWsifSx7InBhdGgiOiJEZXZUb29sc1BsdWdpbi5qcy5tYXAiLCJyb290X2hhc2giOiJ4b0VFd1kyMWYybDBNTFZ3QXI2T3ZFTWVMQzdaeGRmQ0VOTTJiY2REMWVFIn0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6Ikl6aDRRd0s4dmNWeWlwM1dWcWFsVnVoV3lWUW41OXFUVmZieUk2N2ZWNjQifSx7InBhdGgiOiJOYW1lZEZ1bmN0aW9uUmFuZ2UuanMiLCJyb290X2hhc2giOiJxbFlHdllZSC1fOEptSUtLSW9WQ0gyZV9Sc21HSVhvanYxUzR1Y1l2bnBZIn0seyJwYXRoIjoiTmFtZWRGdW5jdGlvblJhbmdlLmpzLm1hcCIsInJvb3RfaGFzaCI6Im9ENXBaZXdqRmE0bVZ5cGtia1IzLWpRV01BT0tVSFloU2FHWmVLa2FJNGsifSx7InBhdGgiOiJ0aGlyZF9wYXJ0eS90eXBlc2NyaXB0L0xJQ0VOU0UudHh0Iiwicm9vdF9oYXNoIjoiVllSQ3Z4bENISS1Qdmx5ZG5DNENiVEFGRmVDVnFiT0tTenVXQVdPM0pRbyJ9LHsicGF0aCI6InRoaXJkX3BhcnR5L3R5cGVzY3JpcHQvdHlwZXNjcmlwdC10c2NvbmZpZy5qc29uIiwicm9vdF9oYXNoIjoiYVZBT0Z2SDVOVnJ1TVJxQV9sTDFNYm8waTdmMjFHWjZMVFBEelhVUk4xayJ9LHsicGF0aCI6InRoaXJkX3BhcnR5L3R5cGVzY3JpcHQvdHlwZXNjcmlwdC5kLnRzIiwicm9vdF9oYXNoIjoibUU5SUVCMVdsV2s0VFZ1Q2x4TTZTbXMzbmQycnBBb3pVUjZLdXdiQ1NyVSJ9LHsicGF0aCI6InRoaXJkX3BhcnR5L3R5cGVzY3JpcHQvdHlwZXNjcmlwdC5qcyIsInJvb3RfaGFzaCI6Ik11RTNxVVBSejlBTkwyM0hMQ25nNVNuMHM2Wm84ODlXMU9qUjF2RlRvQmMifSx7InBhdGgiOiJ0aGlyZF9wYXJ0eS90eXBlc2NyaXB0L3R5cGVzY3JpcHQuanMubWFwIiwicm9vdF9oYXNoIjoiUWhWU1FJbWh2REFha1Y0MlJJNVlwOFFlSEVWNGlxOEZBQ0ZWYkp5NlI3VSJ9XX1dfQ",
|
|
||||||
"signatures": [
|
|
||||||
{
|
|
||||||
"header": {
|
|
||||||
"kid": "publisher"
|
|
||||||
},
|
|
||||||
"protected": "eyJhbGciOiJSUzI1NiJ9",
|
|
||||||
"signature": "UcY45ChpSHpWUmp-RDiupTb0i5ct5hcjlB3FEpU1ZXLbmYf1-uThqyTB55xXdlQfdumS1Nd8tQ1dBXndx8fegAwNCf6PZ_OGxfpc_u_jOOs1qMq9wmdEN3U0AgesczyfrmEGn5pfzrKXlAWWHx8IjXB8OcDpEDz0quVag-rFXPgcdKnY7vgc85JxQkMB4U2LKRfiVciW26L4-SQ3iV0ES3SUGHxR2h5p1527b2Y7kEGYRxA8Weap0NPJHrnJnXmRTvy2SqfVqokMRcNfwfBBWwmg48fkTR2VsoZV76Ylds_j0eyT3hTRm74cf6WGRKrsAp9cdRn_t0eMS_LnAhuuYg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"header": {
|
|
||||||
"kid": "webstore"
|
|
||||||
},
|
|
||||||
"protected": "eyJhbGciOiJSUzI1NiJ9",
|
|
||||||
"signature": "KKhYSEyUubwCvSHmxYZUAHDjUIMgitqwf2dn4k8ytD4XABObmAcb5JXnzFSHtYTKQWOJGehtNqHJEDD6lhFhCVo53Yy1_WKewGzdjKeBri_3f5KwUFsHLwdyGTAv8qdZ2oTz3Ejpc8UKIY48XdAqyM0tFi_Pqtvkng5Hl72mw7ZMZCpERJC2m2sxBquJT9XGgLegLHUq5jNEAEPGVMb2Xw7bAQl35u19G0pO6izD3L1tLdNB2i7xtQEr_Hu2uj7AvoaahudcSabFTn95yXEpNw3zIwgZyTZru1ywwzPdVDyeQaP1Y42yHRzS3zC2aO_deeFxX44Ae0CsLMQwnNpY_w"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"description": "Provides Named Function Ranges from typescript's compiler to augment sourcemap scopes information",
|
|
||||||
"devtools_page": "DevToolsPlugin.html",
|
|
||||||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiMfSIPlj0PRSUeFx85BNsj/QeZ3AhvP4ScF9UxY8S+OWRyP7RcqU0e5E2okxSBD4r+L0MerEVIaUPyuMCfY4gn+Cc0CPCw/EtG/17Z0Sx9PgiM71CgWa07TYXZQXQW+K32FWf5v35prF2m75SNOUG2b4J3HMf1YkCWhEi2URHmNKIIJjrABdm5mBUzLAMM5ZKAAK9voekfq4YETl58ClarnTjM7pKBw2NvrSSuZCj5llCQoZcdfUAkOBtHyXqhmjEiVVeO2du1jDlPuVPs3YqCM99Q+kTASfUfLSV3vosx1lonpghMj9CPcOxpQrI8ybqPY24b5sv4ULigpaZL6RLwIDAQAB",
|
|
||||||
"manifest_version": 3,
|
|
||||||
"name": "Microsoft Edge Unminification Extension",
|
|
||||||
"update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx",
|
|
||||||
"version": "135.0.3176.0"
|
|
||||||
}
|
|
||||||
-57
@@ -1,57 +0,0 @@
|
|||||||
From: https://raw.githubusercontent.com/microsoft/TypeScript/v4.9.4/LICENSE.txt
|
|
||||||
|
|
||||||
Apache License
|
|
||||||
|
|
||||||
Version 2.0, January 2004
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
||||||
|
|
||||||
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
||||||
|
|
||||||
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
||||||
|
|
||||||
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"composite": true
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"typescript.js"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
-8152
File diff suppressed because it is too large
Load Diff
-198365
File diff suppressed because it is too large
Load Diff
-1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
-24
@@ -1,24 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"description": "treehash per file",
|
|
||||||
"signed_content": {
|
|
||||||
"payload": "eyJpdGVtX2lkIjoia2ZiZHBkYW9ibm9ma2JvcGViamdsbmFhZG9wZmlraGgiLCJpdGVtX3ZlcnNpb24iOiIxMTMuMC4xNzY1LjAiLCJwcm90b2NvbF92ZXJzaW9uIjoxLCJjb250ZW50X2hhc2hlcyI6W3siZm9ybWF0IjoidHJlZWhhc2giLCJkaWdlc3QiOiJzaGEyNTYiLCJibG9ja19zaXplIjo0MDk2LCJoYXNoX2Jsb2NrX3NpemUiOjQwOTYsImZpbGVzIjpbeyJwYXRoIjoiZmlsZWxpc3QudHh0Iiwicm9vdF9oYXNoIjoiVkR3T1VNRmhXVU9kUGZzX0VWRzhaT0wxdGdvT09DVEYtVHhNWEJUZGxGcyJ9LHsicGF0aCI6Im1hbmlmZXN0Lmpzb24iLCJyb290X2hhc2giOiJFSjMtRmI4WE1SdGVtQjZkR29VQmJyLUxKMDdhS05SdEhQUE1PLS10TmFRIn0seyJwYXRoIjoidGhpcmRfcGFydHkvYmFieWxvbi9iYWJ5bG9uLmpzIiwicm9vdF9oYXNoIjoiSTZWUzZkQUVpdFFfeXNpSzZvS1FCd1hZbDlvRkFnTHQzOElmenNMb3ctdyJ9LHsicGF0aCI6InRoaXJkX3BhcnR5L2JhYnlsb24vTElDRU5TRS5tZCIsInJvb3RfaGFzaCI6IlMwNVZLem44ZE5kTkktMHlhMVVGSzNNVXh0eXZYSnZRYW9aZ0o0Y19hbmsifSx7InBhdGgiOiJ0aGlyZF9wYXJ0eS90eXBlc2NyaXB0L0xJQ0VOU0UudHh0Iiwicm9vdF9oYXNoIjoiVllSQ3Z4bENISS1Qdmx5ZG5DNENiVEFGRmVDVnFiT0tTenVXQVdPM0pRbyJ9LHsicGF0aCI6InRoaXJkX3BhcnR5L3R5cGVzY3JpcHQvdHlwZXNjcmlwdC5qcyIsInJvb3RfaGFzaCI6IklmTjY2bUN0ZGJLdTZmcGRReWpjRGdQOUY0YkpkMUt1ekw5RWRMQzhuVXcifV19XX0",
|
|
||||||
"signatures": [
|
|
||||||
{
|
|
||||||
"header": {
|
|
||||||
"kid": "publisher"
|
|
||||||
},
|
|
||||||
"protected": "eyJhbGciOiJSUzI1NiJ9",
|
|
||||||
"signature": "H2ZlyVApWt1n4eP-k4PRHYTu2nLEfKnJxgEMhlnC0Fupw3zJhKUSAWol6TJMO1J8MPfEzkjV2ocYGGPpNoGZ-0lkPVJtw6Wr5LaQidTU8rmAN5418Aik2cJWcwipVb5KqLSPhOr3bm1kc19DgLqklrvwLjifM5EGGZzqeXOKV0CYkUvBbKPur_Dt5z0FifRENbjZcL3ElROhMdsv90fiB9ZThBak3TlcOyT2Hb_CLjy3XLGc7f4TjwA-45l3ZD3Oh-PzYGlwczu5S8gKt-s8ciy_jCmvZ_JEQlOETGs5v0cVd87o-0itFKgF0P5oY2Zx5vYnXIYESy-ymZFt3T4nGw"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"header": {
|
|
||||||
"kid": "webstore"
|
|
||||||
},
|
|
||||||
"protected": "eyJhbGciOiJSUzI1NiJ9",
|
|
||||||
"signature": "sX6IHw_T1JkYhB3S3BbWTjzGsdsMRF_7SAkBwAdMEFAr68HmVPJIL1vHFsx90SQaz5CUPYfasHYlSZ7qVMtSXgFKkY9JgwrTr1JUqDAKcnv9ozw0fInikO_cQcIwOixZUFNVljGx5atVkS6RIJCwncBqc7toHhPtqyhKkFW8bsoIrTELphyQP8QoPeaKT0SWVnWnEHpZwZ4BqUOdduewqQL3ejeLiJvgntUY16EbkBLfmpYt99NSFJSuMn3x9YPZkIIEVhWkZyUqE7KQJie2UrxlUDXcPkycumYCtEyMn5w_0St0Jlvf4FswqHdSjvCMuGmPIwEC-aJENpUBYp_iYA"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
-4
@@ -1,4 +0,0 @@
|
|||||||
third_party\babylon\LICENSE.md
|
|
||||||
third_party\babylon\babylon.js
|
|
||||||
third_party\typescript\LICENSE.txt
|
|
||||||
third_party\typescript\typescript.js
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"description": "Microsoft Edge DevTools Enhancements",
|
|
||||||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxx2oBf3foCCxdn8gQWEGh6HQhGfz+kbpzYJSgAiMy8T6NFVYRfECBK/oZad9hKR317bgpyQlAeaueDu7K2f1NtRKVKA/RCiYUcDp9hyaDmoXn0+ayis97+1Rvl13IGToAqxehQ9T8ZNz4B1uRegJpNHpKA9LCW4uUh6iTC0hMKKTfEXMUVZQ6uQEeXRb+YpB7ZlesFcEZvnbbs2yj4BvjOXWaaxxWTJE0f3hu2dAPgQ4YMp3wluI7eKH475okTdJsdSR4yfcMwx9UHLqp6tUTENAUrb724HWF5yZ+sqAixHJ+TqNxWjGA6L+8zR1kww+OyT7Irh+9400VuQwLtLaswIDAQAB",
|
|
||||||
"manifest_version": 3,
|
|
||||||
"name": "Microsoft Edge DevTools Enhancements",
|
|
||||||
"update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx",
|
|
||||||
"version": "113.0.1765.0"
|
|
||||||
}
|
|
||||||
-74
@@ -1,74 +0,0 @@
|
|||||||
## Apache License 2.0 (Apache)
|
|
||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
### Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
### Grant of Copyright License.
|
|
||||||
|
|
||||||
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
### Grant of Patent License.
|
|
||||||
|
|
||||||
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
||||||
|
|
||||||
### Redistribution.
|
|
||||||
|
|
||||||
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
||||||
|
|
||||||
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
2. You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
||||||
|
|
||||||
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
||||||
|
|
||||||
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
||||||
|
|
||||||
### Submission of Contributions.
|
|
||||||
|
|
||||||
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
### Trademarks.
|
|
||||||
|
|
||||||
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
### Disclaimer of Warranty.
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
### Limitation of Liability.
|
|
||||||
|
|
||||||
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
### Accepting Warranty or Additional Liability.
|
|
||||||
|
|
||||||
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
## External dependencies
|
|
||||||
- jQuery PEP: https://github.com/jquery/PEP
|
|
||||||
-16
File diff suppressed because one or more lines are too long
-57
@@ -1,57 +0,0 @@
|
|||||||
From: https://raw.githubusercontent.com/microsoft/TypeScript/v4.9.4/LICENSE.txt
|
|
||||||
|
|
||||||
Apache License
|
|
||||||
|
|
||||||
Version 2.0, January 2004
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
||||||
|
|
||||||
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
||||||
|
|
||||||
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
||||||
|
|
||||||
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
-174494
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user