This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Frigate Notification | |
description: | | |
## Frigate Mobile App Notification | |
This blueprint will send a notification to your device when a Frigate event for the selected camera is fired. The notification will initially include the thumbnail of the detection, but will update to include actionable notifications allowing you to view the saved clip/snapshot when available, or silence the notification for a configurable amount of time. | |
With this blueprint, you may send the notification to multiple devices by leaving "Device" blank and instead use a [notification group][1]. | |
### Required entities: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Configuration> | |
<Solution path="..\..\MySolution.sln"> | |
<RunInParallel>true</RunInParallel> | |
<ApplyChanges>true</ApplyChanges> | |
<Projects> | |
<Project name="MyProject"> | |
<Analyzation> | |
<MethodConversion default="Unknown"> | |
<Method name="MethodName" containingType="SomeType">ToAsync</Method> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
namespace ConsoleApplication1 { | |
using FluentValidation; | |
using FluentValidation.Results; | |
public class ParentEntity { | |
public string Code { get; set; } | |
public List<ChildEntity> Children { get; set; } = new List<ChildEntity>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
namespace ConsoleApplication1 | |
{ | |
using FluentValidation; | |
using FluentValidation.Internal; | |
public class ParentEntity { | |
public List<ChildEntity> Children { get; set; } = new List<ChildEntity>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace WpfApplication1 | |
{ | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using FluentValidation; | |
using FluentValidation.Validators; | |
using Nito.AsyncEx; | |
public class TestModel { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Generated | |
{ | |
public static class Administration | |
{ | |
public static class User | |
{ | |
public const string Remove = "Administration.User.Remove"; | |
public const string View = "Administration.User.View"; | |
public const string Edit = "Administration.User.Edit"; | |
public const string Create = "Administration.User.Create"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Generated { | |
export module classes { | |
export class Administration { | |
public user: Generated.classes.User = new Generated.classes.User(); | |
public _: string = "Administration"; | |
} | |
export class User { | |
public remove: string = "Administration.User.Remove"; | |
public view: string = "Administration.User.View"; | |
public edit: string = "Administration.User.Edit"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class Login extends common.Controller { | |
private dataContext: any; | |
private userRepo: app.common.repositories.IUserRepository; | |
static $inject: string[] = ["$scope", "defaultCulture", "dataContext"]; | |
constructor($scope, defaultCulture: string, dataContext: common.services.IDataContext) { | |
super($scope); | |
this.dataContext = dataContext.createEmptyCopy(); | |
this.userRepo = this.dataContext.user; |