Skip to content
Snippets Groups Projects
Select Git revision
  • a3d59b8d66d24e2f2b3bd2e4391aa0cbd924ce25
  • master default protected
  • feature/PRXS-3421-ImplementNewRefAPI
  • refactor/PRXS-3053-Files
  • feature/3149-LocaleCodeAsID-Feature
  • feature/PRXS-3383-CollectionsSort
  • feature/PRXS-3143-3235-ReferenceOptions
  • feature/PRXS-3143-LimitReferenceFields
  • feature/PRXS-3234-FeaturePruneIdents
  • PRXS-3421-RecursiveReferences
  • feature/3109-SerializeFeature
  • release/0.33
  • feature/3109-RecoverySchema
  • feature/3109-feature
  • fix/PRXS-3369-ValidateFields
  • refactor/PRXS-3306-MovePkgGroup1
  • refactor/6-pkg-refactor-expr
  • fix/PRXS-3360-TemplateBuilderPatch
  • feature/3293-MongoV2
  • feature/3272-GoVersionUp
  • feature/PRXS-3218-HideTemplateActions
  • v0.33.1
  • v0.32.0
  • v0.31.1
  • v0.31.0
  • v0.30.0
  • v0.29.0
  • v0.28.0
  • v0.27.0-alpha.1+16
  • v0.27.0-alpha.1+15
  • v0.27.0-alpha.1+14
  • v0.27.0-alpha.1+13
  • v0.27.0-alpha.1+12
  • v0.27.0-alpha.1+11
  • v0.27.0-alpha.1+10
  • v0.27.0-alpha.1+9
  • v0.27.0-alpha.1+8
  • v0.27.0-alpha.1+7
  • v0.27.0-alpha.1+6
  • v0.27.0-alpha.1+5
  • v0.27.0-alpha.1+4
41 results

core.go

Blame
  • common.proto 1.58 KiB
    syntax = "proto3";
    
    option go_package = "git.perx.ru/perxis/perxis-go/proto/common;common";
    
    package common;
    
    import "google/protobuf/struct.proto";
    
    // Deprecated
    // Поддержка этой реализации фильтра осталась только в запросе поиска записей (Items.Find)
    // Возможно, его поддержка будет прекращена в следующих версиях системы
    message Filter {
      string op = 1;
      string field = 2;
      google.protobuf.Value value = 3;
    }
    
    message FindOptions {
      repeated string sort = 1;
      int32 page_num = 2; // Deprecated
      int32 page_size = 3; // Deprecated
      repeated string fields = 4;
      bool exclude_fields = 5;
    
      int32 offset = 6;
      int32 limit = 7;
    }
    
    
    enum Access {
      ANY = 0;
      MINE = 1;
      ROLE = 2;
    }
    
    enum Action {
      UNKNOWN = 0;
      CREATE = 1;
      READ = 2;
      UPDATE = 3;
      DELETE = 4;
    }
    
    message Rule {
      string collection_id = 1;
      repeated Action actions = 2;
      Access access = 3;
      repeated string hidden_fields = 5;
    
      // Deprecated
      repeated string readonly_fields = 6;
      repeated string writeonly_fields = 7;
    
      string read_filter = 8;
      string write_filter = 9;
      repeated string deny_read_fields = 10;
      repeated string deny_write_fields = 11;
    
      // скрыть коллекцию в интерфейсе от пользователя
      bool hidden = 12;
    }
    
    message Collaborator {
      string space_id = 1;
      string subject = 2;
      string role = 3;
    }
    
    message Version {
      string server_version = 1;
      string api_version = 2;
      string build_time = 3;
      string commit = 4;
      int32 build_number = 5;
    }