restore input

This commit is contained in:
prastoin
2026-02-17 11:24:09 +01:00
parent 53101cc78a
commit c83d6f90e1
7 changed files with 43 additions and 5 deletions
@@ -1,4 +1,4 @@
import { Field, InputType } from '@nestjs/graphql';
import { Field, HideField, InputType } from '@nestjs/graphql';
import { Type } from 'class-transformer';
import {
@@ -81,4 +81,7 @@ export class CreateAgentInput {
@IsOptional()
@Field(() => [String], { nullable: true })
evaluationInputs?: string[];
@HideField()
applicationId?: string;
}
@@ -28,6 +28,11 @@ export class CreateLogicFunction {
@Field(() => UUIDScalarType, { nullable: true })
id?: string;
@IsUUID()
@IsOptional()
@Field(() => UUIDScalarType, { nullable: true })
universalIdentifier?: string;
@IsString()
@IsNotEmpty()
@Field()
@@ -58,6 +58,12 @@ export class CreateObjectInput {
@HideField()
dataSourceId: string;
@HideField()
applicationId?: string;
@HideField()
universalIdentifier?: string;
@IsBoolean()
@IsOptional()
@Field({ nullable: true })
@@ -1,4 +1,4 @@
import { Field, InputType } from '@nestjs/graphql';
import { Field, HideField, InputType } from '@nestjs/graphql';
import {
IsBoolean,
@@ -36,4 +36,10 @@ export class CreateViewFieldGroupInput {
@IsBoolean()
@Field({ nullable: true, defaultValue: true })
isVisible?: boolean;
@HideField()
universalIdentifier?: string;
@HideField()
applicationId?: string;
}
@@ -1,4 +1,4 @@
import { Field, InputType } from '@nestjs/graphql';
import { Field, HideField, InputType } from '@nestjs/graphql';
import {
IsBoolean,
@@ -50,4 +50,10 @@ export class CreateViewFieldInput {
@IsUUID()
@Field(() => UUIDScalarType, { nullable: true })
viewFieldGroupId?: string;
@HideField()
universalIdentifier?: string;
@HideField()
applicationId?: string;
}
@@ -1,4 +1,4 @@
import { Field, InputType } from '@nestjs/graphql';
import { Field, HideField, InputType } from '@nestjs/graphql';
import {
IsDefined,
@@ -52,4 +52,10 @@ export class CreateViewFilterInput {
@IsUUID()
@Field(() => UUIDScalarType, { nullable: false })
viewId: string;
@HideField()
universalIdentifier?: string;
@HideField()
applicationId?: string;
}
@@ -1,4 +1,4 @@
import { Field, InputType } from '@nestjs/graphql';
import { Field, HideField, InputType } from '@nestjs/graphql';
import {
IsBoolean,
@@ -34,4 +34,10 @@ export class CreateViewGroupInput {
@IsUUID()
@Field(() => UUIDScalarType, { nullable: false })
viewId: string;
@HideField()
universalIdentifier?: string;
@HideField()
applicationId?: string;
}