getActKeys

  getActKeys: (schema: string)

Get key of Dynamic Actions wih service Name


Example
    
      const coreApp = lesan();
      const locationPure = {
        name: string(),
        population: number(),
        abb: string(),
      };
      const cities = coreApp.odm.newModel(
        "city",
        locationPure,
        {
          country: {
            schemaName: "country",
            type: "single",
            optional: false,
            relatedRelations: {
              cities: {
                type: "multiple",
                limit: 5,
                sort: {
                  field: "_id",
                  order: "asc",
                },
              },
            },
          },
        },
      );
      

const getMainActKeys = coreApp.acts.getActKeys("main");

Return Of Example
    
      [
        "country",
        "city",
        "user",
      ]
    
  

Parameters

  
      schema: string;