Switch from kadira:flow-router to ostrio:flow-router-extra

This commit is contained in:
Denis Perov 2024-09-23 18:49:10 +03:00
parent 50f3316088
commit 718c1a393d
63 changed files with 52 additions and 4797 deletions

View file

@ -9,6 +9,7 @@ import {
TYPE_TEMPLATE_CONTAINER,
} from '/config/const';
import Users from "./users";
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
// const escapeForRegex = require('escape-string-regexp');
@ -2208,7 +2209,7 @@ if (Meteor.isServer) {
});
}
});
/**
* @operation add_board_label
* @summary Add a label to a board

View file

@ -8,6 +8,7 @@ import {
} from '../config/const';
import Attachments, { fileStoreStrategyFactory } from "./attachments";
import { copyFile } from './lib/fileStoreStrategy.js';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
Cards = new Mongo.Collection('cards');

View file

@ -2,6 +2,7 @@ import { ReactiveCache } from '/imports/reactiveCache';
import moment from 'moment/min/moment-with-locales';
const Papa = require('papaparse');
import { TAPi18n } from '/imports/i18n';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
//const stringify = require('csv-stringify');

View file

@ -1,6 +1,7 @@
import { ReactiveCache } from '/imports/reactiveCache';
// exporter maybe is broken since Gridfs introduced, add fs and path
import { createWorkbook } from './createWorkbook';
// import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
class ExporterCardPDF {
constructor(boardId) {

View file

@ -2,6 +2,7 @@ import { ReactiveCache } from '/imports/reactiveCache';
import moment from 'moment/min/moment-with-locales';
import { TAPi18n } from '/imports/i18n';
import { createWorkbook } from './createWorkbook';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
// exporter maybe is broken since Gridfs introduced, add fs and path

View file

@ -1,5 +1,6 @@
import { ReactiveCache } from '/imports/reactiveCache';
import { TAPi18n } from '/imports/i18n';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
//var nodemailer = require('nodemailer');
// Sandstorm context is detected using the METEOR_SETTINGS environment variable