From b0ef9d07fc994d531f0cafc6aacb092effb97227 Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Thu, 11 Jul 2024 16:32:01 +0800 Subject: [PATCH] Remove unused type field from shop_data Signed-off-by: Egor Savkin --- static/js/shop_data.js | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/static/js/shop_data.js b/static/js/shop_data.js index 472e2bdb..e66c2fbe 100644 --- a/static/js/shop_data.js +++ b/static/js/shop_data.js @@ -179,7 +179,6 @@ const shop_data = { 'Price includes bitstream generation, flashing, testing, and firmware updates for 1 year (USD 1,400.00).', ], size: 'big', - type: 'kasli', options: [ {type: "Radio", args: {title: "DRTIO role", outvar: "drtio_role", variants: ["standalone", "master", "satellite"], tip: "Distributed Real Time Input/Output allows ARTIQ RTIO channels to be distributed among several satellite devices synchronized and controlled by a central core(master) device. Standalone option disables this feature."}}, { @@ -244,7 +243,6 @@ const shop_data = { '4 MMCX clock outputs.', ], size: 'big', - type: 'kasli', hp: 8, nbrSlotMin: 0, nbrSlotMax: 12, @@ -316,7 +314,6 @@ const shop_data = { 'A pair of VHDCI carriers is a simple, low-latency and low-cost alternative to DRTIO for some applications.', ], size: 'big', - type: 'vhdcicarrier', resources: [ {name: "eem", max: 8}, ], @@ -347,7 +344,6 @@ const shop_data = { datasheet_file: '/docs/sinara-datasheets/2118-2128.pdf', datasheet_name: '2118/2128 BNC/SMA-TTL datasheet', size: 'big', - type: null, options: [ { "if": [ @@ -457,7 +453,6 @@ const shop_data = { } ], size: 'small', - type: null, warnings: [ "no_eem_source" ], @@ -549,7 +544,6 @@ const shop_data = { } ], size: 'small', - type: null, warnings: [ "no_eem_source" ], @@ -636,7 +630,6 @@ const shop_data = { } ], size: 'small', - type: null, warnings: [ "no_eem_source" ], @@ -700,7 +693,6 @@ const shop_data = { } ], size: 'small', - type: 'urukul', warnings: [ "no_eem_source", "no_clk_source" @@ -739,7 +731,6 @@ const shop_data = { fallback: {text: "125 MHz", checked: false}}} ], size: 'small', - type: 'urukul', warnings: [ "no_eem_source", "no_clk_source" @@ -773,7 +764,6 @@ const shop_data = { {type: "Radio", args: {title: "Variant", outvar: "variant", variants: ["Baseband", "Upconverter"], fallback: 1}}, ], size: 'small', - type: 'urukul', warnings: [ "no_eem_source", "no_clk_source" @@ -816,7 +806,6 @@ const shop_data = { datasheet_file: '/docs/sinara-datasheets/5432.pdf', datasheet_name: '5432 Zotino datasheet', size: 'small', - type: 'zotino', warnings: [ "no_eem_source", "idc_resource" @@ -846,7 +835,6 @@ const shop_data = { 'Channels can also be broken out to BNC or SMA using IDC-BNC, IDC-SMA or IDC-MCX cards.' ], size: 'small', - type: 'zotino', warnings: [ "no_eem_source", "idc_resource", @@ -872,7 +860,6 @@ const shop_data = { 'Breaking out all 32 channels from a Zotino requires 4 IDC-BNC cards.' ], size: 'big', - type: 'idc-bnc', warnings: [ "no_idc_source" ], @@ -931,7 +918,6 @@ const shop_data = { 'Breaking out all 32 channels from a Zotino requires 4 SMA-IDC cards.' ], size: 'small', - type: 'idc-bnc', warnings: [ "no_idc_source" ], @@ -951,7 +937,6 @@ const shop_data = { 'Connects an external HD68 cable to IDC-BNC, IDC-SMA or IDC-MCX cards.', ], size: 'small', - type: 'hd68', options: [ {type: "Radio", args: {title: "Cable length", outvar: "hd68_cable_len", variants: ["1 M", "2 M", "3 M"], tip: "The desired length of the HD68 cable", fallback: 1}}, ], @@ -1008,7 +993,6 @@ const shop_data = { } ], size: 'big', - type: 'novo', warnings: [ "no_eem_source" ], @@ -1035,7 +1019,6 @@ const shop_data = { {type: "Radio", args: {title: "Connectors", outvar: "n_eem", variants: ["1 EEM", "2 EEM", "3 EEM"], tip: "Number of EEM ports to use.", fallback: 1}}, ], size: 'small', - type: 'koster', warnings: [ "no_eem_source" ], @@ -1064,7 +1047,6 @@ const shop_data = { ], options_class: "clocker", size: 'small', - type: 'clocker', warnings: [ "no_eem_source", "no_clk_source", @@ -1105,7 +1087,6 @@ const shop_data = { ], options_class: "stabilizer", size: 'small', - type: null, warnings: [ "no_eem_source" ], @@ -1140,7 +1121,6 @@ const shop_data = { ], options_class: "stabilizer", size: 'small', - type: null, warnings: [ "no_eem_source" ], @@ -1170,7 +1150,6 @@ const shop_data = { fallback: {text: "125 MHz", checked: false}}} ], size: 'small', - type: null, warnings: [ "no_eem_source", "no_clk_source" @@ -1199,7 +1178,6 @@ const shop_data = { fallback: {text: "125 MHz", checked: false}}} ], size: 'big', - type: null, warnings: [ "no_eem_source", "no_clk_source" @@ -1229,7 +1207,6 @@ const shop_data = { {type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}} ], size: 'small', - type: null, warnings: [ "no_eem_source" ], @@ -1253,7 +1230,6 @@ const shop_data = { 'Can stabilize temperature of Sinara 5432 DAC or external devices containing TEC and thermistor.' ], size: 'small', - type: null, consumes: { hp: 4 }, @@ -1277,7 +1253,6 @@ const shop_data = { 'Included remote analog front-end (AFE) board converts differential signals to ±10V single-ended at the point of use, with additional gain and filtering.', ], size: 'big', - type: null, warnings: [ "no_eem_source", "no_clk_source" @@ -1312,7 +1287,6 @@ const shop_data = { {type: "Switch", args: {title: "Termination #1", outvar: "term_1", tip: "Enable termination on ADC channel #1"}} ], size: 'big', - type: null, warnings: [ "no_eem_source", "no_clk_source" @@ -1342,7 +1316,6 @@ const shop_data = { "Optional - external power brick will be shipped free of charge if removed." ], size: 'big', - type: null, warnings: [], consumes: { hp: 4,