@servicenow/sdk - v4.7.0
    Preparing search index...

    Variable sp_containerConst

    sp_container: {
        allowWebServiceAccess: true;
        display: "name";
        extends: "sys_metadata";
        label: "Container";
        name: "sp_container";
        schema: {
            background_color: Typed<
                string
                | number,
                {
                    columnType: "color";
                    label: [
                        {
                            hint: "Background color HEX value (e.g. #000000)";
                            label: "Background color";
                            language: "en";
                            plural: "Background colors";
                        },
                    ];
                },
            >;
            background_image: Typed<
                string
                | number,
                { columnType: "user_image"; label: "Background image" },
            >;
            background_style: Typed<
                "default"
                | "repeat"
                | "contain"
                | "cover",
                {
                    choices: {
                        contain: { label: "Contain"; sequence: 3 };
                        cover: { label: "Cover"; sequence: 2 };
                        default: { label: "Default"; sequence: 1 };
                        repeat: { label: "Repeating"; sequence: 4 };
                    };
                    dropdown: "dropdown_without_none";
                    label: "Background style";
                },
            >;
            bootstrap_alt: Typed<boolean, { label: "Bootstrap alternative" }>;
            class_name: Typed<string, { label: "Parent class" }>;
            container_class_name: Typed<string, { label: "CSS class" }>;
            name: Typed<string, { label: "Name"; maxLength: 255 }>;
            order: Typed<number, { label: "Order" }>;
            semantic_tag: Typed<
                "main",
                {
                    choices: { main: { label: "Main"; sequence: 1 } };
                    dropdown: "dropdown_with_none";
                    label: "Semantic tag";
                },
            >;
            sp_page: Typed<
                | string
                | Record<"sp_page">
                | ExplicitKey<"sp_page">
                | TableBrand<"sp_page">,
                { cascadeRule: "delete"; label: "Page"; referenceTable: "sp_page" },
            >;
            subheader: Typed<boolean, { label: "Move to header" }>;
            sys_id: Typed<
                string,
                { columnType: "GUID"; label: "Sys ID"; maxLength: 32; primary: true },
            >;
            title: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Provide a heading to screen readers that describes the contents of this container.";
                            label: "Screen reader title";
                            language: "en";
                            plural: "Screen reader titles";
                        },
                    ];
                    maxLength: 100;
                },
            >;
            width: Typed<
                "container"
                | "container-fluid",
                {
                    choices: {
                        container: { label: "Fixed"; sequence: 1 };
                        "container-fluid": { label: "Fluid"; sequence: 2 };
                    };
                    dropdown: "dropdown_without_none";
                    label: "Width";
                },
            >;
        };
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlydisplay: "name"
    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "Container"
    • Readonlyname: "sp_container"
    • Readonlyschema: {
          background_color: Typed<
              string
              | number,
              {
                  columnType: "color";
                  label: [
                      {
                          hint: "Background color HEX value (e.g. #000000)";
                          label: "Background color";
                          language: "en";
                          plural: "Background colors";
                      },
                  ];
              },
          >;
          background_image: Typed<
              string
              | number,
              { columnType: "user_image"; label: "Background image" },
          >;
          background_style: Typed<
              "default"
              | "repeat"
              | "contain"
              | "cover",
              {
                  choices: {
                      contain: { label: "Contain"; sequence: 3 };
                      cover: { label: "Cover"; sequence: 2 };
                      default: { label: "Default"; sequence: 1 };
                      repeat: { label: "Repeating"; sequence: 4 };
                  };
                  dropdown: "dropdown_without_none";
                  label: "Background style";
              },
          >;
          bootstrap_alt: Typed<boolean, { label: "Bootstrap alternative" }>;
          class_name: Typed<string, { label: "Parent class" }>;
          container_class_name: Typed<string, { label: "CSS class" }>;
          name: Typed<string, { label: "Name"; maxLength: 255 }>;
          order: Typed<number, { label: "Order" }>;
          semantic_tag: Typed<
              "main",
              {
                  choices: { main: { label: "Main"; sequence: 1 } };
                  dropdown: "dropdown_with_none";
                  label: "Semantic tag";
              },
          >;
          sp_page: Typed<
              | string
              | Record<"sp_page">
              | ExplicitKey<"sp_page">
              | TableBrand<"sp_page">,
              { cascadeRule: "delete"; label: "Page"; referenceTable: "sp_page" },
          >;
          subheader: Typed<boolean, { label: "Move to header" }>;
          sys_id: Typed<
              string,
              { columnType: "GUID"; label: "Sys ID"; maxLength: 32; primary: true },
          >;
          title: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Provide a heading to screen readers that describes the contents of this container.";
                          label: "Screen reader title";
                          language: "en";
                          plural: "Screen reader titles";
                      },
                  ];
                  maxLength: 100;
              },
          >;
          width: Typed<
              "container"
              | "container-fluid",
              {
                  choices: {
                      container: { label: "Fixed"; sequence: 1 };
                      "container-fluid": { label: "Fluid"; sequence: 2 };
                  };
                  dropdown: "dropdown_without_none";
                  label: "Width";
              },
          >;
      }